[FFmpeg-user] video to image sequence conversion problem

BhelPuri samosa_chaat at yahoo.com
Mon Jul 9 02:48:14 CEST 2012


Uncut console command and output pasted below. Thanks in advance for your help.

ffmpeg.exe -i MVI_0009.MOV -r 5 -f image2 ncjun29s1-%05d.tif
ffmpeg version N-41416-g718607b Copyright (c) 2000-2012 the FFmpeg developers
  built on Jun  8 2012 12:49:40 with gcc 4.6.3
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass
 --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable
-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libope
njpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libth
eora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
libvorbis --enable-libvpx --ena  libavutil      51. 56.100 / 51. 56.100
  libavcodec     54. 25.100 / 54. 25.100
  libavformat    54.  6.101 / 54.  6.101
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 78.101 /  2. 78.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'MVI_0009.MOV':
  Metadata:
    major_brand     : qt
    minor_version   : 537331968
    compatible_brands: qt  CAEP
    creation_time   : 2012-06-29 15:45:39
  Duration: 00:03:25.90, start: 0.000000, bitrate: 48080 kb/s
    Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yu
vj420p, 1920x1088, 46541 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 60k tbc
    Metadata:
      creation_time   : 2012-06-29 15:45:39
    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s1
6, 1536 kb/s
    Metadata:
      creation_time   : 2012-06-29 15:45:39
[buffer @ 000000000031a880] w:1920 h:1088 pixfmt:yuvj420p tb:1/30000 sar:0/1 sws
_param:flags=2
[ffmpeg_buffersink @ 000000000031abc0] No opaque field provided
[format @ 000000000031ad00] auto-inserting filter 'auto-inserted scaler 0' betwe
en the filter 'Parsed_null_0' and the filter 'format'
[auto-inserted scaler 0 @ 000000000031b020] w:1920 h:1088 fmt:yuvj420p sar:0/1 -
> w:1920 h:1088 fmt:yuv410p sar:0/1 flags:0x4
Output #0, image2, to 'ncjun29s1-%05d.tif':
  Metadata:
    major_brand     : qt
    minor_version   : 537331968
    compatible_brands: qt  CAEP
    creation_time   : 2012-06-29 15:45:39
    encoder         : Lavf54.6.101
    Stream #0:0(eng): Video: tiff, yuv410p, 1920x1088, q=2-31, 200 kb/s, 90k tbn
