RTSP server problems with uvch264src H/W+ encoded H.264 output

krakorar rob.krakora at messagenetsystems.com
Fri Apr 26 18:50:49 PDT 2013


Hi Yusuf,

You are right there is an issue with v4l2src...see error below with buffer
pool...

Best Regards,

Rob

0:01:09.296514310  9944       0xf18370 DEBUG                   v4l2
gstv4l2bufferpool.c:853:gst_v4l2_buffer_pool_release_buffer:<v4l2bufferpool0>
release buffer 0x7f64440072d0
0:01:09.297815240  9944       0xf18370 DEBUG                   v4l2
gstv4l2bufferpool.c:763:gst_v4l2_buffer_pool_acquire_buffer:<v4l2bufferpool0>
acquire
0:01:09.355404270  9944       0xf18370 DEBUG                   v4l2
gstv4l2bufferpool.c:1080:gst_v4l2_buffer_pool_process:<v4l2bufferpool0>
process buffer 0x7f64440073e0
0:01:09.355482977  9944       0xf18370 DEBUG                v4l2src
gstv4l2src.c:819:gst_v4l2src_fill:<v4l2src0> ts: 105:36:19.159332000 now
105:36:19.329721954 delay 0:00:00.170389954
0:01:09.355526000  9944       0xf18370 INFO                 v4l2src
gstv4l2src.c:857:gst_v4l2src_fill:<v4l2src0> sync to 0:00:34.399999656 out
ts 0:01:09.029184168
0:01:09.363632800  9944       0xf18370 DEBUG                   v4l2
gstv4l2bufferpool.c:853:gst_v4l2_buffer_pool_release_buffer:<v4l2bufferpool0>
release buffer 0x7f64440073e0
0:01:09.364402354  9944       0xf18370 DEBUG                   v4l2
gstv4l2bufferpool.c:763:gst_v4l2_buffer_pool_acquire_buffer:<v4l2bufferpool0>
acquire

