pete.marshall 0 Posted February 15, 2017 Share Posted February 15, 2017 My Samsung TV supports flv files directly, and I've been using MediaTomb successfully to watch them. However, I wanted to experiment with emby-server. I tried setting flv as DirectPlay in the dlna profile, but the tv didn't like it. The emby-server was giving FileNotFound exceptions when the GET request for the stream.flv file came in. I experimented with vlc, which was working but was transcoding (DirectStreaming) the flv files to ts. I could not get the tv to accept the transcoded output, even on direct pass-through. (There's still a bug there somewhere). But then I tried the failing stream.flv url's directly in a web browser, but changed the .flv extension to .mp4 (since I could get mp4 files to work, I wondered what the difference was). I was surprised to find that this worked, and the flv was downloaded (albeit with .mp4 extension). Trying other extensions also worked (mkv, etc) so I wondered what was magic about the .flv extension that it didn't work. Poking around in the source, I stumbled across the source file ./Emby/MediaBrowser.Api/Playback/Progressive/VideoService.cs which has a hard-coded list of supported file extensions. I added flv to both the GET and the HEAD sections, rebuilt it and it now works. Now flv files are direct played to my previously un-usable Samsung TV. Result! Hope that helps someone else. Link to comment Share on other sites More sharing options...
Luke 37254 Posted February 15, 2017 Share Posted February 15, 2017 @@pete.marshall thanks for the info ! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now