<div dir="ltr">You'll first need to clarify whether you're trying to construct an MJPEG stream (which is usually transported over HTTP), or a sequence of JPEG files on your file system.  They are two different things.<div>
<br></div><div>If you need a sequence of files, try using the multifilesink element:</div><div><br></div><div><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-multifilesink.html">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-multifilesink.html</a><br>
<div class="gmail_extra"><br></div><div class="gmail_extra">Getting an mjpeg going is a bit more involved, and you can't do it using gst-launch AFAIK.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 2, 2013 at 12:50 PM,  <span dir="ltr"><<a href="mailto:gstreamer-devel-request@lists.freedesktop.org" target="_blank">gstreamer-devel-request@lists.freedesktop.org</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
---------- Forwarded message ----------<br>From: "Kalkere, Giridhara(IE10)" <Giridhara.Kalkere@Honeywell.com><br>To: "<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>" <<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>><br>
Cc: <br>Date: Thu, 2 May 2013 17:34:27 +0000<br>Subject: raw mpeg to mjpeg transcoding using the gstreamer plugin<br>





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class=""><span style="color:rgb(31,73,125)">Hello, <u></u><u></u></span></p>
<p class=""><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class=""><span style="color:rgb(31,73,125)">Greetings….! This is my first post to the mailing list.
<u></u><u></u></span></p>
<p class=""><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class=""><span style="color:rgb(31,73,125)">I am working on a multimedia project where I wanted to convert the raw mpeg4 stream into mjpeg images.
<u></u><u></u></span></p>
<p class=""><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class=""><span style="color:rgb(31,73,125)">I have little knowledge on the gstreamer framework with that I have formed a pipeline.<u></u><u></u></span></p>
<p class=""><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class=""><span style="color:rgb(31,73,125)">Little background. <u></u><u></u></span></p>
<p class=""><span style="color:rgb(31,73,125)">I have IP camera which I have recorded in the raw mpeg format.
<u></u><u></u></span></p>
<p class=""><span style="color:rgb(31,73,125)">For some reason I want to convert them into bunch of images. (if I have recorded for 1 min @10FPS  = 600 jpeg images)<u></u><u></u></span></p>
<p class=""><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class=""><span style="color:rgb(31,73,125)">To begin with I took raw mpeg4 file of 1 second duration which is recored @1FPS (to generate 1 jpeg image)<u></u><u></u></span></p>
<p class=""><span style="color:rgb(31,73,125)">The following pipelines I have used. Could able to generate images but its corrupted. Attached images for your reference.<u></u><u></u></span></p>
<p><u></u><span style="font-size:10pt"><span>1.<span style="font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;font-family:'Times New Roman'">      
</span></span></span><u></u><i><span style="color:rgb(118,146,60)">gst-launch filesrc location="/mnt/sd/365.m4v" ! decodebin ! ffenc_mjpeg ! filesink location="/mnt/sd/1.jpeg"</span></i><span style="font-size:10pt;color:rgb(118,146,60)"><u></u><u></u></span></p>

<p><i><span style="color:rgb(31,73,125)"><u></u> <u></u></span></i></p>
<p><u></u><span style="font-size:10pt"><span>2.<span style="font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;font-family:'Times New Roman'">      
</span></span></span><u></u><span style="color:rgb(31,73,125)">This 9.jpeg is the one which I got when I tried using the 1min mp4 file. This is better than the pervious.<u></u><u></u></span></p>
<p><i><span style="color:rgb(118,146,60)">gst-launch filesrc location="/mnt/sd/videofile0.mp4" ! decodebin ! ffenc_mjpeg ! filesink location="/mnt/sd/9.jpeg"<u></u><u></u></span></i></p>
<p class=""><i><span style="color:rgb(31,73,125)"><u></u> <u></u></span></i></p>
<p class=""><span style="color:rgb(31,73,125)">I am sure some thing is not correct in the pipeline.
<u></u><u></u></span></p>
<p class=""><span style="color:rgb(31,73,125)">Please help me to accomplish.<u></u><u></u></span></p>
<p class=""><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class=""><span style="color:rgb(31,73,125)">Thanks and Regards,<u></u><u></u></span></p>
<p class=""><span style="color:rgb(31,73,125)">Giri<u></u><u></u></span></p>
<p><u></u> <u></u></p>
</div>
</div>

<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></blockquote></div><br></div></div></div>