[FFmpeg-devel] [PATCH] ffmpeg: print the codecs names in the stream mapping

Michael Niedermayer michaelni at gmx.at
Sun Aug 21 17:13:38 CEST 2011


On Sat, Aug 20, 2011 at 12:46:14PM +0200, Nicolas George wrote:
> Hi.
> 
> The attached patch changes the output of ffmpeg from:
> 
> Stream mapping:
>   Stream #0.0 -> #0.0
>   Stream #0.1 -> #0.1
>   Stream #0.6 -> #0.2
> 
> to:
> 
> Stream mapping:
>   Stream #0.0 -> #0.0: mpeg2video -> mpeg4
>   Stream #0.1 -> #0.1: ac3 -> mp2
>   Stream #0.6 -> #0.2: copy
> 
> This is especially useful when there are several encoders for the same
> format, as the format dump does not print the exact encoder used.
> 
> Regards,
> 
> -- 
>   Nicolas George

>  ffmpeg.c |    7 +++++++
>  1 file changed, 7 insertions(+)
> 210739b207fba3d1538b96a7964c2ec946c1f52c  0001-ffmpeg-print-the-codecs-names-in-the-stream-mapping.patch
> From 22d6549ad891202f1666ebe9572eff096e96aff2 Mon Sep 17 00:00:00 2001
> From: Nicolas George <nicolas.george at normalesup.org>
> Date: Sat, 20 Aug 2011 12:40:26 +0200
> Subject: [PATCH] ffmpeg: print the codecs names in the stream mapping.

LGTM and good idea

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- 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-devel/attachments/20110821/91180ac0/attachment.asc>


More information about the ffmpeg-devel mailing list