Skip to content

Streaming to Chromecast breaks after a couple of minutes

Streaming to Chromecast was working great until I updated my system about a month ago. Now it will play for 1 - 5 minutes before stopping.

The logs switch from:

stream_out_chromecast debug: Player state: PLAYING sessionId: 1

to:

stream_out_chromecast debug: Player state: IDLE sessionId: 1

and then spams:

stream_out_chromecast warning: httpd buffer full: dropping 2270B

afterwards the log shows:

mkv warning: find KaxCues FIXME
mkv debug: MKV/Ebml Parser: m_el[mi_level] == NULL
mkv warning: EOF
mkv warning: cannot get block EOF?
avformat debug: removing input
avformat debug: removing input
main warning: no more input streams for this mux
main debug: destroying chain... (name=chromecast-proxy)
main debug: removing module "stream_out_chromecast"
main debug: destroying chain done
main debug: destroying chain... (name=std)
main debug: removing module "stream_out_standard"
main debug: removing module "avformat"
stream_out_chromecast warning: httpd buffer full: dropping 38855B
main debug: removing module "stream_out_chromecast"
main debug: destroying chain done
main debug: EOF reached
main debug: killing decoder fourcc `h264'
main debug: removing module "h264"
main debug: removing a sout input (sout_input: 0x7fd6c4018e90)
main debug: killing decoder fourcc `mp4a'
main debug: removing module "mpeg4audio"
main debug: removing a sout input (sout_input: 0x7fd6ac000ba0)
main debug: removing module "demux_chromecast"
main debug: removing module "mkv"
main debug: Program doesn't contain anymore ES
mkv debug: Stopping the UI Hook
main debug: removing module "record"
main debug: removing module "cache_read"
main debug: removing module "filesystem"
main debug: dead input
main debug: changing item without a request (current 0/1)
main debug: nothing to play
qt debug: IM: Deleting the input
dbus debug: Getting property Position
stream_out_chromecast debug: PING received from the Chromecast

which may or may not be relative as the stream has already stopped.

OS: Manjaro Linux
VLC media player 3.0.11.1 Vetinari (revision 3.0.11.1-0-g52483f3ca2)
VLC version 3.0.11.1 Vetinari (3.0.11.1-0-g52483f3ca2)
Compiled by builduser on arch (Sep 24 2020 21:38:44)

Similar issue reported here:

  • #24573
  • #22541 but in my case it's from streaming a local file (tried with multiple file formats).

All this worked fine until recently, it also works fine on the same computer from the Windows Partition. I tried using git master (about a month ago) with no luck, and I updated my system again today which also has the issue.

Not sure if it is a issue in VLC or an issue with my system. Looking for some guidance on where to debug next.

Edited by Rémi Denis-Courmont
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information