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

Andreas Öman andreas
Wed Mar 5 10:45:38 CET 2008


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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: streaminfo.diff
Type: text/x-patch
Size: 3824 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080305/193057a9/attachment.bin>



More information about the ffmpeg-devel mailing list