[FFmpeg-user] how to display metadata?
Etienne Buira
etienne.buira.lists at free.fr
Mon Mar 28 16:02:58 CEST 2011
On Sun, Mar 27, 2011 at 02:32:19PM -0400, sean darcy wrote:
> >>>> ffmpeg -i "Track 1.wav" -metadata track=1 -metadata title="Test Track"
> >>>> -acodec aac -ab 128000 -strict experimental Track_1.aac
> >>>> ...............
> >>>> Input #0, wav, from 'Track 1.wav':
> >>>> Duration: 00:02:01.88, bitrate: 1411 kb/s
> >>>> Stream #0.0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
> >>>> Output #0, adts, to 'Track_1.aac':
> >>>> Metadata:
> >>>> title : Test Track
> >>>> track : 1
> >>>> encoder : Lavf52.73.0
> >>>> Stream #0.0: Audio: aac, 44100 Hz, 2 channels, s16, 128 kb/s
> >>>> .......
> >>
> >> MP3 definitely supports metadata in the form of ID3 Tags.
> >> When I looked at the ADTS container format I didn't see a way to add
> >> metadata: http://wiki.multimedia.cx/index.php?title=ADTS
> >> Unless it can be prepended to the AAC samples itself?
> >>
> >> To verify if the metadata is being injected in the AAC stream you can use a
> >> hex editor and search for your string.
> >>
> >> --
> >> pushkar
> >>
> >> You can probably even use grep (or findstr in windows) to verify the
> > metadata is inserted in the stream
> >
> >
>
> For anyone else looking create metadata for an .aac (aka m4a and m4b)
> stream, I did it using neroAacTag which is free, but not open source, on
> the Nero web site.
>
> sean
Hi.
You can probably add metadata with ffmpeg on the encode stage using m4a
file extension (which will use the probably not so well named 'ipod'
container). Using aac extension formats to adts, which looks like not
supporting metadata.
More information about the ffmpeg-user
mailing list