Hi Everybody,
I am trying to implement a copy-codec like subclip application.
When it comes to cutting an MPEG2 Stream with open GOPs into pices, the
resulting file is not playable as the reference frame is missing of course.
This is not the main problem here.
I'd like to detect open GOPs and warn the user about this.
Can anyone give me a hint on doing so, be it with or without decoding
some of the stream's frames.
I've tried to evaluate the AVCodecContext's field "flags" to check
whether CODEC_FLAG_CLOSED_GOP is set or not, but this is not set by
libav on decoding.
Any hint would help here, I am really stuck :-(
thx in advance
Philip
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user