Forum > Audio and Video
Mp3 and Lazarus. How to insert Jpeg file inside Mp3?
(1/1)
d2010:
Subject=VideoVlc.exe display a image/ jpeg from Bird.mp3.
How to insert other image.jpeg to any*.mp3 not Bird.Mp3?
Can I insert image/jpeg into empty.mp3?
Other problem/s is OlderMplayer.exe do not play the Bird.mp3 with Image/Jpeg.
:o
--- Code: ---One-solution1= Modify properties inside *.mp3 by MyApp.exe
--- End code ---
TRon:
You can't insert a jpeg into a mp3.
However you can use a tag format that allows you to add tags (including a tag that allows pictures) to a mp3 file.
You would have to decide which tag format you wish to use and then check and see if there is a FPC implementation for that specific tag format.
See also mp3 wikipedia, id3 metadata
RayoGlauco:
As far as I know, VLC retrieves album covers from the Internet and displays them, when it identifies that your mp3 is a commercial song.
TRon:
I forgot to mention: It is also possible to use an existing (commandline) tag utility and invoke that from within FPC/Lazarus to add a picture.
@RayoGlauco:
VLC also has a plugin that supports tags (libtags, APE etc)
Here I found something that seem to support a plethora of tags and audio formats though I have no experience with it so no idea if is any good.
See also one of many threads regarding MP3 metadata.
Thaddy:
Yes, technically you can insert an image in an mp3 file, but it deviates from the standard.
(I wrote the mp3 decoder for delphi back in the days and 100% pascal. It contains a bug, though, the resolution is one bit short, but it works, and nobody complained.. at the time I did not pay attention to signed or unsigned.)
Navigation
[0] Message Index