If you have an Android phone, you can use minidlna as a DLNA server, then retrieve the videos with BubbleUPnP app and view them with MXPlayer. You can cast to Chromecast from MXPlayer. MXPlayer supports pretty much any format I throw at it.
Have you tried playing the video in Chrome then casting the tab to the TV?
Chromecast is a licensed proprietary technology so it isn't widely supported by open-source applications.
To configure minidlna, you just need to edit /etc/minidlna.conf and change these lines to fit your needs:
Code:
media_dir=V,/path/to/video/directory
media_dir=A,/path/to/music/directory
media_dir=P,/path/to/photos/directory
You can have multiple entries for any of these options by simply adding another line with the correct path.
Some modern TVs come with a built-in DLNA client, though support for subtitled videos and some formats like Matroska (".mkv") can be spotty. Sony, ever carrying the torch for proprietary systems, makes TVs that barf at pretty much anything other than .mp4 containers and a limited range of codecs like AAC. My Roku stick has a decent DLNA player, though it displays the subtitles using the closed-captioning feature rather that showing the formatted subtitles in most shows I watch.
Usually I just watch my videos over the network (using NFS) on an old laptop running Ubuntu connected to one of the TV's HDMI ports.
Bookmarks