problem playing low resolution videos with gstreamer 1.8.3

Reyhaneh Yazdani reyhane.y84 at gmail.com
Thu Mar 1 13:10:41 UTC 2018


Hi guys,

I have a problem with gstreamer 1.8.3 on imx6.

Previously I could play video with low resolutions like standard definition
on gstreamer 1.6.3. But now after upgrade gstreamer to the 1.8.3, it is not
possible more, even though I can play HD and Full HD video with it.
The problem is back to good plugin. I kept the version of other plugin in
1.8.3 and just down grade the good plugin into 1.6.3 and the video is
played.

This is my gstreamer command:

gst-launch-1.0 -v \
filesrc location=Embedded_Systems_EN_V4-Mobil.mp4  \
! qtdemux name=demux  \
demux.video_0 \
! queue  \
!  h264parse \
!  video/x-h264,stream-format=byte-stream \
! v4l2video4dec output-io-mode=2 capture-io-mode=4
! v4l2sink device=/dev/video/by-name/voutbg-2  io-mode=5 sync=true \
crop-top=0 crop-height=1080 overlay-height=1080


An this is the output:

CPU: imx6dl
vout1: /dev/video/by-name/voutbg-2
vout2:
ovl1: /dev/video/by-name/imx-ipuv3-ovl-1
ovl2:
scale1: /dev/video/by-name/imx-ipuv3-scale-0 (v4l2video0convert)
sclae2:  ()
decoder: /dev/video/by-name/coda-decoder-4 (v4l2video4dec)
encoder: /dev/video/by-name/coda-encoder-3
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = "video/x-h264\,\
stream-format\=\(string\)avc\,\ alignment\=\(string\)au\,\
level\=\(string\)3\,\ profile\=\(string\)constrained-baseline\,\
codec_data\=\(buffer\)0142c01effe1001b6742c01ed901e08feb016a0c0c0c800000030080000019078b172401000468cb8cb2\,\
width\=\(int\)480\,\ height\=\(int\)270\,\ framerate\=\(fraction\)25/1\,\
pixel-aspect-ratio\=\(fraction\)1/1"
/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:sink: caps =
"video/x-h264\,\ stream-format\=\(string\)avc\,\ alignment\=\(string\)au\,\
level\=\(string\)3\,\ profile\=\(string\)constrained-baseline\,\
codec_data\=\(buffer\)0142c01effe1001b6742c01ed901e08feb016a0c0c0c800000030080000019078b172401000468cb8cb2\,\
width\=\(int\)480\,\ height\=\(int\)270\,\ framerate\=\(fraction\)25/1\,\
pixel-aspect-ratio\=\(fraction\)1/1"
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = "video/x-h264\,\
stream-format\=\(string\)avc\,\ alignment\=\(string\)au\,\
level\=\(string\)3\,\ profile\=\(string\)constrained-baseline\,\
codec_data\=\(buffer\)0142c01effe1001b6742c01ed901e08feb016a0c0c0c800000030080000019078b172401000468cb8cb2\,\
width\=\(int\)480\,\ height\=\(int\)270\,\ framerate\=\(fraction\)25/1\,\
pixel-aspect-ratio\=\(fraction\)1/1"
/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps =
"video/x-h264\,\ stream-format\=\(string\)byte-stream\,\
alignment\=\(string\)au\,\ level\=\(string\)3\,\
profile\=\(string\)constrained-baseline\,\ width\=\(int\)480\,\
height\=\(int\)270\,\ framerate\=\(fraction\)25/1\,\
pixel-aspect-ratio\=\(fraction\)1/1\,\ parsed\=\(boolean\)true"
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps =
"video/x-h264\,\ stream-format\=\(string\)byte-stream\,\
alignment\=\(string\)au\,\ level\=\(string\)3\,\
profile\=\(string\)constrained-baseline\,\ width\=\(int\)480\,\
height\=\(int\)270\,\ framerate\=\(fraction\)25/1\,\
pixel-aspect-ratio\=\(fraction\)1/1\,\ parsed\=\(boolean\)true"
/GstPipeline:pipeline0/v4l2video4dec:v4l2video4dec0.GstPad:sink: caps =
"video/x-h264\,\ stream-format\=\(string\)byte-stream\,\
alignment\=\(string\)au\,\ level\=\(string\)3\,\
profile\=\(string\)constrained-baseline\,\ width\=\(int\)480\,\
height\=\(int\)270\,\ framerate\=\(fraction\)25/1\,\
pixel-aspect-ratio\=\(fraction\)1/1\,\ parsed\=\(boolean\)true"
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps =
"video/x-h264\,\ stream-format\=\(string\)byte-stream\,\
alignment\=\(string\)au\,\ level\=\(string\)3\,\
profile\=\(string\)constrained-baseline\,\ width\=\(int\)480\,\
height\=\(int\)270\,\ framerate\=\(fraction\)25/1\,\
pixel-aspect-ratio\=\(fraction\)1/1\,\ parsed\=\(boolean\)true"
ERROR: from element /GstPipeline:pipeline0/GstQTDemux:demux: GStreamer
encountered a general stream error.
Additional debug info:
../../../gst-plugins-good-1.8.3/gst/isomp4/qtdemux.c(5520):
gst_qtdemux_loop (): /GstPipeline:pipeline0/GstQTDemux:demux:
streaming stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
/GstPipeline:pipeline0/v4l2video4dec:v4l2video4dec0.GstPad:sink: caps =
"NULL"
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = "NULL"
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = "NULL"
/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps = "NULL"
/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:sink: caps = "NULL"
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = "NULL"
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = "NULL"
/GstPipeline:pipeline0/GstQTDemux:demux.GstPad:video_0: caps = "NULL"
/GstPipeline:pipeline0/GstQTDemux:demux.GstPad:audio_0: caps = "NULL"
Freeing pipeline ...

And this is the result of gst-inspect:

# gst-inspect-1.0 |grep v4l2
video4linux2:  v4l2src: Video (video4linux2) Source
video4linux2:  v4l2sink: Video (video4linux2) Sink
video4linux2:  v4l2radio: Radio (video4linux2) Tuner
video4linux2:  v4l2deviceprovider (GstDeviceProviderFactory)
video4linux2:  v4l2video4dec: V4L2 Video Decoder
video4linux2:  v4l2video0convert: V4L2 Video Converter

I would appreciate if someone can help me. I have tried to figure it out
where is the problem, but no success.

Thanks in advance
Reyhaneh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180301/c6a0e77f/attachment.html>


More information about the gstreamer-devel mailing list