(gst-launch-1.0:9944): GStreamer-CRITICAL **: gst_buffer_resize_range:
assertion `gst_buffer_is_writable (buffer)' failed
0:01:09.423473659  9944       0xf18370 DEBUG                   v4l2
gstv4l2bufferpool.c:1080:gst_v4l2_buffer_pool_process:<v4l2bufferpool0>
process buffer 0x7f64440070b0
0:01:09.423546483  9944       0xf18370 DEBUG                v4l2src
gstv4l2src.c:819:gst_v4l2src_fill:<v4l2src0> ts: 105:36:19.218547000 now
105:36:19.397785245 delay 0:00:00.179238245
0:01:09.423589445  9944       0xf18370 INFO                 v4l2src
gstv4l2src.c:857:gst_v4l2src_fill:<v4l2src0> sync to 0:00:34.433332989 out
ts 0:01:09.088399521

(gst-launch-1.0:9944): GStreamer-CRITICAL **: gst_pad_push: assertion
`GST_IS_BUFFER (buffer)' failed
ERROR: from element
/GstPipeline:pipeline0/GstUvcH264Src:src/GstV4l2Src:v4l2src0: Internal data
flow error.
Additional debug info:
gstbasesrc.c(2814): gst_base_src_loop ():
/GstPipeline:pipeline0/GstUvcH264Src:src/GstV4l2Src:v4l2src0:
streaming task paused, reason error (-5)
Execution ended after 0:01:09.267677339
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
0:01:09.427198936  9944       0xee4a10 DEBUG                   v4l2
gstv4l2object.c:2507:gst_v4l2_object_stop:<v4l2src0> stopping
0:01:09.427261229  9944       0xee4a10 DEBUG                   v4l2
gstv4l2object.c:2515:gst_v4l2_object_stop:<v4l2src0> deactivating pool
0:01:09.427636383  9944       0xee4a10 DEBUG             uvch264src
gstuvch264_src.c:3084:gst_uvc_h264_src_stop_capture:<src> stop capture
0:01:09.427672579  9944       0xee4a10 DEBUG             uvch264src
gstuvch264_src.c:2541:gst_uvc_h264_src_construct_pipeline:<src> Construct
pipeline
0:01:09.430958520  9944       0xee4a10 DEBUG             uvch264src
gstuvch264_src.c:1819:xu_get_id:<src> Found VideoControl interface with unit
id 0 : 01D60000-A3E11101-01122402-01010200
0:01:09.431065562  9944       0xee4a10 DEBUG             uvch264src
gstuvch264_src.c:1819:xu_get_id:<src> Found VideoControl interface with unit
id 1 : 01020000-00000000-0000032E-0A020B24
0:01:09.431110934  9944       0xee4a10 DEBUG             uvch264src
gstuvch264_src.c:1819:xu_get_id:<src> Found VideoControl interface with unit
id 3 : 01004002-5B17001B-240606D0-9EE42378
0:01:09.431155265  9944       0xee4a10 DEBUG             uvch264src
gstuvch264_src.c:1819:xu_get_id:<src> Found VideoControl interface with unit
id 6 : D09EE423-7811314F-AE52D2FB-8A8D3B48
0:01:09.431194990  9944       0xee4a10 DEBUG             uvch264src
gstuvch264_src.c:1819:xu_get_id:<src> Found VideoControl interface with unit
id 8 : E48E6769-0F41DB40-A8507420-D7D8240E
0:01:09.431284287  9944       0xee4a10 DEBUG             uvch264src
gstuvch264_src.c:1819:xu_get_id:<src> Found VideoControl interface with unit
id 9 : A94C5D1F-11DE8744-840D5093-3C8EC8D1
0:01:09.431339983  9944       0xee4a10 DEBUG             uvch264src
gstuvch264_src.c:1819:xu_get_id:<src> Found VideoControl interface with unit
id 10 : 1502E449-34F4FE47-B1580E88-5023E51B
0:01:09.431398084  9944       0xee4a10 DEBUG             uvch264src
gstuvch264_src.c:1819:xu_get_id:<src> Found VideoControl interface with unit
id 11 : 212DE5FF-30802C4E-82D9F587-D00540BD
0:01:09.431454050  9944       0xee4a10 DEBUG             uvch264src
gstuvch264_src.c:1819:xu_get_id:<src> Found VideoControl interface with unit
id 12 : 41769EA2-04DEE347-8B2BF434-1AFF003B
0:01:09.431510385  9944       0xee4a10 DEBUG             uvch264src
gstuvch264_src.c:1825:xu_get_id:<src> Found H264 XU unit : 12
0:01:09.431894945  9944       0xee4a10 DEBUG             uvch264src
gstuvch264_src.c:2563:gst_uvc_h264_src_construct_pipeline:<src> vfsrc caps :
ANY
0:01:09.431933156  9944       0xee4a10 DEBUG             uvch264src
gstuvch264_src.c:2564:gst_uvc_h264_src_construct_pipeline:<src> vidsrc caps
: video/x-h264, width=(int)800, height=(int)600, framerate=(fraction)30/1
0:01:09.431980475  9944       0xee4a10 DEBUG             uvch264src
gstuvch264_src.c:2566:gst_uvc_h264_src_construct_pipeline:<src> video not
started. Ignoring vidsrc caps
0:01:09.432043908  9944       0xee4a10 DEBUG             uvch264src
gstuvch264_src.c:2574:gst_uvc_h264_src_construct_pipeline:<src> v4l2src caps
: video/x-raw, format=(string)YUY2, width=(int)2304, height=(int)1536,
interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1,
framerate=(fraction){ 2/1 }; video/x-raw, format=(string)YUY2,
width=(int)2304, height=(int)1296, interlace-mode=(string)progressive,
pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 2/1 }; video/x-raw,
format=(string)YUY2, width=(int)1920, height=(int)1080,
interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1,
framerate=(fraction){ 5/1 }; video/x-raw, format=(string)YUY2,
width=(int)1600, height=(int)896, interlace-mode=(string)progressive,
pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 15/2, 5/1 };
video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720,
interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1,
framerate=(fraction){ 10/1, 15/2, 5/1
0:01:09.433387138  9944       0xee4a10 DEBUG             uvch264src
gstuvch264_src.c:2592:gst_uvc_h264_src_construct_pipeline:<src> Fixated
vidsrc caps : (NULL)
0:01:09.439913720  9944       0xee4a10 DEBUG             uvch264src
gstuvch264_src.c:2189:_transform_caps:<src> Transforming: ANY
0:01:09.442794717  9944       0xee4a10 DEBUG             uvch264src
gstuvch264_src.c:2194:_transform_caps:<src> Result: (NULL)
0:01:09.445632305  9944       0xee4a10 DEBUG             uvch264src
gstuvch264_src.c:2254:gst_uvc_h264_src_fixate_caps:<src> intersect:
video/x-raw, width=(int)2304, height=(int)1536, framerate=(fraction)2/1,
format=(string)YUY2, interlace-mode=(string)progressive,
pixel-aspect-ratio=(fraction)1/1; video/x-raw, width=(int)2304,
height=(int)1296, framerate=(fraction)2/1, format=(string)YUY2,
interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1;
video/x-raw, width=(int)1920, height=(int)1080, framerate=(fraction)5/1,
format=(string)YUY2, interlace-mode=(string)progressive,
pixel-aspect-ratio=(fraction)1/1; video/x-raw, width=(int)1600,
height=(int)896, framerate=(fraction){ 15/2, 5/1 }, format=(string)YUY2,
interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1;
video/x-raw, width=(int)1280, height=(int)720, framerate=(fraction){ 10/1,
15/2, 5/1 }, format=(string)YUY2, interlace-mode=(string)progressive,
pixel-aspect-ratio=(fraction)1/1; video/x-raw, width=(
0:01:09.449568548  9944       0xee4a10 DEBUG             uvch264src
gstuvch264_src.c:2264:gst_uvc_h264_src_fixate_caps:<src> Testing secondary:
video/x-raw, width=(int)2304, height=(int)1536, framerate=(fraction)2/1,
format=(string)YUY2, interlace-mode=(string)progressive,
pixel-aspect-ratio=(fraction)1/1
0:01:09.449684341  9944       0xee4a10 DEBUG             uvch264src
gstuvch264_src.c:2370:gst_uvc_h264_src_fixate_caps:<src> fixated to:
video/x-raw, width=(int)2304, height=(int)1536, framerate=(fraction)2/1,
format=(string)YUY2, interlace-mode=(string)progressive,
pixel-aspect-ratio=(fraction)1/1
0:01:09.449807179  9944       0xee4a10 DEBUG             uvch264src
gstuvch264_src.c:2637:gst_uvc_h264_src_construct_pipeline:<src> Fixated
vfsrc caps : video/x-raw, width=(int)2304, height=(int)1536,
framerate=(fraction)2/1, format=(string)YUY2,
interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1
0:01:09.449896078  9944       0xee4a10 DEBUG             uvch264src
gstuvch264_src.c:2731:gst_uvc_h264_src_construct_pipeline:<src> None+Raw
Setting pipeline to NULL ...
0:01:09.456388250  9944       0xee4a10 DEBUG                   v4l2
v4l2_calls.c:551:gst_v4l2_close:<v4l2src0> Trying to close /dev/video0
0:01:09.456451795  9944       0xee4a10 DEBUG                   v4l2
v4l2_calls.c:397:gst_v4l2_empty_lists:<v4l2src0> deleting enumerations
Freeing pipeline ...
0:01:09.457354228  9944       0xee4a10 DEBUG             uvch264src
gstuvch264_src.c:3101:gst_uvc_h264_src_pad_linking_cb:<src> Pad vidsrc was
(un)linked. Renegotiating
0:01:09.457540164  9944       0xee4a10 DEBUG             uvch264src
gstuvch264_src.c:3101:gst_uvc_h264_src_pad_linking_cb:<src> Pad vfsrc was
(un)linked. Renegotiating
                 



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/RTSP-server-problems-with-uvch264src-H-W-encoded-H-264-output-tp4659582p4659703.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list