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

pyTivoX

Discussion in 'TiVo Home Media Features & TiVoToGo' started by Yoav, Dec 10, 2008.

  1. Apr 5, 2009 #421 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Post the file as an attachment (you will probably need to zip it up first) using the "manage Attachments" link at the bottom of the reply editor
     
  2. Apr 5, 2009 #422 of 1437
    Gyroscope352

    Gyroscope352 New Member

    6
    0
    Apr 2, 2009

    I believe it is on the same subnet (you may need to be more specific on what that means). I am pretty sure there is a bit of firewalling, but I do not know if that is affecting this or not - I can download stuff with iTivo (evidence that it doesn't affect it), but it takes about 2 hours to download a 1 hour episode (possible evidence that the firewall is slowing it down (?)). Oddly enough, though I don't know what "subnet" means, I'm pretty experienced with port forwarding and the like, so if that will help perhaps I can do that. If the firewall is the issue.

    My TiVo software is version 11.0b-01-2-652. Is that the most recent version?

    log merely says "INFO:pyTivo:pyTivo is ready."

    I can't post my SB.log because it won't let me post links.

    This is with two tries, one with the default settings and one with a different port/with my TiVo's ip plugged into the config.

    Streambaby is enabled, and it does show up in showcases but it never loads (I just get a grey screen that says "please wait..." and it never changes).

    Hope this helps.
     
  3. Apr 5, 2009 #423 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Software seems fine. downloads from tivo are always slow, so no worries there. you shouldn't need to port forward unless your tivo is behind a router that the computer is on the other side of (that's what not being on the same subnet implies). in iTiVo, does the tivo name appear on the list of tivos to select? or do you have to manually type in the IP address?

    Did you add a media share (like a videos directory with some videos in it?) Did you hit 'apply' after doing that?

    Does the pyTivoX-SB.log file have anything like an 'error' of any sorts in there?
     
  4. Apr 5, 2009 #424 of 1437
    lynncosbm

    lynncosbm Member

    630
    0
    Dec 11, 2006
    I've been using pyTivoX for a couple months now and I love it. In the latest update, I noticed there is a tab called pyTivo which gives an option for Push Support. Can someone please explain what this means and how it works? Thanks very much.
     
  5. Apr 5, 2009 #425 of 1437
    Gyroscope352

    Gyroscope352 New Member

    6
    0
    Apr 2, 2009
    There do not appear to be any errors of any sort (though I think I'm at 5 now, so I'll post the log for you). My media share folder has been applied. When I first installed iTiVo, I had to manually type in the IP address, but after that the IP stays there and my TiVo's name shows up.
     
  6. Apr 5, 2009 #426 of 1437
    Gyroscope352

    Gyroscope352 New Member

    6
    0
    Apr 2, 2009
    Here's my SB.log

    Initializing...
    Sun 2009/04/05 13:02:03.885| |main|StreamBabyConfig|WorkingDir: /private/tmp
    Sun 2009/04/05 13:02:03.886| |main|StreamBabyConfig|StreamBabyDir: /Applications/pyTivoX.app/Contents/Resources/streambaby
    Sun 2009/04/05 13:02:03.886| |main|StreamBabyConfig|CurDir: /private/tmp
    Sun 2009/04/05 13:02:04.050| |main|FFmpegJavaConfig$1|Loading avutil, default: /Applications/pyTivoX.app/Contents/Resources/libavutil.dylib
    Sun 2009/04/05 13:02:04.052| |main|FFmpegJavaConfig$1|Loaded: /Applications/pyTivoX.app/Contents/Resources/libavutil.dylib
    Sun 2009/04/05 13:02:04.052| |main|FFmpegJavaConfig$1|Loading avcodec, default: /Applications/pyTivoX.app/Contents/Resources/libavcodec.dylib
    Sun 2009/04/05 13:02:04.055| |main|FFmpegJavaConfig$1|Loaded: /Applications/pyTivoX.app/Contents/Resources/libavcodec.dylib
    Sun 2009/04/05 13:02:04.062| |main|FFmpegJavaConfig$1|Loaded avCodec version: 52 (3413760)
    Sun 2009/04/05 13:02:04.062| |main|FFmpegJavaConfig$1|Loading avformat, default: /Applications/pyTivoX.app/Contents/Resources/libavformat.dylib
    Sun 2009/04/05 13:02:04.063| |main|FFmpegJavaConfig$1|Loaded: /Applications/pyTivoX.app/Contents/Resources/libavformat.dylib
    Sun 2009/04/05 13:02:04.064| |main|FFmpegJavaConfig$1|Loaded avFormat version: 52 (3416064)
    Sun 2009/04/05 13:02:04.064| |main|FFmpegJavaConfig$1|Loading swscale, default: /Applications/pyTivoX.app/Contents/Resources/libswscale.dylib
    Sun 2009/04/05 13:02:04.065| |main|FFmpegJavaConfig$1|Loaded: /Applications/pyTivoX.app/Contents/Resources/libswscale.dylib
    Sun 2009/04/05 13:02:04.071| |main|FFmpegJavaConfig$1|Marking libswscale as available.
    Sun 2009/04/05 13:02:04.316| |main|FFmpegJavaVideoModule|FFmpeg-java Module: loaded
    Sun 2009/04/05 13:02:04.323| |main|FFmpegExeVideoModule|FFmpegPath: /Applications/pyTivoX.app/Contents/Resources/ffmpeg.bin
    Sun 2009/04/05 13:02:04.323| |main|FFmpegExeVideoModule|FFmpegExeModule: Loaded
    Sun 2009/04/05 13:02:04.358| |main|RootDirEntry$dirEntryHandler|dirEntry: file:/Users/whitsongordon/Documents/Share%20Folder/
    Sun 2009/04/05 13:02:04.403| |main|PreviewCacheUtils|Cache Clean complete
    Sun 2009/04/05 13:02:04.403| |main|StreamBabyMain|STARTING StreamBaby v20090404-0248...
    Sun 2009/04/05 13:02:04.404| |main|Main|args= start=true
    Sun 2009/04/05 13:02:04.404| |main|Main|args= loader=sun.misc.Launcher$AppClassLoader@33056f
    Sun 2009/04/05 13:02:04.447| |main|Listener|config=com.tivo.hme.host.util.Config@1e7cc6 logger=com.unwiredappeal.tivo.utils.Log$ILoggerImpl@91e321
    Sun 2009/04/05 13:02:04.499| |main|Listener|factoryList=[StreamBabyStreamFactory[/streambaby/,pyTivoX - whitson-gordons-macbook.local]]
    Sun 2009/04/05 13:02:04.500| |main|Listener|factory=StreamBabyStreamFactory[/streambaby/,pyTivoX - whitson-gordons-macbook.local]
    Sun 2009/04/05 13:02:04.500| |main|Listener|name=/streambaby/
    Sun 2009/04/05 13:02:04.500| |main|Listener|
    Sun 2009/04/05 13:02:04.500| |main|Listener|added factory
    Sun 2009/04/05 13:02:04.500| |main|Main|factory=StreamBabyStreamFactory[/streambaby/,pyTivoX - whitson-gordons-macbook.local]
    Sun 2009/04/05 13:02:04.500| |main|Main|MDNS: http://10.0.1.9:7290/streambaby/
    Sun 2009/04/05 13:02:04.500| |main|Main|streambaby ready & listening.
    Sun 2009/04/05 13:02:04.501| |main|Main|mdns_type=_tivo-hme._tcp.local. factory=StreamBabyStreamFactory[/streambaby/,pyTivoX - whitson-gordons-macbook.local] port=7290

    EDIT: dang, THERE'S the link! I did not know that was there...lol.
     
  7. Apr 5, 2009 #427 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Normally, the way you use pyTivo is by running it on your computer, then going to your tivo, and browsing your computer's media through the "Now Playing" list. When you find something you like, you "pull" it to your tivo.

    An alternative approach is the obtuse 'push' method. Instead of telling your tivo to pull the file, you can tell your computer to 'push' the file to the tivo (through a messy sequence). In order for this to work, you need to provide pytivo with the username (usually an email) and password that you use to log into tivo.com. Once you provide that, you can go to http://localhost:9032/ from a web browser on the pytivo computer. There you will see a 'video shares' link where you can browse your media, and initiate the push.

    If you happen to have both streambaby AND pytivo enabled, AND you have provided the account information to pytivo, you can also use the streambaby gui to initiate a push of the file instead of streaming it.

    There are a few advantages to push over pull (the biggest is that you can push certain mp4 files without transcoding). But I also think it's more confusing than it's worth. I've been avoiding adding support for it but enough people were asking for it so I did.
     
  8. Apr 5, 2009 #428 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Bleah, the bad/good news is that the entire log is completely normal. I'm of the opinion that your home network allows your computer to talk freely to the tivo, but is somehow preventing the tivo from initiating a conversation with your computer. Is there a router between the two? Is your tivo's IP address something like '10.0.1.xyz' ?
     
  9. Apr 5, 2009 #429 of 1437
    philby85

    philby85 New Member

    15
    0
    Mar 21, 2009
    Thanks Yoav, I appreciate the reply. All working fine now.

    cheers

    Phil
     
  10. Apr 5, 2009 #430 of 1437
    Sevenfeet

    Sevenfeet Gentle Giant

    164
    0
    Jun 24, 2000
    Nashville, TN
    Just posted this PM to wmcbrine but thought the rest of the community should read it...

    Re: #3-5-6 error on slow machines (like mine!)

    Thanks for the PM on this subject. I haven't hit it very hard yet but I upgraded it yesterday based on your message. Before, it was pretty easy to get a #3-5-6 error. Now I don't see it. I'll let you know if it holds up. What I still have problems with is music streaming. The audio still breaks up, something that Tivo Desktop for Mac doesn't do. Tivo Desktop uses Lame (user installed) if your music isn't in MP3 format. I'm curious to know what pyTivoX is using since I think Lame is part of the package. On a PPC machine, there's a special distro of Lame to deal with the PPC's reversed method of dealing with data (as opposed to Intel architecture). Not sure what's going on here...
     
  11. Apr 5, 2009 #431 of 1437
    lynncosbm

    lynncosbm Member

    630
    0
    Dec 11, 2006
    Thanks for the reply Yoav, I'll have to give it a try!
     
  12. Apr 6, 2009 #432 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    I honestly don't know what pytivo uses for music. I do compile ffmpeg with the mp3lame libraries, but I didn't think pytivo uses ffmpeg to stream audio (?). If there's some other tool or library I need to supply I'll be glad to include it though...

    edit Note to self: check source code before opening mouth :). It does look like transcodes are down with ffmpeg after all :). Anyways, the ffmpeg as shipped includes the lame libraries, but there might be other audio formats that are not supported... Then again, if you have 'choppy' audio that doesn't sound like a missing codec...

    As for the PPC reveresed method.. I build the lame libraries seperately for powerpc and i386, with different autoconf settings to match the processor. However, it is the same source code... so if there is a bug in it with ppc processors, the bug will appear... Do you have a pointer to the lame you're mentioning?
     
  13. Apr 6, 2009 #433 of 1437
    Scot Kight

    Scot Kight New Member

    40
    0
    Nov 5, 2003
    anyone know how to make pytivox do subtitles?

    Let me define this a bit better. For MKV files with subtitle streams, how do I make them available using streambaby?

    Stream #0.0(eng): Video: h264, yuv420p, 1280x720, PAR 1:1 DAR 16:9, 23.98 tbr, 1k tbn, 47.95 tbc
    Stream #0.1(eng): Audio: vorbis, 32000 Hz, stereo, s16
    Stream #0.2: Subtitle: 0x0000
    Stream #0.3: Subtitle: 0x0000
     
  14. Apr 6, 2009 #434 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Right now the only subtitles pyTivoX supports and ONLY through streambaby is subtitles in an .srt file. If the mkv contains srt subtitles (there are multiple types of possible subtitles) you can extract it with mkvextract . Instead of extracting them from the mkv, you can also do a google search for the srt file for your movie (there are websites out there that just contain srt files in every language for almost every DVD out there) and download it.

    IF you have a movie like 'movie.mkv' and a file named 'movie.srt' in the same directory, then you can use the 'aspect' button to turn on and off the subtitles.
     
  15. Apr 6, 2009 #435 of 1437
    Scot Kight

    Scot Kight New Member

    40
    0
    Nov 5, 2003
    Hmm.. Extracted and put into the same directory. File is same name, and capitalization. when i hit aspect i get a small yellow "thought bubble" with a red error circle in it.

    Extracting track 3 with the CodecID 'S_TEXT/ASS' to the file 'movie.srt'. Container format: SSA/ASS text subtitles
    progress: 100%

    Mon 2009/04/06 13:38:54.698| |Acceptor|ViewScreen|code=22 rawcode=16790806
     
  16. Apr 6, 2009 #436 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    SSA/ASS is not SRT :). As the previous post said, it HAS to be srt format.
    You should probably just go look for a pre-made srt file for your movie. There might be some tools that convert SSA to SRT, but I'm not sure.

    edit google search gave me this: http://www.akira.ru/osc/ssa2srt.php
    Does it work?

    It's probably not that hard to add a basic SSA support to streambaby though (I mean, it would ignore the graphics, colors, and location info, and just present the subtitles as if they were srt subs)... hmmm..
     
  17. Apr 6, 2009 #437 of 1437
    Scot Kight

    Scot Kight New Member

    40
    0
    Nov 5, 2003
    Bingo! Thanks for that, it works fine now.

    One thing interesting is that on the ffmpeg page they are talking about supporting SSA/ASS. My only problem is I am not sure what they mean to this situation, if anything. I've tried a bunch of -scodec options but nothing seems to be able to put the subtitles into the final stream, though maybe I am missing something simple as the command formats are a bit odd to me.

    December 3, 2008

    A bunch of new formats have recently been added to FFmpeg, namely a QCELP/PureVoice speech decoder, a floating point PCM decoder and encoder, a Nellymoser ASAO encoder, an Electronic Arts TGQ decoder, Speex decoding via libspeex, an MXF muxer, an ASS/SSA subtitle demuxer and muxer and our AC-3 decoder has been extended with E-AC-3 support. Last but not least we now have a decoder for RealVideo 4.0.
     
  18. Apr 6, 2009 #438 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    I'm no expert, but I would guess they are talking about allowing you to take something like an SSA stream from one container to another. Not 'burn the text into the video stream'. Having said that, if your ultimate goal is a movie with the subtitles burned-in, I believe VLC can do that for you. If you do that though, you can never turn off the subtitles.
     
  19. Apr 6, 2009 #439 of 1437
    kearygriffin

    kearygriffin New Member

    346
    0
    Jan 31, 2008
    I probably won't ever get to it, but after moyekj added the initial subtitle support, I did look into trying to integrate pieces of this project:
    http://www.jubler.org/download/index.php
    (By look into I mean browsed through the SVN repo to get a handle on what it would take)

    It seems to abstract a bunch of different subtitle formats into a standard API that streambaby could deal with.
     
  20. Apr 8, 2009 #440 of 1437
    tombonneau

    tombonneau New Member

    85
    0
    Mar 26, 2009
    Just downloaded the latest version of this software after hearing the rave reviews.

    I've gotten three folders to show up on my TiVo Now Playing:

    iTunes Music/Movies
    iTunes Music/TV Shows
    And a non-iTunes Video Folder (The Smurfs)

    The Smurfs folders are some episodes I, erm, procured via the Internet. These are .avi files.

    The Smurfs episodes I'm able to view no problem; however, neither of the iTunes folders are working.

    The files show up, but when I click to play them, they say they are transferring and they show up at the top of Now Playing, but nothing ever seems to happen. When click play for them, I get the gray screen, and the progress bar at the bottom shows no progress.

    Thoughts? Will this program not work with iTunes video files? Is it a DRM issue? Or am I doing something wrong?

    FWIW, I have the folder type set to "video" which was the default ...
     

Share This Page