Freescale iMX51, video record from network (udpsrc) and playback is fast forward (plays 3 times faster)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi Tim,

I have tried below pipeline as you suggested

gst-launch --gst-debug-level=2 filesrc location=/pa
xton_apps/video30.avi ! avidemux !mfw_vpudecoder codec-type=std_avc !
mfw_v4lsink

I think it did not like data from avi demultiplexure.

and it gives errors as below

root at freescale /paxton_apps$ gst-launch --gst-debug-level=2 filesrc
location=/pa
xton_apps/video30.avi ! avidemux !mfw_vpudecoder codec-type=std_avc !
mfw_v4lsin
k
MFW_GST_V4LSINK_PLUGIN 1.9.0 build on Jul 19 2013 05:42:34.
Setting pipeline to PAUSED ...
[INFO]  Product Info: i.MX51
VPU Version: firmware 13.4.0; libvpu: 5.1.0
MFW_GST_VPU_DECODER_PLUGIN 1.9.0 build on Jul 19 2013 05:41:47.
0:00:00.167953005  1374    0xa95b0 WARN          GST_SCHEDULING
gstpad.c:4603:gst_pad_get_range:<filesrc0:src> getrange failed unexpected
0:00:00.168652130  1374    0xa95b0 WARN          GST_SCHEDULING
gstpad.c:4715:gst_pad_pull_range:<avidemux0:sink> pullrange failed
unexpected
Pipeline is PREROLLING ...
0:00:00.418972385  1374    0xa95b0 ERROR         mfw_vpudecoder
mfw_gst_vpu_decoder.c:2140:mfw_gst_vpudec_vpu_init: >>VPU_DEC:
vpu_DecGetInitialInfo failed. Error code is -1 handle 786720

0:00:00.419750260  1374    0xa95b0 ERROR         mfw_vpudecoder
mfw_gst_vpu_decoder.c:1029:mfw_gst_vpudec_copy_data:
vpu_DecGetBitstreamBuffer returned zero space flush buffer

0:00:00.419995385  1374    0xa95b0 ERROR         mfw_vpudecoder
mfw_gst_vpu_decoder.c:3045:mfw_gst_vpudec_chain: >>VPU_DEC:
mfw_gst_vpudec_copy_sink_input failed - Error -5

0:00:00.420240135  1374    0xa95b0 WARN                avidemux
gstavidemux.c:4443:gst_avi_demux_loop:<avidemux0> error: Internal data
stream error.
0:00:00.420410385  1374    0xa95b0 WARN                avidemux
gstavidemux.c:4443:gst_avi_demux_loop:<avidemux0> error: streaming stopped,
reason error
ERROR: from element /GstPipeline:pipeline0/GstAviDemux:avidemux0: Internal
data stream error.
Additional debug info:
gstavidemux.c(4443): gst_avi_demux_loop ():
/GstPipeline:pipeline0/GstAviDemux:avidemux0:
streaming stopped, reason error
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Total rendered:0

>>VPU_DEC: State: Ready to Null
Freeing pipeline ...
>>V4L finalize: class finalized.
0:00:00.441820758  1374    0x15050 WARN          mfw_vpudecoder
mfw_gst_vpu_decoder.c:5021:mfw_gst_vpudec_vpu_finalize: >>VPU_DEC: vpu_dec
is null,exit no clean up needed






On Wed, Aug 21, 2013 at 1:36 PM, Tim-Philipp M?ller <t.i.m at zen.co.uk> wrote:

> On Wed, 2013-08-21 at 12:57 +0100, Mahendra Panpalia wrote:
>
> Hi,
>
>
> > Record avi video on iMX51 (via network)
> >
> > gst-launch -v udpsrc multicast-group=ff18::19:42ee port=17990
> > caps="application/x-rtp, media=video, clock-rate=90000, payload=96,
> > encoding-name=H264" ! rtph264depay ! video/x-h264, height=480,
> > width=640, framerate=30/1 ! avimux ! filesink
> > location=/paxton_apps/video30.avi sync=false
> >
> > Playback avi video on iMX51
> >
> > gst-launch -v filesrc location=/paxton_apps/video30.avi ! h264parse !
> > mfw_vpudecoder codec-type=std_avc ! mfw_v4lsink
> >
> > Playback is fast forward ( playback 3 times faster )
>
> Try:
>
>   filesrc location=foo.avi ! avidemux ! h264parse ! ...
>
> Cheers
>  -Tim
>
> _______________________________________________
> gstreamer-embedded mailing list
> gstreamer-embedded at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded
>



-- 
Thanks and Kind Regards,
Mahendra Panpalia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20130821/c06a01ae/attachment.html>


[Index of Archives]     [Linux Embedded]     [Linux ARM Kernel]     [Linux for ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux Media]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux