New submission from Kevin Vance <[email protected]>:

I am trying to generate MPEG-4 video that is compatible with the latest 
QuickTime player.  When I use a low frame rate, the output is playable 
on MPlayer but green and artifacty on QuickTime.  With the same input 
but a higher frame rate, QuickTime can play it.  The cutoff seems to be 
17 fps; anything lower than that is unplayable.


8 FPS video generation:

ffmpeg -v 9 -loglevel 99 -f image2 -r 8 -i '%08d.png' -vb 800k -f mp4 -
vcodec mpeg4 'low_fps_mpeg4.mp4'

FFmpeg version SVN-r25859, Copyright (c) 2000-2010 the FFmpeg developers
  built on Dec  1 2010 10:40:50 with gcc 4.4.5
  configuration: --prefix=/home/kvance/ffmpeg
  libavutil     50.33. 0 / 50.33. 0
  libavcore      0.14. 0 /  0.14. 0
  libavcodec    52.97. 2 / 52.97. 2
  libavformat   52.87. 1 / 52.87. 1
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter    1.66. 0 /  1.66. 0
  libswscale     0.12. 0 /  0.12. 0
[image2 @ 0x193b510] Probe buffer size limit 5000000 reached
Input #0, image2, from '%08d.png':
  Duration: 00:00:57.62, start: 0.000000, bitrate: N/A
    Stream #0.0, 41, 1/8: Video: png, rgb24, 480x320, 1/8, 8 fps, 8 tbr, 
8 tbn, 8 tbc
[buffer @ 0x1947ec0] w:480 h:320 pixfmt:rgb24
[ffsink @ 0x1948130] auto-inserting filter 'auto-inserted scaler 0' 
between the filter 'src' and the filter 'out'
[scale @ 0x1948450] w:480 h:320 fmt:rgb24 -> w:480 h:320 fmt:yuv420p 
flags:0xa0000004
Output #0, mp4, to 'low_fps_mpeg4.mp4':
  Metadata:
    encoder         : Lavf52.87.1
    Stream #0.0, 0, 1/8: Video: mpeg4, yuv420p, 480x320, 1/8, q=2-31, 
800 kb/s, 8 tbn, 8 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=  461 fps=129 q=2.0 Lsize=    3372kB time=57.62 bitrate= 
479.4kbits/s    
video:3368kB audio:0kB global headers:0kB muxing overhead 0.133390%


24 FPS video generation:

ffmpeg -v 9 -loglevel 99 -f image2 -r 24 -i '%08d.png' -vb 800k -f mp4 -
vcodec mpeg4 'high_fps_mpeg4.mp4'

FFmpeg version SVN-r25859, Copyright (c) 2000-2010 the FFmpeg developers
  built on Dec  1 2010 10:40:50 with gcc 4.4.5
  configuration: --prefix=/home/kvance/ffmpeg
  libavutil     50.33. 0 / 50.33. 0
  libavcore      0.14. 0 /  0.14. 0
  libavcodec    52.97. 2 / 52.97. 2
  libavformat   52.87. 1 / 52.87. 1
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter    1.66. 0 /  1.66. 0
  libswscale     0.12. 0 /  0.12. 0
[image2 @ 0x26ff510] Probe buffer size limit 5000000 reached
Input #0, image2, from '%08d.png':
  Duration: 00:00:19.20, start: 0.000000, bitrate: N/A
    Stream #0.0, 41, 1/24: Video: png, rgb24, 480x320, 1/24, 24 fps, 24 
tbr, 24 tbn, 24 tbc
[buffer @ 0x270bec0] w:480 h:320 pixfmt:rgb24
[ffsink @ 0x270c130] auto-inserting filter 'auto-inserted scaler 0' 
between the filter 'src' and the filter 'out'
[scale @ 0x270c450] w:480 h:320 fmt:rgb24 -> w:480 h:320 fmt:yuv420p 
flags:0xa0000004
Output #0, mp4, to 'high_fps_mpeg4.mp4':
  Metadata:
    encoder         : Lavf52.87.1
    Stream #0.0, 0, 1/24: Video: mpeg4, yuv420p, 480x320, 1/24, q=2-31, 
800 kb/s, 24 tbn, 24 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=  461 fps=132 q=2.6 Lsize=    2134kB time=19.21 bitrate= 
910.0kbits/s    
video:2129kB audio:0kB global headers:0kB muxing overhead 0.210967%

----------
messages: 12746
priority: normal
status: new
substatus: new
title: Low framerate MPEG-4 video unplayable on QuickTime
type: bug

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2397>
________________________________________________

Reply via email to