lalongooo / video-compressor

Video compressor based in the Telegram for Android app source code.
GNU General Public License v2.0
262 stars 88 forks source link

compression not working for some videos #49

Open moxgeek opened 4 years ago

moxgeek commented 4 years ago

the compressing is working fine in must tested videos but in some videos the output file is not playable and always with the same size (140 Bytes) with error in log

2019-09-12 17:53:31.679 27990-30882/ E/tmessages: newFormat = {crop-right=269, vendor.rtc-ext-dec-caps-vt-driver-version.number=180315, vendor.rtc-ext-dec-low-latency.enable=0, color-format=261, slice-height=368, mime=video/raw, stride=272, color-standard=4, color-transfer=3, crop-bottom=359, crop-left=0, width=272, color-range=2, crop-top=0, height=368}
2019-09-12 17:53:31.699 27990-30884/ E/ACodec: [OMX.Exynos.AVC.Encoder] ERROR(0x80001001)
2019-09-12 17:53:31.699 27990-30884/ E/ACodec: signalError(omxError 0x80001001, internalError -2147483648)
2019-09-12 17:53:31.699 27990-30883/ E/MediaCodec: Codec reported err 0x80001001, actionCode 0, while in state 6
2019-09-12 17:53:31.703 27990-30882/ E/tmessages: println needs a message
2019-09-12 17:53:31.705 27990-30882/ E/tmessages: time = 266

any idea ??