2019-02-20 10:32 GMT+01:00, Ted Park <[email protected]>: >> 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? > > It doesn’t.
I may misunderstand this but in any case as Moritz explained libavformat will use the decoder to know the properties of the stream (you cannot avoid this), the properties are typically necessary for the muxer to actually implement "-c copy" (even if not needed in all cases). Not all frames are decoded but some frames in the beginning of the stream (for some codecs). Carl Eugen _______________________________________________ ffmpeg-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
