[Bug 784093] New: GstBuffer does not contain dmabuf memory
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Jun 22 13:39:00 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=784093
Bug ID: 784093
Summary: GstBuffer does not contain dmabuf memory
Classification: Platform
Product: GStreamer
Version: 1.6.3
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-omx
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: mariem.mhiri.ext at valeo.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Hello,
I am trying to create Gstreamer pipeline and stream video using the following
command-line. I am using c920 Logitech HD Pro webcam plugged in a board that
has a customized linux version. The Gstreamer version installed on the board is
1.6.3.
$gst-launch-1.0 -v --gst-debug=2 v4l2src device=/dev/video8 num-buffers=300
io-mode=dmabuf no-resurect-buf=true ! videoconvert ! video/x-raw,format=NV12 !
omxh264enc control-rate=2 target-bitrate=10485760 interval_intraframes=14
periodicty-idr=2 use-dmabuf=true !
video/x-h264,profile=\(string\)high,level=\(string\)4.2 ! h264parse !
video/x-h264,stream-format=avc,alignment=au ! qtmux ! queue ! filesink
location=../../output.mp4 -e
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
0:00:00.985080341 3293 0x20926ed0 ERROR v4l2src
gstv4l2src.c:547:gst_v4l2src_set_crop:<v4l2src0> Fail to set crop
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = "video/x-raw\,\
format\=\(string\)YUY2\,\ width\=\(int\)2304\,\ height\=\(int\)1536\,\
pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(s"
/GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:src: caps =
"video/x-raw\,\ width\=\(int\)2304\,\ height\=\(int\)1536\,\
pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressi"
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps =
"video/x-raw\,\ width\=\(int\)2304\,\ height\=\(int\)1536\,\
pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressive\,"
/GstPipeline:pipeline0/GstOMXH264Enc-omxh264enc:omxh264enc-omxh264enc0.GstPad:sink:
caps = "video/x-raw\,\ width\=\(int\)2304\,\ height\=\(int\)1536\,\
pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\="
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps =
"video/x-raw\,\ width\=\(int\)2304\,\ height\=\(int\)1536\,\
pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressive\"
/GstPipeline:pipeline0/GstOMXH264Enc-omxh264enc:omxh264enc-omxh264enc0.GstPad:src:
caps = "video/x-h264\,\ stream-format\=\(string\)byte-stream\,\
alignment\=\(string\)au\,\ profile\=\(string\)high\,\ level\"
/GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:src: caps =
"video/x-h264\,\ stream-format\=\(string\)byte-stream\,\
alignment\=\(string\)au\,\ profile\=\(string\)high\,\ level\=\(string\)4.2\,\
widt"
/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:sink: caps =
"video/x-h264\,\ stream-format\=\(string\)byte-stream\,\
alignment\=\(string\)au\,\ profile\=\(string\)high\,\ level\=\(string\)4.2\,\
width"
/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:sink: caps =
"video/x-h264\,\ stream-format\=\(string\)byte-stream\,\
alignment\=\(string\)au\,\ profile\=\(string\)high\,\ level\=\(string\)4.2\,\
width"
/GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:sink: caps =
"video/x-h264\,\ stream-format\=\(string\)byte-stream\,\
alignment\=\(string\)au\,\ profile\=\(string\)high\,\ level\=\(string\)4.2\,\
wid"
0:00:03.380202321 3293 0x20926ed0 ERROR default
video-frame.c:161:gst_video_frame_map_id: invalid buffer size 0 < 5308416
0:00:03.380327842 3293 0x20926ed0 WARN videofilter
gstvideofilter.c:292:gst_video_filter_transform:<videoconvert0> warning:
invalid video buffer received
0:00:03.380595443 3293 0x20926ed0 ERROR omxvideoenc
gstomxvideoenc.c:1721:gst_omx_video_enc_handle_frame:<omxh264enc-omxh264enc0>
GstBuffer does not contain dmabuf memory Can not ue
0:00:03.380651603 3293 0x20926ed0 WARN basesrc
gstbasesrc.c:2943:gst_base_src_loop:<v4l2src0> error: Internal data flow error.
0:00:03.380670923 3293 0x20926ed0 WARN basesrc
gstbasesrc.c:2943:gst_base_src_loop:<v4l2src0> error: streaming task paused,
reason error (-5)
WARNING: from element /GstPipeline:pipeline0/GstVideoConvert:videoconvert0:
Internal GStreamer error: code not implemented. Please file a bug at
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
Additional debug info:
../../../../gst-plugins-base-1.6.3/gst-libs/gst/video/gstvideofilter.c(292):
gst_video_filter_transform ():
/GstPipeline:pipeline0/GstVideoConvert:videoconvert0:
invalid video buffer received
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data
flow error.
Additional debug info:
../../../../gstreamer-1.6.3/libs/gst/base/gstbasesrc.c(2943): gst_base_src_loop
(): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming task paused, reason error (-5)
EOS on shutdown enabled -- waiting for EOS after Error
Waiting for EOS...
/GstPipeline:pipeline0/GstQTMux:qtmux0.GstPad:src: caps = "video/quicktime\,\
variant\=\(string\)apple"
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = "video/quicktime\,\
variant\=\(string\)apple"
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = "video/quicktime\,\
variant\=\(string\)apple"
/GstPipeline:pipeline0/GstQTMux:qtmux0.GstPad:src: caps = "video/quicktime\,\
variant\=\(string\)apple\,\ streamheader\=\(buffer\)\<\
000002446d6f6f760000006c6d76686400000000d4ed6f4dd4ed6f4d00000708000000000"
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = "video/quicktime\,\
variant\=\(string\)apple\,\ streamheader\=\(buffer\)\<\
000002446d6f6f760000006c6d76686400000000d4ed6f4dd4ed6f4d0000070800000000"
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Interrupt while waiting for EOS - stopping pipeline...
Execution ended after 0:00:30.962597289
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
(gst-launch-1.0:3293): GStreamer-CRITICAL **: gst_buffer_get_sizes_range:
assertion 'GST_IS_BUFFER (buffer)' failed
(gst-launch-1.0:3293): GStreamer-CRITICAL **: gst_mini_object_unref: assertion
'mini_object->refcount > 0' failed
0:00:31.931280764 3293 0x20834870 WARN bufferpool
gstbufferpool.c:537:gst_buffer_pool_set_active:<omxbufferpool0> stop failed
0:00:31.934890859 3293 0x20834870 WARN bufferpool
gstbufferpool.c:537:gst_buffer_pool_set_active:<omxbufferpool0> stop failed
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list