[osflash] FLV Audiodata tag and ffmpeg
Shawn Svacha
sketisculpter at yahoo.com
Fri Jan 4 09:28:43 PST 2008
Hi everyone. I am studying the FLV file format and have a couple of questions that I hope you all might be able to shed some light on.
The audio data that I have a question on is as follows: 00100110
If I understand this correctly, this translates to:
MP3 11kHz 16bit mono
0010 01 1 0
Am I correct?
The reason I ask is that when I use ffmpeg (such as ffmpeg -i test.flv test.mp3)
I get an error stating that 11kHz is not compatible with mp2. If I change the audio bit to read 22050, though, it converts. (i.e., ffmpeg -i test.flv -ab 22050 test.mp3)
What I don't understand is that if the audio is already a mp3 in the flv file, why does ffmpeg not like its current format? Seems to me is should convert just fine since it is already an mp3 -- am I misunderstanding something?
Also on a different note, in the official specification from Adobe on the swf and flv format, it reads that the tag type for a flv file can be 8 for audio, 9 for video, and 18 for script data (see page 269), however I understand that metadata has a tag value of 12 -- is script data and meta data two different things?
Thanks in advance!
Shawn
---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/osflash_osflash.org/attachments/20080104/d4f6bc1c/attachment-0001.html
More information about the osflash
mailing list