[FFmpeg-devel] [PATCH] consistent display of metadata for ffmpeg/ffplay

Peter Ross pross
Sat Aug 8 19:06:31 CEST 2009


Hi, 

This patch moves the display of metadata to dump_format().
Some sample output:

Input #0, flv, from '/raid/share/mp3/video/The Mavis's - Cry.flv':
  Duration: 00:04:05.40, start: 0.000000, bitrate: 336 kb/s
    Stream #0.0: Video: flv, yuv420p, 320x240, 336 kb/s, 15 tbr, 1k tbn, 1k tbc
    Stream #0.1: Audio: mp3, 22050 Hz, 1 channels, s16
  Metadata
    duration: 245
    videodatarate: 328
    lastkeyframetimestamp: 232
    lastkeyframelocation: 9416138
    creator: YouTube, Inc.
    metadatacreator: YouTube Metadata Injector.
    haskeyframes: true
    hasmetadata: true
Output #0, mp3, to 'example.mp3':
    Stream #0.0: Audio: 0x0000, 22050 Hz, 1 channels, s16
  Metadata
    author: The Mavis's
    title: Cry
Stream mapping:
  Stream #0.1 -> #0.0
Press [q] to stop encoding

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dispmetadata.diff
Type: text/x-diff
Size: 1393 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090809/3707d317/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090809/3707d317/attachment.pgp>



More information about the ffmpeg-devel mailing list