Force input sample rate with qtsound capture. Having sample rate mismatch

macOS specific usage questions
hoodwinked
New Cone
New Cone
Posts: 6
Joined: 09 Apr 2020 23:40

Force input sample rate with qtsound capture. Having sample rate mismatch

Postby hoodwinked » 10 Apr 2020 00:06

Hello all,

I have searched and searched but am not having luck with this. I am playing back audio and streaming it via HTTP. I set my input and output device to "SoundFlower (2ch)" in the Audio/MIDI Setup inside OSX. I can successfully capture the audio, but for some reason it is trying to do a 44100 conversion, which results in a slightly lower pitch and choppy audio output on the stream.

The path should be 48000 sample rate the entire way. I play audio using an audio program and tell it to output to the Soundflower 2ch, which is set at 48000. My audio source is also 48000. I see in the log it is trying to do a conversion involving a 44100 sample rate, which is definitely the cause of my sample rate mismatch.

Is there a parameter to tell it to capture at 48000 instead? The device is definitely set to 48000 as well as my transcoded stream is set to 48000..

Here is the command I am issuing:

Code: Select all

/Applications/VLC.app/Contents/MacOS/VLC -vvv qtsound://SoundflowerEngine:0 --sout "#transcode{acodec=mp3,ab=320,channels=2,samplerate=48000}:std{access=http,mux=ts}" --http-host=192.168.0.230 http-port=8080
This captures the sound just fine except for the sample rate issue, which results in pitch shifted and slowed audio.

Here is part of the log output (the rest is on my next posts due to character limit)

Code: Select all

VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7) [00007f9f73c1bba0] main libvlc debug: VLC media player - 3.0.8 Vetinari [00007f9f73c1bba0] main libvlc debug: Copyright © 1996-2019 the VideoLAN team [00007f9f73c1bba0] main libvlc debug: revision 3.0.8-0-gf350b6b5a7 [00007f9f73c1bba0] main libvlc debug: configured with /Users/d-fu/vlc-3.0/extras/package/macosx/../../../configure '--prefix=/Users/d-fu/vlc-3.0/build/vlc_install_dir' '--enable-macosx' '--enable-merge-ffmpeg' '--enable-osx-notifications' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-shout' '--enable-ncurses' '--enable-twolame' '--enable-realrtsp' '--enable-libass' '--enable-macosx-qtkit' '--enable-macosx-avfoundation' '--disable-skins2' '--disable-xcb' '--disable-caca' '--disable-pulse' '--disable-sdl-image' '--disable-vnc' '--build=x86_64-apple-darwin17' '--host=x86_64-apple-darwin17' '--with-macosx-version-min=10.7' '--with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk' '--with-breakpad=https://mac.crashes.videolan.org' 'build_alias=x86_64-apple-darwin17' 'host_alias=x86_64-apple-darwin17' 'CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' 'CFLAGS=-g' 'LDFLAGS=' 'CXX=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++' 'CXXFLAGS=-g' 'OBJC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' 'OBJCFLAGS=-g' [00007f9f73c1bba0] main libvlc debug: searching plug-in modules [00007f9f73c1bba0] main libvlc debug: loading plugins cache file /Applications/VLC.app/Contents/MacOS/plugins/plugins.dat [00007f9f73c1bba0] main libvlc debug: recursively browsing `/Applications/VLC.app/Contents/MacOS/plugins' [00007f9f73c1bba0] main libvlc debug: plug-ins loaded: 469 modules [00007f9f73c1bba0] main libvlc debug: opening config file (/Users/protoolsx99/Library/Preferences/org.videolan.vlc/vlcrc) [00007f9f73c1be80] main logger debug: looking for logger module matching "any": 3 candidates [00007f9f73c1be80] main logger debug: using logger module "console" [00007f9f73c1bba0] main libvlc debug: translation test: code is "C" [00007f9f73d0fe00] main keystore debug: looking for keystore module matching "memory": 3 candidates [00007f9f73d0fe00] main keystore debug: using keystore module "memory" [00007f9f73c1bba0] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 FPU [00007f9f73c1bba0] main libvlc warning: Key "Command+0" bound to multiple actions [00007f9f76800af0] main input debug: Creating an input for 'Media Library' [00007f9f76800af0] main input debug: Input is a meta file: disabling unneeded options [00007f9f76800af0] main input debug: using timeshift granularity of 50 MiB [00007f9f76800af0] main input debug: using default timeshift path [00007f9f76800af0] main input debug: `file/directory:///Users/protoolsx99/Library/Application%20Support/org.videolan.vlc/ml.xspf' gives access `file' demux `directory' path `/Users/protoolsx99/Library/Application%20Support/org.videolan.vlc/ml.xspf' [00007f9f73d19af0] main input source debug: creating demux: access='file' demux='directory' location='/Users/protoolsx99/Library/Application%20Support/org.videolan.vlc/ml.xspf' file='/Users/protoolsx99/Library/Application Support/org.videolan.vlc/ml.xspf' [00007f9f73d19cc0] main demux debug: looking for access_demux module matching "file": 14 candidates [00007f9f73d19cc0] main demux debug: no access_demux modules matched [00007f9f73d1a230] main stream debug: creating access: file:///Users/protoolsx99/Library/Application%20Support/org.videolan.vlc/ml.xspf [00007f9f73d1a230] main stream debug: (path: /Users/protoolsx99/Library/Application Support/org.videolan.vlc/ml.xspf) [00007f9f73d1a230] main stream debug: looking for access module matching "file": 23 candidates [00007f9f73d1a230] main stream debug: using access module "filesystem" [00007f9f73e04d60] main stream debug: looking for stream_filter module matching "prefetch,cache_read": 26 candidates [00007f9f73e04d60] cache_read stream debug: Using stream method for AStream* [00007f9f73e04d60] cache_read stream debug: starting pre-buffering [00007f9f73e04d60] cache_read stream debug: received first data after 0 ms [00007f9f73e04d60] cache_read stream debug: pre-buffering done 296 bytes in 0s - 1795 KiB/s
Last edited by hoodwinked on 10 Apr 2020 00:31, edited 2 times in total.

