[FFmpeg-user] Generate .ts file parallel, resume option, offset HLS

Andrew Sinclair ajsinclair at gmail.com
Sun Aug 24 13:02:02 CEST 2014


Not sure I completely understand what you are trying but is it to encode in
paralell? Please explain further and provide full  commands and output

You can do this by creating multiple TS files but you will likely need to
join them back together before creating the m3u8, though may be possible to
generate before hand if you needed to get the stream out really fast.

Note if you have lot's of processors on a single box then ffmpeg should use
this if you have a proper build


On 21 August 2014 00:23, Diogo Serrano <diogopmserrano at gmail.com> wrote:

> I have a mp4 file or other file (non mp4 format) and i need generate ts
> files and m3u8 playlist.
>
> I am using this command and works fine:
>
> > ffmpeg -i foo.mp4 -codec copy -vbsf h264_mp4toannexb -map 0 -f segment
> -segment_list out.m3u8 -segment_time 10 out%03d.ts
>
> Now I need to generate many ts simultaneous so i need a "resume option".
>
> Please see the example below:
>
> One thread (first 20 seconds (0-20))
>
> > ffmpeg -i foo.mp4 -codec copy -vbsf h264_mp4toannexb ................
>
> Seconds thread (20 seconds to 40 seconds)
>
> > ffmpeg -i foo.mp4 ......
>
> Third thread (40 seconds to 60 seconds)
>
> > ffmpeg -i foo.mp4 ......
>
> I have lots of core processor to do this jobs.
>
> In resume i need generate .ts files and m3u8 fastest way possible
>
> I need help or advises to resolve my problem.
>
> Thanks for your help
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list