[FFmpeg-user] Extracting frames from Apple ProRes File

s00b4u 4u s00b4u at gmail.com
Thu Aug 18 10:17:18 EEST 2016


Hi,

I am using below version of FFMPEG.

*FFMPEG Version:*

*ffmpeg version N-81301-gb2b659b Copyright (c) 2000-2016 the FFmpeg
developers*
*  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)*
*  configuration: --prefix=/home/user/ffmpeg_build
--pkg-config-flags=--static
--extra-cflags=-I/home/user/ffmpeg_build/include
--extra-ldflags=-L/home/user/ffmpeg_build/lib --bindir=/home/user/bin
--enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype
--enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis
--enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree*
*  libavutil      55. 28.100 / 55. 28.100*
*  libavcodec     57. 51.100 / 57. 51.100*
*  libavformat    57. 46.100 / 57. 46.100*
*  libavdevice    57.  0.102 / 57.  0.102*
*  libavfilter     6. 50.100 /  6. 50.100*
*  libswscale      4.  1.100 /  4.  1.100*
*  libswresample   2.  1.100 /  2.  1.100*
*  libpostproc    54.  0.100 / 54.  0.100*

I have an Apple ProRes File. When I FFProbe that file, I get below results.

*FFPROBE Output:*

*Duration: 00:00:06.00, start: 0.000000, bitrate: 125046 kb/s*
*    Stream #0:0(eng): Video: prores (apch / 0x68637061),
yuv422p10le(bt709), 1920x1080, 122112 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25
tbr, 25 tbn, 25 tbc (default)*
*    Metadata:*
*      creation_time   : 2016-08-17 15:42:13*
*      handler_name    : Apple Alias Data Handler*
*      encoder         : Apple ProRes 422 (HQ)*
*      timecode        : 00:00:00:00*
*    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz,
stereo, s16, 1536 kb/s (default)*
*    Metadata:*
*      creation_time   : 2016-08-17 15:42:13*
*      handler_name    : Apple Alias Data Handler*
*      timecode        : 00:00:00:00*

I want to see all the frames in this file.

As it can be seen in FFProbe output, the duration of this file is 06
Seconds and Frame rate is 25 FPS. So, I should get 150 Frames as a result.
I am using following command to extract the frames:
*ffmpeg -i filename.mov -r 1/1 $Frame%03d.bmp*

But when I run this command, I get only 8 frames as output. Each frame is
around 6 MB in size.

I want to understand how come I am not getting 150 frames? Is the command
incorrect?

Thanks.


More information about the ffmpeg-user mailing list