<p><br>
On Aug 14, 2013 7:14 AM, "Paul B Mahol" <<a href="mailto:onemda@gmail.com">onemda@gmail.com</a>> wrote:<br>
><br>
> On 8/11/13, Yousef Alhashemi <<a href="mailto:yousef.alhashemi@gmail.com">yousef.alhashemi@gmail.com</a>> wrote:<br>
> > Hi,<br>
> ><br>
> > I asked a question on the ffmpeg support forum (<a href="http://ffmpeg.gusari.org">ffmpeg.gusari.org</a>) and<br>
> > someone pointed me to this list, so I'm repeating my question here:<br>
> ><br>
> > I would like to use ffmpeg libraries to split a video into equal-sized<br>
> > chunks of smaller files. For example, let's say I have a 100MB video that<br>
> > I'd like to split into 10 10MB videos using the same audio/video codec and<br>
> > container format. On the command-line, it would be something like this<br>
> > (assuming 10MB of data = 10 seconds of video): ffmpeg -i input.file -ss<br>
> > "00:00:00" -t "00:00:10" -vcodec copy -acodec copy output.file (and repeat<br>
> > the same for the remaining 9 chunks)<br>
> ><br>
> > My question is, what are the actual ffmpeg library calls that do the<br>
> > equivalent of this command? I can dig in the code and find out myself but<br>
> > that would take me a lot of time because I'm not familiar with the (large)<br>
> > code base of ffmpeg. I would appreciate any help from ffmpeg developers; I<br>
> > imagine this is easy to answer.<br>
><br>
> It is far from easy answer, you are actually asking someone to write<br>
> code for you.<br>
> _______________________________________________<br>
> Libav-user mailing list<br>
> <a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
> <a href="http://ffmpeg.org/mailman/listinfo/libav-user">http://ffmpeg.org/mailman/listinfo/libav-user</a><br><br></p>
<p>You may want to see the hls code, search for file hls</p>