Log in

View Full Version : Anyone know a way to batch spit an AVI into timed sections?


Jynks
9th October 2012, 11:01
Hi there...

Sorry if this is the wrong place to post but i do not know where else to post it.

The Short Story
Anyone know any application or batch file or somthing that can take in a avi or mp4 or w.e and split it into 15 min chunks with out re-encoding?

The LONG Story

I am a serial youtuber and one of my channels is videogamediary and I record long plays of the video games I play. Now recently I have switched from fraps to DXtroy and it uses a strange format that I can not import into avidemux. Though when using avisynth plugin you can....

The problem is that the batch system in avidemux doesn't work with the avisynth plugin... so I can only encode the entire session into 1 single long gameplay video.

What I am looking for is a way to encode it and then run a simple batch file or something that will cut this video into 15min chunks.

Record the game, encode, run batch.. upload 15 min parts to my channel...

Thanks in advance!

smok3
9th October 2012, 12:20
a script around;

ffmpeg -i myfatfile.ext -ss "$startsecond" -t "$duration" -acodec copy -vcodec copy mysmallfile001.ext

sneaker_ger
9th October 2012, 17:57
or mkvmerge:
mkvmerge --split 900s -o output.mkv input.avi

Jynks
10th October 2012, 02:03
thanks guys