Streaming webcam to .ts file: link error

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


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

WARNING: erroneous pipeline: could not link v4l2src0 to videoconvert0



On May 3, 2017 02:29, "Arjen Veenhuizen [via GStreamer-devel]" <
ml+s966125n4682895h55 at n4.nabble.com> 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
below:
http://gstreamer-devel.966125.n4.nabble.com/Streaming-
webcam-to-ts-file-link-error-tp4682888p4682895.html
To unsubscribe from Streaming webcam to .ts file: link error, click here
<http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4682888&code=a3lsZUBrb3Rvd2ljay5jYXw0NjgyODg4fDUxOTg5MDMwNg==>
.
NAML
<http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Streaming-webcam-to-ts-file-link-error-tp4682888p4682903.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170503/735c09bb/attachment.html>


More information about the gstreamer-devel mailing list