<div dir="ltr"><div><div>Hi,<br><br></div>I asked a question on the ffmpeg support forum (<a href="http://ffmpeg.gusari.org">ffmpeg.gusari.org</a>) and someone pointed me to this list, so I'm repeating my question here:<br>
<br></div><div>I would like to use ffmpeg libraries to split a video into equal-sized
chunks of smaller files. For example, let's say I have a 100MB video
that I'd like to split into 10 10MB videos using the same audio/video
codec and container format. On the command-line, it would be something
like this (assuming 10MB of data = 10 seconds of video): ffmpeg -i
input.file -ss "00:00:00" -t "00:00:10" -vcodec copy -acodec copy
output.file (and repeat the same for the remaining 9 chunks)<br><br>My
question is, what are the actual ffmpeg library calls that do the
equivalent of this command? I can dig in the code and find out myself
but that would take me a lot of time because I'm not familiar with the
(large) code base of ffmpeg. I would appreciate any help from ffmpeg
developers; I imagine this is easy to answer.<br><br></div><div>Thanks,<br>Yousef<br><br></div></div>