jeudi 9 avril 2015

nasflix for Roamio and mini

For those interested in trying out a new app:



nasflix is a Opera TV Store application designed specifically for the TiVo Roamio & TiVo Mini to allow streaming of movies and videos from a network-attached storage (NAS) device.



The server for this app must be installed on a Windows computer accessible on your local network and configured to point to your backup folder(s). The server is a Java application with an embedded Jetty server that uses ffmpeg to stream Blu Ray and DVD main movie backups. The .bat file to start the server will log the address to enter for the opera tv store app.



Here is some more background on the app for those interested in trying it out:



1. The opera app store does not allow AJAX calls, images, JS, or CSS to load from an IP address on the local network. The Web Socket protocol and HTML video tag do not have the same restriction. This allows the application to load data over Web Sockets and stream video using the video tag over a local network.



2. The video is streamed using fragmented mp4. This allows most recent Blu Rays encoded in h264 to be streamed without transcoding the video. Audio is always transcoded in 5.1 at the most.



3. When video is not transcoded, ffmpeg does not correctly skip to specific spots in the video for some backups. This is really annoying when trying to resume a movie or skip ahead. I'm not sure there is much I can do about this at the moment. If you care less about video quality and more about functionality, you can set the configuration as noted on the web site to always transcode video.



4. Streaming assumes the backup is the main movie only with main audio only. If subtitles are on the backup, transcoding will be used to display the subtitles correctly. If you want to disable subtitles to get the best video quality, you can set com.nasflix.transcode.subtitles=false in the server config file.



5. The Opera app store relies on settings that TiVo applies to define how memory is handled. When the app was originally created about this time last year, TiVo Roamio and mini would crash about an hour into HD video playback. This was resolved in updates over the summer, but 20.4.6 broke it. I contacted TiVo Support but they do not have an ETA for a fix. I'm not sure what has changed, but 20.4.7 does not resolve the issue. This only happens for Blu Ray streaming and at about an hour into the movie. I assume there is some type of memory leak or something going on.



6. The app should be showing up for TiVo Roamio and TiVo mini v2 devices as of April 1st. I'm still working with Opera and TiVo to find out why it is not showing up for TiVo mini v1.



7. It took over 3 months just to get Opera and TiVo to approve the app and have it kind of show up in the app store. Depending how the TiVo Plex app turns out, I may or may not continue to maintain this due to how painful the process is and how buggy the app store can be.



8. The FF/RWD and CH UP/DOWN can be used to skip around the movie. The pause button will stop the movie and persist the option to resume.



9. The server uses a folder.jpg and movie.info file under each backup folder to display the cover image and get details for the movie. There are better ways to get this data, but that is the way I coded it for now due to my use of xbmc over the past several years.



10. More information is available at nasflix.com.



If you try the app out and have questions, I will try to answer them here.




Aucun commentaire:

Enregistrer un commentaire