rotbrasil.blogg.se

Ffmpeg cut video sync audio
Ffmpeg cut video sync audio





ffmpeg cut video sync audio

enable-libtheora -enable-libdirac -enable-libschroedinger -enable-libfaac

ffmpeg cut video sync audio

enable-avfilter -enable-avfilter-lavf -enable-libmp3lame -enable-libvorbis Output #0, mpegts, to '/Volumes/Imac/ST/sync-test/extrait-Sfile-A.ts':ĭts > 20.4 ms (milliseconds)įFmpeg version SVN-r19824, Copyright (c) 2000-2009 Fabrice Bellard, et al.Ĭonfiguration: -prefix=/opt/local -enable-nonfree -enable-gpl -enable-postproc mandir=/opt/local/share/man -enable-shared -enable-pthreads -cc=/usr/bin/gcc-4.2 enable-libfaac -enable-libfaad -enable-libxvid -enable-libx264 -enable-nonfree enable-libvorbis -enable-libtheora -enable-libdirac -enable-libschroedinger enable-swscale -enable-avfilter -enable-avfilter-lavf -enable-libmp3lame Sync analysis with mplayer : > 7.4 ms (milliseconds)Ĭommand used : mplayer -ss 300 -endpos 30 -geometry 256x144 $output 1>$recĬonfiguration: -prefix=/opt/local -disable-vhook -enable-gpl -enable-postproc Output #0, mp4, to '/Volumes/Imac/ST/sync-test/extrait-Sfile-A.mp4': Seems stream 1 codec frame rate differs from container frame rate: 50.00 (50/1) -> 25.00 (50/2) enable-libx264 -enable-nonfree -mandir=/opt/local/share/man -enable-shared enable-libschroedinger -enable-libfaac -enable-libfaad -enable-libxvid enable-libmp3lame -enable-libvorbis -enable-libtheora -enable-libdirac enable-postproc -enable-swscale -enable-avfilter -enable-avfilter-lavf Here are some tests and results of cutting ts produced with ffmpeg has very huge overhead and doesn't play in vlc whatever the version ? Question 2 : have anyone experienced this issue : file. Question 1 : is there any hope to see vlc commands -start-time/ -stop-time doing the right job on macosx ?

ffmpeg cut video sync audio

ts sync algorithm is very robust as i saw no case of sync loss. an enormous overhead: about 42% with ffmpeg O.51, 32% with ffmpeg 0.50, 36% (all compiled with macports)Ĭonclusion 1. not playable with vlc up to vlc1.1 (playable only with mplayer and movist ) files stay in sync with vlc, but play in a strange manner, the same frames already displayed appear a few time after (i think to stay in sync).ģ- (ts) files are in perfect sync in all cases, but with a huge inconvenient :

Ffmpeg cut video sync audio mp4#

Unfortunately, this operation has some bad side-effects:ġ-(avi, mov, mp4 ):in 90% cases, loss of A-V sync up to 2-3 seconds desynchronisation.Ģ- ( mkv ) sound are not playable with mplayer nor movist. Code: Select all ffmpeg -async -y -i input.ts -ss -t -vcodec copy -acodec copy -copyts output.exĮx=container abbreviation : avi, mov, mp4, mkv or ts.







Ffmpeg cut video sync audio