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

pyTivo - Transcoding server

Discussion in 'TiVo Home Media Features & TiVoToGo' started by armooo, Nov 25, 2006.

  1. Nov 7, 2009 #2541 of 5683
    AZrob

    AZrob Member

    244
    0
    Mar 31, 2002
    Phoenix, AZ
    Oops...I got part of this fixed by overlaying the mcbrine changes properly. Before, I extracted everything to a /pytivo/mcbrine directory instead of just to /pytivo. So now I can transfer some of my .tivo files.

    But others won't start transferring at all, because I get an immediate Copyright flag. These are broadcast shows and shouldn't be flagged. Help would be appreciated.

    Rob from AZ
     
  2. Nov 7, 2009 #2542 of 5683
    AZrob

    AZrob Member

    244
    0
    Mar 31, 2002
    Phoenix, AZ
    Okay...never mind. The files I was trying to transfer were empty....the header was there but the rest was lost....this happened the other day when my disk crapped out. I thought they were completely recovered...but guess not.
     
  3. Nov 7, 2009 #2543 of 5683
    Rdian06

    Rdian06 New Member

    463
    0
    Apr 12, 2008
    Did you do anything that might have changed the security permissions on the drive or folder? The folder and files need to be readable by whatever account you are running pyTivo from. If you are running as a Windows service without an explicit account defined, then it runs as the Local System user. If you're running from console, then it's running from your account.
     
  4. Nov 8, 2009 #2544 of 5683
    cherry ghost

    cherry ghost Active Member

    5,276
    5
    Sep 13, 2005
    Chicago
    As far as I know, nothing has changed. It has to be something with the drive because no matter what folder I use it's not seen. The other drive works fine when I change the path to a folder there.

    Edit :

    I got it work by reinstalling it not to run as a service and am running it from console.
     
  5. Nov 8, 2009 #2545 of 5683
    lrhorer

    lrhorer New Member

    6,922
    0
    Aug 31, 2003
    San...
    You're not reading what he wrote. He's not (primarily) asking about TTCB transfers from the PC to the TiVo. He's asking about TiVo-To-Go transfers from the Tivo to the PC.

    Galleon is the only program which allows one to initiate TiVo-To-Go transfers from the TiVo, and of course it thus goes without saying it is the only program which allows one to initiate a TTG transfer from a different TiVo than from which the transfer is made.
     
  6. Nov 8, 2009 #2546 of 5683
    Rdian06

    Rdian06 New Member

    463
    0
    Apr 12, 2008
    When you run from console, you're running it from your account. Whereas the service runs as Local System by default. I think something must have altered the file permissions at the root of the other drive.

    Which version of Windows are you using? On most of them you can bring up the security permissions by right clicking on the drive in My Computer and choosing Properties. Then on the Security tab, make sure SYSTEM appears and has full control over the drive and it's subfolders/files. If it doesn't appear, then the Windows Service won't be able to see anything on the drive.
     
  7. Nov 8, 2009 #2547 of 5683
    cherry ghost

    cherry ghost Active Member

    5,276
    5
    Sep 13, 2005
    Chicago
    Windows 7 64 bit

    SYSTEM was not there, but I added it to the path folder and everything seems to be working now, thanks.
     
  8. Nov 9, 2009 #2548 of 5683
    westside_guy

    westside_guy Annoyingly ephemeral

    461
    1
    Mar 13, 2005
    The soggy...
    I'm running into an odd problem with pyTivo on Mac OS X 10.5.8 - I've been seeing this for a while, but only now have gotten annoyed enough to try to solve it.

    I've ripped a bunch of our DVDs to mpeg2+ac3. I pulled the vob files out using mplayer with the dumpstream option, then I use mpeg streamclip to fix any timecode problems and only output one audio stream. Most of the resulting mpeg files play very nicely with pyTivo and my Tivo HD. However a very small number (for example, two of the bonus episodes off a Powerpuff Girls DVD that had about four regular episodes plus bonus features) will show up as "transfer prohibited by copyright holder". I'd understood this was usually due to an ffmpeg issue or a problem with the file itself, but 1) ffmpeg -i doesn't show any problems; and 2) if I run pyTivo without ffmpeg being available, the "problem" video transfers to my Tivo and plays just fine - so it's not an incompatible video (which seemed unlikely anyway, since the vast majority of that DVD's content works).

    So what other things can cause this "copyright" issue to occur?

    I'm currently using the wmcbrine fork from 2009-10-12, but like I said this has been an issue for a while.

    Thanks for any help you can provide!
     
  9. Nov 9, 2009 #2549 of 5683
    wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    Your point 2 indicates that there is a problem with what ffmpeg -i is reporting about the file, as far as pyTivo is concerned. Post the output for a problem file.
     
  10. Nov 9, 2009 #2550 of 5683
    westside_guy

    westside_guy Annoyingly ephemeral

    461
    1
    Mar 13, 2005
    The soggy...
    Hi,

    Here is the output. Ffmpeg is provided by fink (although at one point I also tried the one that's part of pyTivoX, with the same result):

    Code:
    $ ffmpeg -i 129_Meat_Fuzzy.mpg 
    FFmpeg version UNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
      configuration: --prefix=/sw --mandir=/sw/share/man --enable-shared --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-x11grab --enable-liba52 --enable-libamr-nb --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --disable-mmx --disable-iwmmxt --disable-altivec
      libavutil version: 49.6.0
      libavcodec version: 51.49.0
      libavformat version: 52.2.0
      built on Nov 16 2008 19:26:44, gcc: 4.0.1 (Apple Inc. build 5465)
    Input #0, ac3, from '129_Meat_Fuzzy.mpg':
      Duration: 03:27:53.0, bitrate: 192 kb/s
        Stream #0.0: Audio: liba52, 48000 Hz, stereo, 192 kb/s
    Must supply at least one output file
    
    Huh. You're right - it's not reporting a video stream! Apologies... I don't know how I missed that the first time. The file certainly has an audio and a video stream.
     
  11. Nov 9, 2009 #2551 of 5683
    Rdian06

    Rdian06 New Member

    463
    0
    Apr 12, 2008
    That ffmpeg still has liba52 support rather than the current native AC3 decoder/encoder. Meaning your ffmpeg is pretty ancient.

    If you run ffmpeg -i using the pyTivoX binary, do you get different output?
     
  12. Nov 9, 2009 #2552 of 5683
    westside_guy

    westside_guy Annoyingly ephemeral

    461
    1
    Mar 13, 2005
    The soggy...
    Here's the output using pyTivoX's ffmpeg binary:

    Code:
    $ /Applications/Tivo/pyTivoX.app/Contents/Resources/ffmpeg -i 129_Meat_Fuzzy.mpg 
    FFmpeg version SVN-r19732, Copyright (c) 2000-2009 Fabrice Bellard, et al.
      configuration: --shlibdir=@executable_path --arch=i386 --cpu=i686 --disable-static --enable-shared --enable-pthreads --enable-gpl --enable-libmp3lame --enable-libfaac --enable-nonfree --enable-libfaad --enable-libx264 --extra-cflags='-I/Users/yoav/src/lame/include -I/Users/yoav/src/faad2-2.7/include -I/Users/yoav/src/faac-1.28/include -I/Users/yoav/src/x264' --extra-ldflags='-L/Users/yoav/src/lame/libmp3lame/.libs -L/Users/yoav/src/faad2-2.7/libfaad/.libs -L/Users/yoav/src/faac-1.28/libfaac/.libs -L/Users/yoav/src/x264/'
      libavutil     50. 3. 0 / 50. 3. 0
      libavcodec    52.34. 0 / 52.34. 0
      libavformat   52.38. 0 / 52.38. 0
      libavdevice   52. 2. 0 / 52. 2. 0
      libswscale     0. 7. 1 /  0. 7. 1
      built on Aug 27 2009 10:32:06, gcc: 4.0.1 (Apple Inc. build 5484)
    129_Meat_Fuzzy.mpg: Unknown format
    $
    
    I am puzzled why a video that Tivo can play successfully is giving such fits to ffmpeg (both old and new)...

    Thanks to both of you for the help.
     
  13. Gavroche

    Gavroche New Member

    398
    0
    May 26, 2007
    State of...
    Why not just run PyTivo and Galleon? It works out great for me... with that setup you can do exactly what your talking about.
     
  14. Rdian06

    Rdian06 New Member

    463
    0
    Apr 12, 2008
    ffmpeg tends to be a bit strict about following specs whereas some players are more forgiving. Remember that the Tivo has to be able to tolerate signal breakups on cable and and over the air MPEG2 broadcasts.

    Try running your problem MPEG2s through Mpeg streamclip's timecode fix.
     
  15. westside_guy

    westside_guy Annoyingly ephemeral

    461
    1
    Mar 13, 2005
    The soggy...
    You mean do it a second time? The mpeg files were originally generated from vobs using mpeg streamclip.
     
  16. Rdian06

    Rdian06 New Member

    463
    0
    Apr 12, 2008
    Sorry, I missed the line in your previous post where you said you used streamclip. Not sure what else you can do beyond trying with a newer build of ffmpeg.
     
  17. spolebitski

    spolebitski New Member

    143
    0
    Mar 30, 2006
    So question if I try to transfer a .mkv file it will not show up on my TiVo HD but if I simply change the extension to .avi it shows up and can be transferred. Why is this?
     
  18. westside_guy

    westside_guy Annoyingly ephemeral

    461
    1
    Mar 13, 2005
    The soggy...
    I just built ffmpeg from SVN - the same problem still occurs. :D

    Is there a way to tell pyTivo to not do this checking of mpegs, without resorting to removing ffmpeg completely? For most of my videos ffmpeg is unnecessary; but I do have a few oddball files that do require transcoding.
     
  19. Rdian06

    Rdian06 New Member

    463
    0
    Apr 12, 2008
    .tivo files USED to be passed through without any processing, but this was changed a while back when it was discovered that ffmpeg could see some of the unencrypted information. However, wmcbrine has said that people have reported "problems" with some versions of ffmpeg returning bogus info on them, so he's thinking about special casing them again.
     
  20. txporter

    txporter One sec, almost done

    666
    0
    Sep 17, 2006
    Austin, TX
    About 6-7 months ago, moyekj and I and some others had a discussion in the Streambaby thread about x264 (h.264) encoding. I was having an issue with an ugly opening screen (~8 columns of white/green color with a muted red that remains in place for ~1-2s before the video starts in) and was never able to fix it. I recently started browsing other forums again looking for a way to fix the way I encode my files to avoid it. Whether I use Handbrake or XVID4PSP to encode my files, I see the same thing. I am assuming that this is fairly standard since I see it on every file, but if not someone already has a fix...please let me know.

    I saw a thread on the Handbrake forums where someone was complaining about a grey opening scene. The developers of Handbrake said it was likely due to the mp4 edit list not being supported by the player. Disabling b-frames fixed the issue. I thought it was close enough to my Tivo playback issue that I should try it. I did last night and it didn't affect the opening screen...but it did affect seeking functionality. Without b-frames, my x264 video seeks just like MPEG2 video now. The resultant video quality appears the same (to me at least). Since b-frames are normally lower bitrate frames than I or P frames, you may need to up your bitrate or just use CRF and it will auto adjust for you. At any rate, I was really surprised and excited by the improvement in seeking. I am going to continue trying to find a solution to the opening scene issue though.
     

Share This Page