Trying to capture a YouTube Live stream into v4l2sink

Jim Ruxton jim.ruxton at gmail.com
Thu May 7 21:56:14 UTC 2020


I am wondering if anyone has used gstreamer to stream a YouTube Live 
stream into v4l2sink. A pipeline like the following works with a regular 
YouTube stream but doesn't transfer a YouTube Live stream correctly. The 
stream seems to freeze after it starts .

gst-launch-1.0 souphttpsrc is-live=true location="$(youtube-dl --get-url 
https://www.youtube.com/watch?v=5qap5aO4i9A)" ! decodebin ! videorate ! 
videoconvert ! "video/x-raw,format=YUY2,framerate=30/1" ! v4l2sink 
device=/dev/video2

Thanks for any hints.

Jim




More information about the gstreamer-devel mailing list