<div dir="ltr">Well, after that "warning" the H.264 video arriving in the MJPEG container from the C920 is not viewable. I think that there is a "bug" in either this plugin or on preceding it in the pipeline (v4l2src).<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 11, 2013 at 12:08 PM, Tim-Philipp Müller <span dir="ltr"><<a href="mailto:t.i.m@zen.co.uk" target="_blank">t.i.m@zen.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Thu, 2013-07-11 at 11:55 -0400, Robert Krakora wrote:<br>
<br>
> I filed a bug report for this a couple of months ago. Myself and<br>
> another engineer struggled with this error for a few weeks. This<br>
> plugin works fine on GStreamer 0.10. I think that it has something to<br>
> do with v4l2src on GStreamer 1.x. I know I saw that there was an<br>
> open issue that Wim and others have been struggling to solve. They<br>
> may be related...<br>
<br>
</div>It's just a warning. It doesn't indicate a problem in your application,<br>
but indicates something-that's-not-quite-right in some element. We are<br>
trying to get the order right here for some advanced use cases.<br>
<br>
You can ignore those warnings. They shouldn't have any side effects<br>
generally other than being annoying.<br>
<br>
It's not a 0.10 vs. 1.x thing, more of a 'unstable 1.1.x series vs.<br>
stable release series' thing. The warnings will go away in 1.2.0, even<br>
if we don't manage to fix them all (which is usually not too hard, just<br>
tedious).<br>
<br>
Cheers<br>
<span class="HOEnZb"><font color="#888888"> -Tim<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
> On Thu, Jul 11, 2013 at 11:51 AM, Peter Rennert<br>
> <<a href="mailto:p.rennert@cs.ucl.ac.uk">p.rennert@cs.ucl.ac.uk</a>> wrote:<br>
> I just want to add that I get the same problem even with a<br>
> very reduced pipeline of:<br>
><br>
> gst-launch-1.0 uvch264src device=/dev/video1 name=src<br>
> auto-start=true src.vfsrc ! queue ! fakesink src.vidsrc !<br>
> queue ! video/x-h264 ! fakesink<br>
><br>
><br>
> ........<br>
><br>
> (gst-launch-1.0:5463): GStreamer-WARNING **:<br>
> gstpad.c:3692:gst_pad_chain_data_unchecked:<fakesink1:sink><br>
> Got data flow before segment event<br>
><br>
> (gst-launch-1.0:5463): GStreamer-WARNING **:<br>
> gstpad.c:3923:gst_pad_push_data:<capsfilter0:src> Got data<br>
> flow before segment event<br>
><br>
> (gst-launch-1.0:5463): GStreamer-WARNING **:<br>
> gstpad.c:3692:gst_pad_chain_data_unchecked:<fakesink1:sink><br>
> Got data flow before segment event<br>
> ERROR: from<br>
> element /GstPipeline:pipeline0/GstUvcH264Src:src/GstUvcH264MjpgDemux:uvch264mjpgdemux0: Not enough data to read marker content<br>
> Additional debug info:<br>
> gstuvch264_mjpgdemux.c(507): gst_uvc_h264_mjpg_demux_chain<br>
> (): /GstPipeline:pipeline0/GstUvcH264Src:src/GstUvcH264MjpgDemux:uvch264mjpgdemux0<br>
> Execution ended after 0:00:34.640728375<br>
> Setting pipeline to PAUSED ...<br>
> Setting pipeline to READY ...<br>
> Setting pipeline to NULL ...<br>
> Freeing pipeline .<br>
><br>
> On 07/11/2013 04:23 PM, Peter Rennert wrote:<br>
> Hello,<br>
><br>
> I am trying to get the uvch264src to work in gstreamer<br>
> 1.1.1.1 (git head compiled yesterday) with the<br>
> following pipeline:<br>
><br>
> gst-launch-1.0 uvch264src device=/dev/video1 name=src<br>
> auto-start=true src.vfsrc ! queue !<br>
> video/x-raw,width=320,height=240,format="YUY2",framerate=15/1 ! xvimagesink src.vidsrc ! queue ! video/x-h264,width=1920,height=1080,framerate=30/1,profile=constrained-baseline ! h264parse ! avdec_h264 ! xvimagesink<br>
><br>
> It runs as expected (showing both the 1920x1080 and<br>
> 320x240 windows). But it constantly prints warnings<br>
> (see below). Then stops it . You can find the<br>
> GST_DEBUG output below the warnings below.<br>
><br>
> It works stable with gstreamer 0.10 (an older<br>
> compilation) and<br>
><br>
> gst-launch uvch264_src device=/dev/video1 name=src<br>
> auto-start=true src.vfsrc ! queue !<br>
> video/x-raw-yuv,width=320,height=240,framerate=15/1 !<br>
> xvimagesink src.vidsrc ! queue !<br>
> video/x-h264,width=1920,height=1080,framerate=30/1,profile=constrained-baseline ! h264parse ! ffdec_h264 ! xvimagesink<br>
><br>
> I am using a C920.<br>
><br>
> I found a (probably) related problem here:<br>
> <a href="http://comments.gmane.org/gmane.comp.video.gstreamer.bugs/107399" target="_blank">http://comments.gmane.org/gmane.comp.video.gstreamer.bugs/107399</a><br>
><br>
><br>
> Do I do something wrong in gstreamer 1 or is this a<br>
> bug?<br>
><br>
> -----------------<br>
><br>
> Warnings (i get loads of them, this is just an<br>
> excerpt):<br>
><br>
> (gst-launch-1.0:2962): GStreamer-WARNING **:<br>
> gstpad.c:3923:gst_pad_push_data:<capsfilter1:src> Got<br>
> data flow before segment event<br>
><br>
> (gst-launch-1.0:2962): GStreamer-WARNING **:<br>
> gstpad.c:3692:gst_pad_chain_data_unchecked:<h264parse0:sink> Got data flow before segment event<br>
><br>
> (gst-launch-1.0:2962): GStreamer-WARNING **:<br>
> gstpad.c:3923:gst_pad_push_data:<h264parse0:src> Got<br>
> data flow before segment event<br>
><br>
> (gst-launch-1.0:2962): GStreamer-WARNING **:<br>
> gstpad.c:3692:gst_pad_chain_data_unchecked:<avdec_h264-0:sink> Got data flow before segment event<br>
><br>
> (gst-launch-1.0:2962): GStreamer-WARNING **:<br>
> gstpad.c:3923:gst_pad_push_data:<capsfilter0:src> Got<br>
> data flow before segment event<br>
><br>
> (gst-launch-1.0:2962): GStreamer-WARNING **:<br>
> gstpad.c:3692:gst_pad_chain_data_unchecked:<xvimagesink0:sink> Got data flow before segment event<br>
><br>
> (gst-launch-1.0:2962): GStreamer-WARNING **:<br>
> gstpad.c:3923:gst_pad_push_data:<capsfilter1:src> Got<br>
> data flow before segment event<br>
><br>
> (gst-launch-1.0:2962): GStreamer-WARNING **:<br>
> gstpad.c:3692:gst_pad_chain_data_unchecked:<h264parse0:sink> Got data flow before segment event<br>
><br>
> (gst-launch-1.0:2962): GStreamer-WARNING **:<br>
> gstpad.c:3923:gst_pad_push_data:<h264parse0:src> Got<br>
> data flow before segment event<br>
><br>
> ==================================================================<br>
><br>
> GST_DEBUG=5 :<br>
><br>
> (only the interesting bit, shortly before the error<br>
> gets reported until the moment the error gets<br>
> reported)<br>
><br>
> 0:00:35.394998922 3694 0x1e171e0 DEBUG GST_CLOCK<br>
> gstclock.c:922:gst_clock_get_internal_time:<GstSystemClock> internal time 26:55:06.762023021<br>
> 0:00:35.395022245 3694 0x1e171e0 DEBUG GST_CLOCK<br>
> gstclock.c:967:gst_clock_get_time:<GstSystemClock><br>
> adjusted time 26:55:06.762023021<br>
> 0:00:35.395034653 3694 0x1e171e0 DEBUG v4l2src<br>
> gstv4l2src.c:823:gst_v4l2src_fill:<v4l2src0> ts:<br>
> 26:55:06.771552000 now 26:55:06.762058860 delay<br>
> 0:00:00.000000000<br>
> 0:00:35.395050068 3694 0x1e171e0 INFO v4l2src<br>
> gstv4l2src.c:861:gst_v4l2src_fill:<v4l2src0> sync to<br>
> 0:00:34.433332989 out ts 0:00:34.768634907<br>
> 0:00:35.395062230 3694 0x1e171e0 DEBUG basesrc<br>
> gstbasesrc.c:2216:gst_base_src_do_sync:<v4l2src0> no<br>
> sync needed<br>
> 0:00:35.395069279 3694 0x1e171e0 DEBUG basesrc<br>
> gstbasesrc.c:2414:gst_base_src_get_range:<v4l2src0><br>
> buffer ok<br>
> 0:00:35.395080250 3694 0x1e171e0 DEBUG<br>
> basetransform<br>
> gstbasetransform.c:1958:gst_base_transform_handle_buffer:<capsfilter5> handling buffer 0x1de7720 of size 166785 and offset 1032<br>
> 0:00:35.395090539 3694 0x1e171e0 DEBUG<br>
> basetransform<br>
> gstbasetransform.c:2042:gst_base_transform_handle_buffer:<capsfilter5> calling prepare buffer<br>
> 0:00:35.395099383 3694 0x1e171e0 DEBUG GST_CAPS<br>
> gstpad.c:2408:gst_pad_has_current_caps:<capsfilter5:sink> check current pad caps image/jpeg, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1<br>
> 0:00:35.395123772 3694 0x1e171e0 DEBUG<br>
> basetransform<br>
> gstbasetransform.c:2049:gst_base_transform_handle_buffer:<capsfilter5> using allocated buffer in 0x1de7720, out 0x1de7720<br>
> 0:00:35.395131630 3694 0x1e171e0 DEBUG<br>
> basetransform<br>
> gstbasetransform.c:2066:gst_base_transform_handle_buffer:<capsfilter5> doing inplace transform<br>
> 0:00:35.395150881 3694 0x1e171e0 DEBUG<br>
> uvch264mjpgdemux<br>
> gstuvch264_mjpgdemux.c:513:gst_uvc_h264_mjpg_demux_chain:<uvch264mjpgdemux0> Found APP4 marker (12215). JPG: 0-8 - APP4: 8 - 12225<br>
> 0:00:35.395163919 3694 0x1e171e0 DEBUG<br>
> GST_MEMORY gstmemory.c:138:gst_memory_init: new memory<br>
> 0x7f77291e63d0, maxsize:1440014 offset:0 size:8<br>
> 0:00:35.395174000 3694 0x1e171e0 DEBUG<br>
> GST_PERFORMANCE gstallocator.c:466:_sysmem_copy:<br>
> memcpy 1440007 memory 0x7f7728009720 -> 0x7f77291e63d0<br>
> 0:00:35.395566373 3694 0x1e171e0 DEBUG<br>
> uvch264mjpgdemux<br>
> gstuvch264_mjpgdemux.c:550:gst_uvc_h264_mjpg_demux_chain:<uvch264mjpgdemux0> New auxiliary stream : v1 - 22 bytes - H264 1920x1080 -- 333333 *100ns -- 27 ms -- 56960032<br>
> 0:00:35.395589065 3694 0x1e171e0 DEBUG<br>
> uvch264mjpgdemux<br>
> gstuvch264_mjpgdemux.c:552:gst_uvc_h264_mjpg_demux_chain:<uvch264mjpgdemux0> Auxiliary stream size : 12187 bytes<br>
> 0:00:35.395598711 3694 0x1e171e0 DEBUG<br>
> GST_MEMORY gstmemory.c:138:gst_memory_init: new memory<br>
> 0x7f7728587db0, maxsize:1440014 offset:38 size:12187<br>
> 0:00:35.395609310 3694 0x1e171e0 DEBUG<br>
> GST_PERFORMANCE gstallocator.c:466:_sysmem_copy:<br>
> memcpy 1440007 memory 0x7f7728009720 -> 0x7f7728587db0<br>
> 0:00:35.395854659 3694 0x1e171e0 DEBUG<br>
> uvch264mjpgdemux<br>
> gstuvch264_mjpgdemux.c:659:gst_uvc_h264_mjpg_demux_chain:<uvch264mjpgdemux0> Pushing H264 auxiliary buffer video/x-h264, width=(int)1920, height=(int)1080, framerate=(fraction)30/1<br>
> 0:00:35.395885190 3694 0x1e171e0 DEBUG GST_PADS<br>
> gstpad.c:3224:do_probe_callbacks:<src:vidsrc> data is<br>
> passed<br>
> 0:00:35.395901512 3694 0x1e171e0 DEBUG GST_PADS<br>
> gstpad.c:3088:probe_hook_marshal:<src:vidsrc> probe<br>
> returned OK<br>
> 0:00:35.395918777 3694 0x1e171e0 DEBUG<br>
> uvch264mjpgdemux<br>
> gstuvch264_mjpgdemux.c:513:gst_uvc_h264_mjpg_demux_chain:<uvch264mjpgdemux0> Found APP4 marker (65533). JPG: 12225-12225 - APP4: 12225 - 77760<br>
> 0:00:35.395929092 3694 0x1e171e0 DEBUG<br>
> uvch264mjpgdemux<br>
> gstuvch264_mjpgdemux.c:550:gst_uvc_h264_mjpg_demux_chain:<uvch264mjpgdemux0> New auxiliary stream : v1 - 22 bytes - YUY2 320x240 -- 333333 *100ns -- 27 ms -- 56960032<br>
> 0:00:35.395940742 3694 0x1e171e0 DEBUG<br>
> uvch264mjpgdemux<br>
> gstuvch264_mjpgdemux.c:552:gst_uvc_h264_mjpg_demux_chain:<uvch264mjpgdemux0> Auxiliary stream size : 153600 bytes<br>
> 0:00:35.396005741 3694 0x1e171e0 DEBUG<br>
> GST_MEMORY gstmemory.c:138:gst_memory_init: new memory<br>
> 0x7f7728c67d10, maxsize:1440014 offset:12255<br>
> size:65505<br>
> 0:00:35.395934221 3694 0x1e2b0a0 DEBUG<br>
> queue_dataflow gstqueue.c:1240:gst_queue_loop:<queue1><br>
> queue is not empty<br>
> 0:00:35.396055314 3694 0x1e2b0a0 DEBUG<br>
> basetransform<br>
> gstbasetransform.c:1962:gst_base_transform_handle_buffer:<capsfilter1> handling buffer 0x7f77380050b0 of size 12187 and offset NONE<br>
> 0:00:35.396076643 3694 0x1e2b0a0 DEBUG<br>
> basetransform<br>
> gstbasetransform.c:2042:gst_base_transform_handle_buffer:<capsfilter1> calling prepare buffer<br>
> 0:00:35.396089336 3694 0x1e2b0a0 DEBUG GST_CAPS<br>
> gstpad.c:2408:gst_pad_has_current_caps:<capsfilter1:sink> check current pad caps video/x-h264, width=(int)1920, height=(int)1080, framerate=(fraction)30/1<br>
> 0:00:35.396116373 3694 0x1e2b0a0 DEBUG<br>
> basetransform<br>
> gstbasetransform.c:2049:gst_base_transform_handle_buffer:<capsfilter1> using allocated buffer in 0x7f77380050b0, out 0x7f77380050b0<br>
> 0:00:35.396128931 3694 0x1e2b0a0 DEBUG<br>
> basetransform<br>
> gstbasetransform.c:2066:gst_base_transform_handle_buffer:<capsfilter1> doing inplace transform<br>
><br>
> (gst-launch-1.0:3694): GStreamer-WARNING **:<br>
> gstpad.c:3923:gst_pad_push_data:<capsfilter1:src> Got<br>
> data flow before segment event<br>
><br>
> (gst-launch-1.0:3694): GStreamer-WARNING **:<br>
> gstpad.c:3692:gst_pad_chain_data_unchecked:<h264parse0:sink> Got data flow before segment event<br>
> 0:00:35.396169900 3694 0x1e2b0a0 DEBUG GST_CAPS<br>
> gstpad.c:2408:gst_pad_has_current_caps:<h264parse0:src> check current pad caps video/x-h264, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, profile=(string)constrained-baseline, parsed=(boolean)true, stream-format=(string)byte-stream, alignment=(string)au<br>
> 0:00:35.396202328 3694 0x1e2b0a0 DEBUG h264parse<br>
> gsth264parse.c:165:gst_h264_parse_reset_frame:<h264parse0> reset frame<br>
><br>
> (gst-launch-1.0:3694): GStreamer-WARNING **:<br>
> gstpad.c:3923:gst_pad_push_data:<h264parse0:src> Got<br>
> data flow before segment event<br>
><br>
> (gst-launch-1.0:3694): GStreamer-WARNING **:<br>
> gstpad.c:3692:gst_pad_chain_data_unchecked:<avdec_h264-0:sink> Got data flow before segment event<br>
> 0:00:35.396241398 3694 0x1e2b0a0 DEBUG default<br>
> gstsegment.c:481:gst_segment_to_running_time: invalid<br>
> position (-1)<br>
> 0:00:35.396281397 3694 0x1e2b0a0 DEBUG libav<br>
> gstavviddec.c:935:gst_ffmpegviddec_do_qos:<avdec_h264-0> decoding time 2562047:47:16.854775807<br>
> 0:00:35.396314138 3694 0x1e2b0a0 DEBUG libav<br>
> gstavviddec.c:1100:gst_ffmpegviddec_video_frame:<avdec_h264-0> stored opaque values idx 1032<br>
> 0:00:35.396349848 3694 0x1e2b0a0 DEBUG<br>
> libav :0:: Frame num gap 60 58<br>
> 0:00:35.396378922 3694 0x1e2b0a0 DEBUG libav<br>
> gstavviddec.c:704:gst_ffmpegviddec_release_buffer:<avdec_h264-0> release frame 1030<br>
> 0:00:35.396414061 3694 0x1e2b0a0 DEBUG libav<br>
> gstavviddec.c:538:gst_ffmpegviddec_get_buffer:<avdec_h264-0> getting buffer picture 0x7f773c726040<br>
> 0:00:35.396437146 3694 0x1e2b0a0 DEBUG<br>
> videodecoder<br>
> gstvideodecoder.c:2883:gst_video_decoder_get_frame:<avdec_h264-0> frame_number : 1032<br>
> 0:00:35.396466024 3694 0x1e2b0a0 DEBUG libav<br>
> gstavviddec.c:557:gst_ffmpegviddec_get_buffer:<avdec_h264-0> storing opaque 0x7f77300c4130<br>
> 0:00:35.397593960 3694 0x1e2b0a0 DEBUG libav<br>
> gstavviddec.c:704:gst_ffmpegviddec_release_buffer:<avdec_h264-0> release frame 1031<br>
> 0:00:35.397631322 3694 0x1e2b0a0 DEBUG default<br>
> gstvideoutils.c:40:_gst_video_codec_frame_free: free<br>
> frame 0x7f7728848080<br>
> 0:00:35.397643694 3694 0x1e2b0a0 DEBUG<br>
> GST_MEMORY gstmemory.c:88:_gst_memory_free: free<br>
> memory 0x7f7728849000<br>
> 0:00:35.397666794 3694 0x1e2b0a0 DEBUG libav<br>
> gstavviddec.c:538:gst_ffmpegviddec_get_buffer:<avdec_h264-0> getting buffer picture 0x7f773c7264c0<br>
> 0:00:35.398284117 3694 0x1e2b0a0 DEBUG<br>
> videodecoder<br>
> gstvideodecoder.c:2883:gst_video_decoder_get_frame:<avdec_h264-0> frame_number : 1032<br>
> 0:00:35.398304138 3694 0x1e2b0a0 WARN libav<br>
> gstavviddec.c:632:gst_ffmpegviddec_get_buffer:<avdec_h264-0> already alloc'ed output buffer for frame<br>
> 0:00:35.398316802 3694 0x1e2b0a0 ERROR<br>
> libav :0:: get_buffer() failed (-1 2 (nil))<br>
> 0:00:35.398331690 3694 0x1e2b0a0 ERROR<br>
> libav :0:: decode_slice_header error<br>
> 0:00:35.398348752 3694 0x1e2b0a0 DEBUG libav<br>
> gstavviddec.c:538:gst_ffmpegviddec_get_buffer:<avdec_h264-0> getting buffer picture 0x7f773c7264c0<br>
> 0:00:35.398356353 3694 0x1e2b0a0 DEBUG<br>
> videodecoder<br>
> gstvideodecoder.c:2883:gst_video_decoder_get_frame:<avdec_h264-0> frame_number : 1032<br>
> 0:00:35.398363340 3694 0x1e2b0a0 WARN libav<br>
> gstavviddec.c:632:gst_ffmpegviddec_get_buffer:<avdec_h264-0> already alloc'ed output buffer for frame<br>
> 0:00:35.398370450 3694 0x1e2b0a0 ERROR<br>
> libav :0:: get_buffer() failed (-1 2 (nil))<br>
> 0:00:35.398377837 3694 0x1e2b0a0 ERROR<br>
> libav :0:: decode_slice_header error<br>
> 0:00:35.398386031 3694 0x1e2b0a0 DEBUG libav<br>
> gstavviddec.c:538:gst_ffmpegviddec_get_buffer:<avdec_h264-0> getting buffer picture 0x7f773c7264c0<br>
> 0:00:35.398392697 3694 0x1e2b0a0 DEBUG<br>
> videodecoder<br>
> gstvideodecoder.c:2883:gst_video_decoder_get_frame:<avdec_h264-0> frame_number : 1032<br>
> 0:00:35.398399053 3694 0x1e2b0a0 WARN libav<br>
> gstavviddec.c:632:gst_ffmpegviddec_get_buffer:<avdec_h264-0> already alloc'ed output buffer for frame<br>
> 0:00:35.398404717 3694 0x1e2b0a0 ERROR<br>
> libav :0:: get_buffer() failed (-1 2 (nil))<br>
> 0:00:35.398411627 3694 0x1e2b0a0 ERROR<br>
> libav :0:: decode_slice_header error<br>
> 0:00:35.398418838 3694 0x1e2b0a0 DEBUG libav<br>
> gstavviddec.c:538:gst_ffmpegviddec_get_buffer:<avdec_h264-0> getting buffer picture 0x7f773c7264c0<br>
> 0:00:35.398425798 3694 0x1e2b0a0 DEBUG<br>
> videodecoder<br>
> gstvideodecoder.c:2883:gst_video_decoder_get_frame:<avdec_h264-0> frame_number : 1032<br>
> 0:00:35.398432465 3694 0x1e2b0a0 WARN libav<br>
> gstavviddec.c:632:gst_ffmpegviddec_get_buffer:<avdec_h264-0> already alloc'ed output buffer for frame<br>
> 0:00:35.398438066 3694 0x1e2b0a0 ERROR<br>
> libav :0:: get_buffer() failed (-1 2 (nil))<br>
> 0:00:35.398445219 3694 0x1e2b0a0 ERROR<br>
> libav :0:: decode_slice_header error<br>
> 0:00:35.398451851 3694 0x1e2b0a0 ERROR<br>
> libav :0:: mmco: unref short failure<br>
> 0:00:35.398627695 3694 0x1e2b0a0 INFO libav :0::<br>
> concealing 8160 DC, 8160 AC, 8160 MV errors<br>
> 0:00:35.398828963 3694 0x1e171e0 DEBUG<br>
> GST_PERFORMANCE gstallocator.c:466:_sysmem_copy:<br>
> memcpy 1440007 memory 0x7f7728009720 -> 0x7f7728c67d10<br>
> 0:00:35.399319058 3694 0x1e171e0 DEBUG<br>
> uvch264mjpgdemux<br>
> gstuvch264_mjpgdemux.c:513:gst_uvc_h264_mjpg_demux_chain:<uvch264mjpgdemux0> Found APP4 marker (65533). JPG: 77760-77760 - APP4: 77760 - 143295<br>
> 0:00:35.399353615 3694 0x1e171e0 DEBUG<br>
> GST_MEMORY gstmemory.c:138:gst_memory_init: new memory<br>
> 0x7f7728849000, maxsize:1440014 offset:77764<br>
> size:65531<br>
> 0:00:35.399368422 3694 0x1e171e0 DEBUG<br>
> GST_PERFORMANCE gstallocator.c:466:_sysmem_copy:<br>
> memcpy 1440007 memory 0x7f7728009720 -> 0x7f7728849000<br>
> 0:00:35.399658333 3694 0x1e171e0 DEBUG<br>
> uvch264mjpgdemux<br>
> gstuvch264_mjpgdemux.c:513:gst_uvc_h264_mjpg_demux_chain:<uvch264mjpgdemux0> Found APP4 marker (22566). JPG: 143295-143295 - APP4: 143295 - 165863<br>
> 0:00:35.399677140 3694 0x1e171e0 DEBUG<br>
> GST_MEMORY gstmemory.c:138:gst_memory_init: new memory<br>
> 0x7f7728dc76c0, maxsize:1440014 offset:143299<br>
> size:22564<br>
> 0:00:35.399690113 3694 0x1e171e0 DEBUG<br>
> GST_PERFORMANCE gstallocator.c:466:_sysmem_copy:<br>
> memcpy 1440007 memory 0x7f7728009720 -> 0x7f7728dc76c0<br>
> 0:00:35.399982333 3694 0x1e171e0 DEBUG<br>
> uvch264mjpgdemux<br>
> gstuvch264_mjpgdemux.c:659:gst_uvc_h264_mjpg_demux_chain:<uvch264mjpgdemux0> Pushing YUY2 auxiliary buffer video/x-raw, format=(string)YUY2, width=(int)320, height=(int)240, framerate=(fraction)15/1<br>
> 0:00:35.400035247 3694 0x1e171e0 DEBUG<br>
> basetransform<br>
> gstbasetransform.c:1962:gst_base_transform_handle_buffer:<videoconvert4> handling buffer 0x7f7730007550 of size 153600 and offset NONE<br>
> 0:00:35.400047757 3694 0x1e171e0 DEBUG default<br>
> gstsegment.c:481:gst_segment_to_running_time: invalid<br>
> position (-1)<br>
> 0:00:35.400057009 3694 0x1e171e0 DEBUG<br>
> basetransform<br>
> gstbasetransform.c:2042:gst_base_transform_handle_buffer:<videoconvert4> calling prepare buffer<br>
> 0:00:35.400066028 3694 0x1e171e0 DEBUG<br>
> basetransform<br>
> gstbasetransform.c:1537:default_prepare_output_buffer:<videoconvert4> passthrough: reusing input buffer<br>
> 0:00:35.400074785 3694 0x1e171e0 DEBUG<br>
> basetransform<br>
> gstbasetransform.c:2049:gst_base_transform_handle_buffer:<videoconvert4> using allocated buffer in 0x7f7730007550, out 0x7f7730007550<br>
> 0:00:35.400085953 3694 0x1e171e0 DEBUG<br>
> basetransform<br>
> gstbasetransform.c:2060:gst_base_transform_handle_buffer:<videoconvert4> element is in passthrough<br>
> 0:00:35.400100607 3694 0x1e171e0 DEBUG GST_PADS<br>
> gstpad.c:3224:do_probe_callbacks:<src:vfsrc> data is<br>
> passed<br>
> 0:00:35.400125786 3694 0x1e171e0 DEBUG<br>
> uvch264mjpgdemux<br>
> gstuvch264_mjpgdemux.c:694:gst_uvc_h264_mjpg_demux_chain:<uvch264mjpgdemux0> SOS marker wasn't found. MJPG is container only<br>
> 0:00:35.400136546 3694 0x1e171e0 DEBUG<br>
> GST_MEMORY gstmemory.c:88:_gst_memory_free: free<br>
> memory 0x7f77291e63d0<br>
> 0:00:35.400153414 3694 0x1e171e0 DEBUG v4l2<br>
> gstv4l2bufferpool.c:933:gst_v4l2_buffer_pool_release_buffer:<v4l2bufferpool0> release buffer 0x1de7720<br>
> 0:00:35.400178526 3694 0x1e171e0 DEBUG basesrc<br>
> gstbasesrc.c:2351:gst_base_src_get_range:<v4l2src0><br>
> calling create offset 18446744073709551615 length<br>
> 4096, time 0<br>
> 0:00:35.400194362 3694 0x1e171e0 DEBUG v4l2<br>
> gstv4l2bufferpool.c:832:gst_v4l2_buffer_pool_acquire_buffer:<v4l2bufferpool0> acquire<br>
> 0:00:35.400205021 3694 0x1e171e0 DEBUG GST_POLL<br>
> gstpoll.c:1200:gst_poll_wait:<br>
> timeout :99:99:99.999999999<br>
> 0:00:35.400235182 3694 0x1e2b1e0 DEBUG<br>
> queue_dataflow gstqueue.c:1240:gst_queue_loop:<queue0><br>
> queue is not empty<br>
> 0:00:35.402142734 3694 0x1e2b1e0 DEBUG<br>
> basetransform<br>
> gstbasetransform.c:1962:gst_base_transform_handle_buffer:<capsfilter0> handling buffer 0x7f7730007550 of size 153600 and offset NONE<br>
> 0:00:35.402168640 3694 0x1e2b1e0 DEBUG<br>
> basetransform<br>
> gstbasetransform.c:2042:gst_base_transform_handle_buffer:<capsfilter0> calling prepare buffer<br>
> 0:00:35.402178987 3694 0x1e2b1e0 DEBUG GST_CAPS<br>
> gstpad.c:2408:gst_pad_has_current_caps:<capsfilter0:sink> check current pad caps video/x-raw, format=(string)YUY2, width=(int)320, height=(int)240, framerate=(fraction)15/1<br>
> 0:00:35.402210753 3694 0x1e2b1e0 DEBUG<br>
> basetransform<br>
> gstbasetransform.c:2049:gst_base_transform_handle_buffer:<capsfilter0> using allocated buffer in 0x7f7730007550, out 0x7f7730007550<br>
> 0:00:35.402218850 3694 0x1e2b1e0 DEBUG<br>
> basetransform<br>
> gstbasetransform.c:2066:gst_base_transform_handle_buffer:<capsfilter0> doing inplace transform<br>
><br>
> (gst-launch-1.0:3694): GStreamer-WARNING **:<br>
> gstpad.c:3923:gst_pad_push_data:<capsfilter0:src> Got<br>
> data flow before segment event<br>
><br>
> (gst-launch-1.0:3694): GStreamer-WARNING **:<br>
> gstpad.c:3692:gst_pad_chain_data_unchecked:<xvimagesink0:sink> Got data flow before segment event<br>
> 0:00:35.402247697 3694 0x1e2b1e0 DEBUG basesink<br>
> gstbasesink.c:3283:gst_base_sink_chain_unlocked:<xvimagesink0> got times start: 99:99:99.999999999, end: 99:99:99.999999999<br>
> 0:00:35.402263093 3694 0x1e2b1e0 DEBUG basesink<br>
> gstbasesink.c:1899:gst_base_sink_get_sync_times:<xvimagesink0> got times start: 99:99:99.999999999, stop: 99:99:99.999999999, do_sync 0<br>
> 0:00:35.402275683 3694 0x1e2b1e0 DEBUG default<br>
> gstsegment.c:481:gst_segment_to_running_time: invalid<br>
> position (-1)<br>
> 0:00:35.402281951 3694 0x1e2b1e0 DEBUG default<br>
> gstsegment.c:481:gst_segment_to_running_time: invalid<br>
> position (-1)<br>
> 0:00:35.402289418 3694 0x1e2b1e0 DEBUG basesink<br>
> gstbasesink.c:3354:gst_base_sink_chain_unlocked:<xvimagesink0> rendering object 0x7f7730007550<br>
> 0:00:35.402297939 3694 0x1e2b1e0 DEBUG basesink<br>
> gstbasesink.c:938:gst_base_sink_set_last_buffer_unlocked:<xvimagesink0> setting last buffer to 0x7f7730007550<br>
> 0:00:35.402309005 3694 0x1e2b1e0 DEBUG<br>
> GST_MEMORY gstmemory.c:88:_gst_memory_free: free<br>
> memory 0x7f7728f27070<br>
> 0:00:35.402322365 3694 0x1e2b1e0 DEBUG<br>
> GST_MEMORY gstmemory.c:88:_gst_memory_free: free<br>
> memory 0x7f7729086a20<br>
> 0:00:35.402329259 3694 0x1e2b1e0 DEBUG<br>
> GST_MEMORY gstmemory.c:88:_gst_memory_free: free<br>
> memory 0x7f7729345d80<br>
> 0:00:35.402748981 3694 0x1e2b1e0 DEBUG<br>
> bufferpool<br>
> gstbufferpool.c:479:gst_buffer_pool_set_active:<xvimagebufferpool1> pool was in the right state<br>
> 0:00:35.402773116 3694 0x1e2b1e0 DEBUG<br>
> GST_MEMORY gstmemory.c:138:gst_memory_init: new memory<br>
> 0x7f7738006800, maxsize:153607 offset:0 size:153600<br>
> 0:00:35.402785810 3694 0x1e2b1e0 DEBUG<br>
> GST_PERFORMANCE gstbuffer.c:244:_get_merged_memory:<br>
> memcpy 65505 bytes for merge 0x7f7738006800 from<br>
> memory 0x7f7728c67d10<br>
> 0:00:35.402805953 3694 0x1e2b1e0 DEBUG<br>
> GST_PERFORMANCE gstbuffer.c:244:_get_merged_memory:<br>
> memcpy 65531 bytes for merge 0x7f7738006800 from<br>
> memory 0x7f7728849000<br>
> 0:00:35.402825501 3694 0x1e2b1e0 DEBUG<br>
> GST_PERFORMANCE gstbuffer.c:244:_get_merged_memory:<br>
> memcpy 22564 bytes for merge 0x7f7738006800 from<br>
> memory 0x7f7728dc76c0<br>
> 0:00:35.402843541 3694 0x1e2b1e0 DEBUG<br>
> GST_PERFORMANCE gstbuffer.c:1509:gst_buffer_map_range:<br>
> temporary mapping for memory 0x7f7738006800 in buffer<br>
> 0x7f7730007550<br>
> 0:00:35.402930602 3694 0x1e2b1e0 DEBUG<br>
> GST_PERFORMANCE<br>
> video-frame.c:245:gst_video_frame_copy_plane: copy<br>
> plane 0, w:640 h:240<br>
> 0:00:35.402963361 3694 0x1e2b1e0 DEBUG<br>
> GST_MEMORY gstmemory.c:88:_gst_memory_free: free<br>
> memory 0x7f7738006800<br>
> 0:00:35.402993223 3694 0x1e2b1e0 DEBUG videosink<br>
> gstvideosink.c:117:gst_video_sink_center_rect: source<br>
> is 320x240 dest is 320x240, result is 320x240 with x,y<br>
> 0x0<br>
> 0:00:35.403172767 3694 0x1e2b1e0 DEBUG GST_QOS<br>
> gstbasesink.c:2855:gst_base_sink_do_render_stats:<xvimagesink0> avg_render: 0:00:00.000771911<br>
> 0:00:35.403185342 3694 0x1e2b1e0 DEBUG basesink<br>
> gstbasesink.c:3393:gst_base_sink_chain_unlocked:<xvimagesink0> object unref after render 0x7f7730007550<br>
> 0:00:35.403196545 3694 0x1e2b1e0 DEBUG<br>
> queue_dataflow gstqueue.c:1228:gst_queue_loop:<queue0><br>
> queue is empty<br>
> 0:00:35.426997236 3694 0x1e171e0 DEBUG v4l2<br>
> gstv4l2bufferpool.c:1167:gst_v4l2_buffer_pool_process:<v4l2bufferpool0> process buffer 0x1de7830<br>
> 0:00:35.427041303 3694 0x1e171e0 DEBUG GST_CLOCK<br>
> gstclock.c:922:gst_clock_get_internal_time:<GstSystemClock> internal time 26:55:06.794065247<br>
> 0:00:35.427056137 3694 0x1e171e0 DEBUG GST_CLOCK<br>
> gstclock.c:967:gst_clock_get_time:<GstSystemClock><br>
> adjusted time 26:55:06.794065247<br>
> 0:00:35.427067629 3694 0x1e171e0 DEBUG v4l2src<br>
> gstv4l2src.c:823:gst_v4l2src_fill:<v4l2src0> ts:<br>
> 26:55:06.800990000 now 26:55:06.794092266 delay<br>
> 0:00:00.000000000<br>
> 0:00:35.427080729 3694 0x1e171e0 INFO v4l2src<br>
> gstv4l2src.c:861:gst_v4l2src_fill:<v4l2src0> sync to<br>
> 0:00:34.466666322 out ts 0:00:34.800677133<br>
> 0:00:35.427092788 3694 0x1e171e0 DEBUG basesrc<br>
> gstbasesrc.c:2216:gst_base_src_do_sync:<v4l2src0> no<br>
> sync needed<br>
> 0:00:35.427100101 3694 0x1e171e0 DEBUG basesrc<br>
> gstbasesrc.c:2414:gst_base_src_get_range:<v4l2src0><br>
> buffer ok<br>
> 0:00:35.427112183 3694 0x1e171e0 DEBUG<br>
> basetransform<br>
> gstbasetransform.c:1958:gst_base_transform_handle_buffer:<capsfilter5> handling buffer 0x1de7830 of size 165490 and offset 1033<br>
> 0:00:35.427122893 3694 0x1e171e0 DEBUG<br>
> basetransform<br>
> gstbasetransform.c:2042:gst_base_transform_handle_buffer:<capsfilter5> calling prepare buffer<br>
> 0:00:35.427131748 3694 0x1e171e0 DEBUG GST_CAPS<br>
> gstpad.c:2408:gst_pad_has_current_caps:<capsfilter5:sink> check current pad caps image/jpeg, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1<br>
> 0:00:35.427157133 3694 0x1e171e0 DEBUG<br>
> basetransform<br>
> gstbasetransform.c:2049:gst_base_transform_handle_buffer:<capsfilter5> using allocated buffer in 0x1de7830, out 0x1de7830<br>
> 0:00:35.427164745 3694 0x1e171e0 DEBUG<br>
> basetransform<br>
> gstbasetransform.c:2066:gst_base_transform_handle_buffer:<capsfilter5> doing inplace transform<br>
> 0:00:35.427176735 3694 0x1e171e0 DEBUG<br>
> uvch264mjpgdemux<br>
> gstuvch264_mjpgdemux.c:513:gst_uvc_h264_mjpg_demux_chain:<uvch264mjpgdemux0> Found APP4 marker (12182). JPG: 0-8 - APP4: 8 - 12192<br>
> 0:00:35.427197573 3694 0x1e171e0 DEBUG<br>
> GST_MEMORY gstmemory.c:138:gst_memory_init: new memory<br>
> 0x7f7728f27070, maxsize:1440014 offset:0 size:8<br>
> 0:00:35.427207769 3694 0x1e171e0 DEBUG<br>
> GST_PERFORMANCE gstallocator.c:466:_sysmem_copy:<br>
> memcpy 1440007 memory 0x7f77281690c0 -> 0x7f7728f27070<br>
> 0:00:35.427908444 3694 0x1e171e0 DEBUG<br>
> uvch264mjpgdemux<br>
> gstuvch264_mjpgdemux.c:550:gst_uvc_h264_mjpg_demux_chain:<uvch264mjpgdemux0> New auxiliary stream : v1 - 22 bytes - H264 1920x1080 -- 333333 *100ns -- 27 ms -- 67059032<br>
> 0:00:35.427927470 3694 0x1e171e0 DEBUG<br>
> uvch264mjpgdemux<br>
> gstuvch264_mjpgdemux.c:552:gst_uvc_h264_mjpg_demux_chain:<uvch264mjpgdemux0> Auxiliary stream size : 12154 bytes<br>
> 0:00:35.427939077 3694 0x1e171e0 DEBUG<br>
> GST_MEMORY gstmemory.c:138:gst_memory_init: new memory<br>
> 0x7f7729086a20, maxsize:1440014 offset:38 size:12154<br>
> 0:00:35.427948111 3694 0x1e171e0 DEBUG<br>
> GST_PERFORMANCE gstallocator.c:466:_sysmem_copy:<br>
> memcpy 1440007 memory 0x7f77281690c0 -> 0x7f7729086a20<br>
> 0:00:35.428626317 3694 0x1e171e0 DEBUG<br>
> uvch264mjpgdemux<br>
> gstuvch264_mjpgdemux.c:659:gst_uvc_h264_mjpg_demux_chain:<uvch264mjpgdemux0> Pushing H264 auxiliary buffer video/x-h264, width=(int)1920, height=(int)1080, framerate=(fraction)30/1<br>
> 0:00:35.428658303 3694 0x1e171e0 DEBUG GST_PADS<br>
> gstpad.c:3224:do_probe_callbacks:<src:vidsrc> data is<br>
> passed<br>
> 0:00:35.428666953 3694 0x1e171e0 DEBUG GST_PADS<br>
> gstpad.c:3088:probe_hook_marshal:<src:vidsrc> probe<br>
> returned OK<br>
> 0:00:35.428679400 3694 0x1e171e0 DEBUG<br>
> uvch264mjpgdemux<br>
> gstuvch264_mjpgdemux.c:513:gst_uvc_h264_mjpg_demux_chain:<uvch264mjpgdemux0> Found APP4 marker (65533). JPG: 12192-12192 - APP4: 12192 - 77727<br>
> 0:00:35.428688152 3694 0x1e171e0 DEBUG<br>
> uvch264mjpgdemux<br>
> gstuvch264_mjpgdemux.c:550:gst_uvc_h264_mjpg_demux_chain:<uvch264mjpgdemux0> New auxiliary stream : v1 - 22 bytes - YUY2 320x240 -- 333333 *100ns -- 27 ms -- 67059032<br>
> 0:00:35.428697950 3694 0x1e171e0 DEBUG<br>
> uvch264mjpgdemux<br>
> gstuvch264_mjpgdemux.c:552:gst_uvc_h264_mjpg_demux_chain:<uvch264mjpgdemux0> Auxiliary stream size : 153600 bytes<br>
> 0:00:35.428708335 3694 0x1e171e0 DEBUG<br>
> GST_MEMORY gstmemory.c:138:gst_memory_init: new memory<br>
> 0x7f77291e63d0, maxsize:1440014 offset:12222<br>
> size:65505<br>
> 0:00:35.428720262 3694 0x1e171e0 DEBUG<br>
> GST_PERFORMANCE gstallocator.c:466:_sysmem_copy:<br>
> memcpy 1440007 memory 0x7f77281690c0 -> 0x7f77291e63d0<br>
> 0:00:35.429419395 3694 0x1e171e0 DEBUG<br>
> uvch264mjpgdemux<br>
> gstuvch264_mjpgdemux.c:513:gst_uvc_h264_mjpg_demux_chain:<uvch264mjpgdemux0> Found APP4 marker (65533). JPG: 77727-77727 - APP4: 77727 - 143262<br>
> 0:00:35.429437926 3694 0x1e171e0 DEBUG<br>
> GST_MEMORY gstmemory.c:138:gst_memory_init: new memory<br>
> 0x7f7729345d80, maxsize:1440014 offset:77731<br>
> size:65531<br>
> 0:00:35.429446663 3694 0x1e171e0 DEBUG<br>
> GST_PERFORMANCE gstallocator.c:466:_sysmem_copy:<br>
> memcpy 1440007 memory 0x7f77281690c0 -> 0x7f7729345d80<br>
> 0:00:35.430148554 3694 0x1e171e0 WARN<br>
> uvch264mjpgdemux<br>
> gstuvch264_mjpgdemux.c:507:gst_uvc_h264_mjpg_demux_chain:<uvch264mjpgdemux0> error: Not enough data to read marker content<br>
> 0:00:35.430172000 3694 0x1e171e0 DEBUG<br>
> GST_MESSAGE<br>
> gstelement.c:1807:gst_element_message_full:<uvch264mjpgdemux0> start<br>
> 0:00:35.430202374 3694 0x1e171e0 INFO<br>
> GST_ERROR_SYSTEM<br>
> gstelement.c:1838:gst_element_message_full:<uvch264mjpgdemux0> posting message: Not enough data to read marker content<br>
> 0:00:35.430223343 3694 0x1e171e0 DEBUG GST_BUS<br>
> gstbus.c:312:gst_bus_post:<bus0> [msg 0x1e3c5a0]<br>
> posting on bus error message: 0x1e3c5a0, time<br>
> 99:99:99.999999999, seq-num 378, element<br>
> 'uvch264mjpgdemux0', GstMessageError,<br>
> gerror=(GError)NULL,<br>
> debug=(string)"gstuvch264_mjpgdemux.c\(507\):\<br>
> gst_uvc_h264_mjpg_demux_chain\ \(\):<br>
> \ /GstPipeline:pipeline0/GstUvcH264Src:src/GstUvcH264MjpgDemux:uvch264mjpgdemux0";<br>
><br>
> ... now it continues with with and EOS that stops the<br>
> pipeline<br>
><br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
><br>
><br>
><br>
> --<br>
> Rob Krakora<br>
> MessageNet Systems<br>
> 101 East Carmel Dr. Suite 105<br>
> Carmel, IN 46032<br>
> (317)566-1677 Ext 212<br>
> (317)663-0808 Fax<br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><font color="#888888"><font color="blue">Rob Krakora<br>
MessageNet Systems
<br>
101 East Carmel Dr. Suite 105
<br>
Carmel, IN 46032
<br>
<a value="+13175661677">(317)566-1677</a></font></font><font color="#888888"><font color="blue"> Ext 212<br>
<a value="+13176630808">(317)663-0808</a> Fax
</font></font>
</div>