Log in

View Full Version : ffmpeg + segment to split an avi?


Selur
27th September 2012, 11:31
after reading the documentation I thought:
ffmpeg -y -i "test.avi" -segment_time 60 -vcodec copy -acodec copy -f segment "test-%03d.avi"
should allow to split an .avi into 60 Second chunks, but ffmpeg aborts with: "Output file #0 does not contain any stream"

I know I could write a script to to the splitting manually (using -ss X -t 60), but I thought that using the 'segment' feature this could be avoided,... (especially after reading: http://ffmpeg.org/trac/ffmpeg/ticket/1504)

-> Is it possible to split an avi, without reencoding, into multiple parts using the 'segment' feature?

Cu Selur