[FFmpeg-devel] [RFC] info about stream details

Michael Niedermayer michaelni
Wed Mar 5 13:01:12 CET 2008


On Wed, Mar 05, 2008 at 10:45:38AM +0100, Andreas ?man wrote:
> Hi
>
> I've hacked a tentative patch that let the codecs adds more details
> (in clear text form) to avctx.
>
> In order for the text to be around when dump_stream() is called
> I need to copy the text to AVStream (since the codecs are
> opepened and closed duringfind_stream_info()). Another option
> might be to have a char array in avctx and strcpy into it.
>
> A OTOH mediaplayer/GUI would probably read/display the info
> directly from avctx during playback.
>
> Example output:
>
> $ ./ffmpeg_g -i h264-conformance/CABA1_SVA_B.264
> FFmpeg version SVN-r12326, Copyright (c) 2000-2008 Fabrice Bellard, et al.
>   configuration:
>   libavutil version: 49.6.0
>   libavcodec version: 51.50.1
>   libavformat version: 52.7.0
>   libavdevice version: 52.0.0
>   built on Mar  5 2008 10:30:18, gcc: 4.1.3 20070929 (prerelease) (Ubuntu 
> 4.1.2-16ubuntu2)
> Input #0, h264, from 'h264-conformance/CABA1_SVA_B.264':
>   Duration: N/A, bitrate: N/A
>     Stream #0.0: Video: h264, yuv420p, 176x144 [PAR 0:1 DAR 0:1], Level 
> 2.1, CABAC, 25.00 tb(r)
> Must supply at least one output file
>
> Opinions?

A callback in AVCodec seems to make more sense and is more flexible.

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you really think that XML is the answer, then you definitly missunderstood
the question -- Attila Kinali
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080305/14370e17/attachment.pgp>



More information about the ffmpeg-devel mailing list