[meta-freescale] vpudec not able to decode RTMP flvdemux data
Alok Kumar
alok.kumar at vbrick.com
Mon Oct 21 11:07:23 PDT 2013
Hi,
I am not sure if this is the right place to ask this question. We have been trying to decode RTMP stream, but I am encounter error when we try using vpudec although ffdec_h264 works fine. Problem is we cannot use SW decode for 1080P video.
If some experts throw some ideas it will be very useful. When using vpudec, it shows UNKNOWN FORMAT error(logs below). While flvdemux has same x-264 avc format as src pad.
Working:
gst-launch rtmpsrc location= 'rtmp://10.10.0.25/myOfficeRTMPStream live=1' typefind=true ! queue max-size-buffers=0 max-size-time=0 ! flvdemux ! video/x-h264 ! queue max-size-buffers=0 max-size-time=0 ! ffdec_h264 max-threads=16 ! queue max-size-buffers=0 max-size-time=0 ! ffmpegcolorspace ! mfw_isink axis-top=10 axis-left=10 disp-width=640 disp-height=480 sync=false
when we try using vpudec, it fails:
gst-launch rtmpsrc location= 'rtmp://10.10.0.25/live/vaOfficeRTMPStream live=1' typefind=true ! queue max-size-buffers=0 max-size-time=0 ! flvdemux ! video/x-h264 ! queue max-size-buffers=0 max-size-time=0 ! vpudec frame-plus=4 low-latency=true profile=true ! mfw_isink axis-top=10 axis-left=10 disp-width=640 disp-height=480 sync=false
ERROR: from element /GstPipeline:pipeline0/GstVpuDec:vpudec0: unknown error detect
Additional debug info:
vpudec.c(1409): gst_vpudec_process_error (): /GstPipeline:pipeline0/GstVpuDec:vpudec0
ERROR: pipeline doesn't want to preroll.
lags=0x00, time=0:02:17.438954496, accum=0:00:04.294967296 INFO GST_STATES gstelement.c:2460:gst_element_continue_state:<vpudec0> completed state change to PAUSED
Line 2316: 0:00:04.403740767 1330 default segment start=0, stop=111669329360, last_stop=0, duration=8590113312, rate=0.000000, applied_rate=0.000000, flags=0x00, time=0:02:17.438954496, accum=0:00:04.294967296 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed:<vpudec0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
Line 2317: 0:00:04.736066767 1330 default segment start=0, stop=111669329360, last_stop=0, duration=8590113312, rate=0.000000, applied_rate=0.000000, flags=0x00, time=0:02:17.438954496, accum=0:00:04.294967296 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func:<pipeline0> child 'vpudec0' changed state to 3(PAUSED) successfully
Line 2553: 0:00:12.136155101 1330 default segment start=0, stop=753292400, last_stop=0, duration=0, rate=0.000000, applied_rate=0.000000, flags=0x01, time=0:00:00.001298400, accum=1568:08:25.015197008 INFO GST_PADS gstpad.c:3554:gst_pad_event_default_dispatch:<vpudec0:sink> Sending event (UNKNOWN FORMAT) segment start=-1, stop=3287645526326155016, last_stop=0, duration=0, rate=0.000000, applied_rate=0.000000, flags=0x00, time=0:00:00.000000060, accum=0:00:00.000000000 (tag) to all internally linked pads
Line 2556: 0:00:12.136752434 1330 default segment start=0, stop=753292400, last_stop=0, duration=0, rate=0.000000, applied_rate=0.000000, flags=0x01, time=0:00:00.001298400, accum=1568:08:25.015197008 INFO GST_PADS gstpad.c:3554:gst_pad_event_default_dispatch:<vpudec0:sink> Sending event (UNKNOWN FORMAT) segment start=-1, stop=3287642055992579848, last_stop=765479024, duration=12884901888, rate=0.000000, applied_rate=0.000000, flags=0x00, time=0:00:00.000000062, accum=0:00:00.000000000 (tag) to all internally linked pads
Line 2558: 0:00:12.470092101 1330 default segment start=0, stop=753292400, last_stop=0, duration=0, rate=0.000000, applied_rate=0.000000, flags=0x01, time=0:00:00.001298400, accum=1568:08:25.015197008 INFO vpudec vpudec.c:1844:gst_vpudec_sink_event: Get newsegment event from 0:00:00.000000000to 99:99:99.999999999 pos 0:00:00.000000000
Line 2558: 0:00:12.470092101 1330 default segment start=0, stop=753292400, last_stop=0, duration=0, rate=0.000000, applied_rate=0.000000, flags=0x01, time=0:00:00.001298400, accum=1568:08:25.015197008 INFO vpudec vpudec.c:1844:gst_vpudec_sink_event: Get newsegment event from 0:00:00.000000000to 99:99:99.999999999 pos 0:00:00.000000000
Line 2558: 0:00:12.470092101 1330 default segment start=0, stop=753292400, last_stop=0, duration=0, rate=0.000000, applied_rate=0.000000, flags=0x01, time=0:00:00.001298400, accum=1568:08:25.015197008 INFO vpudec vpudec.c:1844:gst_vpudec_sink_event: Get newsegment event from 0:00:00.000000000to 99:99:99.999999999 pos 0:00:00.000000000
Line 2560: 0:00:12.470313768 1330 default segment start=0, stop=753292400, last_stop=0, duration=0, rate=0.000000, applied_rate=0.000000, flags=0x01, time=0:00:00.001298400, accum=1568:08:25.015197008 INFO GST_PADS gstpad.c:3554:gst_pad_event_default_dispatch:<vpudec0:sink> Sending event (UNKNOWN FORMAT) segment start=-1, stop=3287642777547084976, last_stop=1290416, duration=0, rate=0.000000, applied_rate=0.000000, flags=0x00, time=0:00:00.000000053, accum=0:00:00.000000000 (newsegment) to all internally linked pads
Line 2562: 0:00:12.470859101 1330 default segment start=0, stop=753292400, last_stop=0, duration=0, rate=0.000000, applied_rate=0.000000, flags=0x01, time=0:00:00.001298400, accum=1568:08:25.015197008 INFO vpudec vpudec.c:1185:gst_vpudec_setcaps: Get upstream caps UNDEFINED segment
Line 2562: 0:00:12.470859101 1330 default segment start=0, stop=753292400, last_stop=0, duration=0, rate=0.000000, applied_rate=0.000000, flags=0x01, time=0:00:00.001298400, accum=1568:08:25.015197008 INFO vpudec vpudec.c:1185:gst_vpudec_setcaps: Get upstream caps UNDEFINED segment
Line 2562: 0:00:12.470859101 1330 default segment start=0, stop=753292400, last_stop=0, duration=0, rate=0.000000, applied_rate=0.000000, flags=0x01, time=0:00:00.001298400, accum=1568:08:25.015197008 INFO vpudec vpudec.c:1185:gst_vpudec_setcaps: Get upstream caps UNDEFINED segment
Line 2564: 0:00:12.471054768 1330 default segment start=0, stop=753292400, last_stop=0, duration=0, rate=0.000000, applied_rate=0.000000, flags=0x01, time=0:00:00.001298400, accum=1568:08:25.015197008 INFO vpudec vpudec.c:1194:gst_vpudec_setcaps: Get codec std 6
Line 2564: 0:00:12.471054768 1330 default segment start=0, stop=753292400, last_stop=0, duration=0, rate=0.000000, applied_rate=0.000000, flags=0x01, time=0:00:00.001298400, accum=1568:08:25.015197008 INFO vpudec vpudec.c:1194:gst_vpudec_setcaps: Get codec std 6
Line 2564: 0:00:12.471054768 1330 default segment start=0, stop=753292400, last_stop=0, duration=0, rate=0.000000, applied_rate=0.000000, flags=0x01, time=0:00:00.001298400, accum=1568:08:25.015197008 INFO vpudec vpudec.c:1194:gst_vpudec_setcaps: Get codec std 6
Line 2565: 0:00:12.471214102 1330 default segment start=0, stop=753292400, last_stop=0, duration=0, rate=0.000000, applied_rate=0.000000, flags=0x01, time=0:00:00.001298400, accum=1568:08:25.015197008 INFO vpudec vpudec.c:1198:gst_vpudec_setcaps: Set Width 1920
Line 2565: 0:00:12.471214102 1330 default segment start=0, stop=753292400, last_stop=0, duration=0, rate=0.000000, applied_rate=0.000000, flags=0x01, time=0:00:00.001298400, accum=1568:08:25.015197008 INFO vpudec vpudec.c:1198:gst_vpudec_setcaps: Set Width 1920
Line 2565: 0:00:12.471214102 1330 default segment start=0, stop=753292400, last_stop=0, duration=0, rate=0.000000, applied_rate=0.000000, flags=0x01, time=0:00:00.001298400, accum=1568:08:25.015197008 INFO vpudec vpudec.c:1198:gst_vpudec_setcaps: Set Width 1920
Line 2566: 0:00:12.471358102 1330 default segment start=0, stop=753292400, last_stop=0, duration=0, rate=0.000000, applied_rate=0.000000, flags=0x01, time=0:00:00.001298400, accum=1568:08:25.015197008 INFO vpudec vpudec.c:1202:gst_vpudec_setcaps: Set Height 1080
Line 2566: 0:00:12.471358102 1330 default segment start=0, stop=753292400, last_stop=0, duration=0, rate=0.000000, applied_rate=0.000000, flags=0x01, time=0:00:00.001298400, accum=1568:08:25.015197008 INFO vpudec vpudec.c:1202:gst_vpudec_setcaps: Set Height 1080
Line 2566: 0:00:12.471358102 1330 default segment start=0, stop=753292400, last_stop=0, duration=0, rate=0.000000, applied_rate=0.000000, flags=0x01, time=0:00:00.001298400, accum=1568:08:25.015197008 INFO vpudec vpudec.c:1202:gst_vpudec_setcaps: Set Height 1080
Line 2589: 0:00:12.471505768 1330 default segment start=0, stop=753292400, last_stop=0, duration=0, rate=0.000000, applied_rate=0.000000, flags=0x01, time=0:00:00.001298400, accum=1568:08:25.015197008 INFO vpudec vpudec.c:1208:gst_vpudec_setcaps: Set codec_data (UNKNOWN FORMAT) segment start=-1, stop=-1, last_stop=-1, duration=175389284499456, rate=0.000000, applied_rate=0.000000, flags=0x26, time=0:00:00.000000000, accum=99:99:99.999999999
Line 2589: 0:00:12.471505768 1330 default segment start=0, stop=753292400, last_stop=0, duration=0, rate=0.000000, applied_rate=0.000000, flags=0x01, time=0:00:00.001298400, accum=1568:08:25.015197008 INFO vpudec vpudec.c:1208:gst_vpudec_setcaps: Set codec_data (UNKNOWN FORMAT) segment start=-1, stop=-1, last_stop=-1, duration=175389284499456, rate=0.000000, applied_rate=0.000000, flags=0x26, time=0:00:00.000000000, accum=99:99:99.999999999
Line 2589: 0:00:12.471505768 1330 default segment start=0, stop=753292400, last_stop=0, duration=0, rate=0.000000, applied_rate=0.000000, flags=0x01, time=0:00:00.001298400, accum=1568:08:25.015197008 INFO vpudec vpudec.c:1208:gst_vpudec_setcaps: Set codec_data (UNKNOWN FORMAT) segment start=-1, stop=-1, last_stop=-1, duration=175389284499456, rate=0.000000, applied_rate=0.000000, flags=0x26, time=0:00:00.000000000, accum=99:99:99.999999999
Line 2625: 0:00:13.507493101 1330 default segment start=0, stop=753292400, last_stop=0, duration=0, rate=0.000000, applied_rate=0.000000, flags=0x01, time=0:00:00.001298400, accum=0:00:00.754998416 INFO vpudec vpudec.c:1234:gst_vpudec_setcaps: got downstream allow caps UNDEFINED segment
Line 2625: 0:00:13.507493101 1330 default segment start=0, stop=753292400, last_stop=0, duration=0, rate=0.000000, applied_rate=0.000000, flags=0x01, time=0:00:00.001298400, accum=0:00:00.754998416 INFO vpudec vpudec.c:1234:gst_vpudec_setcaps: got downstream allow caps UNDEFINED segment
Line 2625: 0:00:13.507493101 1330 default segment start=0, stop=753292400, last_stop=0, duration=0, rate=0.000000, applied_rate=0.000000, flags=0x01, time=0:00:00.001298400, accum=0:00:00.754998416 INFO vpudec vpudec.c:1234:gst_vpudec_setcaps: got downstream allow caps UNDEFINED segment
Line 2630: 0:00:14.494539435 1330 default segment start=0, stop=753292400, last_stop=0, duration=0, rate=0.000000, applied_rate=0.000000, flags=0x01, time=0:00:00.001298400, accum=0:00:00.754998416 INFO vpudec vpudec.c:1287:gst_vpudec_setcaps: Use new tsm scheme
Line 2630: 0:00:14.494539435 1330 default segment start=0, stop=753292400, last_stop=0, duration=0, rate=0.000000, applied_rate=0.000000, flags=0x01, time=0:00:00.001298400, accum=0:00:00.754998416 INFO vpudec vpudec.c:1287:gst_vpudec_setcaps: Use new tsm scheme
Line 2630: 0:00:14.494539435 1330 default segment start=0, stop=753292400, last_stop=0, duration=0, rate=0.000000, applied_rate=0.000000, flags=0x01, time=0:00:00.001298400, accum=0:00:00.754998416 INFO vpudec vpudec.c:1287:gst_vpudec_setcaps: Use new tsm scheme
Line 2632: 0:00:14.494691435 1330 default segment start=0, stop=753292400, last_stop=0, duration=0, rate=0.000000, applied_rate=0.000000, flags=0x01, time=0:00:00.001298400, accum=0:00:00.754998416 INFO vpudec vpudec.c:1169:gst_vpudec_setconfig: Set drop policy 0
Line 2632: 0:00:14.494691435 1330 default segment start=0, stop=753292400, last_stop=0, duration=0, rate=0.000000, applied_rate=0.000000, flags=0x01, time=0:00:00.001298400, accum=0:00:00.754998416 INFO vpudec vpudec.c:1169:gst_vpudec_setconfig: Set drop policy 0
Line 2632: 0:00:14.494691435 1330 default segment start=0, stop=753292400, last_stop=0, duration=0, rate=0.000000, applied_rate=0.000000, flags=0x01, time=0:00:00.001298400, accum=0:00:00.754998416 INFO vpudec vpudec.c:1169:gst_vpudec_setconfig: Set drop policy 0
Line 2636: 0:00:14.827022435 1330 default segment start=0, stop=753292400, last_stop=0, duration=0, rate=0.000000, applied_rate=0.000000, flags=0x01, time=0:00:00.001298400, accum=0:00:00.754998416 INFO vpudec vpudec.c:1588:gst_vpudec_chain: Got not enough input message!!
Line 2636: 0:00:14.827022435 1330 default segment start=0, stop=753292400, last_stop=0, duration=0, rate=0.000000, applied_rate=0.000000, flags=0x01, time=0:00:00.001298400, accum=0:00:00.754998416 INFO vpudec vpudec.c:1588:gst_vpudec_chain: Got not enough input message!!
Line 2636: 0:00:14.827022435 1330 default segment start=0, stop=753292400, last_stop=0, duration=0, rate=0.000000, applied_rate=0.000000, flags=0x01, time=0:00:00.001298400, accum=0:00:00.754998416 INFO
Thanks
Alok
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20131021/26bbfb0a/attachment.html>
More information about the meta-freescale
mailing list