Hi All,
I'm using following pipeline to mix png image with video file.
gst-launch omx_videomixer name=mix \
! omx_ctrl display-mode=OMX_DC_MODE_1080P_60 ! gstperf \
! omx_videosink sync=false \
filesrc location=Sample.mp4 ! 'video/x-h264' \
! h264parse access-unit=true ! omx_h264dec ! mix. \
filesrc location=Sample.png \
! pngdec ! queue ! ffmpegcolorspace \
! imagefreeze ! mix.
The output of gst-launch command.
In base init!!
In class init!!
In instance init!!
queue_0 : 0x147e98
queue_1 : 0x147eb0
queue_2 : 0x147ec8
queue_3 : 0x147f00
In instance init/...done!!
Setting pipeline to PAUSED ...
Video mixer activate push!!
Pipeline is PREROLLING ...
In sink set caps:video/x-raw-yuv, format=(fourcc)NV12, width=(int)866, height=(int)90, framerate=(fraction)25/1
Starting input thread!!
omx_setup!!
omx_setup...done!!
As you can notice, the pipeline waits in 'PREROLLING' state and does not transit in PLAYING state. I tested omx_videomixer with single video file and got same result. Even for single video file, PIPELINE did not transit to PLAYING state.
1. Is omx_videomixer immature element in EZSDK-5.3.1.15 ?
2. Is it necessary to upgrade EZSDK to 5.5.2.0 version to use omx_videomixer?
Thanks,
Rajnikant