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. Oct 30, 2007 #841 of 5866
    MasterCephus

    MasterCephus New Member

    309
    0
    Jan 2, 2005
    Hueytown,...
    My transferred movies have the green bar and I can fast forward and rewind.
     
  2. Oct 30, 2007 #842 of 5866
    mr2828

    mr2828 New Member

    43
    0
    Jun 18, 2007
    I was a bit confused by sometimes getting a blank black cmd.exe box when I ran pyTivo. However in my case it seems to be normal. Once I have that running and then go on my S3 to the Now Playing List I will see the HTTP query pop up in the blank box and the server will appear at the bottom of the now playing list.

    Also make sure you are not running the Tivo Desktop software at the same time, and that the Tivo Desktop Server (little icon in your windows taskbar tray) is paused. If you have both running at once you may get unpredictable results, but I haven't tried this myself.
     
  3. Oct 30, 2007 #843 of 5866
    gilbreen

    gilbreen Member

    69
    0
    Sep 5, 2007
    That is what I was both afraid of and hopeful to hear. Glad it should work but unfortunate that it isn't for me.

    Is there a way to make an mpeg file 'tivo' ready (hopefully freeware)? Perhaps there is something screwy about the actual ReplayTV mepg file in its current format causing the issue.
     
  4. Oct 30, 2007 #844 of 5866
    greg_burns

    greg_burns Now in HD

    6,384
    0
    May 21, 2004
    Slower...
  5. Oct 30, 2007 #845 of 5866
    cr33p

    cr33p New Member

    644
    0
    Jan 2, 2005
    Ann Arbor MI
    Yeah you can always use videora tivo converter to pre transcode your vids and serve them up via Tivo Desktop software.

    Chris
     
  6. Oct 30, 2007 #846 of 5866
    gilbreen

    gilbreen Member

    69
    0
    Sep 5, 2007
    Well, I ran a file through Videora Tivo converter but no change to the behavior. I even tried letting the show finish transferring but when I played the show, the timeline stayed at zero and I wasn't able to FF or RW.

    I may give Tivo.net a shot and see if the issue continues.
     
  7. Oct 31, 2007 #847 of 5866
    gibbyscott

    gibbyscott New Member

    16
    0
    Jul 12, 2004

    When I try playing back a ac3 encoded .mkv file... I notice it is in dolby digital, but the sounds are coming out of the wrong speakers? Anyone else notice this? The center sounds come out of the right speaker, and the left sounds come out of the left rear surround speak.
     
  8. Oct 31, 2007 #848 of 5866
    gibbyscott

    gibbyscott New Member

    16
    0
    Jul 12, 2004

    I assume you make these changes to your transcode.py file? Could one of you guys post your transcode.py file so others can copy it? Thanks.
     
  9. Oct 31, 2007 #849 of 5866
    gibbyscott

    gibbyscott New Member

    16
    0
    Jul 12, 2004

    Could you please share with us your transcode.py file with us, or the ffmeg command line you are using?
     
  10. Oct 31, 2007 #850 of 5866
    PaulS

    PaulS Member

    685
    2
    Sep 16, 2002
    Southern NH
    Yes, please! I'd also like to see a working example.
     
  11. Oct 31, 2007 #851 of 5866
    cr33p

    cr33p New Member

    644
    0
    Jan 2, 2005
    Ann Arbor MI
    X2 :)
     
  12. Oct 31, 2007 #852 of 5866
    pmiranda

    pmiranda Member

    670
    1
    Feb 12, 2003
    Austin, TX
    So, both S3's and TiVoHD's have h264 decoders, right? Has anyone tried a config outputting h264 yet to see what happens?


    If I ever get the time, my next project will be to set up something to convert .tivo files to mp4 files so I can save more diskspace. If I got my S3 to accept h264, I could compress things on the PC then send them back to TiVo for later consumption. Of course an external drive is probably easier and wouldn't lose all the metadata.

    BTW, I've been running TiVo Desktop 2.5.1 and pyTiVo at the same time for a couple days now and haven't had any problems, although I haven't tried doing more than one transfer at once in either direction.
     
  13. Oct 31, 2007 #853 of 5866
    PaulS

    PaulS Member

    685
    2
    Sep 16, 2002
    Southern NH
    I don't think MPEG-4 is possible at this point in time. Way back a ways (perhaps April or so), when JustinThyme noticed that TiVo had accidentally left his transfer settings at "a,a,a" he did a bunch of experimenting. He was able to get a bunch of flavors of MPEG-2 into his TiVo, but he could never get anything MPEG-4 into the S3 successfully. Even though he was running with 8.3 at the time, I suspect things are probably similar now.
     
  14. Oct 31, 2007 #854 of 5866
    mr2828

    mr2828 New Member

    43
    0
    Jun 18, 2007
    I modified transcode.py. Here is mine:

    cmd = [FFMPEG, '-i', inFile, '-vcodec', 'mpeg2video', '-r', '29.97', '-b', VIDEO_BR, '-maxrate', '17Mi', '-bufsize', '1024k'] + select_aspect(inFile, tsn) + ['-comment', 'pyTivo.py', '-ac', '2', '-ab', AUDIO_BR,'-ar', '44100', '-f', 'vob', '-' ]

    In pyTivo.conf I am using video_br of 14Mi, width 1280, height 720.
     
  15. Oct 31, 2007 #855 of 5866
    PaulS

    PaulS Member

    685
    2
    Sep 16, 2002
    Southern NH

    Thanks! I'll give this a shot tonight and report.

    Without the maxrate setting, I was getting audio/video break-ups at scene changes. After each of these break-ups, the audio would lag more and more. So, after playing an hour or so of video, the audio would be lagging the video by perhaps a full second or more.

    Does that sound like the same behavior you were seeing ?
     
  16. Oct 31, 2007 #856 of 5866
    gilbreen

    gilbreen Member

    69
    0
    Sep 5, 2007
    Just reporting back with the issue I am seeing when viewing ReplayTV files via pyTivo where the timeline stays pegged at zero and I am not able to FF or RW.

    I installed Tivo.net and saw the same behavior so it appears the issue lies with the ReplayTV mpeg files.

    To confirm, I added an avi video file to one of the pyTivo shared folders. When I viewed that file from the Tivo, the green bar did not stay pegged at zero and I was able to use FF and RW.

    Not sure what could be causing the problem but may have to hold on to our one ReplayTV longer than I originally had hoped.
     
  17. Oct 31, 2007 #857 of 5866
    gibbyscott

    gibbyscott New Member

    16
    0
    Jul 12, 2004
    I have confirmed that when decoding then re-encoding a .mkv ac3 5.1 file with ffmpeg, it screws up the sounds channels (or moves them around to the wrong position)! For example, Front left moves to center, front right moves to surround left, center moves to front left, surround right moves to sub, surround left moves to surround right, and sub moves to front left!!!!

    Has anyone else noticed this? Someone else must have noticed this, right?

    Here is the command I used...

    ffmpeg -threads 2 -i test.mkv -vcodec mpeg2video -r 29.97 -b 14Mi -maxrate 17M -bufsize 1024k -comment 'Test' -acodec ac3 -ab 448k -ar 48000 -f vob -b_strategy 1 -bf 2 -coder vlc -mbd rd -qmin 1 -aspect 16:9 -s 1440x720 file.mpg
     
  18. Oct 31, 2007 #858 of 5866
    wgw

    wgw New Member

    217
    0
    May 16, 2007
    Here is mine with ac3 5.1 audio.

    cmd = [FFMPEG, '-i', inFile, '-vcodec', 'mpeg2video', '-r', '29.97', '-b', VIDEO_BR, '-maxrate', '17Mi', '-bufsize', '1024k'] + select_aspect(inFile, tsn) + ['-comment', 'pyTivo.py', '-acodec', 'ac3', '-ab', AUDIO_BR, '-ar', '48000', '-f', 'vob', '-']

    With options in pyTivo.conf:
    audio_br=384K
    video_br=14Mi
    width=1280
    height=720
    aspect169=true

    If you really want to try to max out the quality you can use this one with the extra strategies at the end, but it increases encoding time by 50 percent.

    cmd = [FFMPEG, '-i', inFile, '-vcodec', 'mpeg2video', '-r', '29.97', '-b', VIDEO_BR, '-maxrate', '17Mi', '-bufsize', '1024k'] + select_aspect(inFile, tsn) + ['-comment', 'pyTivo.py', '-acodec', 'ac3', '-ab', AUDIO_BR, '-ar', '48000', '-f', 'vob', '-b_strategy', '1', '-bf', '2', '-coder', 'vlc', '-mbd', 'rd', '-qmin', '1', '-']
     
  19. Nov 1, 2007 #859 of 5866
    MasterCephus

    MasterCephus New Member

    309
    0
    Jan 2, 2005
    Hueytown,...
    Has anyone got the pyTivoService running with the new 9.2 software on a Series 3 Tivo?

    I run it, but nothing comes up in my Tivo. I can run the regular pyTivo.py and that works perfectly. There are no errors so I don't know where to start to debug. Anyone have a clue where to start?
     
  20. Nov 1, 2007 #860 of 5866
    Chew

    Chew New Member

    284
    0
    Jan 22, 2003
    I have both a S2 and a S3 and had been using Service for months just fine on the S2. As soon as the switch was flipped for the S3, pyTiVo showed right up in my NPL (at the time I had 9.1). I've since been upgraded to 9.2 and it's still running great.


    Now I just have to do that 5.1 audio update. :)
     

Share This Page