* Gstreamer-1.0 : Unable to set framerate for video elementary stream with vpudec on IMX6Q [not found] <54870729.9060504@ufomoviez.com> @ 2014-12-09 14:29 ` Subodh Chiwate 2014-12-10 11:46 ` Daiane Angolini 0 siblings, 1 reply; 6+ messages in thread From: Subodh Chiwate @ 2014-12-09 14:29 UTC (permalink / raw) To: meta-freescale@yoctoproject.org [-- Attachment #1: Type: text/plain, Size: 7558 bytes --] Hi, System Specs ========== I am using IMX6 Quad SABRE board. I have built the linux image using the Yocto. Linux imx6qsabresd 3.10.31-1.1.0_beta+g94a7e47 #1 SMP PREEMPT Sun Oct 12 02:14:32 IST 2014 armv7l GNU/Linux root@imx6qsabresd:/unit_tests# gst-launch-1.0 --version gst-launch-1.0 version 1.2.3 GStreamer 1.2.3 Issue ==== I want to play an elementary stream of H264 video at a configurable (not at runtime) frame rate. Also I do not want to drop any frames and hence not using videorate plugin. I tried setting the caps to convey the desired frame rate but at the end of execution I am getting 30fps for all elementary streams I have tested with. But the same content plays at correct FPS in gst-0.10 vpu plugin. Following are the logs for both pipelines. Any suggestions regarding debugging the issue are welcome. Please let me know if should provide any specific information regarding my setup. Thanks. Command Line Output =============== root@imx6qsabresd:/unit_tests# gst-launch-1.0 -vvv filesrc location=/home/subodh/Media/v1.m4v ! h264parse ! vpudec frame-drop=false ! "video/x-raw,framerate=(fraction)24/1" ! imxv4l2sink Setting pipeline to PAUSED ... [INFO] Product Info: i.MX6Q/D/S Pipeline is PREROLLING ... /GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps = video/x-h264, width=(int)1920, height=(int)1080, framerate=(fraction)24/1, parsed=(boolean)true, stream-format=(string)avc, alignment=(string)au, codec_data=(buffer)01640028ffe1001d67640028ac24a401e0089f966e020202800000030080000018478c192401000668ee06cb22c0 /GstPipeline:pipeline0/GstVpuDec:vpudec0.GstPad:sink: caps = video/x-h264, width=(int)1920, height=(int)1080, framerate=(fraction)24/1, parsed=(boolean)true, stream-format=(string)avc, alignment=(string)au, codec_data=(buffer)01640028ffe1001d67640028ac24a401e0089f966e020202800000030080000018478c192401000668ee06cb22c0 [INFO] bitstreamMode 1, chromaInterleave 1, mapType 0, tiled2LinearEnable 0 /GstPipeline:pipeline0/GstVpuDec:vpudec0.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1088, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)24/1 /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1088, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)24/1 /GstPipeline:pipeline0/GstImxV4l2Sink:imxv4l2sink0.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1088, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)24/1 /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1088, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)24/1 v4l2sink need allocate 11 buffers. Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock Got EOS from element "pipeline0". Execution ended after 0:01:06.674187675 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Total showed frames (1988), playing for (0:01:06.676579008), fps (29.816). Freeing pipeline ... root@imx6qsabresd:/unit_tests# gst-launch-0.10 -vvv filesrc location=/home/subodh/Media/v1.m4v ! legacyh264parse ! vpudec framedrop=false framerate-nu=24 framerate-de=1 ! imxv4l2sink MFW_GST_V4LSINK_PLUGIN 4.0.1 build on Nov 3 2014 14:23:43. Setting pipeline to PAUSED ... [INFO] Product Info: i.MX6Q/D/S vpudec versions :) plugin: 4.0.1 wrapper: 1.0.54(VPUWRAPPER_ARM_LINUX Build on Oct 20 2014 18:56:13) vpulib: 5.4.26 firmware: 3.1.1.46060 Pipeline is PREROLLING ... /GstPipeline:pipeline0/GstLegacyH264Parse:legacyh264parse0.GstPad:src: caps = video/x-h264, width=(int)1920, height=(int)1080, framerate=(fraction)24/1, stream-format=(string)byte-stream, alignment=(string)nal [INFO] bitstreamMode 1, chromaInterleave 1, mapType 0, tiled2LinearEnable 0 /GstPipeline:pipeline0/GstVpuDec:vpudec0.GstPad:sink: caps = video/x-h264, width=(int)1920, height=(int)1080, framerate=(fraction)24/1, stream-format=(string)byte-stream, alignment=(string)nal /GstPipeline:pipeline0/GstVpuDec:vpudec0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)NV12, width=(int)1920, height=(int)1088, pixel-aspect-ratio=(fraction)1/1, crop-top=(int)0, crop-left=(int)0, crop-right=(int)0, crop-bottom=(int)8, num-buffers-required=(int)11, framerate=(fraction)24/1, alignment=(int)1 set v4l rotate sucessfully >>V4L_SINK: Actually buffer status: hardware buffer : 11 software buffer : 0 /GstPipeline:pipeline0/MFW_GST_V4LSINK_INFO_T:mfw_gst_v4lsink_info_t0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)NV12, width=(int)1920, height=(int)1088, pixel-aspect-ratio=(fraction)1/1, crop-top=(int)0, crop-left=(int)0, crop-right=(int)0, crop-bottom=(int)8, num-buffers-required=(int)11, framerate=(fraction)24/1, alignment=(int)1 WARNING: from element /GstPipeline:pipeline0/MFW_GST_V4LSINK_INFO_T:mfw_gst_v4lsink_info_t0: Internal data flow problem. Additional debug info: /Data/yocto/fsl-arm-yocto-bsp/build-dfb/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer/0.10.36-r2/gstreamer-0.10.36/libs/gst/base/gstbasesink.c(3638): gst_base_sink_chain_unlocked (): /GstPipeline:pipeline0/MFW_GST_V4LSINK_INFO_T:mfw_gst_v4lsink_info_t0: Received buffer without a new-segment. Assuming timestamps start from 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: GstSystemClock Got EOS from element "pipeline0". Execution ended after 83247423343 ns. Setting pipeline to PAUSED ... Running time 0:01:23.251386343 render fps 23.916 Setting pipeline to READY ... /GstPipeline:pipeline0/MFW_GST_V4LSINK_INFO_T:mfw_gst_v4lsink_info_t0.GstPad:sink: caps = NULL /GstPipeline:pipeline0/GstVpuDec:vpudec0.GstPad:src: caps = NULL /GstPipeline:pipeline0/GstVpuDec:vpudec0.GstPad:sink: caps = NULL /GstPipeline:pipeline0/GstLegacyH264Parse:legacyh264parse0.GstPad:src: caps = NULL Setting pipeline to NULL ... Total rendered:1991 Freeing pipeline ... [--->FINALIZE v4l_sink root@imx6qsabresd:/unit_tests# -- Regards, Subodh -- 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 ******************* [-- Attachment #2: Type: text/html, Size: 8537 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Gstreamer-1.0 : Unable to set framerate for video elementary stream with vpudec on IMX6Q 2014-12-09 14:29 ` Gstreamer-1.0 : Unable to set framerate for video elementary stream with vpudec on IMX6Q Subodh Chiwate @ 2014-12-10 11:46 ` Daiane Angolini 2014-12-10 12:44 ` Subodh Chiwate 0 siblings, 1 reply; 6+ messages in thread From: Daiane Angolini @ 2014-12-10 11:46 UTC (permalink / raw) To: Subodh Chiwate; +Cc: meta-freescale@yoctoproject.org On Tue, Dec 9, 2014 at 12:29 PM, Subodh Chiwate <subodh.chiwate@ufomoviez.com> wrote: > > Hi, > > System Specs > ========== > I am using IMX6 Quad SABRE board. I have built the linux image using the > Yocto. > > Linux imx6qsabresd 3.10.31-1.1.0_beta+g94a7e47 #1 SMP PREEMPT Sun Oct 12 > 02:14:32 IST 2014 armv7l GNU/Linux > > root@imx6qsabresd:/unit_tests# gst-launch-1.0 --version > gst-launch-1.0 version 1.2.3 > GStreamer 1.2.3 Can you, please, confirm which gst1.0 provider are you using? > > > Issue > ==== > I want to play an elementary stream of H264 video at a configurable (not at > runtime) frame rate. Also I do not want to drop any frames > and hence not using videorate plugin. > I tried setting the caps to convey the desired frame rate but at the end of > execution I am getting 30fps for all elementary streams I have tested with. > But the same content plays at correct FPS in gst-0.10 vpu plugin. > Following are the logs for both pipelines. > Any suggestions regarding debugging the issue are welcome. > Please let me know if should provide any specific information regarding my > setup. I'm sorry. I did not understood the question. I guess you want to play a raw h264 movie (no container) and want to define the FPS previously. Because a raw h264 does not have timing, so you can change it anyway you want/need. But, you have one working cmd-line and one not-working cmd-line. If you have one working cmd-line, what's the problem? (here is where I got confused and need your help) Daiane > > Thanks. > > > Command Line Output > =============== > root@imx6qsabresd:/unit_tests# gst-launch-1.0 -vvv filesrc > location=/home/subodh/Media/v1.m4v ! h264parse ! vpudec frame-drop=false ! > "video/x-raw,framerate=(fraction)24/1" ! imxv4l2sink > Setting pipeline to PAUSED ... > [INFO] Product Info: i.MX6Q/D/S > Pipeline is PREROLLING ... > /GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps = > video/x-h264, width=(int)1920, height=(int)1080, framerate=(fraction)24/1, > parsed=(boolean)true, stream-format=(string)avc, alignment=(string)au, > codec_data=(buffer)01640028ffe1001d67640028ac24a401e0089f966e020202800000030080000018478c192401000668ee06cb22c0 > /GstPipeline:pipeline0/GstVpuDec:vpudec0.GstPad:sink: caps = video/x-h264, > width=(int)1920, height=(int)1080, framerate=(fraction)24/1, > parsed=(boolean)true, stream-format=(string)avc, alignment=(string)au, > codec_data=(buffer)01640028ffe1001d67640028ac24a401e0089f966e020202800000030080000018478c192401000668ee06cb22c0 > [INFO] bitstreamMode 1, chromaInterleave 1, mapType 0, tiled2LinearEnable > 0 > /GstPipeline:pipeline0/GstVpuDec:vpudec0.GstPad:src: caps = video/x-raw, > format=(string)NV12, width=(int)1920, height=(int)1088, > pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, > colorimetry=(string)bt709, framerate=(fraction)24/1 > /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = > video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1088, > pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, > colorimetry=(string)bt709, framerate=(fraction)24/1 > /GstPipeline:pipeline0/GstImxV4l2Sink:imxv4l2sink0.GstPad:sink: caps = > video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1088, > pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, > colorimetry=(string)bt709, framerate=(fraction)24/1 > /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = > video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1088, > pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, > colorimetry=(string)bt709, framerate=(fraction)24/1 > v4l2sink need allocate 11 buffers. > Pipeline is PREROLLED ... > Setting pipeline to PLAYING ... > New clock: GstSystemClock > Got EOS from element "pipeline0". > Execution ended after 0:01:06.674187675 > Setting pipeline to PAUSED ... > Setting pipeline to READY ... > Setting pipeline to NULL ... > Total showed frames (1988), playing for (0:01:06.676579008), fps (29.816). > Freeing pipeline ... > > root@imx6qsabresd:/unit_tests# gst-launch-0.10 -vvv filesrc > location=/home/subodh/Media/v1.m4v ! legacyh264parse ! vpudec > framedrop=false framerate-nu=24 framerate-de=1 ! imxv4l2sink > MFW_GST_V4LSINK_PLUGIN 4.0.1 build on Nov 3 2014 14:23:43. > Setting pipeline to PAUSED ... > [INFO] Product Info: i.MX6Q/D/S > vpudec versions :) > plugin: 4.0.1 > wrapper: 1.0.54(VPUWRAPPER_ARM_LINUX Build on Oct 20 2014 18:56:13) > vpulib: 5.4.26 > firmware: 3.1.1.46060 > Pipeline is PREROLLING ... > /GstPipeline:pipeline0/GstLegacyH264Parse:legacyh264parse0.GstPad:src: caps > = video/x-h264, width=(int)1920, height=(int)1080, framerate=(fraction)24/1, > stream-format=(string)byte-stream, alignment=(string)nal > [INFO] bitstreamMode 1, chromaInterleave 1, mapType 0, tiled2LinearEnable > 0 > /GstPipeline:pipeline0/GstVpuDec:vpudec0.GstPad:sink: caps = video/x-h264, > width=(int)1920, height=(int)1080, framerate=(fraction)24/1, > stream-format=(string)byte-stream, alignment=(string)nal > /GstPipeline:pipeline0/GstVpuDec:vpudec0.GstPad:src: caps = video/x-raw-yuv, > format=(fourcc)NV12, width=(int)1920, height=(int)1088, > pixel-aspect-ratio=(fraction)1/1, crop-top=(int)0, crop-left=(int)0, > crop-right=(int)0, crop-bottom=(int)8, num-buffers-required=(int)11, > framerate=(fraction)24/1, alignment=(int)1 > set v4l rotate sucessfully >>>V4L_SINK: Actually buffer status: > hardware buffer : 11 > software buffer : 0 > /GstPipeline:pipeline0/MFW_GST_V4LSINK_INFO_T:mfw_gst_v4lsink_info_t0.GstPad:sink: > caps = video/x-raw-yuv, format=(fourcc)NV12, width=(int)1920, > height=(int)1088, pixel-aspect-ratio=(fraction)1/1, crop-top=(int)0, > crop-left=(int)0, crop-right=(int)0, crop-bottom=(int)8, > num-buffers-required=(int)11, framerate=(fraction)24/1, alignment=(int)1 > WARNING: from element > /GstPipeline:pipeline0/MFW_GST_V4LSINK_INFO_T:mfw_gst_v4lsink_info_t0: > Internal data flow problem. > Additional debug info: > /Data/yocto/fsl-arm-yocto-bsp/build-dfb/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer/0.10.36-r2/gstreamer-0.10.36/libs/gst/base/gstbasesink.c(3638): > gst_base_sink_chain_unlocked (): > /GstPipeline:pipeline0/MFW_GST_V4LSINK_INFO_T:mfw_gst_v4lsink_info_t0: > Received buffer without a new-segment. Assuming timestamps start from 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: GstSystemClock > Got EOS from element "pipeline0". > Execution ended after 83247423343 ns. > Setting pipeline to PAUSED ... > Running time 0:01:23.251386343 render fps 23.916 > Setting pipeline to READY ... > /GstPipeline:pipeline0/MFW_GST_V4LSINK_INFO_T:mfw_gst_v4lsink_info_t0.GstPad:sink: > caps = NULL > /GstPipeline:pipeline0/GstVpuDec:vpudec0.GstPad:src: caps = NULL > /GstPipeline:pipeline0/GstVpuDec:vpudec0.GstPad:sink: caps = NULL > /GstPipeline:pipeline0/GstLegacyH264Parse:legacyh264parse0.GstPad:src: caps > = NULL > Setting pipeline to NULL ... > Total rendered:1991 > Freeing pipeline ... > [--->FINALIZE v4l_sink > root@imx6qsabresd:/unit_tests# > > > -- > Regards, > Subodh > > > -- > 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 > ******************* > > -- > _______________________________________________ > meta-freescale mailing list > meta-freescale@yoctoproject.org > https://lists.yoctoproject.org/listinfo/meta-freescale > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Gstreamer-1.0 : Unable to set framerate for video elementary stream with vpudec on IMX6Q 2014-12-10 11:46 ` Daiane Angolini @ 2014-12-10 12:44 ` Subodh Chiwate 2014-12-10 13:53 ` Daiane Angolini 0 siblings, 1 reply; 6+ messages in thread From: Subodh Chiwate @ 2014-12-10 12:44 UTC (permalink / raw) To: Daiane Angolini; +Cc: meta-freescale@yoctoproject.org Hi Diane, I am using the source provided by FSL BSP. http://git.freescale.com/git/cgit.cgi/imx/fsl-arm-yocto-bsp.git/tree/README?h=imx-3.10.31-1.1.0_beta URI : === ./poky/meta/recipes-multimedia/gstreamer/gstreamer1.0_git.bb:8:SRC_URI = "git://anongit.freedesktop.org/gstreamer/gstreamer;branch=master" ./conf/layer.conf:14:FSL_MIRROR ?= "http://www.freescale.com/lgfiles/NMG/MAD/YOCTO/" ufouser@ufouser-virtual-machine:/Data/yocto/fsl-arm-yocto-bsp/sources/meta-fsl-arm$ grep -Irn "FSL_MIRROR" . | grep gstreamer ./recipes-multimedia/gstreamer/gst-fsl-plugin.inc:21:SRC_URI = "${FSL_MIRROR}/gst-fsl-plugins-${PV}.tar.gz \ Please let me know if you need information from a specific config file. On 12/10/2014 05:16 PM, Daiane Angolini wrote: > On Tue, Dec 9, 2014 at 12:29 PM, Subodh Chiwate > <subodh.chiwate@ufomoviez.com> wrote: >> Hi, >> >> System Specs >> ========== >> I am using IMX6 Quad SABRE board. I have built the linux image using the >> Yocto. >> >> Linux imx6qsabresd 3.10.31-1.1.0_beta+g94a7e47 #1 SMP PREEMPT Sun Oct 12 >> 02:14:32 IST 2014 armv7l GNU/Linux >> >> root@imx6qsabresd:/unit_tests# gst-launch-1.0 --version >> gst-launch-1.0 version 1.2.3 >> GStreamer 1.2.3 > Can you, please, confirm which gst1.0 provider are you using? > >> >> Issue >> ==== >> I want to play an elementary stream of H264 video at a configurable (not at >> runtime) frame rate. Also I do not want to drop any frames >> and hence not using videorate plugin. >> I tried setting the caps to convey the desired frame rate but at the end of >> execution I am getting 30fps for all elementary streams I have tested with. >> But the same content plays at correct FPS in gst-0.10 vpu plugin. >> Following are the logs for both pipelines. >> Any suggestions regarding debugging the issue are welcome. >> Please let me know if should provide any specific information regarding my >> setup. > I'm sorry. I did not understood the question. > > I guess you want to play a raw h264 movie (no container) and want to > define the FPS previously. > Because a raw h264 does not have timing, so you can change it anyway > you want/need. > > But, you have one working cmd-line and one not-working cmd-line. > > If you have one working cmd-line, what's the problem? (here is where I > got confused and need your help) > > Daiane > >> Thanks. >> >> >> Command Line Output >> =============== >> root@imx6qsabresd:/unit_tests# gst-launch-1.0 -vvv filesrc >> location=/home/subodh/Media/v1.m4v ! h264parse ! vpudec frame-drop=false ! >> "video/x-raw,framerate=(fraction)24/1" ! imxv4l2sink >> Setting pipeline to PAUSED ... >> [INFO] Product Info: i.MX6Q/D/S >> Pipeline is PREROLLING ... >> /GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps = >> video/x-h264, width=(int)1920, height=(int)1080, framerate=(fraction)24/1, >> parsed=(boolean)true, stream-format=(string)avc, alignment=(string)au, >> codec_data=(buffer)01640028ffe1001d67640028ac24a401e0089f966e020202800000030080000018478c192401000668ee06cb22c0 >> /GstPipeline:pipeline0/GstVpuDec:vpudec0.GstPad:sink: caps = video/x-h264, >> width=(int)1920, height=(int)1080, framerate=(fraction)24/1, >> parsed=(boolean)true, stream-format=(string)avc, alignment=(string)au, >> codec_data=(buffer)01640028ffe1001d67640028ac24a401e0089f966e020202800000030080000018478c192401000668ee06cb22c0 >> [INFO] bitstreamMode 1, chromaInterleave 1, mapType 0, tiled2LinearEnable >> 0 >> /GstPipeline:pipeline0/GstVpuDec:vpudec0.GstPad:src: caps = video/x-raw, >> format=(string)NV12, width=(int)1920, height=(int)1088, >> pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, >> colorimetry=(string)bt709, framerate=(fraction)24/1 >> /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = >> video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1088, >> pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, >> colorimetry=(string)bt709, framerate=(fraction)24/1 >> /GstPipeline:pipeline0/GstImxV4l2Sink:imxv4l2sink0.GstPad:sink: caps = >> video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1088, >> pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, >> colorimetry=(string)bt709, framerate=(fraction)24/1 >> /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = >> video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1088, >> pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, >> colorimetry=(string)bt709, framerate=(fraction)24/1 >> v4l2sink need allocate 11 buffers. >> Pipeline is PREROLLED ... >> Setting pipeline to PLAYING ... >> New clock: GstSystemClock >> Got EOS from element "pipeline0". >> Execution ended after 0:01:06.674187675 >> Setting pipeline to PAUSED ... >> Setting pipeline to READY ... >> Setting pipeline to NULL ... >> Total showed frames (1988), playing for (0:01:06.676579008), fps (29.816). >> Freeing pipeline ... >> >> root@imx6qsabresd:/unit_tests# gst-launch-0.10 -vvv filesrc >> location=/home/subodh/Media/v1.m4v ! legacyh264parse ! vpudec >> framedrop=false framerate-nu=24 framerate-de=1 ! imxv4l2sink >> MFW_GST_V4LSINK_PLUGIN 4.0.1 build on Nov 3 2014 14:23:43. >> Setting pipeline to PAUSED ... >> [INFO] Product Info: i.MX6Q/D/S >> vpudec versions :) >> plugin: 4.0.1 >> wrapper: 1.0.54(VPUWRAPPER_ARM_LINUX Build on Oct 20 2014 18:56:13) >> vpulib: 5.4.26 >> firmware: 3.1.1.46060 >> Pipeline is PREROLLING ... >> /GstPipeline:pipeline0/GstLegacyH264Parse:legacyh264parse0.GstPad:src: caps >> = video/x-h264, width=(int)1920, height=(int)1080, framerate=(fraction)24/1, >> stream-format=(string)byte-stream, alignment=(string)nal >> [INFO] bitstreamMode 1, chromaInterleave 1, mapType 0, tiled2LinearEnable >> 0 >> /GstPipeline:pipeline0/GstVpuDec:vpudec0.GstPad:sink: caps = video/x-h264, >> width=(int)1920, height=(int)1080, framerate=(fraction)24/1, >> stream-format=(string)byte-stream, alignment=(string)nal >> /GstPipeline:pipeline0/GstVpuDec:vpudec0.GstPad:src: caps = video/x-raw-yuv, >> format=(fourcc)NV12, width=(int)1920, height=(int)1088, >> pixel-aspect-ratio=(fraction)1/1, crop-top=(int)0, crop-left=(int)0, >> crop-right=(int)0, crop-bottom=(int)8, num-buffers-required=(int)11, >> framerate=(fraction)24/1, alignment=(int)1 >> set v4l rotate sucessfully >>>> V4L_SINK: Actually buffer status: >> hardware buffer : 11 >> software buffer : 0 >> /GstPipeline:pipeline0/MFW_GST_V4LSINK_INFO_T:mfw_gst_v4lsink_info_t0.GstPad:sink: >> caps = video/x-raw-yuv, format=(fourcc)NV12, width=(int)1920, >> height=(int)1088, pixel-aspect-ratio=(fraction)1/1, crop-top=(int)0, >> crop-left=(int)0, crop-right=(int)0, crop-bottom=(int)8, >> num-buffers-required=(int)11, framerate=(fraction)24/1, alignment=(int)1 >> WARNING: from element >> /GstPipeline:pipeline0/MFW_GST_V4LSINK_INFO_T:mfw_gst_v4lsink_info_t0: >> Internal data flow problem. >> Additional debug info: >> /Data/yocto/fsl-arm-yocto-bsp/build-dfb/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer/0.10.36-r2/gstreamer-0.10.36/libs/gst/base/gstbasesink.c(3638): >> gst_base_sink_chain_unlocked (): >> /GstPipeline:pipeline0/MFW_GST_V4LSINK_INFO_T:mfw_gst_v4lsink_info_t0: >> Received buffer without a new-segment. Assuming timestamps start from 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: GstSystemClock >> Got EOS from element "pipeline0". >> Execution ended after 83247423343 ns. >> Setting pipeline to PAUSED ... >> Running time 0:01:23.251386343 render fps 23.916 >> Setting pipeline to READY ... >> /GstPipeline:pipeline0/MFW_GST_V4LSINK_INFO_T:mfw_gst_v4lsink_info_t0.GstPad:sink: >> caps = NULL >> /GstPipeline:pipeline0/GstVpuDec:vpudec0.GstPad:src: caps = NULL >> /GstPipeline:pipeline0/GstVpuDec:vpudec0.GstPad:sink: caps = NULL >> /GstPipeline:pipeline0/GstLegacyH264Parse:legacyh264parse0.GstPad:src: caps >> = NULL >> Setting pipeline to NULL ... >> Total rendered:1991 >> Freeing pipeline ... >> [--->FINALIZE v4l_sink >> root@imx6qsabresd:/unit_tests# >> >> >> -- >> Regards, >> Subodh >> >> >> -- >> 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 >> ******************* >> >> -- >> _______________________________________________ >> meta-freescale mailing list >> meta-freescale@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/meta-freescale >> > . > -- 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 ******************* ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Gstreamer-1.0 : Unable to set framerate for video elementary stream with vpudec on IMX6Q 2014-12-10 12:44 ` Subodh Chiwate @ 2014-12-10 13:53 ` Daiane Angolini 2014-12-10 15:00 ` Subodh Chiwate 0 siblings, 1 reply; 6+ messages in thread From: Daiane Angolini @ 2014-12-10 13:53 UTC (permalink / raw) To: Subodh Chiwate; +Cc: meta-freescale@yoctoproject.org Please, see my comments inline Daiane On Wed, Dec 10, 2014 at 10:44 AM, Subodh Chiwate <subodh.chiwate@ufomoviez.com> wrote: > Hi Diane, > I am using the source provided by FSL BSP. > http://git.freescale.com/git/cgit.cgi/imx/fsl-arm-yocto-bsp.git/tree/README?h=imx-3.10.31-1.1.0_beta Thanks, I think that's enough. Please, take a look on this: http://freescale.github.io/doc/release-notes/1.7/index.html#the-differences-between-project-name-and-freescale-release-name >> I'm not sure you saw my other question, please see below: >> I'm sorry. I did not understood the question. >> >> I guess you want to play a raw h264 movie (no container) and want to >> define the FPS previously. >> Because a raw h264 does not have timing, so you can change it anyway >> you want/need. >> >> But, you have one working cmd-line and one not-working cmd-line. >> >> If you have one working cmd-line, what's the problem? (here is where I >> got confused and need your help) >> >> Daiane thanks Daiane ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Gstreamer-1.0 : Unable to set framerate for video elementary stream with vpudec on IMX6Q 2014-12-10 13:53 ` Daiane Angolini @ 2014-12-10 15:00 ` Subodh Chiwate 0 siblings, 0 replies; 6+ messages in thread From: Subodh Chiwate @ 2014-12-10 15:00 UTC (permalink / raw) To: Daiane Angolini; +Cc: meta-freescale@yoctoproject.org [-- Attachment #1: Type: text/plain, Size: 2627 bytes --] Hi, Sorry, missed the other question. Will go through the link. Answering that one : I need to play a elementary stream of H264 @ a fps decided by me (24 in this case). Hence I need the parser and the demux element will not qork in my final use case. I tested with mp4 container to ensure the consitency of my data, but unfortunately cannot use it in final code. [subodh@localhost M1832]$ gst-typefind-1.0 M1832_1_v1.m4v M1832_1_v1.m4v - video/x-h264, stream-format=(string)byte-stream On 12/10/2014 07:23 PM, Daiane Angolini wrote: Please, see my comments inline Daiane On Wed, Dec 10, 2014 at 10:44 AM, Subodh Chiwate <subodh.chiwate@ufomoviez.com><mailto:subodh.chiwate@ufomoviez.com> wrote: Hi Diane, I am using the source provided by FSL BSP. http://git.freescale.com/git/cgit.cgi/imx/fsl-arm-yocto-bsp.git/tree/README?h=imx-3.10.31-1.1.0_beta Thanks, I think that's enough. Please, take a look on this: http://freescale.github.io/doc/release-notes/1.7/index.html#the-differences-between-project-name-and-freescale-release-name I'm not sure you saw my other question, please see below: I'm sorry. I did not understood the question. I guess you want to play a raw h264 movie (no container) and want to define the FPS previously. Because a raw h264 does not have timing, so you can change it anyway you want/need. But, you have one working cmd-line and one not-working cmd-line. If you have one working cmd-line, what's the problem? (here is where I got confused and need your help) Daiane thanks Daiane -- 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 ******************* [-- Attachment #2: Type: text/html, Size: 3590 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <mailman.25395.1418185888.26702.meta-freescale@yoctoproject.org>]
* Re: Gstreamer-1.0 : Unable to set framerate for video elementary stream with vpudec on IMX6Q [not found] <mailman.25395.1418185888.26702.meta-freescale@yoctoproject.org> @ 2014-12-10 8:45 ` Subodh Chiwate 0 siblings, 0 replies; 6+ messages in thread From: Subodh Chiwate @ 2014-12-10 8:45 UTC (permalink / raw) To: meta-freescale [-- Attachment #1: Type: text/plain, Size: 2315 bytes --] To verify the consistency of my data I executed the same pipeline on Fedora 18 Intel desktop. Based on the command line time stamps using "date", I could confirm that the video was played back at very close to 24 fps. Please suggest a way to get the fixed version of h264parse for IMX6 Quad. In case my assumption are incorrect please suggest alternative tests to verify the component behaving in unexpected manner. [subodh@localhost M1832]$ date && gst-launch-1.0 filesrc location="/home/subodh/Media/M1832/M1832_1_v1.m4v" ! h264parse ! avdec_h264 ! xvimagesink && date Wed Dec 10 13:22:59 IST 2014 Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Redistribute latency... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock Got EOS from element "pipeline0". Execution ended after 83333505298 ns. Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... Wed Dec 10 13:24:22 IST 2014 [subodh@localhost M1832]$ gst-launch-1.0 --version <b>gst-launch-1.0 version 1.0.10 GStreamer 1.0.10</b> http://download.fedoraproject.org [subodh@localhost M1832]$ uname -a Linux localhost.localdomain 3.6.10-4.fc18.x86_64 #1 SMP Tue Dec 11 18:01:27 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux -- 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 ******************* [-- Attachment #2: Type: text/html, Size: 2766 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-12-10 15:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <54870729.9060504@ufomoviez.com>
2014-12-09 14:29 ` Gstreamer-1.0 : Unable to set framerate for video elementary stream with vpudec on IMX6Q Subodh Chiwate
2014-12-10 11:46 ` Daiane Angolini
2014-12-10 12:44 ` Subodh Chiwate
2014-12-10 13:53 ` Daiane Angolini
2014-12-10 15:00 ` Subodh Chiwate
[not found] <mailman.25395.1418185888.26702.meta-freescale@yoctoproject.org>
2014-12-10 8:45 ` Subodh Chiwate
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.