Issue with Chromecast rendering

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
marjo
New Cone
New Cone
Posts: 4
Joined: 14 Nov 2021 20:58

Issue with Chromecast rendering

Postby marjo » 29 Nov 2021 19:16

I'm sorry if this issue has been posted and answered before, I have found many similar issues but am none the wiser as to how to fix this. Until a couple of weeks ago I had been streaming local audio files (FLAC) with VLC to my Chromecast Audio for some time, without issue. Streaming local audio with VLC stopped working during playback, without warning, and without making any changes to VLC or the operating system (as I remember the PC was just running VLC at the time). I have since tried factory reseting the Chromecast Audio device (although I can still cast from other software on the same PC) and I have tried reinstalling VLC (to the latest version).

I am running Windows 10 Home v.20H2 build no. 19042.1348. VLC version is 3.0.16.
main debug: looking for renderer probe module matching "any": 1 candidates
main debug: no renderer probe modules matched
qt debug: starting renderer discovery service mDNS renderer Discovery
main debug: looking for renderer_discovery module matching "microdns_renderer": 1 candidates
microdns debug: mDNS: listening to _googlecast._tcp.local renderer
main debug: using renderer_discovery module "microdns"
main debug: Creating an input for preparsing '01. Bloom at Night.flac'
main debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\...\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\art
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
main debug: no art finder modules matched
main debug: processing request item: Bloom at Night, node: Playlist, skip: 0
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 1 items, index 0
main debug: starting playback of new item
main debug: resyncing on Bloom at Night
main debug: Bloom at Night is at 0
main debug: creating new input thread
main debug: Creating an input for 'Bloom at Night'
main debug: requesting art for new input thread
main debug: using sout chain=`chromecast{ip=192.168.1.201,port=8009,no-video}'
main debug: stream=`chromecast'
main debug: looking for sout stream module matching "chromecast": 23 candidates
main debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\...\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\art
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
main debug: set config option: sout-chromecast-ip to 192.168.1.201
main debug: set config option: sout-chromecast-port to 8009
main debug: set config option: sout-chromecast-video to (null)
main warning: httpd timeout disabled
main debug: net: listening to * port 8010
main debug: looking for tls client module matching "any": 1 candidates
lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
qt debug: IM: Setting an input
lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
main debug: no art finder modules matched
gnutls debug: using GnuTLS version 3.6.15
gnutls debug: loaded 67 trusted CAs from system
Last edited by marjo on 29 Nov 2021 19:24, edited 4 times in total.

marjo
New Cone
New Cone
Posts: 4
Joined: 14 Nov 2021 20:58

Re: Issue with Chromecast rendering

Postby marjo » 29 Nov 2021 19:19

