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

只愿长相守 提交于 2019-12-08 12:35:40

问题


While Merging the multiple videos using ffmpeg I have got this Exception.

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

回答1:


It might be you are using, convert your video in MPEG4. Use H264 format for set the video codec

Change this

recorder.setVideoCodec(avcodec.AV_CODEC_ID_MPEG4);

to this

recorder.setVideoCodec(avcodec.AV_CODEC_ID_H264);



来源:https://stackoverflow.com/questions/21595508/java-io-ioexception-cannot-append-mp4trackimplhandler-vide-to-mp4trackimpl

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!