Hi, could somebody tell me if it is possible to run multiple Gstreamer instances such that two H.264 decodes run in parallel?
Simplistically, I have tried running two instances of the following command and get the error messages (as below) when the second instance starts (using fakesink rather than outputtting the decoded content to the LCD or HDMI).
# gst-launch filesrc location=/usr/share/ti/data/videos/dm816x_1080p_demo.264 ! 'video/x-h264' ! h264parse access-unit=true ! omx_h264dec ! omx_scaler ! 'video/x-raw-yuv,width=800,height=480' ! fakesink
Assertion at Line no: 419 in /mnt/opt/ezsdk/component-sources/syslink_2_10_03_20/packages/ti/syslink/utils/hlos/knl/Linux/.d
Assertion at Line no: 419 in /mnt/opt/ezsdk/component-sources/syslink_2_10_03_20/packages/ti/syslink/utils/hlos/knl/Linux/.d
Assertion at Line no: 419 in /mnt/opt/ezsdk/component-sources/syslink_2_10_03_20/packages/ti/syslink/utils/hlos/knl/Linux/.d
Assertion at Line no: 1244 in /mnt/opt/ezsdk/component-sources/syslink_2_10_03_20/packages/ti/syslink/ipc/hlos/usr/MessageQd
Assertion at Line no: 700 in /mnt/opt/ezsdk/component-sources/syslink_2_10_03_20/packages/ti/syslink/ipc/hlos/usr/MessageQ.d
ServiceMgr_prime: MessageQ_put failed: status = 0xfffffffe
Assertion at Line no: 1244 in /mnt/opt/ezsdk/component-sources/syslink_2_10_03_20/packages/ti/syslink/ipc/hlos/usr/MessageQd
Assertion at Line no: 700 in /mnt/opt/ezsdk/component-sources/syslink_2_10_03_20/packages/ti/syslink/ipc/hlos/usr/MessageQ.d
ServiceMgr_prime: MessageQ_put failed: status = 0xfffffffe
Assertion at Line no: 1244 in /mnt/opt/ezsdk/component-sources/syslink_2_10_03_20/packages/ti/syslink/ipc/hlos/usr/MessageQd
Assertion at Line no: 700 in /mnt/opt/ezsdk/component-sources/syslink_2_10_03_20/packages/ti/syslink/ipc/hlos/usr/MessageQ.d
ServiceMgr_prime: MessageQ_put failed: status = 0xfffffffe
Assertion at Line no: 1244 in /mnt/opt/ezsdk/component-sources/syslink_2_10_03_20/packages/ti/syslink/ipc/hlos/usr/MessageQd
Assertion at Line no: 700 in /mnt/opt/ezsdk/component-sources/syslink_2_10_03_20/packages/ti/syslink/ipc/hlos/usr/MessageQ.d
ServiceMgr_prime: MessageQ_put failed: status = 0xfffffffe
Assertion at Line no: 1244 in /mnt/opt/ezsdk/component-sources/syslink_2_10_03_20/packages/ti/syslink/ipc/hlos/usr/MessageQd
Assertion at Line no: 700 in /mnt/opt/ezsdk/component-sources/syslink_2_10_03_20/packages/ti/syslink/ipc/hlos/usr/MessageQ.d
ServiceMgr_prime: MessageQ_put failed: status = 0xfffffffe
Assertion at Line no: 1244 in /mnt/opt/ezsdk/component-sources/syslink_2_10_03_20/packages/ti/syslink/ipc/hlos/usr/MessageQd
Assertion at Line no: 766 in /mnt/opt/ezsdk/component-sources/syslink_2_10_03_20/packages/ti/syslink/ipc/hlos/usr/MessageQ.d
Caught SIGSEGV accessing address 0xe
ServiceMgr_rxThreadFxn: bind() failed with errno = 98
Assertion at Line no: 419 in /mnt/opt/ezsdk/component-sources/syslink_2_10_03_20/packages/ti/syslink/utils/hlos/knl/Linux/.d
Assertion at Line no: 700 in /mnt/opt/ezsdk/component-sources/syslink_2_10_03_20/packages/ti/syslink/ipc/hlos/usr/MessageQ.d
ServiceMgr_stop: MessageQ_put failed: status = 0xfffffffe
Spinning. Please run 'gdb gst-launch 1890' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
I am doing this to try and assess the decode performance, so if the above isn't possible do I have to write my own OMX based application to achieve two parallel decodes?
Regards,
Danny