How to test video overlay in IMX8MQ

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

How to test video overlay in IMX8MQ

884 Views
santoshrao
Contributor II

How to test the video overlay in IMx8MQ with yocto prebuilt images .Can any one help me out from this.

Regards,

Santosh

0 Kudos
Reply
3 Replies

763 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

 

You can see the section 7.3.1.6.3 of the Linux Users guide. There you can find an example of how to perform multiple videos overlay.

https://www.nxp.com/webapp/sps/download/preDownload.jsp?render=true 

 

Best regards,

Diego.

0 Kudos
Reply

763 Views
santoshrao
Contributor II

Hi Diego Adrian Cuevas,

       I have already tried this command

gst-launch-1.0 playbin uri=file://$FILE1

video-sink="overlaysink overlay-width=512 overlay-height=384"
playbin uri=file://$FILE2 flags=0x41

video-sink="overlaysink overlay-left=512 overlay-width=512 overlay-height=384" 

so i got this error

Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstGioSrc:source: Could not open resource for reading.
Additional debug info:
../../../git/gst/gio/gstgiosrc.c(335): gst_gio_src_get_stream (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstGioSrc:source:
Could not open location file://FILE1 for reading: Operation not supported
Setting pipeline to NULL ...
Freeing pipeline ...

how to give the uri path for a video in terminal and can we give our video names or else filename should be FILE1.
 
In which file can we store the videos like(mount,dev).

regards

santosh rao

0 Kudos
Reply

763 Views
diegoadrian
NXP Employee
NXP Employee

Hello, 

To give a path to the playbin video source, you can use it as below:

$ gst-launch-1.0 playbin uri=file:///<the path where is located your video>

For example:

gst-launch-1.0 playbin uri=file:///home/root/video_test.mp4

Hope this can help you.

Best regards,

Diego.

0 Kudos
Reply