Search code examples
linuxhtmlaudiohtml5-audioogg

tag audio and ogg


I try to use tag audio. Convert mp3 to ogg use

ffmpeg -i "123.mp3" "1234.ogg"  

Server response content-type for .ogg like video/ogg. I try content-type audio/ogg and application/ogg but it doesn't work too. I think my file have got wrong format, because in player it works. How to correct convert file from mp3 to ogg in linux console?


Solution

  • Could you try using the file command on the file to see what it says about the content?

    Just out of curiosity.

    I prefer to use the oggenc command myself . . I don't think there is 1 correct way to do it . . Like most things there are many ways to get there.