[Libav-user] Does ffmpeg supports multiple output files?

mahesh p mahesh.p417 at gmail.com
Tue Nov 29 13:34:14 EET 2016


oh ok, Thanks all.

On Tue, Nov 29, 2016 at 4:38 PM, Carl Eugen Hoyos <ceffmpeg at gmail.com>
wrote:

> 2016-11-29 11:44 GMT+01:00 mahesh p <mahesh.p417 at gmail.com>:
>
> >      encoder itself produces different video output files.
> > for ex: bitstream_1.out, bitstream_2.out, bitstream_3.out
>
> No encoder supported by FFmpeg can produce more than
> one video stream.
>
> > ffmpeg -i input -filter_complex \
> > "[0:v]split=2[s0][s1]; \
> >  [s0]scale=1280:-2[v0]; \
> >  [s1]scale=640:-2[v1]" \
> > -map "[v0]" -map "[v1]" -map 0:a -c:v libx264 -c:a aac -f tee \
> > "[select=\'v:0,a\']local0.mkv| \
> >  [select=\'v:0,a\':f=flv]rtmp://server0/app/instance/playpath| \
> >  [select=\'v:1,a\']local1.mkv| \
> >  [select=\'v:1,a\':f=flv]rtmp://server1/app/instance/playpath"
> >
> >
> > but In above ffmpeg example two x264 encoder instances will
> > run in parallel right?
>
> Yes, this is because one x264 encoder instance can output exactly
> one video stream (but your command line requires two different
> video streams).
>
> Do not top-post here, Carl Eugen
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20161129/4ff401c7/attachment.html>


More information about the Libav-user mailing list