[FFmpeg-user] Decode Error

Hu Saijun saijunhu at outlook.com
Mon Jul 8 03:51:18 EEST 2019


Hi,dear friends, recently I have a task which need cut the long videos to many segments. The concrete code I used as follow:

1.      First I convert all video to mpeg4 codec. Use
[cid:image001.png at 01D53569.052114F0]

2.      Second I cut the video in a simple python script. Use
[cid:image002.png at 01D53569.647DEC70]

3.      Then when I decode the video, try to extract some i-frames and MVs,I got a error..
[cid:image003.png at 01D53569.F5AEF5E0]



The mpeg4 header seems to be damaged. But use the potplayer to play it's ok. So I want know the problem. thanks a lot.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 9374 bytes
Desc: image001.png
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20190708/f09717df/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 9727 bytes
Desc: image002.png
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20190708/f09717df/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 91632 bytes
Desc: image003.png
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20190708/f09717df/attachment-0002.png>


More information about the ffmpeg-user mailing list