hey im writing a c# flv2mp3 converter and i could need some help.
flv is a container type, wich means that when i get all audio tags together, i just have have to reassemble them, or do i habe to save them in a special way? is it possible at all?
and i do not want any flvextractors i wanna do it by myself
hey im writing a c# flv2mp3 converter and i could need some help. flv
Share
What if the soundtrack is AAC or some other format?
You can ignore the timestamps on the audio packets (since the audio timestamps give cues to the video, and don’t represent clock-time – the spec is wrong(!) in this respect). Just extract the raw data from the audio-packets, decode from whatever it happens to be to PCM (at an appropriate sample rate, and appropriate stereo/mono; what if the soundtrack varies?), re-encode as MP3 and you’re done.
Its easiest to just use ffmpeg as others have indicated.