Page 1 of 1

Can't play 24-bit/192khz flac audio files

Posted: 23 Nov 2013 05:44
by 98Guy
I know you guys have your hands full looking into various audio problems with VLC, but I wonder if you could have a look at these logs and give me some hints as to why I can't play any 24-bit/192 khz flac files.

This is from VLC 2.1.0:

Code: Select all

main debug: processing request item: (some file), node: Playlist, skip: 0 main debug: resyncing on (some file) main debug: (some file) is at 0 main debug: starting playback of the new playlist item main debug: resyncing on (some file) main debug: (some file) is at 0 main debug: creating new input thread main debug: Creating an input for '(some file)' main debug: using timeshift granularity of 50 MiB, in path 'C:\WINDOWS\TEMP' main debug: `file:/some-file-192kHz.flac' gives access `file' demux `' path `/some-file-192kHz.flac' main debug: creating demux: access='file' demux='' location='/some-file_192kHz.flac' file='\some-file-192kHz.flac' main debug: looking for access_demux module matching "file": 12 candidates main debug: no access_demux modules matched main debug: creating access 'file' location='/some-file-192kHz.flac', path='\some-file-192kHz.flac' main debug: looking for access module matching "file": 20 candidates filesystem debug: opening file `\some-file-192kHz.flac' main debug: using access module "filesystem" main debug: Using stream method for AStream* main debug: starting pre-buffering main debug: received first data after 0 ms main debug: pre-buffering done 1024 bytes in 0s - 1000000 KiB/s main debug: looking for stream_filter module matching "any": 6 candidates main debug: no stream_filter modules matched main debug: looking for stream_filter module matching "stream_filter_record": 6 candidates main debug: no stream_filter modules matched main debug: creating demux: access='file' demux='' location='/some-file-192kHz.flac' file='\some-file-192kHz.flac' main debug: looking for demux module matching "flac": 63 candidates main debug: looking for packetizer module matching "any": 21 candidates main debug: using packetizer module "packetizer_flac" main debug: using demux module "flacsys" main debug: looking for a subtitle file in \ main debug: looking for meta reader module matching "any": 2 candidates main debug: using meta reader module "taglib" main debug: removing module "taglib" main debug: `file:/some-file-192kHz.flac' successfully opened main debug: selecting program id=0 main debug: looking for decoder module matching "any": 39 candidates main debug: using decoder module "flac" main debug: Buffering 0% flac debug: decode STREAMINFO flac debug: channels:2 samplerate:192000 bitspersamples:24 flac debug: STREAMINFO decoded main debug: reusing audio output directsound debug: Opening DirectSound Audio Output directsound debug: VLC speaker config: Stereo directsound error: cannot open directx audio device directsound debug: closing audio device main error: module not functional main debug: keeping audio output main error: failed to create audio output main debug: Buffering 1%
The following is what I think are the relevant debug lines from VLC 1.1.5 trying to play the same file (which also doesn't work):

Code: Select all

waveout warning: waveOutOpen failed waveout warning: waveOutOpen failed aout_sdl error: cannot initialize SDL (SDL not built with audio support) main debug: using audio output module "dummy"
For both versions of VLC, I have float32 turned off. I could swear that I used to be able to play these files in the past. I've reinstalled the sound drivers (C-Media CMI 9738 chip) and also reinstalled directX (9c version December 2006).

16-bit / 44 khz flac files play just fine. Any ideas?

Re: Can't play 24-bit/192khz flac audio files

Posted: 23 Nov 2013 14:36
by 98Guy
I apparently can play 24-bit / 96 khz files - here's the log messages for one example:

Code: Select all

flac debug: decode STREAMINFO flac debug: channels:2 samplerate:96000 bitspersamples:24 flac debug: STREAMINFO decoded main debug: reusing audio output directsound debug: Opening DirectSound Audio Output directsound debug: VLC speaker config: Stereo main debug: output 's16l' 96000 Hz Stereo frame=1 samples/4 bytes main debug: looking for audio volume module matching "any": 2 candidates main debug: using audio volume module "integer_mixer" main debug: input 's32l' 96000 Hz Stereo frame=1 samples/8 bytes main debug: conversion: 's32l'->'s16l' 96000 Hz->96000 Hz Stereo->Stereo main debug: looking for audio converter module matching "any": 12 candidates audio_format debug: s32l->s16l, bits per sample: 32->16 main debug: using audio converter module "audio_format" main debug: conversion pipeline complete main debug: looking for audio resampler module matching "any": 3 candidates main debug: using audio resampler module "ugly_resampler" main debug: End of audio preroll main debug: Buffering 0% main debug: Buffering 1% (etc)
So there is a conversion being done from s32l->s16l. I don't see any such conversion being done for the 192 khz files (see log messages in previous post) - why not? That would seem to be necessary (given my AC97 hardware) in order to play the 192 khz/24-bit files just like it's necessary when playing 96 khz/24-bit files... ?