News for hackers. Stuff that matters.
Re:Show HN: Gnomecast – A Linux Chromecast GUI with transcod... by sharpercoder on Friday February 16, 2018 @04:22AM (#16391016)
VLC does not support certain formats. I haven't dug into it, but I don't think it supports transcoding video to a chromecast endpoint either.
Re:Show HN: Gnomecast – A Linux Chromecast GUI with transcod... by Wofiel on Friday February 16, 2018 @06:04AM (#16391508)
Reportedly does.

>If media codecs are supported by your Chromecast device, VLC only acts as a streaming server (which is battery consuming). If not, VLC will transcode and stream media, which is highly cpu and battery consuming.

[1] https://geoffreymetais.github.io/features/vlc-30/#chromecast

Re:Show HN: Gnomecast – A Linux Chromecast GUI with transcod... by keredson on Friday February 16, 2018 @09:59AM (#16392748)
also they're transcoding to V8 and webm. so pretty much transcoding everything.
Re:Show HN: Gnomecast – A Linux Chromecast GUI with transcod... by thresh on Friday February 16, 2018 @06:17AM (#16391555)
No, VLC does the transcoding on the fly, and that's why it's not very easy.
Re:Show HN: Gnomecast – A Linux Chromecast GUI with transcod... by keredson on Friday February 16, 2018 @10:09AM (#16392826)
i actually wrote this to transcode on the fly (if you look at the code there's "wait_for_byte" etc), but there are certain limitations i discovered. mp4 files have what's called a "MOOV atom" which is a descriptor stored at either the beginning or the end of the file. but you can only write it once you're completed transcoding. so that pretty much kills it for mp4. vlc uses webm which doesn't have this limit, but you can't put a h264 stream in a webm container, so you HAVE to transcode it to V8, which is slow as balls. (0.1x in my testing, tho you can force 1x if you accept lower quality.) considering almost no one has media in V8, i decided to opt for mp4. but it works if you switch it back to v8+webm.