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

StackOverflow https://stackoverflow.com/questions/21595508

문제

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:
도움이 되었습니까?

해결책

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);

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top