[FFmpeg-devel] [PATCH] stream copy for subtitles

Aurelien Jacobs aurel
Wed Jul 25 21:48:09 CEST 2007


On Wed, 25 Jul 2007 20:13:33 +0200
Michael Niedermayer <michaelni at gmx.at> wrote:

> Hi
> 
> On Wed, Jul 25, 2007 at 05:53:32PM +0200, Aurelien Jacobs wrote:
> > Hi,
> > 
> > Attached patch mimics audio/video behavior with subtitle streams.
> > This allows to stream copy subtitles (tested with GSoC matroska muxer).
> > Ok to apply ?
> 
> ok if it works&doesnt break anything

AFAICT it doesn't break anything. The only difference is that if you try
to stream copy a mkv containing subtitles into, let's say, an avi, it
will fail because it don't know how to mux the subtitle. You simply
need to add the -sn option to disable subtitles.

Applied.

Aurel




More information about the ffmpeg-devel mailing list