UxPlay icon indicating copy to clipboard operation
UxPlay copied to clipboard

Mirror Stream to H264 V4L2 device

Open br33333 opened this issue 4 years ago • 3 comments

Would like to forward the mirror stream to an application which accepts h264 streams only from V4L2 devices.

Perhaps UxPlay -> v4l2loopback via gstreamer ?

Or is gstreamer not necessary as middleman ?

Would appreciate any help and/or insight as to how either of these could be accomplished (setting up the V4L2loopback device and configuring GST to sending the stream to it or sending stream directly to a V4L2loopback device).

Thanks!

br33333 avatar Dec 07 '20 13:12 br33333

gstreamer v4l2sink is your friend....

antimof avatar Dec 07 '20 20:12 antimof

Yes, got that. Have no clue what I am doing in this space. Haven’t understood how/where to configure uxplay/gstreamer to send the mirror stream to a device or even what the default device it sends the streams to is. Any further help would be very much appreciated.

Bob2345de avatar Dec 07 '20 21:12 Bob2345de

its not a current option, but you could probably easily modify the gstreamer pipeline that is created in
UxPlay/lib/video_renderer_gstreamer.c after reading the first few of the gstreamer tutorials

(There is an updated UxPlay at pr #58 )

fduncanh avatar Aug 05 '21 21:08 fduncanh