Results 1 to 3 of 3

Thread: Transcoding audio files and preserving audio tags.

Hybrid View

  1. #1
    Join Date
    Jul 2008
    Location
    USA
    Beans
    94

    Cool Transcoding audio files and preserving audio tags.

    There are about 500 MP3 audio files that I want to be transcoded into Ogg, but ffmpeg doesn't preserve audio tags. Is there some kind of trick to make ffmpeg preserve the audio tags, another program I should be using, or some command that can be run after the ffmpeg process is complete?

    This conversion will be running on 2 CPU cores as a batch job with GNU parallel compiled from the GNU website, on Ubuntu 10.10. Thanks!

  2. #2
    Join Date
    Jul 2006
    Location
    Lancashire
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Transcoding audio files and preserving audio tags.

    Quote Originally Posted by Racecar56 View Post
    Is there some kind of trick to make ffmpeg preserve the audio tags
    Hi
    With up-to-date versions of ffmpeg there is a 'map_meta_data' option.

    Like this:-

    Code:
    ffmpeg -i input.mp3 -map_meta_data 0:0 -acodec libvorbis output.ogg

  3. #3
    Join Date
    Jul 2008
    Location
    USA
    Beans
    94

    Re: Transcoding audio files and preserving audio tags.

    Quote Originally Posted by ron999 View Post
    Hi
    With up-to-date versions of ffmpeg there is a 'map_meta_data' option.

    Like this:-

    Code:
    ffmpeg -i input.mp3 -map_meta_data 0:0 -acodec libvorbis output.ogg
    It doesn't make any effect, strangely enough. I know I got the order of the options right according to the order you put in that code.

    EDIT: The SVN version of ffmpeg does have an effect with that option, but it still doesn't preserve everything. Very close, though.
    Last edited by Racecar56; October 14th, 2010 at 05:46 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •