Hello,
OS: WinXP French
Input video: HD Ready directly from camera
Objectif: crop and convert
FFmeg command is:
Now, when I play the output video with KMplayer(3.2.0.19), VLC(2.0.1) or SMPlayer(0.8.0), for all players, the video finishes before the end of the sound. I notice that the duration time displayed is incorrect (2min 14 instead of 54sec).ffmpeg -i "2012-03 03Praha.mp4" -async 1 -vf crop=696:600:390:112 -acodec copy -vcodec mpeg4 -q 20 outCropMpeg4.avi
If I convert the audio to mp3, then it synchronises but KMplayer finishes with an error "Membre introuvable". This also appends if I choose mp4 as container.
ffmpeg -i "2012-03 03Praha.mp4" -async 1 -vf crop=696:600:390:112 -acodec libmp3lame -vcodec mpeg4 -q 20 outCropMpeg4.avi
I further tested, even without cropping, the sound and video are not synchronised.
Also, if i choose libx264 or libxvid output codecs.
Input video:
C:\Documents and Settings\Angel\Mes documents\Downloads>ffmpeg -i "2012-03 03Praha.mp4"
ffmpeg version N-41027-ge02e58f Copyright (c) 2000-2012 the FFmpeg developers
built on May 25 2012 13:06:09 with gcc 4.6.3
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-
bzlib --enable-frei0r --enable-libass --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfr
eetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --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 51. 54.100 / 51. 54.100
libavcodec 54. 23.100 / 54. 23.100
libavformat 54. 6.100 / 54. 6.100
libavdevice 54. 0.100 / 54. 0.100
libavfilter 2. 77.100 / 2. 77.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 '2012-03 03Praha.mp4':
Metadata:
major_brand : MSNV
minor_version : 19595353
compatible_brands: MSNVmp42isom
creation_time : 2012-03-29 21:13:18
Duration: 00:00:49.04, start: 0.000000, bitrate: 8933 kb/s
Stream #0:0(und): Video: mpeg4 (Advanced Coding Profile) (mp4v / 0x7634706D), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 886
6 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 30k tbc
Metadata:
creation_time : 2012-03-29 21:13:18
handler_name : Video Media Handler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 24000 Hz, mono, s16, 64 kb/s
Metadata:
creation_time : 2012-03-29 21:13:18
handler_name : Sound Media Handler
At least one output file must be specified
C:\Documents and Settings\Angel\Mes documents\Downloads>
+ Reply to Thread
Results 1 to 2 of 2
-
Last edited by feelart; 6th Jun 2012 at 09:26.
Similar Threads
-
ffmpeg: is it possible to crop while cropping rect tracks a fixed point?
By feelart in forum EditingReplies: 5Last Post: 18th May 2012, 04:09 -
FFMPEG adding audio to mpg video => QT bug
By Tom2me in forum MacReplies: 3Last Post: 6th Aug 2011, 05:27 -
FFMPeg CLI : How to crop and pad?
By Bonie81 in forum Newbie / General discussionsReplies: 6Last Post: 26th Jun 2011, 07:31 -
BUG: x264 crashes, when I want to encode & crop a Video :-(
By stuepfnick in forum ffmpegX general discussionReplies: 1Last Post: 28th Feb 2008, 18:53 -
ffmpeg: HowTo add option for a 'delay -x' in the param string ?
By vhelp in forum AudioReplies: 1Last Post: 17th Feb 2008, 12:52