, 5 tbc
    Metadata:
      creation_time   : 2012-06-29 15:45:39
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> tiff)
Press [q] to stop, [?] for help
frame=    8 fps=0.0 q=0.0 size=       0kB time=00:00:01.60 bitrate=   0.0kbits/s
frame=   14 fps= 14 q=0.0 size=       0kB time=00:00:02.80 bitrate=   0.0kbits/s
frame=   21 fps= 14 q=0.0 size=       0kB time=00:00:04.20 bitrate=   0.0kbits/s
frame=   29 fps= 14 q=0.0 size=       0kB time=00:00:05.80 bitrate=   0.0kbits/s
frame=   36 fps= 14 q=0.0 size=       0kB time=00:00:07.20 bitrate=   0.0kbits/s
frame=   42 fps= 14 q=0.0 size=       0kB time=00:00:08.40 bitrate=   0.0kbits/s
frame=   50 fps= 14 q=0.0 size=       0kB time=00:00:10.00 bitrate=   0.0kbits/s
frame=   56 fps= 14 q=0.0 size=       0kB time=00:00:11.20 bitrate=   0.0kbits/s
frame=   63 fps= 14 q=0.0 size=       0kB time=00:00:12.60 bitrate=   0.0kbits/s
frame=   68 fps= 13 q=0.0 size=       0kB time=00:00:13.60 bitrate=   0.0kbits/s
frame=   74 fps= 13 q=0.0 size=       0kB time=00:00:14.80 bitrate=   0.0kbits/s
frame=   79 fps= 13 q=0.0 size=       0kB time=00:00:15.80 bitrate=   0.0kbits/s
frame=   85 fps= 13 q=0.0 size=       0kB time=00:00:17.00 bitrate=   0.0kbits/s
frame=   89 fps= 12 q=0.0 size=       0kB time=00:00:17.80 bitrate=   0.0kbits/s
frame=   96 fps= 12 q=0.0 size=       0kB time=00:00:19.20 bitrate=   0.0kbits/s
frame=  103 fps= 13 q=0.0 size=       0kB time=00:00:20.60 bitrate=   0.0kbits/s
frame=  108 fps= 12 q=0.0 size=       0kB time=00:00:21.60 bitrate=   0.0kbits/s
frame=  112 fps= 12 q=0.0 size=       0kB time=00:00:22.40 bitrate=   0.0kbits/s
frame=  118 fps= 12 q=0.0 size=       0kB time=00:00:23.60 bitrate=   0.0kbits/s
frame=  124 fps= 12 q=0.0 size=       0kB time=00:00:24.80 bitrate=   0.0kbits/s
frame=  129 fps= 12 q=0.0 size=       0kB time=00:00:25.80 bitrate=   0.0kbits/s
frame=  136 fps= 12 q=0.0 size=       0kB time=00:00:27.20 bitrate=   0.0kbits/s
[snipped]
frame=  993 fps=7.8 q=0.0 size=       0kB time=00:03:18.60 bitrate=   0.0kbits/s
frame=  996 fps=7.8 q=0.0 size=       0kB time=00:03:19.20 bitrate=   0.0kbits/s
frame= 1000 fps=7.8 q=0.0 size=       0kB time=00:03:20.00 bitrate=   0.0kbits/s
frame= 1007 fps=7.8 q=0.0 size=       0kB time=00:03:21.40 bitrate=   0.0kbits/s
frame= 1012 fps=7.9 q=0.0 size=       0kB time=00:03:22.40 bitrate=   0.0kbits/s
frame= 1014 fps=7.8 q=0.0 size=       0kB time=00:03:22.80 bitrate=   0.0kbits/s
frame= 1021 fps=7.9 q=0.0 size=       0kB time=00:03:24.20 bitrate=   0.0kbits/s
frame= 1027 fps=7.9 q=0.0 size=       0kB time=00:03:25.40 bitrate=   0.0kbits/s
frame= 1030 fps=7.9 q=0.0 size=       0kB time=00:03:26.00 bitrate=   0.0kbits/s
frame= 1032 fps=7.9 q=0.0 Lsize=       0kB time=00:03:26.40 bitrate=   0.0kbits/s
dup=0 drop=5139
video:1471487kB audio:0kB global headers:0kB muxing overhead -100.000000%





________________________________
 From: Roger Pack <rogerdpack2 at gmail.com>
To: FFmpeg user questions and RTFMs <ffmpeg-user at ffmpeg.org> 
Sent: Thursday, July 5, 2012 12:07 PM
Subject: Re: [FFmpeg-user] video to image sequence conversion problem
 
On Mon, Jul 2, 2012 at 9:13 PM, BhelPuri <samosa_chaat at yahoo.com> wrote:

> I'm trying to convert a HD video (1920x1088 H264, 29.97fps) into an image
> sequence with downsampling (to 5 fps). I used the following:
> ffmpeg -i myMovie.mov -r 5 -f image2 foo-%05d.tif
>
> I later process the resulting tif image sequence to track an oscillatory
> motion. However I'm not sure if the downsampled image sequence is being
> done right as it seems to be progressively out of sync with the motion.
>
>
> I'm not sure how to interpret the output displayed in the format-
> frame=  xxx fps=yyy q=0.0 size= 0kB time=ttt bitrate= 0.0kbits/s
> where the number yyy varies throughout (0, 7.8 thru 14.0)
>
> Could someone explain why the frames are out of sync and how I should be
> correcting for that?
>


Full uncut console command line and output?
-r
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


More information about the ffmpeg-user mailing list