Inserting Pictures in audio files
WMPTalk.com Forum Index WMPTalk.com
Discuss Windows Media Player
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web wmptalk.com
Inserting Pictures in audio files

 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> Encoders
Author Message
Karthik
Guest





Posted: Wed Dec 14, 2005 1:30 pm    Post subject: Inserting Pictures in audio files Reply with quote

Hi,

I am trying hard to insert a JPG image into an windows media audio file.
According to the specification given in the link
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmform95/htm/id3tagsupport.asp
it is said that APIC ID3 Tag is similar to WM/Picture.

These are the exact steps that I have followed to try and insert a JPG into
the audio file.

1. Open Windows Media Encoder. (I have the latest one installed)
2. Choose an input audio file. (Convert from mp3 to wma and adding tags)
3. Choose all the required settings.
4. When all the settings are done. I click on the Properties button (next to
start encoding)
5. Choose Attributes.
6. I try to insert all the tags given in the above mentioned link.
7. For WM/Picture, I cannot give an input. The input validator recognises it
as a error always.

I have tried to copy the hex of the jpeg into the text box.
I have tried to copy the ascii of the jpeg into the text box.
Drag and drop the jpeg.

Nothing seems to be working at the moment.

Can you please help me out and assist me how to insert pictures.
Thanks
Karthik

Back to top
Karthik
Guest





Posted: Mon Dec 26, 2005 9:30 am    Post subject: RE: Inserting Pictures in audio files Reply with quote

Can somebody help me on this?

"Karthik" wrote:

Quote:
Hi,

I am trying hard to insert a JPG image into an windows media audio file.
According to the specification given in the link
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmform95/htm/id3tagsupport.asp
it is said that APIC ID3 Tag is similar to WM/Picture.

These are the exact steps that I have followed to try and insert a JPG into
the audio file.

1. Open Windows Media Encoder. (I have the latest one installed)
2. Choose an input audio file. (Convert from mp3 to wma and adding tags)
3. Choose all the required settings.
4. When all the settings are done. I click on the Properties button (next to
start encoding)
5. Choose Attributes.
6. I try to insert all the tags given in the above mentioned link.
7. For WM/Picture, I cannot give an input. The input validator recognises it
as a error always.

I have tried to copy the hex of the jpeg into the text box.
I have tried to copy the ascii of the jpeg into the text box.
Drag and drop the jpeg.

Nothing seems to be working at the moment.

Can you please help me out and assist me how to insert pictures.
Thanks
Karthik
Back to top
Neil Smith [MVP Digital M
Guest





Posted: Mon Dec 26, 2005 9:30 pm    Post subject: Re: Inserting Pictures in audio files Reply with quote

On Wed, 14 Dec 2005 03:22:02 -0800, "Karthik"
<Karthik@discussions.microsoft.com> wrote:

Quote:
Hi,

I am trying hard to insert a JPG image into an windows media audio file.
According to the specification given in the link
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmform95/htm/id3tagsupport.asp
it is said that APIC ID3 Tag is similar to WM/Picture.

These are the exact steps that I have followed to try and insert a JPG into
the audio file.

1. Open Windows Media Encoder. (I have the latest one installed)
2. Choose an input audio file. (Convert from mp3 to wma and adding tags)
3. Choose all the required settings.
4. When all the settings are done. I click on the Properties button (next to
start encoding)
5. Choose Attributes.
6. I try to insert all the tags given in the above mentioned link.
7. For WM/Picture, I cannot give an input. The input validator recognises it
as a error always.


I was able to see this error "Incorrect Parameter" when adding
WM/Picture as the attribute. However I'm not clear how the "input" you
provided is intended to used in the context of a text box.

This page details the data type fot WM/Picture :
http://www.msdn.microsoft.com/library/default.asp?url=/library/en-us/wmform95/htm/wm_picture.asp

Unlike the other attributes on the webpage you referenced, which are
strings, it's a complex metadata type consisting of a MIME type,
picture type, a pointer and some binary data (a "byte array" as they
call it).

Quote:
I have tried to copy the hex of the jpeg into the text box.
I have tried to copy the ascii of the jpeg into the text box.
Drag and drop the jpeg.

IMO I can't see it likely that the text input box you are provided
with will be capable of creating that sort of data structure. Probably
you'd need to speak to a programmer to have them write a program that
can attach the binary structured metadata to your file after it's
encoded.

An example of this (decoding only) is in the GetID3 PHP script :
http://gallery.menalto.com/files/getid3_2005_12_22.tgz.txt , search
for case 'wm/picture': in that page.

HTH
Cheers - Neil

Back to top
 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> Encoders All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Microsoft Office Forum New Topics
Powered by phpBB