How to get from video/x-gst-fourcc-H261 to video/x-h261
sebastian at centricular.com
Mon Mar 18 10:50:50 UTC 2019
On Mon, 2019-03-18 at 04:40 -0500, fkoh wrote:
> I have a *.mov file encoded in H261
> I want to use avdec_h261 which has sink caps "video/x-h261".
> What comes out of
> "filesrc location=somefile.mov ! qtdemux "
> is "video/x-gst-fourcc-H261"
> How do I bridge the gap between
> "video/x-gst-fourcc-H261" (the source caps of filesrc)
> "video/x-h261" (the sink caps of avdec_h261)?
> Many thanks for any help.
The correct way would be to add support for h261 to qtdemux. That
should be a few lines of code added in qtdemux.c so that the caps are
correctly mapped to video/x-h261.
Please either send a MR for that:
or create an issue with a sample file here:
The unclean way would be to use the capsfilter element to override the
Sebastian Dröge, Centricular Ltd · https://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 963 bytes
Desc: This is a digitally signed message part
More information about the gstreamer-devel