android - java.io.IOException: Cannot append Mp4TrackImpl{handler='vide'} to Mp4TrackImpl{handler='vide'} since their Sample Description Boxes differ: -


while merging multiple videos using ffmpeg have got exception.

java.io.ioexception: cannot append mp4trackimpl{handler='vide'} mp4trackimpl{handler='vide'} since sample description boxes differ: 

it might using, convert video in mpeg4. use h264 format set video codec

change this

recorder.setvideocodec(avcodec.av_codec_id_mpeg4);

to this

recorder.setvideocodec(avcodec.av_codec_id_h264);


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -