[FFmpeg-user] OBS streaming UDP -> ffmpeg -> v4l2-loopback ?

Matt C asperi at hotmail.com
Mon Aug 8 17:54:47 EEST 2022



I don’t have the answer but am also curious on this and would like to follow developments.  

Thanks- Matt

> On Aug 7, 2022, at 3:09 PM, Daniel Pocock <daniel at pocock.pro> wrote:
> 
> 
> Hi all,
> 
> I have configured OBS on a workstation to send a UDP stream to
> udp://laptop:55555
> 
> I can receive the stream with an ffplay command like this:
> 
> 
> ffplay -fflags nobuffer -flags low_delay udp://192.168.1.10:5555
> 
> 
> Instead of showing the stream in the ffplay window, I would like ffmpeg
> to send it to v4l2-loopback
> 
> I tried some commands like this:
> 
> 
> ffmpeg -i udp://192.168.1.10:55555 -f v4l2 /dev/video2
> 
> ffmpeg -i udp://192.168.1.10:55555 \
>   -vcodec rawvideo \
>   -pix_fmt yuv420p \
>   -f v4l2 \
>   /dev/video2
> 
> The guvcview utility refuses to open the device /dev/video2
> 
> In Firefox, I can select the /dev/video2 webcam and it shows an image
> that is intensely green
> 
> Can anybody suggest a more specific ffmpeg or ffplay command line for
> this scenario?
> 
> The package versions are v4l2-loopback 0.12.5-1 and ffmpeg 7:4.3.4-0+deb11u1
> 
> Regards,
> 
> Daniel
> 
> -- 
> https://danielpocock.com
> Follow with RSS: https://danielpocock.com/rss.xml
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list