Playing multiple videos on mx6

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Playing multiple videos on mx6

953 Views
andreapicaro
Contributor I

Hello, i'm trying video playback on mx6dl.

I need to play multiple videos simultaneously but also need to start them up asynchronously .

Following your linux user guide i can use overlaysink to play multiple videos through a single gst-launch command. If I try to play two videos using separate pipelines or calling two instances of gplay-1.0

play fails. GST errors follows. Is there a way to do what i need?

Thank you

display(/dev/fb0) resolution is (800x480).
0:00:00.369174334 16213 0x8f1d50 ERROR imxv4l2 gstimxv4l2.c:289:imx_ipu_v4l2out_config_input: Set format failed.
0:00:00.369276334 16213 0x8f1d50 ERROR overlaysink displaysv4l2.c:269:init_display: configure v4l2 device /dev/video17 input failed.
0:00:00.369363667 16213 0x8f1d50 ERROR overlaysink osink_object.c:471:osink_object_enable_display: init display (master) failed.
0:00:00.369421334 16213 0x8f1d50 ERROR overlaysink gstosink.c:272:gst_overlay_sink_change_state:<overlaysink0> enable display master failed.
0:00:00.369462000 16213 0x8f1d50 ERROR overlaysink gstosink.c:296:gst_overlay_sink_change_state:<overlaysink0> No display enabled.
State change from READY to PAUSED
0:00:00.468618000 16213 0x75e03000 ERROR overlaysink osink_object.c:424:osink_object_get_display_count: osink object handle is NULL.
0:00:00.468768334 16213 0x75e03000 ERROR overlaysink gstosink.c:296:gst_overlay_sink_change_state:<overlaysink0> No display enabled.
0:00:00.468818667 16213 0x75e03000 ERROR overlaysink osink_object.c:397:osink_object_unref: osink handle is not correct, current ((nil)), expected ((nil)).
0:00:00.474532334 16213 0x75e03000 ERROR overlaysink osink_object.c:424:osink_object_get_display_count: osink object handle is NULL.
0:00:00.474647334 16213 0x75e03000 ERROR overlaysink gstosink.c:296:gst_overlay_sink_change_state:<overlaysink0> No display enabled.
0:00:00.474694334 16213 0x75e03000 ERROR overlaysink osink_object.c:397:osink_object_unref: osink handle is not correct, current ((nil)), expected ((nil)).
0:00:00.475304000 16213 0x75e03000 ERROR overlaysink osink_object.c:424:osink_object_get_display_count: osink object handle is NULL.
0:00:00.475395000 16213 0x75e03000 ERROR overlaysink gstosink.c:296:gst_overlay_sink_change_state:<overlaysink0> No display enabled.
0:00:00.475436667 16213 0x75e03000 ERROR overlaysink osink_object.c:397:osink_object_unref: osink handle is not correct, current ((nil)), expected ((nil)).
0:00:00.476263334 16213 0x75e03000 ERROR overlaysink osink_object.c:424:osink_object_get_display_count: osink object handle is NULL.
0:00:00.476350334 16213 0x75e03000 ERROR overlaysink gstosink.c:296:gst_overlay_sink_change_state:<overlaysink0> No dis

Labels (1)
0 Kudos
3 Replies

695 Views
andreapicaro
Contributor I

Hello, no way out? Am I the only one having this requirement?

0 Kudos

695 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello,

   Please try using the comand:

------------------------------------------------------------------------------

gst-launch-1.0 filesrc location=/1.mp4 typefind=true ! video/quicktime ! aiurdemux ! queue max-size-time=0 ! vpudec ! imxv4l2sink device=/dev/video17 &

gst-launch-1.0 filesrc location=/1.mp4 typefind=true ! video/quicktime ! aiurdemux ! queue max-size-time=0 ! vpudec ! imxv4l2sink device=/dev/video18 &

--------------------------------------------------------------------------------

Note: pay attention to display device, before using above commands, confirm display device name, please!

Best Regards,

Weidong

 

0 Kudos

695 Views
andreapicaro
Contributor I

Thanks for your reply, it works, but i need multiple videos eventually > 2 thus i need overlaysink. Playing multipl videos asynchcronously was possible with mfw_isink, how can i do it now? Furthermore, fb1 where video plays is now fully opaque, while with mfw_isink i could see application on fb0 through areas where no video is playing.

0 Kudos