Problem with avdec_h264

joker3139 kevin-koch1 at gmx.net
Thu Jun 27 19:43:37 UTC 2019


Hi all,
I am using a C920 Logitech webcam together with linux to stream. I want to
decode this stream to get a raw stream with avdec_h264, but it is not
working.
I have the now following simplified pipeline:
*gst-launch-1.0 -vvv -e v4l2src device=/dev/video ! queue !
video/x-h264,width=1920,height=1080,framerate=30/1 ! h264parse ! avdec_h264
! fakesink*
When I execute this pipeline, the following error occurs:
*/GstPipeline:pipeline0/avdec_h264:avdec_h264-0.GstPad:sink: caps =
video/x-h264, width=(int)1920, height=(int)1080, framerate=(fraction)30/1,
alignment=(string)au, stream-format=(string)byte-stream,
pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)2:4:7:1,
interlace-mode=(string)progressive, chroma-format=(string)4:2:0,
bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true,
profile=(string)constrained-baseline, level=(string)4
/usr/bin/recordvideo.sh: line 6: 21423 Illegal instruction    
gst-launch-1.0 -vvv -e v4l2src device=$1 ! queue !
video/x-h264,width=1920,height=1080,framerate=30/1 ! h264parse ! avdec_h264
! fakesink*
Especially this error illegal instruction makes me confused as I do not find
anything about it...
Has anyone an idea why this stream is not decodable with avdec_264?I have
the original commands from here
http://oz9aec.net/software/gstreamer/using-the-logitech-c920-webcam-with-gstreamer-12
Thank you already for your help!




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190627/902d10f1/attachment.html>


More information about the gstreamer-devel mailing list