Sorry Carl -- here you go:<div><br></div><div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">C:\Users\Simon></font><span style="font-family:'courier new',monospace">ffmpeg.exe -i "</span><span style="font-family:'courier new',monospace">sample video.mp4" -vframes 1 -f image2 -sameq -vcodec mjpeg "</span><span style="font-family:'courier new',monospace">frame-%05d.jpg"</span></div>
<div><font face="courier new, monospace">ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers</font></div><div><font face="courier new, monospace"> built on Jun 12 2012 21:10:06 with gcc 4.6.3</font></div>
<div><font face="courier new, monospace"> configuration: --enable-version3 --disable-w32threads --enable-runtime-cpudete</font></div><div><font face="courier new, monospace">ct --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass --enable-lib</font></div>
<div><font face="courier new, monospace">celt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype</font></div><div><font face="courier new, monospace">--enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enabl</font></div>
<div><font face="courier new, monospace">e-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable</font></div><div><font face="courier new, monospace">-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enabl</font></div>
<div><font face="courier new, monospace">e-zlib</font></div><div><font face="courier new, monospace"> libavutil 51. 54.100 / 51. 54.100</font></div><div><font face="courier new, monospace"> libavcodec 54. 23.100 / 54. 23.100</font></div>
<div><font face="courier new, monospace"> libavformat 54. 6.100 / 54. 6.100</font></div><div><font face="courier new, monospace"> libavdevice 54. 0.100 / 54. 0.100</font></div><div><font face="courier new, monospace"> libavfilter 2. 77.100 / 2. 77.100</font></div>
<div><font face="courier new, monospace"> libswscale 2. 1.100 / 2. 1.100</font></div><div><font face="courier new, monospace"> libswresample 0. 15.100 / 0. 15.100</font></div><div><font face="courier new, monospace">[mov,mp4,m4a,3gp,3g2,mj2 @ 01bbc940] multiple edit list entries, a/v desync migh</font></div>
<div><font face="courier new, monospace">t occur, patch welcome</font></div><div><font face="courier new, monospace"> Last message repeated 1 times</font></div><div><font face="courier new, monospace">Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'PATHHIDDEN</font><span style="font-family:'courier new',monospace">\sample video.mp4':</span></div>
<div><font face="courier new, monospace"> Metadata:</font></div><div><font face="courier new, monospace"> major_brand : isom</font></div><div><font face="courier new, monospace"> minor_version : 512</font></div>
<div><font face="courier new, monospace"> compatible_brands: isomiso2avc1mp41</font></div><div><font face="courier new, monospace"> creation_time : 1970-01-01 00:00:00</font></div><div><font face="courier new, monospace"> encoder : Lavf53.4.0</font></div>
<div><font face="courier new, monospace"> Duration: 00:00:17.00, start: 0.013000, bitrate: 10128 kb/s</font></div><div><font face="courier new, monospace"> Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x960</font></div>
<div><font face="courier new, monospace">[SAR 1:1 DAR 4:3], 10609 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc</font></div><div><font face="courier new, monospace"> Metadata:</font></div><div><font face="courier new, monospace"> creation_time : 1970-01-01 00:00:00</font></div>
<div><font face="courier new, monospace"> handler_name : VideoHandler</font></div><div><font face="courier new, monospace"> Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 128</font></div>
<div><font face="courier new, monospace"> kb/s</font></div><div><font face="courier new, monospace"> Metadata:</font></div><div><font face="courier new, monospace"> creation_time : 1970-01-01 00:00:00</font></div>
<div><font face="courier new, monospace"> handler_name : SoundHandler</font></div><div><font face="courier new, monospace">[buffer @ 01bb8a40] w:1280 h:960 pixfmt:yuv420p tb:1/30000 sar:1/1 sws_param:fla</font></div>
<div><font face="courier new, monospace">gs=2</font></div><div><font face="courier new, monospace">[buffersink @ 01bb8ca0] No opaque field provided</font></div><div><font face="courier new, monospace">[format @ 01bb8de0] auto-inserting filter 'auto-inserted scaler 0' between the f</font></div>
<div><font face="courier new, monospace">ilter 'src' and the filter 'format'</font></div><div><font face="courier new, monospace">[scale @ 01bb9080] w:1280 h:960 fmt:yuv420p sar:1/1 -> w:1280 h:960 fmt:yuvj420p</font></div>
<div><font face="courier new, monospace"> sar:1/1 flags:0x4</font></div><div><font face="courier new, monospace">[buffer @ 0379ce60] w:1280 h:960 pixfmt:yuv420p tb:1/30000 sar:1/1 sws_param:fla</font></div><div><font face="courier new, monospace">gs=2</font></div>
<div><font face="courier new, monospace">[buffersink @ 037ad3a0] No opaque field provided</font></div><div><font face="courier new, monospace">[format @ 037ad400] auto-inserting filter 'auto-inserted scaler 0' between the f</font></div>
<div><font face="courier new, monospace">ilter 'src' and the filter 'format'</font></div><div><font face="courier new, monospace">[scale @ 037ad460] w:1280 h:960 fmt:yuv420p sar:1/1 -> w:1280 h:960 fmt:yuvj420p</font></div>
<div><font face="courier new, monospace"> sar:1/1 flags:0x4</font></div><div><font face="courier new, monospace">Output #0, image2, to 'ΓÇôsameq':</font></div><div><font face="courier new, monospace"> Metadata:</font></div>
<div><font face="courier new, monospace"> major_brand : isom</font></div><div><font face="courier new, monospace"> minor_version : 512</font></div><div><font face="courier new, monospace"> compatible_brands: isomiso2avc1mp41</font></div>
<div><font face="courier new, monospace"> creation_time : 1970-01-01 00:00:00</font></div><div><font face="courier new, monospace"> encoder : Lavf54.6.100</font></div><div><font face="courier new, monospace"> Stream #0:0(eng): Video: mjpeg, yuvj420p, 1280x960 [SAR 1:1 DAR 4:3], q=2-31</font></div>
<div><font face="courier new, monospace">, 200 kb/s, 90k tbn, 29.97 tbc</font></div><div><font face="courier new, monospace"> Metadata:</font></div><div><font face="courier new, monospace"> creation_time : 1970-01-01 00:00:00</font></div>
<div><font face="courier new, monospace"> handler_name : VideoHandler</font></div><div><font face="courier new, monospace">Output #1, image2, to 'PATHHIDDEN\f</font><span style="font-family:'courier new',monospace">rame-%05d.jpg':</span></div>
<div><font face="courier new, monospace"> Metadata:</font></div><div><font face="courier new, monospace"> major_brand : isom</font></div><div><font face="courier new, monospace"> minor_version : 512</font></div>
<div><font face="courier new, monospace"> compatible_brands: isomiso2avc1mp41</font></div><div><font face="courier new, monospace"> creation_time : 1970-01-01 00:00:00</font></div><div><font face="courier new, monospace"> encoder : Lavf54.6.100</font></div>
<div><font face="courier new, monospace"> Stream #1:0(eng): Video: mjpeg, yuvj420p, 1280x960 [SAR 1:1 DAR 4:3], q=2-31</font></div><div><font face="courier new, monospace">, 200 kb/s, 90k tbn, 29.97 tbc</font></div><div>
<font face="courier new, monospace"> Metadata:</font></div><div><font face="courier new, monospace"> creation_time : 1970-01-01 00:00:00</font></div><div><font face="courier new, monospace"> handler_name : VideoHandler</font></div>
<div><font face="courier new, monospace">Stream mapping:</font></div><div><font face="courier new, monospace"> Stream #0:0 -> #0:0 (h264 -> mjpeg)</font></div><div><font face="courier new, monospace"> Stream #0:0 -> #1:0 (h264 -> mjpeg)</font></div>
<div><font face="courier new, monospace">Press [q] to stop, [?] for help</font></div><div><font face="courier new, monospace">frame= 1 fps=0.0 q=6.4 q=24.8 size= 0kB time=00:00:00.03 bitrate= 0.0</font></div><div>
<font face="courier new, monospace">frame= 1 fps=1.0 q=6.4 q=24.8 size= 0kB time=00:00:00.03 bitrate= 0.0</font></div><div><font face="courier new, monospace">frame= 1 fps=0.7 q=6.4 q=24.8 size= 0kB time=00:00:00.03 bitrate= 0.0</font></div>
<div><font face="courier new, monospace">frame= 1 fps=0.5 q=6.4 q=24.8 size= 0kB time=00:00:00.03 bitrate= 0.0</font></div><div><font face="courier new, monospace">frame= 1 fps=0.4 q=6.4 q=24.8 size= 0kB time=00:00:00.03 bitrate= 0.0</font></div>
<div><font face="courier new, monospace">frame= 1 fps=0.3 q=6.4 q=24.8 size= 0kB time=00:00:00.03 bitrate= 0.0</font></div><div><font face="courier new, monospace">frame= 1 fps=0.3 q=6.4 q=24.8 size= 0kB time=00:00:00.03 bitrate= 0.0</font></div>
<div><font face="courier new, monospace">frame= 1 fps=0.2 q=6.4 q=24.8 size= 0kB time=00:00:00.03 bitrate= 0.0</font></div><div><font face="courier new, monospace">frame= 1 fps=0.2 q=6.4 q=24.8 size= 0kB time=00:00:00.03 bitrate= 0.0</font></div>
<div><font face="courier new, monospace">frame= 1 fps=0.2 q=6.4 q=24.8 size= 0kB time=00:00:00.03 bitrate= 0.0</font></div><div><font face="courier new, monospace">frame= 1 fps=0.2 q=6.4 q=24.8 size= 0kB time=00:00:00.03 bitrate= 0.0</font></div>
<div><font face="courier new, monospace">frame= 1 fps=0.2 q=6.4 q=24.8 size= 0kB time=00:00:00.03 bitrate= 0.0</font></div><div><font face="courier new, monospace">frame= 1 fps=0.2 q=6.4 q=24.8 size= 0kB time=00:00:00.03 bitrate= 0.0</font></div>
<div><font face="courier new, monospace">frame= 1 fps=0.1 q=6.4 q=24.8 size= 0kB time=00:00:00.03 bitrate= 0.0</font></div><div><font face="courier new, monospace">frame= 1 fps=0.1 q=6.4 q=24.8 size= 0kB time=00:00:00.03 bitrate= 0.0</font></div>
<div><font face="courier new, monospace">frame= 1 fps=0.1 q=6.4 q=24.8 size= 0kB time=00:00:00.03 bitrate= 0.0</font></div><div><font face="courier new, monospace">frame= 1 fps=0.1 q=6.4 q=24.8 size= 0kB time=00:00:00.03 bitrate= 0.0</font></div>
<div><font face="courier new, monospace">frame= 1 fps=0.1 q=6.4 q=24.8 size= 0kB time=00:00:00.03 bitrate= 0.0</font></div><div><font face="courier new, monospace">frame= 1 fps=0.1 q=6.4 q=24.8 size= 0kB time=00:00:00.03 bitrate= 0.0</font></div>
<div><font face="courier new, monospace">frame= 1 fps=0.1 q=6.4 q=24.8 size= 0kB time=00:00:00.03 bitrate= 0.0</font></div><div><font face="courier new, monospace">frame= 1 fps=0.1 q=6.4 q=24.8 size= 0kB time=00:00:00.03 bitrate= 0.0</font></div>
<div><font face="courier new, monospace">frame= 1 fps=0.1 q=6.4 Lq=24.8 size= 0kB time=00:00:00.03 bitrate= 0.</font></div><div><font face="courier new, monospace">0kbits/s dup=30 drop=0</font></div><div><font face="courier new, monospace">video:18652kB audio:0kB global headers:0kB muxing overhead -100.000000%</font></div>
<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace"><br></font></div><br><div class="gmail_quote">On Tue, Jun 26, 2012 at 11:44 AM, Michael Bradshaw <span dir="ltr"><<a href="mailto:mbradshaw@sorensonmedia.com" target="_blank">mbradshaw@sorensonmedia.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Tue, Jun 26, 2012 at 12:34 PM, Simon Daniels<br>
<<a href="mailto:simondaniels23@gmail.com">simondaniels23@gmail.com</a>> wrote:<br>
> // Is this a packet from the video stream?<br>
> if (packet.stream_index == videoStreamIndex && frameLocation++ % frameSkip<br>
> == 0)<br>
> {<br>
> // Decode video frame<br>
> avcodec_decode_video2(pCodecCtx, pFrameYUV, &isFrameFinished, &packet);<br>
<br>
</div>You don't want to be doing it like this, I don't think. If there are B<br>
frames in the video, this could really mess things up (because frame 2<br>
could depend on decoding frame 1 just before it, but you skipped<br>
decoding frame 1, so now frame 2 is junk/gets decoded wrong (and now<br>
all the ones decoded after it will be junk frames too until you hit a<br>
keyframe)).<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</div></div></blockquote></div><br></div>