hoodwinked
New Cone
New Cone
Posts: 6
Joined: 09 Apr 2020 23:40

Re: Force input sample rate with qtsound capture. Having sample rate mismatch

Postby hoodwinked » 10 Apr 2020 00:08

Code: Select all

[00007f9f73e04d60] main stream debug: using stream_filter module "cache_read" [00007f9f73e10f30] main stream debug: looking for stream_filter module matching "any": 26 candidates [00007f9f73e10f30] playlist stream debug: using XSPF playlist reader [00007f9f73e10f30] main stream debug: using stream_filter module "playlist" [00007f9f73e10f30] main stream debug: stream filter added to 0x7f9f73e04d60 [00007f9f73e10b70] main stream debug: looking for stream_filter module matching "any": 26 candidates [00007f9f73e10b70] main stream debug: no stream_filter modules matched [00007f9f73e10980] main stream_directory debug: looking for stream_directory module matching "any": 1 candidates [00007f9f73e10980] main stream_directory debug: no stream_directory modules matched [00007f9f73d19af0] main input source debug: attachment of directory-extractor failed for file:///Users/protoolsx99/Library/Application%20Support/org.videolan.vlc/ml.xspf [00007f9f73e10b70] main stream debug: looking for stream_filter module matching "record": 26 candidates [00007f9f73e10b70] main stream debug: using stream_filter module "record" [00007f9f73d19af0] main input source debug: creating demux: access='file' demux='directory' location='/Users/protoolsx99/Library/Application%20Support/org.videolan.vlc/ml.xspf' file='/Users/protoolsx99/Library/Application Support/org.videolan.vlc/ml.xspf' [00007f9f73e11390] main demux debug: looking for demux module matching "directory": 55 candidates [00007f9f73e11390] main demux debug: using demux module "directory" [00007f9f73e10660] main demux meta debug: looking for meta reader module matching "any": 2 candidates [00007f9f73e10660] lua demux meta debug: Trying Lua scripts in /Users/protoolsx99/Library/Application Support/org.videolan.vlc/lua/meta/reader [00007f9f73e10660] lua demux meta debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/lua/meta/reader [00007f9f73e10660] lua demux meta debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/lua/meta/reader [00007f9f73e10660] lua demux meta debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/reader/filename.luac [00007f9f73e10660] main demux meta debug: no meta reader modules matched [00007f9f76800af0] main input debug: `file/directory:///Users/protoolsx99/Library/Application%20Support/org.videolan.vlc/ml.xspf' successfully opened [00007f9f73f023f0] main xml reader debug: looking for xml reader module matching "any": 1 candidates [00007f9f73f023f0] main xml reader debug: using xml reader module "xml" [00007f9f76800af0] main input debug: EOF reached [00007f9f73e11390] main demux debug: removing module "directory" [00007f9f73e10b70] main stream debug: removing module "record" [00007f9f73e10f30] main stream debug: removing module "playlist" [00007f9f73e04d60] main stream debug: removing module "cache_read" [00007f9f73d1a230] main stream debug: removing module "filesystem" [00007f9f73d13290] main playlist debug: creating audio output [00007f9f73f02c90] main audio output debug: looking for audio output module matching "any": 4 candidates [00007f9f73f02c90] auhal audio output debug: Rebuild device list [00007f9f73f02c90] auhal audio output debug: found 4 audio device(s) [00007f9f73f02c90] auhal audio output debug: DevID: 39 DevName: Soundflower (2ch) [00007f9f73f02c90] auhal audio output debug: DevID: 108 DevName: Soundflower (64ch) [00007f9f73f02c90] auhal audio output debug: DevID: 79 DevName: Source-Nexus A [00007f9f73f02c90] auhal audio output debug: DevID: 50 DevName: Source-Nexus B

