Streaming webcam to .ts file: link error

Dystroxic kyle at
Wed May 3 15:25:40 UTC 2017

Unfortunately, this still doesn't work. The pipeline you wrote gives the

WARNING: erroneous pipeline: could not link v4l2src0 to videoconvert0

On May 3, 2017 02:29, "Arjen Veenhuizen [via GStreamer-devel]" <
ml+s966125n4682895h55 at> wrote:

x264enc only takes the following formats on its sink pad:

gst-inspect-1.0 x264enc
format: { (string)Y444, (string)Y42B, (string)I420, (string)YV12, (string)NV12 }

Try to insert a videoconvert between the caps and the encoder and don't
forget to insert an h264parse between encoder and mpegtsmux. Furthermore,
your pipeline could use a queue in front of the encoder.

All in all, your pipeline should look like this:
gst-launch-1.0 -e -v v4l2src device="/dev/video0" !
'video/x-raw,format=YUYV,framerate=25/1,width=640,height=360' !
videoconvert ! queue ! x264enc bitrate=498 ! h264parse ! mpegtsmux !
filesink location=video1.ts

If you reply to this email, your message will be added to the discussion
To unsubscribe from Streaming webcam to .ts file: link error, click here

View this message in context:
Sent from the GStreamer-devel mailing list archive at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list