<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.6.4">
</HEAD>
<BODY>
Le mardi 04 juin 2013 à 15:37 +0100, Alex Hewson a écrit :
<BLOCKQUOTE TYPE=CITE>
<PRE>
On 04/06/2013 14:32, Wes Miller wrote:
<FONT COLOR="#737373">> Ummm....  I haven't (can't) try this as I have no Raspberry Pi, but does this</FONT>
<FONT COLOR="#737373">> actually work?</FONT>
<FONT COLOR="#737373">></FONT>
<FONT COLOR="#737373">>      raspivid -n -t 1000000 -vf -b 2000000 -fps 25 -o - |  \</FONT>
<FONT COLOR="#737373">>      gst-launch-1.0 fdsrc fd=0 ! decodebin ! videorate !</FONT>
<FONT COLOR="#737373">>      video/x-raw,framerate=1/1 ! jpegenc ! multifilesink</FONT>
<FONT COLOR="#737373">> location=img_%03d.jpeg</FONT>
<FONT COLOR="#737373">></FONT>
</PRE>
</BLOCKQUOTE>
<BR>
This pipeline should work if the source can be streamed. What's the transport being used by raspivid ? As a reference, I took you pipeline and I made it work this way:<BR>
<BR>
<PRE>
gst-launch-1.0 videotestsrc ! x264enc tune=zero-latency byte-stream=1 ! mpegtsmux ! fdsink fd=1 | \
gst-launch-1.0 -e fdsrc fd=0 ! decodebin ! jpegenc ! multifilesink location=img_%03d.jpeg
</PRE>
<BR>
In this example I use MPEG Transport Stream. I also got it to work with avimux, but not with qtmux as it's not streamable format (not without configuration). In the case there is no transport (H264 byte-stream), I could make it work using h264element, or simply setting caps after the fdsrc:<BR>
<BR>
<PRE>
gst-launch-1.0 videotestsrc ! x264enc tune=zero-latency byte-stream=1 ! fdsink fd=1 | \
gst-launch-1.0 -e fdsrc fd=0 ! h264parse ! decodebin ! jpegenc ! multifilesink location=img_%03d.jpeg

cheers,
Nicolas
</PRE>
</BODY>
</HTML>