[FFmpeg-user] Audio out of sync
Cecil Westerhof
Cecil at decebal.nl
Sat Dec 15 15:38:36 CET 2012
I just bought a Canon SX240 HS. I made a short video for testing
purposes. When looking at the input file with:
ffmpeg -i MVI_0019.MOV
I get:
ffmpeg version 0.9.1, Copyright (c) 2000-2012 the FFmpeg developers
built on Jan 6 2012 11:01:08 with gcc 4.6.2
configuration: --shlibdir=/usr/lib --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib --enable-shared --disable-static --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libxvid --enable-postproc --enable-gpl --enable-x11grab --extra-cflags='-fomit-frame-pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gsm' --enable-debug --disable-stripping --enable-libgsm --enable-libschroedinger --enable-libdirac --enable-avfilter --enable-libvpx --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libdc1394 --enable-pthreads --enable-librtmp
libavutil 51. 32. 0 / 51. 32. 0
libavcodec 53. 42. 4 / 53. 42. 4
libavformat 53. 24. 2 / 53. 24. 2
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 53. 0 / 2. 53. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
Seems stream 0 codec frame rate differs from container frame rate: 60000.00 (60000/1) -> 29.97 (30000/1001)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'MVI_0019.MOV':
Metadata:
major_brand : qt
minor_version : 537331968
compatible_brands: qt CAEP
creation_time : 2012-12-15 14:16:51
Duration: 00:01:11.80, start: 0.000000, bitrate: 25145 kb/s
Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuvj420p, 1280x720, 23599 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 60k tbc
Metadata:
creation_time : 2012-12-15 14:16:51
handler_name :
Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s
Metadata:
creation_time : 2012-12-15 14:16:51
handler_name :
At least one output file must be specified
Why do I get the frame rate differs message?
I need to cut the start and the end from the video. That is not a
problem. I was just wondering: should I do just a copy, or convert it
to another format? I now have a warning, so something is not quite
right. I also want to make sure it will play on as much
systems/players as possible. (For example Kaffeine default does not
play h264.) And if I can make the file smaller, without degrading the
quality to much, then that would not hurt also.
So when I cut the video to the needed part, which (if any) conversion
should I do. (I properly should at least go from stereo to mono I
think, because it is just speaking what is recorded.)
--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
More information about the ffmpeg-user
mailing list