Results 1 to 5 of 5

Thread: id3v2 adding picture

  1. #1
    Join Date
    Oct 2007
    Beans
    152
    Distro
    Ubuntu 12.04 Precise Pangolin

    id3v2 adding picture

    Hi,

    I'm trying to embed picture in my mp3 files. One way to do it might be EasyTag, it is working and part of the repository.

    I would like to try the command line

    Code:
    id3v2
    From the
    Code:
    id3v2 -h
    I can read that

    Code:
    ...
    You can set the value for any id3v2 frame by using '--' and then frame id
    For example: 
            id3v2 --TIT3 "Monkey!" file.mp3
    would set the "Subtitle/Description" frame to "Monkey!".
    and, by verifying the picture frame with
    Code:
    id3v2 -f
    I came out with the command

    Code:
    id3v2 --APIC "mypicture.jpg" mysong.mp3
    but the output is

    Code:
    ()[, 0]: , 0 bytes
    and no picture is embed to the mp3. I googled and read the man/help but I do not understand what is my error.

    Any hint?

    thanks
    g.

  2. #2
    Join Date
    Oct 2007
    Location
    Oregon, USA
    Beans
    1,537

    Re: id3v2 adding picture

    You need to embed the data. Writing the name of the image to the image tag won't do you any good. You need the actual data to be stored in the tag. Maybe you could use cat to stream the data to id3v2.

  3. #3
    Join Date
    Oct 2007
    Beans
    152
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: id3v2 adding picture

    could you help me with the syntax?

    I know how to use the output of a command as input for another, such as,

    Code:
    ps -e | grep firefox
    but now I need the output of cat within the id3v2 command. I'm trying the syntax but without success.

    Best
    g.

  4. #4
    Join Date
    Dec 2009
    Beans
    1

    Re: id3v2 adding picture

    If i read the source of id3v2 correctly, the --APIC commandline switch is read-only: http://id3v2.cvs.sourceforge.net/vie...w=markup#l_610

    So no use trying to pipe the image data into id3v2.

  5. #5
    Join Date
    Oct 2007
    Beans
    152
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: id3v2 adding picture

    ok, thanks a lot.

    g.

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
  •