Thanks for prompt reply. i tried to use the select filter for extractin images as bellow but i encountered error as can be seen. can you give any advice?<div><br><div><div>D:\><font color="#ff0000">ffmpeg -i D:\test\1.mpg -vf "select='eq(pict_type,I)', showinfo" -f mp4 -y d:\Test\IFrames</font></div>
<div>ffmpeg version N-31247-g5d4fd1d, Copyright (c) 2000-2011 the FFmpeg developers</div><div> built on Jul 4 2011 21:40:51 with gcc 4.6.1</div><div> configuration: --enable-gpl --enable-version3 --enable-memalign-hack --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --e</div>
<div>nable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --en</div><div>able-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enab</div>
<div>le-zlib</div><div> libavutil 51. 11. 0 / 51. 11. 0</div><div> libavcodec 53. 7. 0 / 53. 7. 0</div><div> libavformat 53. 5. 0 / 53. 5. 0</div><div> libavdevice 53. 2. 0 / 53. 2. 0</div><div> libavfilter 2. 24. 3 / 2. 24. 3</div>
<div> libswscale 2. 0. 0 / 2. 0. 0</div><div> libpostproc 51. 2. 0 / 51. 2. 0</div><div>[mpeg @ 0208BFA0] max_analyze_duration 5000000 reached at 5000000</div><div>Input #0, mpeg, from 'D:\test\1.mpg':</div>
<div> Duration: 00:00:49.64, start: 0.540000, bitrate: 438 kb/s</div><div> Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 360x240 [PAR 1:1 DAR 3:2], 104857 kb/s, 25 fps, 25 tbr, 90k tbn, 25 tbc</div><div><font color="#ff0000">d:\Test\IFrames: Permission denied</font></div>
<div><br></div>regards</div><div><br><div class="gmail_quote">On 10 February 2012 19:26, dubplate <span dir="ltr"><<a href="mailto:dubplate65@web.de">dubplate65@web.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>
<div bgcolor="#ffffff" text="#000000">
<a href="http://ffmpeg.org/libavfilter.html#select" target="_blank">http://ffmpeg.org/libavfilter.html#select</a> -> <br>
<pre>select='eq(pict_type\,I)'
</pre><div><div class="h5">
<br>
On 02/10/2012 04:50 AM, <a href="mailto:amir.rouhi@rmit.edu.au" target="_blank">amir.rouhi@rmit.edu.au</a> wrote:
</div></div><blockquote type="cite"><div><div class="h5"><span>I know that ffmpeg or x264 is enable to
extract images at any desired time interval from a video stream.
i.e the below command:</span><br clear="all">
<div><span style="font-family:Arial">ffmpeg -i test.avi
-r 1 -s WxH -f </span><span style="font-family:Arial">image2</span><span style="font-family:Arial"> test-%03d.jpeg</span></div>
<div><span style="font-family:Arial">extract 1 second
image interval from test.avi. But i dont know how to change
this command to extract just I-Frames from the stream,
regardless of the frame time position.</span></div>
<div><span style="font-family:Arial">Can u help me to
find the solution? Or do you how x264 can extract I-Frames?</span></div>
<div><br>
</div>
<div><br>
</div>
<br>
</div></div><pre><fieldset></fieldset>
_______________________________________________
x264-devel mailing list
<a href="mailto:x264-devel@videolan.org" target="_blank">x264-devel@videolan.org</a>
<a href="http://mailman.videolan.org/listinfo/x264-devel" target="_blank">http://mailman.videolan.org/listinfo/x264-devel</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
x264-devel mailing list<br>
<a href="mailto:x264-devel@videolan.org">x264-devel@videolan.org</a><br>
<a href="http://mailman.videolan.org/listinfo/x264-devel" target="_blank">http://mailman.videolan.org/listinfo/x264-devel</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Amir H. Rouhi</div>
<div>PhD Student/ CSIT RMIT University</div>
Room: 14-09-04<br><a href="http://raws.adc.rmit.edu.au/%7Es3288736/blog2/" target="_blank">http://raws.adc.rmit.edu.au/~s3288736/blog2/</a><br>
</div></div>