AV Syncronization in gstreamer-0.10 ??

Subodh Chiwate subodh.chiwate at ufomoviez.com
Mon Oct 27 04:05:08 PDT 2014


Hi,
I am using Freescale imx6. I am using following pipeline to play a video
and corresponding audio file.
The video playback is not working correctly. Lots of frame drops.

( Since I am unable to get any new BSP working with gstreamer 1.0, I am
compelled to work with older gstreamer due to time constraints.)

gst-launch-0.10 playsink name="psink" filesrc
location=/unit_tests/M1832_1_v1.m4v ! h264parse ! vpudec !
psink.video_sink sync=false filesrc location=/unit_tests/M1832_1_a1.aac
! queue ! aacparse ! beepdec ! psink.audio_sink sync=false

root at imx6qsabresd:/unit_tests# gst-launch playsink name="psink" filesrc
location
=/unit_tests/M1832_1_v1.m4v ! h264parse ! vpudec ! psink.video_sink
sync=false f
ilesrc location=/unit_tests/M1832_1_a1.aac ! queue ! aacparse ! beepdec
! psink.
audio_sink sync=false

Setting pipeline to PAUSED ...

[INFO]  Product Info: i.MX6Q/D/S

vpudec versions :)

         plugin: 3.0.11

         wrapper: 1.0.46(VPUWRAPPER_ARM_LINUX Build on Oct 25 2014 12:04:08)

         vpulib: 5.4.23

         firmware: 3.1.1.46056

Pipeline is PREROLLING ...

MFW_GST_V4LSINK_PLUGIN 3.0.11 build on Oct 25 2014 12:19:04.

Beep: 3.0.11

Core: AAC decoder Wrapper  build on Jan 22 2014 15:42:53

   mime: audio/mpeg, mpegversion=(int){2,4}

   file: /usr/lib/imx-mm/audio-codec/wrap/lib_aacd_wrap_arm12_elinux.so.3

CODEC: BLN_MAD-MMCODECS_AACD_ARM_03.07.00_CORTEX-A8  build on Sep 18
2013 10:29:53.

[INFO]  bitstreamMode 1, chromaInterleave 1, mapType 0, tiled2LinearEnable 0

mxc_v4l2_output v4l2_out.38: Bypass IC.

 >>V4L_SINK: Actually buffer status:

         hardware buffer : 11

         software buffer : 0

Pipeline is PREROLLED ...

Setting pipeline to PLAYING ...

full screen size:1920x1080

[V4L Update Display]: left=0, top=0, width=1920, height=1080

set v4l display crop sucessfully

New clock: GstAudioSinkClock

WARNING: from element
/GstPipeline:pipeline0/GstPlaySink:psink/GstBin:vbin/GstAutoVideoSink:videosink/MFW_GST_V4LSINK_INFO_T:videosink-actual-sink-mfw_v4l:
A lot of buffers ar.

Additional debug info:

/home/subodh/yocto/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer/0.10.36-r2/gstreamer-0.10.36/libs/gst/base/gstbasesink.c(2875):
gst_base_s:

There may be a timestamping problem, or this computer is too slow.

WARNING: from element
/GstPipeline:pipeline0/GstPlaySink:psink/GstBin:vbin/GstAutoVideoSink:videosink/MFW_GST_V4LSINK_INFO_T:videosink-actual-sink-mfw_v4l:
A lot of buffers ar.

Additional debug info:

/home/subodh/yocto/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer/0.10.36-r2/gstreamer-0.10.36/libs/gst/base/gstbasesink.c(2875):
gst_base_s:

There may be a timestamping problem, or this computer is too slow.

WARNING: from element
/GstPipeline:pipeline0/GstPlaySink:psink/GstBin:vbin/GstAutoVideoSink:videosink/MFW_GST_V4LSINK_INFO_T:videosink-actual-sink-mfw_v4l:
A lot of buffers ar.

Additional debug info:

/home/subodh/yocto/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer/0.10.36-r2/gstreamer-0.10.36/libs/gst/base/gstbasesink.c(2875):
gst_base_s:

There may be a timestamping problem, or this computer is too slow.

WARNING: from element
/GstPipeline:pipeline0/GstPlaySink:psink/GstBin:vbin/GstAutoVideoSink:videosink/MFW_GST_V4LSINK_INFO_T:videosink-actual-sink-mfw_v4l:
A lot of buffers ar.

Additional debug info:

/home/subodh/yocto/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer/0.10.36-r2/gstreamer-0.10.36/libs/gst/base/gstbasesink.c(2875):
gst_base_s:

There may be a timestamping problem, or this computer is too slow.

WARNING: from element
/GstPipeline:pipeline0/GstPlaySink:psink/GstBin:vbin/GstAutoVideoSink:videosink/MFW_GST_V4LSINK_INFO_T:videosink-actual-sink-mfw_v4l:
A lot of buffers ar.

Additional debug info:

/home/subodh/yocto/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer/0.10.36-r2/gstreamer-0.10.36/libs/gst/base/gstbasesink.c(2875):
gst_base_s:

There may be a timestamping problem, or this computer is too slow.

^CCaught interrupt -- handling interrupt.

Interrupt: Stopping pipeline ...

Execution ended after 8019427334 ns.

Setting pipeline to PAUSED ...

Running time 0:00:08.016000000 render fps 0.749

Setting pipeline to READY ...

Total rendered:6

Setting pipeline to NULL ...

[--->FINALIZE v4l_sink

Freeing pipeline ...


--
Regards,
Subodh

-- **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. UFOMoviez India Ltd. has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. UFOMoviez India Ltd. reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the UFOMoviez India Ltd.'s e-mail system. ***************** End of Disclaimer *******************


More information about the gstreamer-devel mailing list