[Ffmpeg-devel] corrupt audio when cut

Michael Niedermayer michaelni
Sat Jan 13 11:32:12 CET 2007


On Fri, Jan 12, 2007 at 02:37:31PM -0500, Cyrus A wrote:
> Sometimes (say 5% of the time) when I use ffmepg -ss X -t Y to cut a 
> smaller file out of a bigger file (in this case MPEG-4 avi with mp3), 
> the audio will go corrupt. It's not the file because I can substitute 
> different X and Y values in and it'll work fine (although still a 5-10% 
> chance of corruption). Furthemore, if X and Y stay the same, the 
> behavior is always the same, either corrupt or not corrupt.
> The orginial file is created with
> ffmpeg -v 0 -i /dev/video0 -async 1 -y -vcodec mpeg4 -acodec mp3 -t 3580 
> -b 1750k -ab 192 -ar 44100 -s 480x384 -vtag DX50 'file.avi'
> The cut process is:
> ffmpeg -ss 60.0 -t 180.0 -y -vcodec copy -acodec copy -i file.avi 
> cutfile.avi
> [cyrus at wkyt crontabs]$ /roosevelt/ffmpeg/ffmpeg -version
> FFmpeg version SVN-r6849, Copyright (c) 2000-2006 Fabrice Bellard, et al.

not latest svn

> Thanks in advance for any help. To hear the corruption for yourself, 
> http://wkyt.dynalias.com/test.flv

useless, we of course need a source (avi) file and corresponding commandline
which shows the corruption

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Freedom in capitalist society always remains about the same as it was in
ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070113/45f29fd9/attachment.pgp>

More information about the ffmpeg-devel mailing list