[FFmpeg-trac] #2731(undetermined:new): Problem with -metadata disc

FFmpeg trac at avcodec.org
Sat Jun 29 17:02:24 CEST 2013


#2731: Problem with -metadata disc
-------------------------------------+-------------------------------------
             Reporter:  Messiahs     |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:  mov          |               Resolution:
  metadata                           |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * keywords:  metadata disc => mov metadata
 * version:  unspecified => git-master
 * component:  FFmpeg => undetermined


Old description:

> metadata disc is not working for me.
>
> "title" tag is updated but the tag "disc" is not created (also tried
> different solutions).
>
> working with latest windows version...
>
> {{{
> F:\>ffmpeg -i inFile.m4a -metadata disc="5/6" -metadata title="test"
> outFile.m4a
>
> ffmpeg version N-53724-g716dbc7 Copyright (c) 2000-2013 the FFmpeg
> developers
>   built on May 31 2013 23:33:02 with gcc 4.8.0 (GCC)
>   configuration: --enable-gpl --enable-version3 --disable-w32threads
> --enable-av
> isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
> --enab
> le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-
> libfreetyp
> e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-
> libmp3lame --ena
> ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
> --enable-l
> ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr
> --enable-libsp
> eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc
> --enable-libvo-
> amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-
> libxavs --
> enable-libxvid --enable-zlib
>   libavutil      52. 34.100 / 52. 34.100
>   libavcodec     55. 12.102 / 55. 12.102
>   libavformat    55.  8.102 / 55.  8.102
>   libavdevice    55.  2.100 / 55.  2.100
>   libavfilter     3. 73.100 /  3. 73.100
>   libswscale      2.  3.100 /  2.  3.100
>   libswresample   0. 17.102 /  0. 17.102
>   libpostproc    52.  3.100 / 52.  3.100
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'inFile.m4a':
>   Metadata:
>     major_brand     : M4A
>     minor_version   : 512
>     compatible_brands: isomiso2
>     track           : 13
>    [b] disc            : 1/2[/b]
>     album           : Kontor - Chilled Beats
>     album_artist    : Various Artists
>     artist          : Hardwell vs. Collin McLoughlin
>     title           : Call Me a Spaceman (Unplugged Version)
>     encoder         : Lavf54.3.100
>     date            : 2013
>   Duration: 00:02:19.20, start: 0.000000, bitrate: 193 kb/s
>     Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo,
> fltp, 19
> 2 kb/s
>     Metadata:
>       handler_name    : SoundHandler
> File 'outFile.m4a' already exists. Overwrite ? [y/N] y
> Output #0, ipod, to 'outFile.m4a':
>   Metadata:
>     major_brand     : M4A
>     minor_version   : 512
>     compatible_brands: isomiso2
>     track           : 13
>     date            : 2013
>     album           : Kontor - Chilled Beats
>     album_artist    : Various Artists
>     artist          : Hardwell vs. Collin McLoughlin
>  [b]   disc            : 5/6[/b]
>     title           : test
>     encoder         : Lavf55.8.102
>     Stream #0:0(und): Audio: aac (libvo_aacenc) (mp4a / 0x6134706D),
> 44100 Hz, s
> tereo, s16, 128 kb/s
>     Metadata:
>       handler_name    : SoundHandler
> Stream mapping:
>   Stream #0:0 -> #0:0 (aac -> libvo_aacenc)
> Press [q] to stop, [?] for help
> size=    2200kB time=00:02:19.21 bitrate= 129.5kbits/s
> video:0kB audio:2176kB subtitle:0 global headers:0kB muxing overhead
> 1.121632%
>
> F:\>ffprobe outfile.m4a
> ffprobe version N-53724-g716dbc7 Copyright (c) 2007-2013 the FFmpeg
> developers
>   built on May 31 2013 23:33:02 with gcc 4.8.0 (GCC)
>   configuration: --enable-gpl --enable-version3 --disable-w32threads
> --enable-av
> isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
> --enab
> le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-
> libfreetyp
> e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-
> libmp3lame --ena
> ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
> --enable-l
> ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr
> --enable-libsp
> eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc
> --enable-libvo-
> amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-
> libxavs --
> enable-libxvid --enable-zlib
>   libavutil      52. 34.100 / 52. 34.100
>   libavcodec     55. 12.102 / 55. 12.102
>   libavformat    55.  8.102 / 55.  8.102
>   libavdevice    55.  2.100 / 55.  2.100
>   libavfilter     3. 73.100 /  3. 73.100
>   libswscale      2.  3.100 /  2.  3.100
>   libswresample   0. 17.102 /  0. 17.102
>   libpostproc    52.  3.100 / 52.  3.100
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'outfile.m4a':
>   Metadata:
>     major_brand     : M4A
>     minor_version   : 512
>     compatible_brands: isomiso2
>     title           : test
>     artist          : Hardwell vs. Collin McLoughlin
>     album_artist    : Various Artists
>     album           : Kontor - Chilled Beats
>     date            : 2013
>     encoder         : Lavf55.8.102
>     track           : 13
>   Duration: 00:02:19.24, start: 0.000000, bitrate: 129 kb/s
>     Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo,
> fltp, 12
> 8 kb/s
>     Metadata:
>       handler_name    : SoundHandler
>
> F:\>
> }}}

