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. Jul 9, 2009 #641 of 1438
    rascal

    rascal New Member

    4
    0
    Jul 5, 2009
    Hello,

    I may not be in the correct forum area. I am not a programmer. I have been having a difficult time transferring files from Tivo Desktop back to Tivo. I've tried downloading several programs, but I don't believe I'm doing it correctly.

    Do you have any idea what the best program is to transfer .tivo files back to Tivo? I am currently using Vista on Windows.

    Any help would be appreciated.
     
  2. Jul 9, 2009 #642 of 1438
    Rdian06

    Rdian06 New Member

    463
    0
    Apr 12, 2008
    Try posting in a new thread with details about what you have tried already...

    This thread is about pyTivoX for the Mac so your questions is VERY off topic.
     
  3. Jul 9, 2009 #643 of 1438
    airbeat

    airbeat New Member

    8
    0
    May 17, 2002
    Kansas City, MO
    First of all, thank you for an excellent piece of software, compiling all of the necessary bits and pieces from different sources! I hope you can tell that we all appreciate it very much!

    Second, I was driving myself nuts this afternoon trying to get this software working properly on my setup--and was reading through all 20 pages to find someone with my issue, which was that I could get the shares to show up on the Now Playing list only for about 1 minute, but with no content in them, and then they would vanish. The reason? The built in OS X firewall was blocking the connection.

    May I suggest something in the software that checks that, or prompts the user to check it, or in the instructions for idiots like myself who couldn't figure it out?

    Again, thanks everyone--if you're having similar issues, CHECK THE FIREWALL!
     
  4. Jul 10, 2009 #644 of 1438
    dejardin

    dejardin New Member

    9
    0
    May 3, 2009
    I checked for any updates before I posted, so I know I'm on the most recent version (1.2.1), but I'll try the beta and see if it works. Thanks!

    Mike
     
  5. Jul 10, 2009 #645 of 1438
    dejardin

    dejardin New Member

    9
    0
    May 3, 2009
    Looks like the beta is working. Guess I'll have to rethink my irrational fear of beta software. Thanks for the tip.

    Mike
     
  6. Jul 10, 2009 #646 of 1438
    airbeat

    airbeat New Member

    8
    0
    May 17, 2002
    Kansas City, MO
    Currently using the beta and it's working beautifully! I just did an erase and install on my computer, and wiped out all of my hard work installing the python server, ffmpeg, and all the other tools, and now I find this amazing thing from Yoav. Can't thank you enough! (OK, off to find something productive to do!)
     
  7. Jul 12, 2009 #647 of 1438
    rrg

    rrg New Member

    78
    0
    Apr 22, 2004
    NJ
    If this is covered elsewhere in the thread, I apologize ("Search this Thread" failed to find it):

    I have a large collection of captures, some saved as MPG files (program streams) but most of them saved as MPEG-2 transport streams (TS files), both SD and HD.

    Pytivo has no problem serving the TS files to TiVo, which is great (TiVo Desktop can't, which has always been a problem). But Streambaby (which I'd much prefer to use in my situation), though it has no problem with the MPG files, doesn't see/can't handle the TS files.

    My configuration is unchanged from the default. I'm running 1.3b6, which seems to be the latest.

    Is there anything I can do to enable Streambaby to recognize and serve TS files to my Series 3 TiVos?
     
  8. Jul 12, 2009 #648 of 1438
    airbeat

    airbeat New Member

    8
    0
    May 17, 2002
    Kansas City, MO
    From what I understand, StreamBaby does not support TS files. If Streambaby is your best solution, you may be looking at lots of video transcoding in order to get your files into a supported filetype.
     
  9. Jul 12, 2009 #649 of 1438
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    I *suspect* streambaby can handle TS files as it's just another container that ffmpeg knows how to read. However, streambaby doesn't know about files with the '.ts' extension.

    Try renaming it to a .mpg file first and see if that works. If it does, then you get to decide if:

    1) you feel like renaming all your .ts files
    2) you feel like making a manual config file change to add .ts as an accepted filename extension
    3) you feel like telling keary to just add .ts to the list of filename extension (but make sure it works first please).
     
  10. Jul 13, 2009 #650 of 1438
    rrg

    rrg New Member

    78
    0
    Apr 22, 2004
    NJ
    A quick renaming test confirms your suspicion: StreamBaby is able to see, and stream, a TS file if I simply change the file name extension to MPG.

    Renaming TS files to MPG is not an option (far too much work, besides which it would be a lie and would lose information) so I'll opt, for now, to fix my configuration to accept TS files as a valid streaming type. (Where, incidentally, is that configuration file?)

    You would agree, I think, that this should just be supported natively by StreamBaby, if ffmpeg has no problem with it (and as long as no re-encoding is involved, just extraction and streaming of the MPEG2 data within the container).

    Thanks.
     
  11. Jul 13, 2009 #651 of 1438
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Ok, what you want to do is open up the config file in <user>/Library/Application Support/pyTivoX/streambaby.ini

    In there, you need to add the line (anywhere in the file) :
    Code:
    extensions=mp4,mpeg,vob,mpg,mpeg2,mp2,avi,wmv,asf,mkv,tivo,m4v,raw,3gp,mov,flv,ts
    
    Save the file, quit pyTivoX, and start pyTivoX..... DO NOT HIT APPLY!!!

    That should get you where you want to be. After trying out multiple .ts files, if everything is working out smoothly, please tell us and I'll add that extension as a default so everyone will have it working...

    Thank you
     
  12. Jul 13, 2009 #652 of 1438
    rrg

    rrg New Member

    78
    0
    Apr 22, 2004
    NJ
    Thanks very much. I've tested a number of MPEG2 TS files and it seems to work just fine.

    It takes several seconds before the video starts playing, and when it starts it's a few seconds into the video (my S3 is in "native" mode), but that may be usual with TiVo streaming (is it?).

    One other thing I should mention: I have some H.264 HD captures also stored as TS files (same container format), and though StreamBaby streams these to the TiVo, the playback results aren't as good: the video is halting and jerky and usually pauses or freezes after a few seconds.

    The PS3 has no problem playing these (when streamed from the same Mac using PS3 Media Server), so it's probably not a question of raw horsepower--at least not on the Mac side--but I'm not sure what the source of that (separate) problem is.
     
  13. Jul 13, 2009 #653 of 1438
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Ahh, that makes things more complicated :(. I'm hoping keary reads this and has a proper answer. I'm guessing that h.264/ac-3 in ts container is being passed through without re-encoding, and so you may have an h.264 file that is not compatible with the limitations of the tivo h.264 decoder...

    but I'm really guessing here....
     
  14. Jul 13, 2009 #654 of 1438
    moyekj

    moyekj Well-Known Member

    11,253
    72
    Jan 23, 2006
    Mission...
    Note that anything in a transport stream streambaby is going to transcode to mpeg2 program stream using ffmpeg (no matter what file extension you give it). Even mpeg2 transport stream which could just be re-muxed to mpeg2 program stream without changing audio/video will transcode with streambaby as it is right now. You can see for yourself if you run "top" while streaming the video from streambaby - you should see an active ffmpeg process running.

    Most likely the H.264 transport stream stop/start is either because of lack of horsepower for real time transcoding to mpeg2 program stream or there is an issue with ffmpeg producing a proper mpeg2 from that source. When you stream to PS3 it is just accepting/decoding the stream normally without any need for transcoding, so that's not a relevant/fair comparison.

    mpeg2 transport stream unfortunately is not a supported container by TiVo (at least not via HME/HMO) so anything in that format that goes to TiVo has to be at minimum converted to mpeg2 program stream or some other TiVo compatible container + video + audio stream.
     
  15. Jul 13, 2009 #655 of 1438
    rrg

    rrg New Member

    78
    0
    Apr 22, 2004
    NJ
    I was told (evidently it was misinformation) that this was not the case, i.e. that the TiVo could now handle native H.264 streams and that transcoding to MPEG2 was no longer necessary. And I thought that streambaby was sending H.264 to the TiVo when the source was H.264.

    If that's not true, and if it's transcoding even MPEG2 to MPEG2 (when the source is a transport stream) then this makes the TiVo less attractive for this use case than I thought it was.
     
  16. Jul 14, 2009 #656 of 1438
    wmcbrine

    wmcbrine Ziphead

    10,400
    36
    Aug 2, 2003
    The TiVo (Series 3/HD only) handles H.264 natively, but only in an MP4 (MOV) container, not in a transport stream. (And then, only via HME streaming, or the "Push" system.) Actually this is the first I've heard of H.264 in a transport stream.

    pyTivo (as of the last few months) will just remux MPEG-2 transport streams to program streams, so it doesn't take much CPU, and there's no quality loss. But H.264 in a transport stream would have to be reencoded... in principle, we could just remux it (when doing a Push), but in practice ffmpeg doesn't seem quite up to that job yet.
     
  17. Jul 14, 2009 #657 of 1438
    moyekj

    moyekj Well-Known Member

    11,253
    72
    Jan 23, 2006
    Mission...
    Read video_compatibility wiki for a summary of compatible formats. Note that Container & video & audio are all important and has to be one of the combinations listed in that table to stream or push natively. As wmcbrine mentioned, H.264 with AC3 or AAC audio is supported natively, but only in a mpeg4 container, not mpeg2 transport stream container as is yours.
     
  18. Jul 31, 2009 #658 of 1438
    westside_guy

    westside_guy Annoyingly ephemeral

    464
    1
    Mar 13, 2005
    The soggy...
    Yoav, I was just trying the latest pyTivoX and noticed that you've got a checkbox for sorting according to filename in the streambaby prefs, but not for pyTivo. Have you considered adding an identical checkbox to the pyTivo prefs? pyTivo does support this option (at least in the wmcbrine fork anyway).
     
  19. Jul 31, 2009 #659 of 1438
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Glad to, but ermm.. what's the actual pytivo.conf option to do that?
     
  20. Jul 31, 2009 #660 of 1438
    wmcbrine

    wmcbrine Ziphead

    10,400
    36
    Aug 2, 2003
    It's a per-share option, "force_alpha".
     

Share This Page