[FFmpeg-user] Copying h264 Quicktimes makes insane timecode
Bob Maple
bobm-ffmpeg at burner.com
Wed Oct 31 20:14:35 CET 2012
Just doing some tests on some problematic Canon DSLR files to re-wrap
them and am noticing that when I do:
ffmpeg -i Source.mov -codec:v copy -codec:a copy NewFile.mov
that the timecode on the resulting NewFile.mov is completely crazy;
Stepping through the file just in Quicktime Player each frame will jump
20+ seconds, and I get impossible frame numbers for the framerate of the
movie, like :45 on a 29.97 movie.
Output below - the code shown is the correct of the original, but the
result goes from 00:22:32;23 all the way up to 02:28:25;47 (it's only a
~12 second clip!)
-------------- next part --------------
PS W:\ffmpeg-20121029-git-11d695d-win64-static\bin> .\ffmpeg -i 'D:\Avid AMA Files\001-012 Nana Sherry\F75C0925.MOV' -codec:v copy -codec:a copy D:\925Rewrite.mov
ffmpeg version N-46146-g11d695d Copyright (c) 2000-2012 the FFmpeg developers
built on Oct 29 2012 18:10:27 with gcc 4.7.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-pthreads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 52. 1.100 / 52. 1.100
libavcodec 54. 69.100 / 54. 69.100
libavformat 54. 35.100 / 54. 35.100
libavdevice 54. 3.100 / 54. 3.100
libavfilter 3. 20.109 / 3. 20.109
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 16.100 / 0. 16.100
libpostproc 52. 1.100 / 52. 1.100
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\Avid AMA Files\001-012 Nana Sherry\F75C0925.MOV':
Metadata:
major_brand : qt
minor_version : 537331968
compatible_brands: qt CAEP
creation_time : 2012-07-16 10:40:04
Duration: 00:00:12.07, start: 0.000000, bitrate: 88872 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p, 1920x1080 [SAR 1:1 DAR 16:9], 87269 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 60k tbc
Metadata:
creation_time : 2012-07-16 10:40:04
timecode : 00:36:04;25
Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s
Metadata:
creation_time : 2012-07-16 10:40:04
timecode : 00:36:04;25
Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
Metadata:
creation_time : 2012-07-16 10:40:04
timecode : 00:36:04;25
File 'D:\925Rewrite.mov' already exists. Overwrite ? [y/N] y
Output #0, mov, to 'D:\925Rewrite.mov':
Metadata:
major_brand : qt
minor_version : 537331968
compatible_brands: qt CAEP
encoder : Lavf54.35.100
Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuvj420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 87269 kb/s, 29.97 fps, 30k tbn, 30k tbc
Metadata:
creation_time : 2012-07-16 10:40:04
timecode : 00:36:04;25
Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, 1536 kb/s
Metadata:
creation_time : 2012-07-16 10:40:04
timecode : 00:36:04;25
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 362 fps=0.0 q=-1.0 Lsize= 130949kB time=00:00:12.07 bitrate=88811.8kbits/s
video:128674kB audio:2265kB subtitle:0 global headers:0kB muxing overhead 0.007439%
More information about the ffmpeg-user
mailing list