How to play two different videos in two different displays simultaneously using gstreamer?

NikhilMG nikhilganapathy007 at gmail.com
Thu Sep 12 11:56:28 UTC 2019


I am using 
1. Raspberry Pi 4 Model B which has 2 HDMI ports. 
2. Gstreamer-1.0

I have two videos saved in memory card. I want to drive two videos to two
different HDMI port and play videos in two different Displays
simultaneously. I would like to know the Gstreamer pipeline to access the
HDMI-1 and HDMI-2 ports and also play two different videos in different
displays simultaneously.

Here I am trying to drive video.mp4 to HDMI-2.
*/gst-launch-1.0 playbin3 videosink="mfw-v4lsink device=dev/video18"
uri=file:///home/pi/Downloads/video.mp4/
*
I even tried 
*/gst-launch-1.0 playbin3 videosink="mfw-v4lsink device=HDMI-2"
uri=file:///home/pi/Downloads/video.mp4
/ *
and also tried
*/gst-launch-1.0 playbin3 videosink="mfw-v4lsink device=dev/HDMI-2"
uri=file:///home/pi/Downloads/video.mp4
/*
I am not able to drive the video to HDMI-2 port. I expect the video to be
played in HDMI-2, but the actual output is coming in HDMI-1 for all the
above 3 given pipelines.





--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list