main debug: using tls client module "gnutls"
main debug: resolving 192.168.1.201 ...
gnutls debug: TLS handshake: Resource temporarily unavailable, try again.
gnutls debug: TLS handshake: Success.
gnutls error: Certificate verification failure: The certificate is NOT trusted. The certificate issuer is unknown. The name in the certificate does not match the expected.
gnutls info: Accepting self-signed/untrusted CA certificate.
main debug: using sout stream module "stream_out_chromecast"
main debug: using timeshift granularity of 50 MiB
main debug: using timeshift path: C:\Users\...\AppData\Local\Temp
main debug: `file:///C:/Music/01.%20Bloom%20at%20Night.flac' gives access `file' demux `any' path `/C:/Music/01.%20Bloom%20at%20Night.flac'
main debug: creating demux: access='file' demux='any' location='/C:/Music/01.%20Bloom%20at%20Night.flac' file='C:\Music\01. Bloom at Night.flac'
main debug: looking for access_demux module matching "file": 15 candidates
main debug: no access_demux modules matched
main debug: creating access: file:///C:/Music/01.%20Bloom%20at%20Night.flac
main debug: (path: C:\Music\01. Bloom at Night.flac)
main debug: looking for access module matching "file": 27 candidates
main debug: using access module "filesystem"
main debug: looking for stream_filter module matching "prefetch,cache_read": 24 candidates
cache_read debug: Using stream method for AStream*
cache_read debug: starting pre-buffering
cache_read debug: received first data after 0 ms
cache_read debug: pre-buffering done 1024 bytes in 0s - 1000000 KiB/s
main debug: using stream_filter module "cache_read"
main debug: looking for stream_filter module matching "any": 24 candidates
lua debug: Trying Lua scripts in C:\Users\...\AppData\Roaming\vlc\lua\playlist
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\playlist
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\anevia_streams.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\anevia_xml.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\appletrailers.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\bbc_co_uk.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\cue.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\dailymotion.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\jamendo.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\koreus.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\liveleak.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\newgrounds.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\rockbox_fm_presets.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\soundcloud.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\twitch.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\vimeo.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\vocaroo.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\youtube.luac
main debug: no stream_filter modules matched
main debug: looking for stream_directory module matching "any": 1 candidates
main debug: no stream_directory modules matched
main debug: attachment of directory-extractor failed for file:///C:/Music/01.%20Bloom%20at%20Night.flac
main debug: looking for stream_filter module matching "record": 24 candidates
main debug: using stream_filter module "record"
main debug: creating demux: access='file' demux='any' location='/C:/Music/01.%20Bloom%20at%20Night.flac' file='C:\Music\01. Bloom at Night.flac'
main debug: looking for demux module matching "flac": 55 candidates
main debug: looking for packetizer module matching "any": 25 candidates
main debug: using packetizer module "flac"
main debug: selecting program id=0
main debug: using demux module "flacsys"
main debug: looking for demux_filter module matching "cc_demux": 2 candidates
main debug: ES_OUT_RESET_PCR called
main debug: using demux_filter module "demux_chromecast"
main debug: looking for a subtitle file in C:\Music\
main debug: looking for packetizer module matching "any": 25 candidates
main debug: using packetizer module "flac"
main debug: starting in sync mode
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:///C:/Music/01.%20Bloom%20at%20Night.flac' successfully opened
main debug: Buffering 0%
main debug: switching to async mode
main debug: Buffering 9%
main debug: adding a new sout input for `flac` (sout_input: 000002513435f3c0)
main debug: Buffering 18%
main debug: Buffering 27%
main debug: Buffering 37%
main debug: Buffering 46%
main debug: Buffering 55%
main debug: Buffering 65%
main debug: Buffering 74%
main debug: Buffering 83%
main debug: Buffering 92%
main debug: Stream buffering done (1021 ms in 1 ms)
main debug: Decoder wait done in 0 ms
Last edited by marjo on 29 Nov 2021 19:22, edited 1 time in total.

marjo
New Cone
New Cone
Posts: 4
Joined: 14 Nov 2021 20:58

Re: Issue with Chromecast rendering

Postby marjo » 29 Nov 2021 19:19

stream_out_chromecast debug: can't remux audio track 0 codec flac
stream_out_chromecast debug: Converting audio to mp3
stream_out_chromecast debug: Creating chain transcode{acodec=mp3 ,ab=320,}:chromecast-proxy:std{mux=avformat{mux=matroska,options={live=1},reset-ts},access=chromecast-http}
main debug: stream=`std'
main debug: looking for sout stream module matching "std": 23 candidates
main debug: set config option: sout-standard-mux to avformat{mux=matroska,options={live=1},reset-ts}
main debug: set config option: sout-standard-access to chromecast-http
main debug: looking for sout access module matching "chromecast-http": 11 candidates
main debug: using sout access module "stream_out_chromecast"
main debug: looking for sout mux module matching "avformat": 11 candidates
avcodec debug: using ffmpeg Lavf58.3.100
avcodec debug: CPU flags: 0x000fd3db
main debug: set config option: sout-avformat-mux to matroska
main debug: set config option: sout-avformat-options to live=1
main debug: set config option: sout-avformat-reset-ts to (null)
main debug: using sout mux module "avcodec"
stream_out_standard debug: using `chromecast-http/avformat{mux=matroska,options={live=1},reset-ts}://(null)'
main debug: using sout stream module "stream_out_standard"
main debug: stream=`chromecast-proxy'
main debug: looking for sout stream module matching "chromecast-proxy": 23 candidates
main debug: using sout stream module "stream_out_chromecast"
main debug: stream=`transcode'
main debug: looking for sout stream module matching "transcode": 23 candidates
main debug: set config option: sout-transcode-acodec to mp3
main debug: set config option: sout-transcode-ab to 320
stream_out_transcode debug: Checking codec mapping for mp3 got mp3
stream_out_transcode debug: codec audio=mp3 0Hz 0 channels 320Kb/s
main debug: using sout stream module "stream_out_transcode"
stream_out_transcode debug: creating audio transcoding from fcc=`flac' to fcc=`mp3 '
main debug: looking for audio decoder module matching "any": 23 candidates
main debug: using audio decoder module "flac"
main debug: looking for encoder module matching "any": 24 candidates
avcodec debug: using ffmpeg Lavc58.6.103
avcodec debug: CPU flags: 0x000fd3db
avcodec debug: Trying to find packet sample format instead of planar s32p
avcodec debug: Ended up using s32p as sample format
avcodec debug: Creating channel order for reordering
avcodec debug: 0 1 mapped to 2
avcodec debug: 1 2 mapped to 4
avcodec debug: 2 4 mapped to 1
avcodec debug: 3 100 mapped to 10
avcodec warning: stereo mode selected (codec limitation)
avcodec debug: found encoder MPEG Audio layer 3
main debug: using encoder module "avcodec"
main debug: input 's32l' 44100 Hz 2F2R frame=1 samples/16 bytes
main debug: conversion: 's32l'->'s32l' 44100 Hz->44100 Hz 2F2R->Stereo
main debug: looking for audio converter module matching "any": 8 candidates
audio_format debug: s32l->f32l, bits per sample: 32->32
main debug: using audio converter module "audio_format"
main debug: looking for audio converter module matching "any": 8 candidates
main debug: using audio converter module "trivial"
main debug: looking for audio converter module matching "any": 8 candidates
audio_format debug: f32l->s32l, bits per sample: 32->32
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"
main debug: removing module "avcodec"
main debug: removing module "ugly"
main debug: removing module "audio_format"
main debug: removing module "trivial"
main debug: removing module "audio_format"
flac debug: decode STREAMINFO
flac debug: channels:2 samplerate:44100 bitspersamples:24
flac debug: STREAMINFO decoded
main debug: looking for encoder module matching "any": 24 candidates
avcodec debug: using ffmpeg Lavc58.6.103
avcodec debug: CPU flags: 0x000fd3db
avcodec debug: Trying to find packet sample format instead of planar s32p
avcodec debug: Ended up using s32p as sample format
avcodec debug: Creating channel order for reordering
avcodec debug: 0 1 mapped to 2
avcodec debug: 1 2 mapped to 4
avcodec debug: found encoder MPEG Audio layer 3
main debug: using encoder module "avcodec"
main debug: input 's32l' 44100 Hz Stereo frame=1 samples/8 bytes
main debug: conversion: 's32l'->'s32l' 44100 Hz->44100 Hz Stereo->Stereo
main debug: conversion pipeline complete
main debug: looking for audio resampler module matching "any": 3 candidates
main debug: using audio resampler module "ugly"
main debug: adding a new input
avcodec debug: adding input
avcodec debug: writing header
stream_out_chromecast debug: Loading content
stream_out_chromecast debug: Starting the media receiver application
stream_out_chromecast debug: Media receiver application has been started.
stream_out_chromecast debug: s_chromecast_url: http://192.168.1.195:8010/chromecast/20 ... 523/stream
stream_out_chromecast debug: PING received from the Chromecast
stream_out_chromecast debug: PING received from the Chromecast
main debug: removing module "microdns"
stream_out_chromecast debug: PING received from the Chromecast
stream_out_chromecast debug: PING received from the Chromecast
stream_out_chromecast debug: PING received from the Chromecast
stream_out_chromecast debug: PING received from the Chromecast
stream_out_chromecast debug: PING received from the Chromecast

marjo
New Cone
New Cone
Posts: 4
Joined: 14 Nov 2021 20:58

Re: Issue with Chromecast rendering

Postby marjo » 18 Dec 2021 22:48

Bumping because if anyone may be able to help with this issue it would be gratefully appreciated. I've been using VLC for over 10 years but now I find myself looking for alternative audio software.. I've recently reset my home network setup and it's still an issue specific to VLC

wout
New Cone
New Cone
Posts: 3
Joined: 04 Feb 2022 11:31

Re: Issue with Chromecast rendering

Postby wout » 04 Feb 2022 11:34

Hey, not sure I have the same issue, but with the Chromecast Audio I am able to play .opus files, but not .mp3's. They seem to hang. Have you tested this with a .opus file or would that also give no sound?

I am looking for a way to have it play the .mp3 with my chromecast audio.

wout
New Cone
New Cone
Posts: 3
Joined: 04 Feb 2022 11:31

Re: Issue with Chromecast rendering

Postby wout » 04 Feb 2022 12:14

```
[00007fa410002710] avcodec encoder warning: cannot send one frame to encoder -22
```

This is the error code that I am getting for mp3's, which seem unrelated to your problem


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 51 guests