Hi,

I'm trying to transmux an H.264 movie in FLV container into raw H.264 in
Annex.B format:

    ffmpeg -i movie.flv -c:v copy -an -bsf:v h264_mp4toannexb movie.264

The original video seems problematic, so FFmpeg outputs several lines of
"co located POCs
unavailable" error. The error message is printed in
`h264_direct.c/ff_h264_direct_ref_list_init`,
which is further called by `h264dec.c/h264_decode_frame`. What confuses me
is why does the copy
codec still try to decode H.264 frames and even do motion vector
prediction? If I understand
correctly, FFmpeg can simply extract SPS/PPS from
AVCDecoderConfigurationRecord and copy slice data
verbatim. Besides that, I find `h264_decode_frame` is only called sparsely,
not as many as the
actual frame number.

Could any FFmpeg experts explain why this occurs?
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to