[FFmpeg-user] No audio with

Svoop svoop at delirium.ch
Mon Oct 10 16:32:35 CEST 2011


Hi

I'm writing a little script which splits movies into 5min segments (because 
my USB reading TV ridiculously features no rewind nor ff).

The following is executed with various ss-offsets, for example:

ffmpeg -i in.avi -acodec copy -vcodec copy -scodec copy -ss 0 
  -t 300 out1.avi
ffmpeg -i in.avi -acodec copy -vcodec copy -scodec copy -ss 300
  -t 300 out2.avi
ffmpeg -i in.avi -acodec copy -vcodec copy -scodec copy -ss 600
  -t 300 out3.avi
...

This works fine for the first segment with "-ss 0", but subsequent segments 
like the above play no audio.

(If I try playback on VLC by the way, the audio is crippled on all 5min 
segments.)

Here's what "ffmpeg  -i in.avi" shows:

Stream #0.0: Video: mpeg4 (Advanced Simple Profile), yuv420p, 624x352
[PAR 1:1 DAR 39:22], 23.98 tbr, 23.98 tbn, 23.98 tbc
Stream #0.1: Audio: mp3, 48000 Hz, stereo, s16, 127 kb/s

Any idea what's wrong here?
Thanks!



More information about the ffmpeg-user mailing list