Trying to capture a YouTube Live stream into v4l2sink

Edward Hervey bilboed at bilboed.com
Fri May 8 07:51:01 UTC 2020


Hi,

  Remove videorate and put a queue element before the sink. That
*should* fix it.

  Easy way to test the stream works fine : gst-play-1.0 "$(youtube-dl
-get-url https://www.youtube.com/watch?v=5qap5aO4i9A)

  BR,

    Edward

On Thu, 2020-05-07 at 17:56 -0400, Jim Ruxton wrote:
> 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
> 
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list