[Bug 796525] when gst-rtsp-server is used in conjunction with v4l2h264enc on an imx6, nobody allocates downstream buffers

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jun 7 14:34:20 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=796525

--- Comment #4 from Keith Thornton <keith.thornton at zeiss.com> ---
yes, im am experiencing an error, see below
the missing ! was a paste error
./test-launch "( v4l2src min-buffers=10 device=/dev/v4l/by-path/platform-captu
re-subsystem-video-index4 io-mode=4 !
video/x-raw,format=NV12,width=1920,height=
1080,framerate=60000/1001 ! v4l2h264enc output-io-mode=5 output-min-buffers=6
ca
pture-min-buffers=12 ! video/x-h264,profile=baseline ! queue
max-size-buffers=3,
leaky=1 ! rtph264pay name=pay0 pt=96 )"

0:00:07.640716668   654 0x74f10320 DEBUG           videoencoder
gstvideoencoder.c:1763:gst_video_encoder_negotiate_default:<v4l2h264enc0>
didn't get downstream ALLOCATION hints
0:00:07.642418668   654 0x74f10320 DEBUG           videoencoder
gstvideoencoder.c:1770:gst_video_encoder_negotiate_default:<v4l2h264enc0>
ALLOCATION (1) params: allocation query: 0x73b03580, GstQueryAllocation,
caps=(GstCaps)"video/x-h264\,\ stream-format\=\(string\)byte-stream\,\
alignment\=\(string\)au\,\ profile\=\(string\)baseline\,\ level\=\(string\)4\,\
width\=\(int\)1920\,\ height\=\(int\)1080\,\
pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)60000/1001\,\
interlace-mode\=\(string\)progressive\,\ colorimetry\=\(string\)bt709",
need-pool=(boolean)true, allocator=(GArray)NULL, pool=(GArray)NULL,
meta=(GArray)NULL;
0:00:07.839548335   654 0x74f10320 DEBUG           v4l2videoenc
gstv4l2videoenc.c:352:gst_v4l2_video_enc_set_format:<v4l2h264enc0> output caps:
video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1080,
framerate=(fraction)60000/1001, interlace-mode=(string)progressive,
colorimetry=(string)bt709
0:00:07.840003001   654 0x74f10320 DEBUG           videoencoder
gstvideoencoder.c:894:gst_video_encoder_sink_query:<v4l2h264enc0> received
query 35846, allocation
0:00:07.840139335   654 0x74f10320 DEBUG           v4l2videoenc
gstv4l2videoenc.c:859:gst_v4l2_video_enc_propose_allocation:<v4l2h264enc0>
called
0:00:08.064016335   654 0x74f10320 DEBUG           videoencoder
gstvideoencoder.c:1206:gst_video_encoder_sink_event:<v4l2h264enc0> received
event 17934, segment
0:00:08.064191668   654 0x74f10320 DEBUG           videoencoder
gstvideoencoder.c:1063:gst_video_encoder_sink_event_default:<v4l2h264enc0>
segment time segment start=0:00:00.000000000, offset=0:00:00.000000000,
stop=99:99:99.999999999, rate=1.000000, applied_rate=1.000000, flags=0x00,
time=0:00:00.000000000, base=0:00:00.000000000, position 0:00:00.000000000,
duration 99:99:99.999999999
0:00:08.064498001   654 0x74f10320 LOG             videoencoder
gstvideoencoder.c:1455:gst_video_encoder_chain:<v4l2h264enc0> received buffer
of size 3110400 with PTS 0:00:01.099792114, DTS 99:99:99.999999999, duration
0:00:00.016683333
0:00:08.064711001   654 0x74f10320 LOG             videoencoder
gstvideoencoder.c:1542:gst_video_encoder_chain:<v4l2h264enc0> passing frame pfn
0 to subclass
0:00:08.064829335   654 0x74f10320 DEBUG           v4l2videoenc
gstv4l2videoenc.c:714:gst_v4l2_video_enc_handle_frame:<v4l2h264enc0> Handling
frame 0
0:00:08.065129001   654 0x74f10320 WARN            v4l2videoenc
gstv4l2videoenc.c:782:gst_v4l2_video_enc_handle_frame:<v4l2h264enc0> error:
Failed to allocate required memory.
0:00:08.065250001   654 0x74f10320 WARN            v4l2videoenc
gstv4l2videoenc.c:782:gst_v4l2_video_enc_handle_frame:<v4l2h264enc0> error:
Buffer pool activation failed
0:00:08.066023001   654 0x74f10320 DEBUG           videoencoder
gstvideoencoder.c:1206:gst_video_encoder_sink_event:<v4l2h264enc0> received
event 28174, eos
0:00:08.071124335   654  0x1f46290 DEBUG           v4l2videoenc
gstv4l2videoenc.c:200:gst_v4l2_video_enc_stop:<v4l2h264enc0> Stopping
0:00:08.083856001   654  0x1f46290 DEBUG           v4l2videoenc
gstv4l2videoenc.c:224:gst_v4l2_video_enc_stop:<v4l2h264enc0> Stopped
0:00:08.085544335   654  0x1f46290 DEBUG           v4l2videoenc
gstv4l2videoenc.c:171:gst_v4l2_video_enc_close:<v4l2h264enc0> Closing

-- 
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