New description:

 metadata disc is not working for me.

 "title" tag is updated but the tag "disc" is not created (also tried
 different solutions).

 working with latest windows version...

 {{{
 F:\>ffmpeg -i inFile.m4a -metadata disc="5/6" -metadata title="test"
 outFile.m4a

 ffmpeg version N-53724-g716dbc7 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on May 31 2013 23:33:02 with gcc 4.8.0 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-av
 isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
 --enab
 le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-
 libfreetyp
 e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
 --ena
 ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
 --enable-l
 ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr
 --enable-libsp
 eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-
 libvo-
 amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-
 libxavs --
 enable-libxvid --enable-zlib
   libavutil      52. 34.100 / 52. 34.100
   libavcodec     55. 12.102 / 55. 12.102
   libavformat    55.  8.102 / 55.  8.102
   libavdevice    55.  2.100 / 55.  2.100
   libavfilter     3. 73.100 /  3. 73.100
   libswscale      2.  3.100 /  2.  3.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  3.100 / 52.  3.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'inFile.m4a':
   Metadata:
     major_brand     : M4A
     minor_version   : 512
     compatible_brands: isomiso2
     track           : 13
    [b] disc            : 1/2[/b]
     album           : Kontor - Chilled Beats
     album_artist    : Various Artists
     artist          : Hardwell vs. Collin McLoughlin
     title           : Call Me a Spaceman (Unplugged Version)
     encoder         : Lavf54.3.100
     date            : 2013
   Duration: 00:02:19.20, start: 0.000000, bitrate: 193 kb/s
     Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo,
 fltp, 19
 2 kb/s
     Metadata:
       handler_name    : SoundHandler
 File 'outFile.m4a' already exists. Overwrite ? [y/N] y
 Output #0, ipod, to 'outFile.m4a':
   Metadata:
     major_brand     : M4A
     minor_version   : 512
     compatible_brands: isomiso2
     track           : 13
     date            : 2013
     album           : Kontor - Chilled Beats
     album_artist    : Various Artists
     artist          : Hardwell vs. Collin McLoughlin
     disc            : 5/6
     title           : test
     encoder         : Lavf55.8.102
     Stream #0:0(und): Audio: aac (libvo_aacenc) (mp4a / 0x6134706D), 44100
 Hz, s
 tereo, s16, 128 kb/s
     Metadata:
       handler_name    : SoundHandler
 Stream mapping:
   Stream #0:0 -> #0:0 (aac -> libvo_aacenc)
 Press [q] to stop, [?] for help
 size=    2200kB time=00:02:19.21 bitrate= 129.5kbits/s
 video:0kB audio:2176kB subtitle:0 global headers:0kB muxing overhead
 1.121632%

 F:\>ffprobe outfile.m4a
 ffprobe version N-53724-g716dbc7 Copyright (c) 2007-2013 the FFmpeg
 developers
   built on May 31 2013 23:33:02 with gcc 4.8.0 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-av
 isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
 --enab
 le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-
 libfreetyp
 e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
 --ena
 ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
 --enable-l
 ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr
 --enable-libsp
 eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-
 libvo-
 amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-
 libxavs --
 enable-libxvid --enable-zlib
   libavutil      52. 34.100 / 52. 34.100
   libavcodec     55. 12.102 / 55. 12.102
   libavformat    55.  8.102 / 55.  8.102
   libavdevice    55.  2.100 / 55.  2.100
   libavfilter     3. 73.100 /  3. 73.100
   libswscale      2.  3.100 /  2.  3.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  3.100 / 52.  3.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'outfile.m4a':
   Metadata:
     major_brand     : M4A
     minor_version   : 512
     compatible_brands: isomiso2
     title           : test
     artist          : Hardwell vs. Collin McLoughlin
     album_artist    : Various Artists
     album           : Kontor - Chilled Beats
     date            : 2013
     encoder         : Lavf55.8.102
     track           : 13
   Duration: 00:02:19.24, start: 0.000000, bitrate: 129 kb/s
     Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo,
 fltp, 12
 8 kb/s
     Metadata:
       handler_name    : SoundHandler

 F:\>
 }}}

--

Comment:

 Why do you think that mov/m4a supports metadata called "disc"? If you have
 such a sample please attach it.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2731#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list