pyTivoX

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

  1. May 31, 2009 #601 of 1455
    wmcbrine

    wmcbrine Well-Known Mumbler

    11,927
    957
    Aug 2, 2003

    Advertisements

    You could try pushing the file to avoid transcoding, and see if that turns out any better.
     
  2. May 31, 2009 #602 of 1455
    Marconi

    Marconi TiVo Junkie

    451
    0
    Sep 8, 2001
    Page, AZ USA
    Code:
    MacPro:~ marconi$ ffmpeg -i /Volumes/Maggie/TiVo\ Archive/2007\ Mac-PeeCee\ Ads.mp4 
    FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
    Mac OSX universal build for ffmpegX
      configuration:  --enable-memalign-hack --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264 
      libavutil version: 49.0.0
      libavcodec version: 51.9.0
      libavformat version: 50.4.0
      built on Apr 15 2006 04:58:19, gcc: 4.0.1 (Apple Computer, Inc. build 5250)
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Volumes/Maggie/TiVo Archive/2007 Mac-PeeCee Ads.mp4':
      Duration: 00:08:00.1, start: 0.000000, bitrate: 2797 kb/s
      Stream #0.0(und), 23.98 fps(r): Video: h264, yuv420p, 848x480
      Stream #0.1(und): Audio: aac, 48000 Hz, stereo
    Must supply at least one output file
    MacPro:~ marconi$ 
     
  3. Jun 2, 2009 #603 of 1455
    TadK

    TadK New Member

    19
    0
    Oct 19, 2007
    Recently went to transfer one of our kid's shows to the Tivo (S2) and was greeted by a long Tivo "please wait" screen. Once it came back, typically with the screen to execute the transfer, I was greeted by a message that Transferring is prohibited by the copyright holder on the title screen...

    What the scoop here?
     
  4. Jun 2, 2009 #604 of 1455
    TadK

    TadK New Member

    19
    0
    Oct 19, 2007
    Further more- It appears that the movie I copied from Tivo (recorded on the Tivo, copied out with iTivo, now being sent back to the Tivo to replay it) also creates a long "Please wait" screen followed by the same copyright message. One step further, apparently someone else holds the copyright to the video I took of my 5 year old riding his bike because that one will not come over either.

    Thought it might be a permissions issue on the external storage disk but ownership is set to ignore on this volume. Will restart PyTivoX and the S2 Box and see what I get.
     
  5. Jun 2, 2009 #605 of 1455
    gonzotek

    gonzotek tivo_xml developer

    2,538
    59
    Sep 24, 2004
    Outside...

    Advertisements

    The copyright-prohibited flag is generated by pytivo to indicate to the user files that won't transfer, for whatever reason. Most often, it is the message you would see if your file(s) are in a format that can't be converted by the version of ffmpeg pytivo happens to be using. The tivo doesn't give the software any way to indicate conversion problems, so the transfers-prohibited flag is the best it can do to signal to the user the file won't be able to be transferred.

    Besides checking permissions you can run
    Code:
    ffmpeg -i my_problem_filename.ext
    on your files and post the output here, it will tell us what ffmpeg thinks of the files.

    For the file that itivo downloaded, did you have it do any conversion on the file to another format(e.g for ipod, etc) or is it still in .tivo or even .mpeg format?

    Also, do you have known working files that do transfer over correctly? It's possible your files are fine, and something else (ffmpeg?) is at fault.
     
  6. Jun 2, 2009 #606 of 1455
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    This sometimes seems to happen when ffmpeg crashes trying to convert the file before transferring it. Is there anything useful in <user>/Logs/pyTivoX/pytivo.log ?
     
  7. Jun 3, 2009 #607 of 1455
    Ergolad

    Ergolad Member

    34
    0
    Mar 24, 2005
    So, I've already raved about PyTivoX, but had another observation today. I had an opportunity to try Roxio's MacToTivo. I actually didn't even know they offered a product. Call me crazy... Anyway. I transfered two similar 350MB AVI files, one with PyTivoX and the other with MacToTivo. I didn't time the transcoding/transfer speed, but I still came up with some interesting results that favor PyTivoX heavily. First, the PyTivoX transfer yielded a clean 1GB final file on the Tivo, while MacToTivo yielded a 1.5BG file with a smaller image framed in black, not letterboxed, just a smaller image using only about 3/4 of the screen real estate.

    Winner: Hands down, PyTivoX
     
  8. Jun 3, 2009 #608 of 1455
    Marconi

    Marconi TiVo Junkie

    451
    0
    Sep 8, 2001
    Page, AZ USA
    I posted it and the video is 23.98 fps. Is that too far from 30.0 for a successful conversion to mpeg-2?
     
  9. Jun 3, 2009 #609 of 1455
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    I think that the thanks should go to the pytivo people (wmcbrine especially at this point) :). But good to hear it's working so well for you...
     
  10. Jun 3, 2009 #610 of 1455
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    In theory, no video is 'unconvertible'. And I'm pretty sure there's lots of 23.98 fps video being converted fine. However, that is probably where the problem with the audio sync issue lies...

    Try converting the video using something like 'handbrake' to see if other target conversions also have the audio delay problem.

    There may be a way to tell ffmpeg to force all rates to some specific number too, but really as I mentioned earlier, I'm not terribly knowledgeable with encoders so can't help much.
     
  11. Jun 3, 2009 #611 of 1455
    Marconi

    Marconi TiVo Junkie

    451
    0
    Sep 8, 2001
    Page, AZ USA
    Of course I can convert them manually to mpeg-2 and the resulting file has no synch problem. The idea was to use the H.264 files as-is. I mean, as long as a conversion is going to happen anyway, I thought pyTiVoX would make its output TiVo ready.

    Do you mean to say that, in converting files for use on TiVo, pyTiVoX does NOT ensure a 30 fps output? In VisualHub, which I also have, there's a "TiVo" profile I can select. I'd rather supposed that such a profile was built into pyTiVoX inasmuch as it is converting solely for TiVo.
     
  12. Jun 3, 2009 #612 of 1455
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    pytivo ensures that whatever the output is it is one that is valid according to the tivo. (so that's not always 30fps, but it is restricted to a small set AND that set varies depending on the model of tivo).

    Given that the tivo *is* playing the file, I can presume that pyTivo is selecting a valid target format. The problem is that the conversion to the target format is losing sync between video and audio. Pre-converting seems to fix it so I'm fairly willing to blame ffmpeg for the problem.

    Anyways, I doubt I can be much more help to you here. It sounds like you understand the issue but wish it worked (and honestly, I don't know how to make it work). You may have more luck asking in the official pytivo forum : http://pytivo.krkeegan.com/ and hopefully someone else has seen what you're seeing and has a useful workaround/fix.

    If you want to try messing with the pytivo configuration (which includes controlling how it invokes ffmpeg to convert) you can edit <user>/Library/Application Support/pyTivoX/pytivo.conf (and you can look in <user>/Library/Logs/pyTivoX/pytivo.log to see how it is currently invoking ffmpeg).

    23.98 is a fairly common framerate (for example, all 720p video uses it), so I suspect there is more to this problem than just the video framerate.
     
  13. Jun 25, 2009 #613 of 1455
    ArtDecoDalek

    ArtDecoDalek New Member

    2
    0
    Jun 25, 2009
    Hi, just found pyTivoX today and have it set up and working, thanks for the great program!

    I've found one strange thing though. I have several mkv files with AC3 audio that I'm trying to play. When I play them through either streaming or transfer, the audio plays as stereo, even though my receiver says it is getting an AC3 5.1 signal. There's just no audio through the center or surround speakers. I've checked the files and there is audio present in the center and surround channels, it's just not getting played. Do StreamBaby and pyTivo re-encode the AC3 somehow, or do they pass it straight through? It seems as though it is getting re-encoded, but with all the audio actually pushed to the front left and right channels with empty center and rear channels.

    I've tried various different settings in streambaby.ini (specifying acodec copy, 448 bitrate, etc.) and haven't found any settings that fix this.

    Anyway, let me know if you have any ideas why this might be the case.

    Thanks,
    Michael
     
  14. Jun 26, 2009 #614 of 1455
    Rdian06

    Rdian06 New Member

    463
    0
    Apr 12, 2008
    The framerate pyTivo selects for transfers (don't have any idea about streaming as I don't use streambaby) will depend on the target Tivo type. S3/HD units are fairly tolerant so pyTivo will use the source framerate for those transfers. However, the S2 series will only accept 29.97 fps, so that's what pyTivo converts to for them.

    Yoav, what SVN is the ffmpeg inside pyTivoX compiled from? A later SVN may fix the issue.
     
  15. Jun 26, 2009 #615 of 1455
    Rdian06

    Rdian06 New Member

    463
    0
    Apr 12, 2008
    It depends on the max_audio_br setting in pyTivo.conf. If the setting is not configured, I believe pyTivo will default to 448k for sending to S3/HD units.

    If the source AC3 bitrate is greater than the max_audio_br, then the audio will be transcoded to AC3 448k. Everything equal to or less than the max_audio_br should be copied through to the mpeg2 vob container.

    Nothing in pyTivo inherently screws up the channels. I have plenty of content with center channel sound after transfer (I don't have surrounds in my system, only the fronts and center, but I haven't heard anyone else complain about missing surround channels.) This is assuming pyTivoX doesn't use the audio_ch conf option to force stereo.
     
  16. Jun 26, 2009 #616 of 1455
    ArtDecoDalek

    ArtDecoDalek New Member

    2
    0
    Jun 25, 2009
    Thanks for the info. Anyway, it turns out that I am very silly, as this was due to an incorrect setting on my receiver. Apparently I managed to set it to 2-speaker mode for the TiVo input when I was doing some reconfiguring lately. Oops!

    -Michael
     
  17. Jun 29, 2009 #617 of 1455
    mnYak

    mnYak New Member

    3
    0
    Jun 29, 2009
    FIrst of all, let me say thanks to everyone involved in PyTivo. This is an awesome example of open source and the community filling in gaps where the companies can't/won't go.

    I have a lot of Japanese video tapes I recently scanned in and want to make available on my Tivo. They transfer and view just fine. Anything that's a japanese character in the movie title, however, comes up as an empty box character on the tivo side (looks fine on mac). Does anyone know if there's anything that could be done (other than renaming the files on the mac to non-Japanese names)? Is this an issue of he tivo software not handling unicode, or not having a font that can display it? Or other, perhaps? I'm kind of hoping it actually can display japanese characters and maybe it's just getting mangled in the mac > pyTivo > Tivo transfer.

    Thanks in advance.
     
  18. Jun 30, 2009 #618 of 1455
    wmcbrine

    wmcbrine Well-Known Mumbler

    11,927
    957
    Aug 2, 2003
    There's nothing, sorry. While the Unicode support in pyTivo could (and should) still be improved a bit, the characters are just not available on the TiVo. ISTR reading that there are exactly 256 characters available in the TiVo's fonts. I can't verify that, but I've found nothing outside of accented Latin-1 characters. (There are a few special ones -- like the stars, I think -- but I don't know their codes.)

    The situation must surely be different on the Taiwanese TiVos, though...
     
  19. Jul 1, 2009 #619 of 1455
    jdubs

    jdubs New Member

    9
    0
    Oct 27, 2008
    I hope this is the right place to be asking this question. I could not figure out how to search the thread so I apologize if this has happened before.

    When using PyTivoX and transferring larger HD quality files, after a while I get a message on my mac that ffmpeg has quit unexpectedly and only the first 20 minutes or so are transferred to my Tivo.

    I am currently using a mac pro with OS 10.5.7

    I appreciate your help.

    Thanks,
    Jeremy
     
  20. Jul 2, 2009 #620 of 1455
    Rdian06

    Rdian06 New Member

    463
    0
    Apr 12, 2008
    Could it be a particular file that is causing the problem? That is if you transfer the same file that it quit on, does it finish?

    And how are your Tivo and pyTivo mac connected to each other? wmcbrine recently added code to pyTivo to handle resuming certain types of network blips, but I don't think that new code has made it into pyTivoX yet.
     

Share This Page

spam firewall

Advertisements