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

error on compression slowmotion videos, compression success even if isn't #51

Closed moxgeek closed 4 years ago

moxgeek commented 4 years ago

all video work fine except for some video i was guessing maybe is related to codec or anything. but today i just try to compress a slowmotion video and get this error :

2019-10-01 11:01:46.761 16305-18026/com.example.ne E/tmessages: colorFormat = 2130708361
2019-10-01 11:01:46.776 16305-18036/com.example.ne E/ACodec: [OMX.qcom.video.encoder.avc] failed to set input port definition parameters.
2019-10-01 11:01:46.776 16305-18036/com.example.ne E/ExtendedACodec: [OMX.qcom.video.encoder.avc] configureCodec returning error -1010
2019-10-01 11:01:46.776 16305-18036/com.example.ne E/ACodec: signalError(omxError 0x80001001, internalError -1010)
2019-10-01 11:01:46.776 16305-18036/com.example.ne E/ACodec: [OMX.qcom.video.encoder.avc] configureCodec returning error -1010
2019-10-01 11:01:46.776 16305-18036/com.example.ne E/ACodec: signalError(omxError 0x80001001, internalError -1010)
2019-10-01 11:01:46.776 16305-18033/com.example.ne E/MediaCodec: Codec reported err 0xfffffc0e, actionCode 0, while in state 3
2019-10-01 11:01:46.777 16305-18033/com.example.ne E/MediaCodec: Codec reported err 0xfffffc0e, actionCode 0, while in state 0
2019-10-01 11:01:46.777 16305-18026/com.example.ne E/MediaCodec: configure failed with err 0xfffffc0e, resetting...
2019-10-01 11:01:46.787 16305-18026/com.example.ne E/tmessages3: Error 0xfffffc0e

and also , when i got the error , the flag is "Success" , even isn't, so i edit the VideoController to return false when he got error .