<div dir="ltr">hello,<br><br>I used raspberry pi 3b+ camera for streaming and recording .<br><br>My goal Is I want <b> raw data.</b><br><br>I used following pipeline :<br> <br><b>gst-launch-1.0 --gst-debug-level=3 -e v4l2src device=/dev/video0 ! videoconvert ! video/x-raw,width=640,height=480,framerate=30/1 ! tee name=tee0 ! queue ! omxh264enc ! h264parse ! mp4mux ! filesink location=raw.mp4 tee0. ! queue ! appsink</b><br><br>After run this pipeline I did not get proper data.. Just create 4kb mp4 file. when I try to play a file(4 kb)they could not be open. <div><br></div><div><b>my log:</b></div><div><br></div><div>Setting pipeline to PAUSED ...</div>Pipeline is live and does not need PREROLL ...<br>Setting pipeline to PLAYING ...<br>New clock: GstSystemClock<br>0:00:00.204640260  1736  0x1bd7e60 WARN          v4l2bufferpool gstv4l2bufferpool.c:748:gst_v4l2_buffer_pool_start:<v4l2src0:pool:src> Uncertain or not enough buffers, enabling copy threshold<br>0:00:00.621819270  1736 0x70a02780 FIXME               basesink gstbasesink.c:3077:gst_base_sink_default_event:<filesink0> stream-start event without group-id. Consider implementing group-id handling in the upstream elements<br>0:00:00.623566510  1736 0x70a02780 WARN                   qtmux gstqtmux.c:3391:gst_qt_mux_add_buffer:<mp4mux0> error: Buffer has no PTS.<br>ERROR: from element /GstPipeline:pipeline0/GstMP4Mux:mp4mux0: Could not multiplex stream.<br>Additional debug info:<br>gstqtmux.c(3391): gst_qt_mux_add_buffer (): /GstPipeline:pipeline0/GstMP4Mux:mp4mux0:<br>Buffer has no PTS.<br>EOS on shutdown enabled -- waiting for EOS after Error<br>Waiting for EOS...<br>0:00:00.625792395  1736 0x70a02780 WARN             omxvideoenc gstomxvideoenc.c:883:gst_omx_video_enc_loop:<omxh264enc-omxh264enc0> error: Internal data stream error.<br>0:00:00.625855781  1736 0x70a02780 WARN             omxvideoenc gstomxvideoenc.c:883:gst_omx_video_enc_loop:<omxh264enc-omxh264enc0> error: stream stopped, reason error<br>ERROR: from element /GstPipeline:pipeline0/GstOMXH264Enc-omxh264enc:omxh264enc-omxh264enc0: Internal data stream error.<br>Additional debug info:<br>gstomxvideoenc.c(883): gst_omx_video_enc_loop (): /GstPipeline:pipeline0/GstOMXH264Enc-omxh264enc:omxh264enc-omxh264enc0:<br>stream stopped, reason error<br>0:00:00.682079687  1736  0x1bd7e60 WARN                 basesrc gstbasesrc.c:2950:gst_base_src_loop:<v4l2src0> error: Internal data stream error.<br>0:00:00.682157447  1736  0x1bd7e60 WARN                 basesrc gstbasesrc.c:2950:gst_base_src_loop:<v4l2src0> error: streaming stopped, reason error (-5)<br>0:00:00.682393385  1736  0x1bd7e60 WARN                   queue gstqueue.c:989:gst_queue_handle_sink_event:<queue0> error: Internal data stream error.<br>0:00:00.682428020  1736  0x1bd7e60 WARN                   queue gstqueue.c:989:gst_queue_handle_sink_event:<queue0> error: streaming stopped, reason error (-5)<br>ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.<br>Additional debug info:<br>gstbasesrc.c(2950): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:<br>streaming stopped, reason error (-5)<br>ERROR: from element /GstPipeline:pipeline0/GstQueue:queue0: Internal data stream error.<br>Additional debug info:<br>gstqueue.c(989): gst_queue_handle_sink_event (): /GstPipeline:pipeline0/GstQueue:queue0:<br>streaming stopped, reason error (-5)<br><div><br><br><br><b>Please suggest me when I am wrong?<br> <br>suggest me a better way to get raw data from my camera.</b><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><span><p dir="ltr" style="line-height:1.8;margin-top:0pt;margin-bottom:0pt;text-align:justify"><br></p><p dir="ltr" style="line-height:1.8;margin-top:0pt;margin-bottom:0pt;text-align:justify"><br></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><br></p><br></span></div></div></div></div></div></div>