video conversion

Tim Müller tim at centricular.com
Mon Jun 26 11:37:20 UTC 2017


On Mon, 2017-06-26 at 11:48 +0100, Patrick Welche wrote:

> $ gst-launch-1.0 -v filesrc location="DAV_3319.MOV" ! qtdemux
> qtdemux0.video_00 ! avdec_h264 ! fakesink

I think it should be video_0 in this case. You can just leave out the
pad name and write:

  qtdemux name=demux   demux. ! queue ! h264parse ! ...

If you want to decode, you can also just use uridecodebin, e.g.


uridecodebin uri=file:///path/to/foo.mov name=d \
  d. ! queue ! videoconvert ! videoscale ! autovideosink  \
  d. ! queue ! audioconvert ! audioresample ! autoaudiosink

Cheers
 -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com

Join us at the GStreamer Conference!
21-22 October 2017 in Prague, Czech Republic
http://gstreamer.freedesktop.org/conference/


More information about the gstreamer-devel mailing list