IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
ffmpeg - how to add embbed image in MP3 ?, [moved from General Audio/TOS #6]
livebe
post Feb 19 2013, 11:03
Post #1





Group: Members
Posts: 6
Joined: 7-December 11
Member No.: 95653



Hello,

I'm using FFmpeg 1.1, I want to add an embedded image to existing Mp3.

Can't achieve it with any of the followings CLI.

QUOTE
ffmpeg -i withTagsMp3.mp3 -i img.jpg -acodec copy -map_metadata 0 -write_id3v1 1 test.mp3
ffmpeg -i withTagsMp3.mp3 -i img.jpg -acodec copy -map_metadata 0 -id3v2_version 3 test.mp3
ffmpeg -i withTagsMp3.mp3 -i img.jpg -acodec copy test.mp3


RE: http://en.wikipedia.org/wiki/ID3
Go to the top of the page
+Quote Post
CoRoNe
post Feb 19 2013, 23:13
Post #2





Group: Members
Posts: 164
Joined: 31-May 05
From: Netherlands
Member No.: 22417



CODE
ffmpeg -i input.mp3 -i cover.png -c copy -map 0 -map 1 -metadata:s:v title="Cover (front)" output.mp3
Source: http://ffmpeg.org/ffmpeg-formats.html#mp3 and https://ffmpeg.org/trac/ffmpeg/ticket/2221.

BUT, I much more prefer Mp3tag though, because:
- Duration changes, regardless of metadata. My 0:25.500 (1124550) sample became 0:25.548 (1126656), a difference of 2106 samples!
- 'Date' becomes '<RELEASE DATE>' somehow.
- You'll loose LAME properties: <ENC_DELAY>, <ENC_PADDING> and <MP3_ACCURATE_LENGTH>. And 'Codec profile : MP3 VBR V6' becomes 'Codec profile : MP3 VBR'.


--------------------
DC-Bass Source Mod: http://reino.degeelebosch.nl
Go to the top of the page
+Quote Post
gwenkillerby
post Feb 20 2013, 00:33
Post #3





Group: Members
Posts: 6
Joined: 8-December 12
Member No.: 105047



why not use some program, like Tag&Rename, or zortam, mp3tag or foobar???


--------------------
don't do anything I would .....
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 25th April 2014 - 03:53