1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

HME/VLC video streamer, v1.0 -- watch NASA TV, etc.

Discussion in 'TiVo Home Media Features & TiVoToGo' started by wmcbrine, Aug 23, 2008.

  1. Sep 15, 2008 #41 of 481
    PaulS

    PaulS Member

    674
    1
    Sep 16, 2002
    Southern NH
    Sorry, not going to be able to get to it tonight. Had to do some work at home, and then my wife took over the TiVo to watch "her shows". :(

    I'll take another crack at it as soon as I can.
     
  2. Sep 16, 2008 #42 of 481
    Allanon

    Allanon Member

    581
    0
    Nov 2, 2005
    This is the output from VLC version 0.92 when trying to stream NASA TV:
    The previous version of VLC worked fine before updating.

    Edit: This problem might be due to the new version of VLC not recognizing a MPEG-1 video encoder on my computer. When I tried transcoding using VLC's GUI it reported the it couldn't open the MPEG-1 encoder.
     
  3. Sep 16, 2008 #43 of 481
    goodtrips

    goodtrips New Member

    41
    0
    Jan 20, 2007
    Yep, that did it -- thanks wmcbrine.

    I know you're obviously working through some kinks, but just a side thought -- is it possible to to modify the output stream settings that are sent to the TiVo? I'm thinking the quality of the files would look significantly better if we let VLC handle the upscaling versus the TiVo/TV.

    I believe for 720p we'd be looking at 1280x720 @ 60fps. Not sure what the bitrate would have to be to support that, but could be an interesting test.
     
  4. Sep 16, 2008 #44 of 481
    PaulS

    PaulS Member

    674
    1
    Sep 16, 2002
    Southern NH
    That may be true, but the computational overhead involved with rescaling HD resolutions may be too onerous for many folks' computers. This may be a good candidate for a configurable option.
     
  5. Sep 16, 2008 #45 of 481
    wmcbrine

    wmcbrine Ziphead

    10,369
    22
    Aug 2, 2003
    I played around with VLC 0.9.2 for a while, and couldn't make it work. It seems broken to me. I'm going to have to recommend that people stick with 0.8.x for now.
     
  6. Sep 16, 2008 #46 of 481
    PaulS

    PaulS Member

    674
    1
    Sep 16, 2002
    Southern NH
    Another problem I've yet to resolve involves videos that fail to play out. I can successfully browse the file system, and select a video to stream. At that point, a command window is spawned on the server machine running VLC or ffmpeg, and the TiVo displays the filename with the ping-pong graphic. After a while, the VLC/ffmpeg command window simply disappears and the TiVo shows an error message.

    Is there some way to help diagnose what's going on ?
     
  7. Sep 16, 2008 #47 of 481
    mulscully

    mulscully Member

    324
    0
    May 31, 2003
    Malvern, Pa
    Can we use this to read streams from HDhomerun
     
  8. Sep 16, 2008 #48 of 481
    Allanon

    Allanon Member

    581
    0
    Nov 2, 2005
    I was able to watch my WinTV capture card by using VLC to stream the video from the WinTV over a HTTP port and then use wmcbrine's HME/VLC video streamer to watch the video. I'm thinking of writing a HME program that allows me to change channels and maybe put up a guide. This would be like having a third Tuner in my Tivo HD.
     
  9. Sep 17, 2008 #49 of 481
    digger69

    digger69 New Member

    24
    0
    Dec 12, 2007
    Thanks for your work on this wmcbrine. I just got this downloaded w/ the latest vlc and it crapped as Allanon reported. Found here that I needed to downgrade to 8.6i. Did that and now I'm getting:

    Code:
    [00000298] dummy interface: VLC media player - version 0.8.6h Janus - (c) 1996-2
    008 the VideoLAN team
    [00000298] dummy interface:
    Warning: if you can't access the GUI anymore, open a command-line window, go to
    the directory where you installed VLC and run "vlc -I wx"
    
    [00000298] dummy interface: using the dummy interface module...
    [00000315] main private: creating httpd
    [00000319] mux_ps private: Open
    [00000322] access_mms access: selecting stream[0x1] audio (63 kb/s)
    [00000322] access_mms access: connection successful
    Compiler did not align stack variables. Libavcodec has been miscompiled
    and may be very slow or crash. This is not a bug in libavcodec,
    but in the compiler. Do not report crashes to FFmpeg developers.
    This is an MMS stream:
    url=mms://wm-live.world.mii-streaming.net/live/klove/high_01 and is audio only. I bet that's the issue... Any workaround?

    NASA, CNN, etc. play fine (aspect ration is way funky on my panny).

    Thanks for all your work on this wmcbrine. I concur, you are a hoopy frood :)
     
  10. Sep 17, 2008 #50 of 481
    wmcbrine

    wmcbrine Ziphead

    10,369
    22
    Aug 2, 2003
    I'm thinking about how to do audio streams. Stay tuned. (The "Compiler did not align" message is standard, BTW. You'll see that on any stream, video or audio.)

    CNN streams are 16:9, but a lot of their material is stretched from 4:3 sources, so the weirdness is built in. The other streams should look the same as other 4:3 material on your TiVo (controllable by the Aspect button, but not from within HME/VLC -- you have to change it from Live TV or Now Playing).
     
  11. Sep 20, 2008 #51 of 481
    wmcbrine

    wmcbrine Ziphead

    10,369
    22
    Aug 2, 2003
    Better handling of VLC in nonstandard locations or missing VLC; various minor menu tweaks to make it closer to TiVo's own.
     
  12. Sep 20, 2008 #52 of 481
    goodtrips

    goodtrips New Member

    41
    0
    Jan 20, 2007
    Some strange behavior I've been seeing -- I'm constantly getting socket.error 10054 - Connection rest by peer errors when I try streaming regular MP4 files. However, h.264 files (baseline 3 ipod format) seem to stream just fine.

    For what it's worth, I use handbrake to encode all my media.
     
  13. Sep 21, 2008 #53 of 481
    wmcbrine

    wmcbrine Ziphead

    10,369
    22
    Aug 2, 2003
    h.264 is the only flavor of MPEG-4 that I've seen to work on the TiVo, although it's possible that others will work.

    You can force the files to be reencoded while being streamed, by giving them a different extension.
     
  14. Sep 24, 2008 #54 of 481
    Allanon

    Allanon Member

    581
    0
    Nov 2, 2005
    If you want to stream SopCast to the Tivo just add the following to the config.ini:

    Code:
    [SopCast]
    url=http://127.0.0.1:8902/stream
    needs_vlc=True
    Then you can run the SopCast software and once you have a stream playing just select the "SopCast" menu item on the Tivo and it will stream.
     
  15. Sep 24, 2008 #55 of 481
    digger69

    digger69 New Member

    24
    0
    Dec 12, 2007
    Staying tuned :)
     
  16. Sep 25, 2008 #56 of 481
    Allanon

    Allanon Member

    581
    0
    Nov 2, 2005
    The same simplification that wmcbrine did in this post which made streaming DVDs easy can also be applied to VLC compatible capture devices.

    Adding the following code to the config.ini file made it easy to stream my WinTV capture device to the Tivo:
    Code:
    [Capture Device]
    url=dshow://
    needs_vlc=True
    
     
  17. Sep 25, 2008 #57 of 481
    wmcbrine

    wmcbrine Ziphead

    10,369
    22
    Aug 2, 2003
    Reorganization; more options for config.ini; no longer need to set the datapath in Windows.
     
  18. Sep 26, 2008 #58 of 481
    dankruse

    dankruse New Member

    17
    0
    Apr 27, 2005
    I have two .mp4 files: 1) I downloaded from YouTube. 2) Converted from an AVCHD file using Nero 8.

    The YouTube video streams without any problem.
    My video will not stream without that socket.error 10054 error.

    Both play fine on my PC.

    According to VLC, they are identical format with the exception of the stream order.

    I've attached screen captures.

    Any idea why it wouldn't work? Does the stream order matter?
     

    Attached Files:

  19. Oct 2, 2008 #59 of 481
    Loopey_The_Great

    Loopey_The_Great New Member

    1
    0
    Sep 7, 2008
    I've spent 2 entire days now trying to install VLC 8.0, 8.5, 8.6 on my SUSE 11 box. I've encountered an unbearable number of package incompatibilities and bugs and I have now officially given this up as being impossible. I can however, get vlc 9.0 / 9.3 to install OK. Are their any plans to get this program to work with the current version of VLC?
     
  20. Oct 2, 2008 #60 of 481
    Ely105

    Ely105 New Member

    25
    0
    Sep 7, 2008
    Does this require VLC to stream or is VLC just for transcoding. Would be great to get this working on a ReadyNAS so that you don't need a PC to stream directly from your NAS box...
     

Share This Page