Streaming webcam to .ts file: link error

Arjen Veenhuizen arjen at moonlightmedia.nl
Wed May 3 06:17:23 UTC 2017


x264enc only takes the following formats on its sink pad:


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 





--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Streaming-webcam-to-ts-file-link-error-tp4682888p4682895.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list