Results 1 to 3 of 3

Thread: avconv remove tags question

  1. #1
    Join Date
    Nov 2005
    Beans
    822
    Distro
    Ubuntu 13.04 Raring Ringtail

    avconv remove tags question

    Hi

    I want to remove the metadata on the audio files and I read about this method
    http://manpages.ubuntu.com/manpages/.../avconv.1.html

    For example
    -metadate key="value"

    So for example:
    avconv -i filename.wmv -metadata title= -b 128k filename.wav
    Leaving the title= (blank) means metadata deleted for that value

    But what if I want to remove ALL metadate not just title ?

    I can make it work like this with individual blank values (ouch)
    avconv -i filename.wmv -metadata title= -metadata artist= -b 128k filename.wav

    But what a pain to create a line for each metadata value.

    Isn't there one simple option that can remove ALL the metadata ?

    Please advise
    Thanks
    Last edited by AgentZ86; May 20th, 2013 at 10:13 PM.

  2. #2
    Join Date
    Dec 2006
    Beans
    7,349

    Re: avconv remove tags question

    I believe that you need to investigate this option:

    Code:
    -map_metadata -1
    but I have not tested this...
    You think that's air you're breathing now?

  3. #3
    Join Date
    Nov 2005
    Beans
    822
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: avconv remove tags question

    I think your right, but I can't seem to get it working without syntax errors

    Currently I can just add multiple lines using -metadata object=(leave blank) literally blank

    It's just a lot of lines and if there are comments and things I didn't account for then it's not complete, but I'll look into the map some more
    Thanks

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
  •