hoodwinked
New Cone
New Cone
Posts: 6
Joined: 09 Apr 2020 23:40

Re: Force input sample rate with qtsound capture. Having sample rate mismatch

Postby hoodwinked » 10 Apr 2020 00:12

Code: Select all

[00007f9f73f02c90] main audio output debug: using audio output module "auhal" [00007f9f73d13290] main playlist debug: keeping audio output [00007f9f768214f0] main input debug: Creating an input for preparsing 'http-port=8080' [00007f9f73e17f00] main interface debug: looking for interface module matching "hotkeys,none": 15 candidates [00007f9f73d20fb0] main meta fetcher debug: looking for meta fetcher module matching "any": 1 candidates [00007f9f73d20fb0] lua meta fetcher debug: Trying Lua scripts in /Users/protoolsx99/Library/Application Support/org.videolan.vlc/lua/meta/fetcher [00007f9f73d20fb0] lua meta fetcher debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/lua/meta/fetcher [00007f9f73d20fb0] lua meta fetcher debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/lua/meta/fetcher [00007f9f73d20fb0] main meta fetcher debug: no meta fetcher modules matched [00007f9f73d20fb0] main art finder debug: looking for art finder module matching "any": 2 candidates [00007f9f73e17f00] main interface debug: using interface module "hotkeys" [00007f9f73c1bba0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [00007f9f73e18320] main interface debug: looking for interface module matching "any": 15 candidates [00007f9f73d20fb0] lua art finder debug: Trying Lua scripts in /Users/protoolsx99/Library/Application Support/org.videolan.vlc/lua/meta/art [00007f9f73e18320] macosx interface debug: Starting macosx interface [00007f9f73d20fb0] lua art finder debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/lua/meta/art [00007f9f73d20fb0] lua art finder debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/lua/meta/art [00007f9f73d20fb0] lua art finder debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/00_musicbrainz.luac [00007f9f73d20fb0] lua art finder debug: skipping script (unmatched scope) /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/00_musicbrainz.luac [00007f9f73d20fb0] lua art finder debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/01_googleimage.luac [00007f9f73d20fb0] lua art finder debug: skipping script (unmatched scope) /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/01_googleimage.luac [00007f9f73d20fb0] lua art finder debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/02_frenchtv.luac [00007f9f73d20fb0] lua art finder debug: skipping script (unmatched scope) /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/02_frenchtv.luac [00007f9f73d20fb0] lua art finder debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/03_lastfm.luac [00007f9f73d20fb0] lua art finder debug: skipping script (unmatched scope) /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/03_lastfm.luac [00007f9f73d20fb0] main art finder debug: no art finder modules matched [00007f9f73e18320] macosx interface debug: Initializing input manager [00007f9f73e18320] macosx interface debug: Register dialog provider [00007f9f73e18320] macosx interface debug: Loading VLCStatusBarIcon [00007f9f73ca6df0] main probe debug: looking for renderer probe module matching "any": 1 candidates [00007f9f73ca6df0] main probe debug: no renderer probe modules matched [00007f9f7511beb0] main generic debug: looking for extension module matching "any": 1 candidates [00007f9f7511beb0] lua generic debug: Opening Lua Extension module [00007f9f7511beb0] lua generic debug: Trying Lua scripts in /Users/protoolsx99/Library/Application Support/org.videolan.vlc/lua/extensions [00007f9f7511beb0] lua generic debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/lua/extensions [00007f9f7511beb0] lua generic debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/lua/extensions [00007f9f7511beb0] lua generic debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/extensions/VLSub.luac [00007f9f7511beb0] lua generic debug: Scanning Lua script /Applications/VLC.app/Contents/MacOS/share/lua/extensions/VLSub.luac [00007f9f7511beb0] lua generic debug: Script /Applications/VLC.app/Contents/MacOS/share/lua/extensions/VLSub.luac has the following capability flags: 0x5 [00007f9f7511beb0] main generic debug: using extension module "lua" [00007f9f73e18320] macosx interface debug: Initializing playlist model [00007f9f73ea41b0] main probe debug: looking for services probe module matching "any": 6 candidates [00007f9f73ea41b0] main probe debug: no services probe modules matched [00007f9f73e18320] macosx interface debug: Enabling media key support [00007f9f73e18320] macosx interface debug: Finished loading macosx interface [00007f9f73e18320] main interface debug: using interface module "macosx" [00007f9f73d13290] main playlist debug: processing request item: null, node: Playlist, skip: 0 [00007f9f73d13290] main playlist debug: rebuilding array of current - root Playlist [00007f9f73d13290] main playlist debug: rebuild done - 2 items, index -1 [00007f9f73d13290] main playlist debug: starting playback of new item [00007f9f73d13290] main playlist debug: resyncing on qtsound://SoundflowerEngine [00007f9f73d13290] main playlist debug: qtsound://SoundflowerEngine is at 0 [00007f9f73d13290] main playlist debug: creating new input thread [00007f9f7581c2f0] main input debug: Creating an input for 'qtsound://SoundflowerEngine' [00007f9f73d13290] main playlist debug: requesting art for new input thread [00007f9f73f736d0] main stream output debug: using sout chain=`transcode{acodec=mp3,ab=320,samplerate=48000,channels=2}:std{access=http,mux=ts}'

hoodwinked
New Cone
New Cone
Posts: 6
Joined: 09 Apr 2020 23:40

Re: Force input sample rate with qtsound capture. Having sample rate mismatch

Postby hoodwinked » 10 Apr 2020 00:13

Code: Select all

[00007f9f73f736d0] main stream output debug: stream=`std' [00007f9f73ea9040] main meta fetcher debug: looking for meta fetcher module matching "any": 1 candidates [00007f9f73f85280] main stream out debug: looking for sout stream module matching "std": 23 candidates [00007f9f73ea9040] lua meta fetcher debug: Trying Lua scripts in /Users/protoolsx99/Library/Application Support/org.videolan.vlc/lua/meta/fetcher [00007f9f73ea9040] lua meta fetcher debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/lua/meta/fetcher [00007f9f73ea9040] lua meta fetcher debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/lua/meta/fetcher [00007f9f73ea9040] main meta fetcher debug: no meta fetcher modules matched [00007f9f73ea9040] main art finder debug: looking for art finder module matching "any": 2 candidates [00007f9f73ea9040] lua art finder debug: Trying Lua scripts in /Users/protoolsx99/Library/Application Support/org.videolan.vlc/lua/meta/art [00007f9f73ea9040] lua art finder debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/lua/meta/art [00007f9f73ea9040] lua art finder debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/lua/meta/art [00007f9f73ea9040] lua art finder debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/00_musicbrainz.luac [00007f9f73ea9040] lua art finder debug: skipping script (unmatched scope) /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/00_musicbrainz.luac [00007f9f73f85280] main stream out debug: set config option: sout-standard-access to http [00007f9f73f85280] main stream out debug: set config option: sout-standard-mux to ts [00007f9f7513a380] main access out debug: looking for sout access module matching "http": 10 candidates [00007f9f73ea9040] lua art finder debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/01_googleimage.luac [00007f9f73ea9040] lua art finder debug: skipping script (unmatched scope) /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/01_googleimage.luac [00007f9f73ea9040] lua art finder debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/02_frenchtv.luac [00007f9f7513a380] main access out debug: net: listening to 192.168.0.230 port 8080 [00007f9f73ea9040] lua art finder debug: skipping script (unmatched scope) /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/02_frenchtv.luac [00007f9f73ea9040] lua art finder debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/03_lastfm.luac [00007f9f73ea9040] lua art finder debug: skipping script (unmatched scope) /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/03_lastfm.luac [00007f9f73ea9040] main art finder debug: no art finder modules matched [00007f9f7513a380] main access out debug: using sout access module "http" [00007f9f73f16830] main mux debug: looking for sout mux module matching "ts": 11 candidates [00007f9f73f16830] mux_ts mux debug: shaping=200000 pcr=70000 dts_delay=400000 [00007f9f73f16830] main mux debug: using sout mux module "mux_ts" [00007f9f73f736d0] main stream output debug: muxer support adding stream at any time [00007f9f73f736d0] main stream output debug: muxer prefers to wait for all ES before starting to mux [00007f9f73f85280] stream_out_standard stream out debug: using `http/ts://(null)' [00007f9f73f85280] main stream out debug: using sout stream module "stream_out_standard" [00007f9f73f736d0] main stream output debug: stream=`transcode' [00007f9f73f58440] main stream out debug: looking for sout stream module matching "transcode": 23 candidates [00007f9f73f58440] main stream out debug: set config option: sout-transcode-acodec to mp3 [00007f9f73f58440] main stream out debug: set config option: sout-transcode-ab to 320 [00007f9f73f58440] main stream out debug: set config option: sout-transcode-samplerate to 48000 [00007f9f73f58440] main stream out debug: set config option: sout-transcode-channels to 2 [00007f9f73f58440] stream_out_transcode stream out debug: Checking codec mapping for mp3 got mp3 [00007f9f73f58440] stream_out_transcode stream out debug: codec audio=mp3 48000Hz 2 channels 320Kb/s [00007f9f73f58440] main stream out debug: using sout stream module "stream_out_transcode" [00007f9f7581c2f0] main input debug: using timeshift granularity of 50 MiB [00007f9f7581c2f0] main input debug: using default timeshift path [00007f9f7581c2f0] main input debug: `qtsound://SoundflowerEngine:0' gives access `qtsound' demux `any' path `SoundflowerEngine:0' [00007f9f73f733e0] main input source debug: creating demux: access='qtsound' demux='any' location='SoundflowerEngine:0' file='(null)' [00007f9f73f61390] main demux debug: looking for access_demux module matching "qtsound": 14 candidates [00007f9f73f61390] qtsound demux debug: qtsound uid = SoundflowerEngine:0 [00007f9f73f61390] qtsound demux debug: qtsound : uid = SoundflowerEngine:0 [00007f9f73f61390] qtsound demux debug: qtsound audio 0/4 localizedDisplayName: Source-Nexus B uniqueID: com_sourceelements_driver_SourceNexus_double_AudioEngine:1 [00007f9f73f61390] qtsound demux debug: qtsound audio 1/4 localizedDisplayName: Soundflower (64ch) uniqueID: SoundflowerEngine:1 [00007f9f73f61390] qtsound demux debug: qtsound audio 2/4 localizedDisplayName: Source-Nexus A uniqueID: com_sourceelements_driver_SourceNexus_double_AudioEngine:0 [00007f9f73f61390] qtsound demux debug: qtsound audio 3/4 localizedDisplayName: Soundflower (2ch) uniqueID: SoundflowerEngine:0 [00007f9f73f61390] qtsound demux debug: Device found

hoodwinked
New Cone
New Cone
Posts: 6
Joined: 09 Apr 2020 23:40

Re: Force input sample rate with qtsound capture. Having sample rate mismatch

Postby hoodwinked » 10 Apr 2020 00:13

Code: Select all

[00007f9f73f61390] qtsound demux debug: created valid audio capture input facility [00007f9f73f61390] qtsound demux debug: initialized audio output [00007f9f73f61390] qtsound demux debug: Audio localized format summary: Linear PCM, 32 bit big-endian signed integer, 2 channels, 48000 Hz [00007f9f73f61390] qtsound demux debug: Audio format description attributes: { audioStreamBasicDescription = "<00000000 0070e740 6d63706c 1e000000 08000000 01000000 08000000 02000000 20000000 00000000>"; } [00007f9f73f61390] qtsound demux debug: New audio es 2 channels 44100Hz [00007f9f7581c2f0] main input debug: selecting program id=0 [00007f9f73f61390] qtsound demux debug: QTSound: We have an audio device ready! [00007f9f73f61390] main demux debug: using access_demux module "qtsound" [00007f9f7516aaa0] main decoder debug: looking for packetizer module matching "any": 25 candidates [00007f9f7516aaa0] main decoder debug: using packetizer module "copy" [00007f9f7581c2f0] main input debug: starting in async mode [00007f9f73f993e0] main demux meta debug: looking for meta reader module matching "any": 2 candidates [00007f9f73f993e0] lua demux meta debug: Trying Lua scripts in /Users/protoolsx99/Library/Application Support/org.videolan.vlc/lua/meta/reader [00007f9f73f993e0] lua demux meta debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/lua/meta/reader [00007f9f73f993e0] lua demux meta debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/lua/meta/reader [00007f9f73f993e0] lua demux meta debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/reader/filename.luac [00007f9f73f993e0] main demux meta debug: no meta reader modules matched [00007f9f7581c2f0] main input debug: `qtsound://SoundflowerEngine:0' successfully opened 2020-04-09 15:04:55.554 VLC[900:35368] Can't find app with identifier com.spotify.client [00007f9f73e18320] macosx interface debug: Activated assertion NoIdleSleepAssertion through IOKit (33825) [00007f9f7581c2f0] main input debug: Buffering 0% [00007f9f7581c2f0] main input debug: switching to sync mode [00007f9f7581c2f0] main input debug: Buffering 3% [00007f9f73f736d0] main stream output debug: adding a new sout input for `f32l` (sout_input: 0x7f9f799b7d80) [00007f9f73f58440] stream_out_transcode stream out debug: creating audio transcoding from fcc=`f32l' to fcc=`mp3 ' [00007f9f799a48b0] main generic debug: looking for audio decoder module matching "any": 21 candidates [00007f9f799a48b0] araw generic debug: samplerate:44100Hz channels:2 bits/sample:32 [00007f9f799a48b0] main generic debug: using audio decoder module "araw" [00007f9f799af180] main encoder debug: looking for encoder module matching "any": 22 candidates [00007f9f799af180] avcodec encoder debug: using ffmpeg Lavc58.6.103 [00007f9f799af180] avcodec encoder debug: CPU flags: 0x000fd3db [00007f9f799af180] avcodec encoder debug: Trying to find more suitable sample format instead of s32p [00007f9f799af180] avcodec encoder debug: Using fltp as new sample format [00007f9f799af180] avcodec encoder debug: Trying to find packet sample format instead of planar fltp [00007f9f799af180] avcodec encoder debug: Ended up using fltp as sample format [00007f9f799af180] avcodec encoder debug: Creating channel order for reordering [00007f9f799af180] avcodec encoder debug: 0 1 mapped to 2 [00007f9f799af180] avcodec encoder debug: 1 2 mapped to 4 [00007f9f799af180] avcodec encoder debug: found encoder MPEG Audio layer 3 [00007f9f799af180] main encoder debug: using encoder module "avcodec" [00007f9f73f58440] main stream out debug: input 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes [00007f9f73f58440] main stream out debug: conversion: 'f32l'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo [00007f9f73f58440] main stream out debug: conversion pipeline complete [00007f9f799afaa0] main audio resampler debug: looking for audio resampler module matching "any": 3 candidates [00007f9f799afaa0] main audio resampler debug: using audio resampler module "samplerate" [00007f9f799af180] main encoder debug: removing module "avcodec" [00007f9f799afaa0] main audio resampler debug: removing module "samplerate" [00007f9f7581c2f0] main input debug: Buffering 7% [00007f9f7581c2f0] main input debug: Buffering 11% [00007f9f7581c2f0] main input debug: Buffering 15% [00007f9f7581c2f0] main input debug: Buffering 19% [00007f9f7581c2f0] main input debug: Buffering 23% [00007f9f7581c2f0] main input debug: Buffering 30% [00007f9f7581c2f0] main input debug: Buffering 34% [00007f9f7581c2f0] main input debug: Buffering 38% [00007f9f7581c2f0] main input debug: Buffering 42% [00007f9f7581c2f0] main input debug: Buffering 46%

hoodwinked
New Cone
New Cone
Posts: 6
Joined: 09 Apr 2020 23:40

Re: Force input sample rate with qtsound capture. Having sample rate mismatch

Postby hoodwinked » 10 Apr 2020 00:14

Code: Select all

[00007f9f7581c2f0] main input debug: Buffering 50% [00007f9f7581c2f0] main input debug: Buffering 54% [00007f9f7581c2f0] main input debug: Buffering 58% [00007f9f7581c2f0] main input debug: Buffering 61% [00007f9f7581c2f0] main input debug: Buffering 65% [00007f9f7581c2f0] main input debug: Buffering 69% [00007f9f7581c2f0] main input debug: Buffering 73% [00007f9f7581c2f0] main input debug: Buffering 77% [00007f9f7581c2f0] main input debug: Buffering 81% [00007f9f7581c2f0] main input debug: Buffering 85% [00007f9f7581c2f0] main input debug: Buffering 89% [00007f9f7581c2f0] main input debug: Buffering 92% [00007f9f7581c2f0] main input debug: Stream buffering done (301 ms in 259 ms) [00007f9f7581c2f0] main input debug: Decoder wait done in 0 ms [00007f9f799af180] main encoder debug: looking for encoder module matching "any": 22 candidates [00007f9f799af180] avcodec encoder debug: using ffmpeg Lavc58.6.103 [00007f9f799af180] avcodec encoder debug: CPU flags: 0x000fd3db [00007f9f799af180] avcodec encoder debug: Trying to find more suitable sample format instead of s32p [00007f9f799af180] avcodec encoder debug: Using fltp as new sample format [00007f9f799af180] avcodec encoder debug: Trying to find packet sample format instead of planar fltp [00007f9f799af180] avcodec encoder debug: Ended up using fltp as sample format [00007f9f799af180] avcodec encoder debug: Creating channel order for reordering [00007f9f799af180] avcodec encoder debug: 0 1 mapped to 2 [00007f9f799af180] avcodec encoder debug: 1 2 mapped to 4 [00007f9f799af180] avcodec encoder debug: found encoder MPEG Audio layer 3 [00007f9f799af180] main encoder debug: using encoder module "avcodec" [00007f9f73f58440] main stream out debug: input 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes [00007f9f73f58440] main stream out debug: conversion: 'f32l'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo [00007f9f73f58440] main stream out debug: conversion pipeline complete [00007f9f79c2bc10] main audio resampler debug: looking for audio resampler module matching "any": 3 candidates [00007f9f79c2bc10] main audio resampler debug: using audio resampler module "samplerate" [00007f9f73f16830] main mux debug: adding a new input [00007f9f73f16830] mux_ts mux debug: adding input codec=mp3 pid=200 [00007f9f73f16830] mux_ts mux debug: new PCR PID is 200 [00007f9f73f16830] main mux warning: late buffer for mux input (15126)
I am sure the problem lies in the "araw" audio decoder is being set to 44100. I cannot figure out how to tell it to be 48000


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 36 guests