<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yui_3_16_0_ym19_1_1504775505361_2383">Hello,</div><div id="yui_3_16_0_ym19_1_1504775505361_2399">I need to generate a video from a USB webcam and, at the same time, access to the non encoded raw data of the webcam.</div><div id="yui_3_16_0_ym19_1_1504775505361_3892">The following pipe works for me to record a video:</div><div id="yui_3_16_0_ym19_1_1504775505361_3894"><br></div><div id="yui_3_16_0_ym19_1_1504775505361_3890" dir="ltr"><b id="yui_3_16_0_ym19_1_1504775505361_3891">gst-launch-1.0 -e v4l2src device=/dev/webcam ! videoconvert ! video/x-raw,width=544,height=288,framerate=10/1 ! v4l2h264enc ! h264parse ! mp4mux ! filesink location=video.mp4 <br></b></div><div id="yui_3_16_0_ym19_1_1504775505361_3902" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1504775505361_3903" dir="ltr">But how do I get the raw data from webcam with gstreamer ?</div><div id="yui_3_16_0_ym19_1_1504775505361_6684" dir="ltr">Thank you.</div><div id="yui_3_16_0_ym19_1_1504775505361_6683" dir="ltr">Simon<br></div></div></body></html>