This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

problem using FFMPEG to extract h264 clip



a 10min video is generated by DM368-DVSDK4.02's encode demo program. The 264 file could be played by Ubuntu movie player.

If I convert the whole clip to mp4 using ffmpeg, it works without any problem. But if I try to extract a fraction of the video, it always run into "missing picture in access unit" problem, and only generates a 1 second clip, which is the end of whole video.

ffmpeg -r 20.2 -ss 120 -i 20111101_153000.264 -t 10 -vcodec copy 201101153500.mp4

the FFMPEG I used is FFmpeg version SVN-r0.5.4-4:0.5.4-1 from Debain ARMEL packages.
I also tried  FFMPEG0.7.2-4 on my Ubuntu machine, which has same result.

The video has an IDR frame in every 20 frames.

Thanks for your help.