[FFmpeg-devel] [RFC] lavf/tee per-output stream selection

Stefano Sabatini stefasab at gmail.com
Sat Aug 3 12:22:35 CEST 2013


On date Wednesday 2013-07-31 18:12:41 +0200, Stefano Sabatini encoded:
> On date Wednesday 2013-07-17 21:30:11 +0200, Stefano Sabatini encoded:
> > Hi,
> > 
> > I need to be be able to send different streams to different tee
> > outputs- In other words I need to select which streams should be
> > routed to each tee output, while right now it is possible to specify
> > the streams just once, and they will be the same for every output.
> > gi
> > This allows to create outputs with different streams, while avoiding
> > duplicated encoding and the need to run different processes
> > communicating through pipes.
> > 
> > A possible design would involve a syntax like this:
> > ffmpeg -i INPUT -c:v libx264 -c:a libvo-aacenc -tee_select "v|a" -f tee "out-v.ts|out-a.ts|out-av.ts"
> 
> Elaborating more on this, the syntax could be:
> -f tee "[select=v]out-v.ts|[select=a]out-a.ts|out.ts"
> 
> There is the usual namespace problem. I'll try to provide an
> implementation soon.

In attachment.
-- 
FFmpeg = Funny and Fascinating Marvellous Prodigious Emblematic Game
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-lavf-tee-add-special-select-option.patch
Type: text/x-diff
Size: 4781 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130803/b8697c6e/attachment.bin>


More information about the ffmpeg-devel mailing list