[FFmpeg-user] encode once, send to 2 locations?

Nicolas George nicolas.george at normalesup.org
Sat Oct 13 12:58:18 CEST 2012


Le primidi 21 vendémiaire, an CCXXI, Roger Pack a écrit :
> Similar to https://ffmpeg.org/trac/ffmpeg/ticket/1382, I'm wondering
> if it's possible to take an incoming stream, transcode it *once* to
> libx264, then basically send 1 copy to a server, and save 1 copy to a
> file.  Is this possible?

Not with ffmpeg alone at this time.

Implementing a "tee" muxer and/or protocol¹ would not be difficult. It would
be more a hack than proper design, but sometimes a hack today can help
waiting for the proper design in three years.

1: both can be of use in slightly different situations, although since
muxing is not usually an expensive operation, the muxer would probably cover
most cases.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20121013/53a68ae5/attachment.asc>


More information about the ffmpeg-user mailing list