[FFmpeg-user] -vcodec copy problems: Why does FFMPEG hate me?

Phil McCarty phil at tracktrack.it
Thu Nov 8 23:53:46 CET 2012


Oops, my apologies, won't do it again.

Here's a link to a smaller file (the other is 170megs), that is identical, and causes the same problems on my end.

http://philmccarty.com/Lettersraw.mov

Subversion Version

$ time ffmpeg -i Lettersraw.mov -vcodec copy -an out.mov
FFmpeg version SVN-r25150, Copyright (c) 2000-2010 the FFmpeg developers
  built on Sep 21 2010 03:00:18 with gcc 4.4.3
  configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab --enable-libmp3lame
  libavutil     50.27. 0 / 50.27. 0
  libavcore      0. 9. 0 /  0. 9. 0
  libavcodec    52.89. 0 / 52.89. 0
  libavformat   52.78. 5 / 52.78. 5
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter    1.39. 0 /  1.39. 0
  libswscale     0.11. 0 /  0.11. 0
  libpostproc   51. 2. 0 / 51. 2. 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x94db470] max_analyze_duration reached

Seems stream 0 codec frame rate differs from container frame rate: 5994.00 (5994/1) -> 23.98 (2997/125)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Lettersraw.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
  Duration: 00:00:24.08, start: 0.000000, bitrate: 1649 kb/s
    Stream #0.0(eng): Video: h264, yuv420p, 854x480, 1425 kb/s, 23.98 fps, 23.98 tbr, 2997 tbn, 5994 tbc
    Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16, 110 kb/s
    Stream #0.2(eng): Data: tmcd / 0x64636D74, 0 kb/s
    Stream #0.3(eng): Data: rtp  / 0x20707472, 9 kb/s
    Stream #0.4(eng): Data: rtp  / 0x20707472, 96 kb/s
Output #0, mov, to 'out.mov':
  Metadata:
    encoder         : Lavf52.78.5
    Stream #0.0(eng): Video: libx264, yuv420p, 854x480, q=2-31, 1425 kb/s, 2997 tbn, 2997 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=  577 fps=  0 q=-1.0 Lsize=    4196kB time=23.98 bitrate=1433.4kbits/s    
video:4187kB audio:0kB global headers:0kB muxing overhead 0.233747%

real	0m0.065s
user	0m0.020s
sys	0m0.040s
------


GIT Version

time ffmpeg -i Lettersraw.mov -vcodec copy -an out.mov
ffmpeg version git-2012-06-30-3233ad4 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jun 30 2012 16:40:42 with gcc 4.6.1
  configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-lib
theora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab
  libavutil      51. 63.100 / 51. 63.100
  libavcodec     54. 31.100 / 54. 31.100
  libavformat    54. 14.100 / 54. 14.100
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     3.  0.100 /  3.  0.100
  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 'Lettersraw.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2012-08-14 19:00:11
    timecode        : 01:04:55:10
  Duration: 00:00:24.06, start: 0.000000, bitrate: 1651 kb/s
    Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 854x480, 1425 kb/s, 23.98 fps, 23.98 tbr, 2997 tbn, 5994 tbc
    Metadata:
      creation_time   : 2012-08-14 19:00:11
      handler_name    : Apple Video Media Handler
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 110 kb/s
    Metadata:
      creation_time   : 2012-08-14 19:00:11
      handler_name    : Apple Sound Media Handler
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
    Metadata:
      creation_time   : 2012-08-14 19:00:11
      handler_name    : Time Code Media Handler
      timecode        : 01:04:55:10
    Stream #0:3(eng): Data: none (rtp  / 0x20707472)
    Metadata:
      creation_time   : 2012-08-14 19:00:11
      handler_name    : hint media handler
    Stream #0:4(eng): Data: none (rtp  / 0x20707472)
    Metadata:
      creation_time   : 2012-08-14 19:00:11
      handler_name    : hint media handler
[mov @ 0x2c438e0] Timecode frame rate not supported
Output #0, mov, to 'out.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    timecode        : 01:04:55:10
    encoder         : Lavf54.14.100
    Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 854x480, q=2-31, 1425 kb/s, 23.98 fps, 2997 tbn, 2997 tbc
    Metadata:
      creation_time   : 2012-08-14 19:00:11
      handler_name    : Apple Video Media Handler
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Could not write header for output file #0 (incorrect codec parameters ?): Operation not permitted

real    0m0.045s
user    0m0.020s
sys     0m0.010s



> (Given that this file is very, very 
> different from the one you used in 
> your original post, it may have been 
> better to "deluge" me.)
> 
> 
> PS: Never try to compress compressed files, that 
> does not help with downloading time, but requires an 
> additional step before testing is possible.
> 



More information about the ffmpeg-user mailing list