[FFmpeg-user] Metadata muxer/demuxer documentation?

Lucien Pullen drurowin at gmail.com
Sat Jun 18 19:28:23 CEST 2011


Also sprach Tristan Trutna at 4/14/11 3:29 PM:
> Reinserting ffmetadata:
> 
> $ ffmpeg -i INPUT -i INPUT_FFMETADATAFILE -map_metadata 0:1 OUTPUT
> i.e.
> $ ffmpeg -i test.mp3 -i metadata.txt -map_metadata 0:1 -acodec libfaac test.m4a

When I try doing this I get an abort trap (after correcting for the
metadata mapping syntax change). Am I doing anything wrong, or does
metadata input not work?

$ ffmpeg -i 1\ musique\ des\ machines\ 1.flac -i 1.ffmetadata -map_meta_data 0:1 Musique.flac
ffmpeg version git-N-30509-g49125ae, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jun  3 2011 15:47:56 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
  configuration: --extra-cflags='-D_THREAD_SAFE -I/opt/local/include/SDL ' --extra-ldflags='-L/opt/local/lib -lSDL ' --extra-cflags=-I/usr/local/include --extra-cflags=-I/opt/local/include/X11 --extra-ldflags=-L/usr/local/lib --extra-ldflags=-L/opt/local/lib --enable-gpl --enable-nonfree --enable-x11grab --enable-libfaac
  libavutil    51.  4. 0 / 51.  4. 0
  libavcodec   53.  6. 1 / 53.  6. 1
  libavformat  53.  2. 0 / 53.  2. 0
  libavdevice  53.  1. 0 / 53.  1. 0
  libavfilter   2. 12. 0 /  2. 12. 0
  libswscale    0. 14. 1 /  0. 14. 1
  libpostproc  51.  2. 0 / 51.  2. 0
[flac @ 0x10184da00] max_analyze_duration 5000000 reached at 5015510
Input #0, flac, from '1 musique des machines 1.flac':
  Duration: 00:26:22.56, bitrate: 815 kb/s
    Stream #0.0: Audio: flac, 44100 Hz, stereo, s16
[ffmetadata @ 0x10185ea00] Estimating duration from bitrate, this may be inaccurate
Input #1, ffmetadata, from '1.ffmetadata':
  Metadata:
    title           : Musique Des Machines 1
    track           : 1
    artist          : Broekhuis, Keller & Schönwälder
    album           : Musique Des Machines
    genre           : Electronic
    subgenre1       : Berlin School
    subgenre2       : Trance
    date            : 2005
    date-recorded   : 2003
  Duration: N/A, start: 0.000000, bitrate: N/A
ffmpeg(97852) malloc: *** error for object 0x101011c00: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap


More information about the ffmpeg-user mailing list