#9616: MediaConverter doesn't convert to OGG or MP3 and converts to WAV with video ------------------------------------+---------------------------- Reporter: Kev | Owner: nobody Type: enhancement | Status: new Priority: normal | Milestone: R1/alpha5 Component: Audio & Video/Codecs | Version: R1/Development Resolution: | Keywords: Blocked By: | Blocking: 10722 Has a Patch: 0 | Platform: All ------------------------------------+---------------------------- Comment (by ttcoder): @pulkomandy -- Working on adapting/testing my apps in hrev48150 and found one which is allergic to FLAC -- it feeds HDA line-input (instead of a source file .wav) to the encoder, so the samples are 32 bits instead of B_AUDIO_SHORT and 96KHz instead of 44 KHz, and ffmpeg/FLAC replies with `"unhandled sample_fmt"` or something. If I hack ''both'' in the format I pass to BMediaFile::CreateTrack() / CommitHeader() like thus {{{ fmt.u.raw_audio.format = media_raw_audio_format::B_AUDIO_SHORT; fmt.u.raw_audio.frame_rate = 44000.0; }}} then I get a B_OK and the file is created, but of course the audible content is mostly junk. Once I solve this I can wait a while for the rest of the ticket enhancement (ogg/vorbis or other lossy codec). Questions.. - how much work involved in making flac accept 32 bits samples instead of 16.. and high-KHz sample-rates (though that latter can probably be fixed another way, by changing HDA input in Media Prefs). - is it possible to re-enable Wav/Pcm-Raw-Audio, in addition to FLAC? It which worked well in my testing this morning in 47991. -- Ticket URL: <https://dev.haiku-os.org/ticket/9616#comment:27> Haiku <https://dev.haiku-os.org> Haiku - the operating system.