Find the answer to your Linux question:
Results 1 to 9 of 9
Hi, how can I remove metadata (writing library) from mp3 file? When I use lame I can remove encoding settings by switch, but I can't remove encoder information. Encoding with ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2011
    Posts
    7

    lame wrong metadata information


    Hi,
    how can I remove metadata (writing library) from mp3 file? When I use lame I can remove encoding settings by switch, but I can't remove encoder information. Encoding with ffmpeg save additional metadata like encoding settings... I want to remove all of them. It is possible?


    Main problem is writing library information. Sometimes information is saved normally (LAME3.98.4), sometimes not (LAME3.98÷ăRĆumôL, LAMEŞŞ’...) and sometimes information is not saved. Is there any standard for it ?! . If this metadata is required - no problem but I want to save it in this form -> "LAME3.98.4"... Not this "LAME3.98÷ăRĆumôL" and not this "LAMEŞŞ’" and no other... Only encoder/encoder version and nothing else. Please help.

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Hey,

    I tried to emulate your problem so I encoded an MP3 (that already had ID3 metadata) w/ffmpeg but the resultant MP3 had NO metadata (or at least no id3 tags). Anyway, I usually edit my MP3 metadata in Linux with id3v2. Maybe take a look at that.

  3. #3
    Just Joined!
    Join Date
    Jul 2011
    Posts
    7
    I think it's not id3 tag.
    After command
    Code:
    id3v2 --delete-all test.MP3
    Results:
    first file
    Code:
    Audio
    Format                           : MPEG Audio
    Format version                   : Version 1
    Format profile                   : Layer 3
    Mode                             : Joint stereo
    Mode extension                   : MS Stereo
    Duration                         : 30s 119ms
    Bit rate mode                    : Constant
    Bit rate                         : 128 Kbps
    Channel(s)                       : 2 channels
    Sampling rate                    : 44.1 KHz
    Compression mode                 : Lossy
    Stream size                      : 469 KiB (100%)

    second file

    Code:
    Audio
    Format                           : MPEG Audio
    Format version                   : Version 1
    Format profile                   : Layer 3
    Mode                             : Joint stereo
    Mode extension                   : MS Stereo
    Duration                         : 30s 119ms
    Bit rate mode                    : Constant
    Bit rate                         : 128 Kbps
    Channel(s)                       : 2 channels
    Sampling rate                    : 44.1 KHz
    Compression mode                 : Lossy
    Stream size                      : 469 KiB (100%)
    Writing library                  : LAME3.98.4
    Two files encoded by the same command.. It's encoded from WAV file to MP3
    Last edited by adismsc; 07-28-2011 at 03:23 PM. Reason: nvm

  4. #4
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Yeah, it appears you're right. It must be stuff crammed into the header of the file that is outside the scope of the ID3 stuff.

    What command are you using to generate the output from those files?

  5. #5
    Just Joined!
    Join Date
    Jul 2011
    Posts
    7
    Code:
    pacpl -t mp3 --bitrate 128 --channels 2 --encoder lame --eopts="-m j -t --cbr" "test.WAV" --outfile "test_tmp"
    or
    Code:
    lame -t -m j -b 128 --cbr test.WAV test_tmp.mp3
    same results...

  6. #6
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Here's another possibility - check out ExifTool. I used it a while ago and forgot about it. Maybe it can help you.

  7. #7
    Just Joined!
    Join Date
    Jul 2011
    Posts
    7
    Hmm... ExifTool don't show any information about "writing library" but mediainfo shows this information

  8. #8
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Cool...does mediainfo support writing to the metadata?

  9. #9
    Just Joined!
    Join Date
    Jul 2011
    Posts
    7
    Unfortunately not

Posting Permissions

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