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. Feb 26, 2009 #341 of 1437
    wmcbrine

    wmcbrine Ziphead

    10,368
    22
    Aug 2, 2003
    Well, I did write the MP4 push (based on work by Keary Griffin and Kevin Moye), but don't give me that much credit. :) See the README for authors.
     
  2. Feb 26, 2009 #342 of 1437
    pmd

    pmd New Member

    32
    0
    Dec 14, 2004
    Yoav,

    I think you need to add -ar ${asamplerate} to the ffmpegexe.transcode.sameqargs line that pyTivoX writes in the default streambaby.ini. Without that, users won't get streambaby 0.25's fix that makes sure audio is always 44100 or 48000 (the problem I had earlier in the thread with an episode of The Wire).

    Thanks!
     
  3. Feb 26, 2009 #343 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Woops Thanks!

    nice catch. Fixing in next release.
     
  4. Feb 27, 2009 #344 of 1437
    Sevenfeet

    Sevenfeet Gentle Giant

    164
    0
    Jun 24, 2000
    Nashville, TN
    BTW, is there any way for us to know what version of Streambaby that pytivoX is synced with?
     
  5. Feb 28, 2009 #345 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    ermm yes but it's not very pretty.
    Open up Terminal.app, and type
    Code:
      cat /Applications/pyTivoX.app/Contents/Resources/streambaby/VERSION.txt 
    
    (that's the svn release number used in the build). The path above might need to be fixed if you installed pytivox in a non-standard location.)
     
  6. Feb 28, 2009 #346 of 1437
    jimbocil

    jimbocil New Member

    2
    0
    Feb 28, 2009
    Has anyone been experiencing low audio?
     
  7. Feb 28, 2009 #347 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    I personally haven't, but the latest beta did change some audio processing options that force sample rates to certain values, and that might be causing what you are seeing. Is this a new bug for you in the latest beta?

    If it's always been that way, It might just be an issue with ffmpeg and how it's handling your audio. I know some people have complained that when you convert AC-3 audio to aac, sometimes there's a large volume drop (aac and ac-3 normalize to different values). ffmpeg is supposed to have workarounds built-in to handle this, but it's not clear how good those are.

    It would help if we knew if it was for ALL types of audio, or just things encoded 5.1, or ac-3 audio, or whatnot. What is the source of your program, and are you using streambaby or pyTivo mode?
     
  8. Feb 28, 2009 #348 of 1437
    jimbocil

    jimbocil New Member

    2
    0
    Feb 28, 2009
    This is the first version I have tried, but it looks like this may have been a one time occurrence. I tried some other videos encoded in the same manner and they seem fine. Also, once the video was fully downloaded to the TiVo the audio got louder, so it may have just been due to the fact that I was watching while downloading. I will post again if it happens with another video. Thanks for the quick response and a very helpful piece of software!
     
  9. Mar 1, 2009 #349 of 1437
    kas25

    kas25 New Member

    411
    0
    Mar 10, 2003
    NJ
    I really love this app. Looks great now and streaming works really well. I can't stream any movies purchased on itunes. Any workaround to this? Thanks.
     
  10. Mar 1, 2009 #350 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Movies purchased on itunes are protected with DRM. You are not legally allowed to do anything with them that isn't through itunes (so you can put it on your iphone, or watch it on appleTV or iTunes, but that's it).

    Recently apple decided to allow for DRM-free music purchases. Hopefully in the future, they may do the same with their movies. Until then, you may try some 'illegal' options to strip the DRM, but until that happens, pyTivo and streambaby are unable to read your movie files from itunes.
     
  11. Mar 4, 2009 #351 of 1437
    SuperSpiker

    SuperSpiker New Member

    28
    0
    Jan 13, 2003
    Things were working great but now on my S2 Tivo but now I'm getting the following error in my log:

    Code:
    Seems stream 1 codec frame rate differs from container frame rate: 47.95 (48000/1001) -> 23.98 (24000/1001)
    Input #0, matroska, from '/Volumes/JoeDrive/Video/TV/24/24.S07E02.720p.HDTV.X264-DIMENSION.mkv':
      Duration: 00:40:53.21, start: 0.000000, bitrate: N/A
        Stream #0.0: Audio: ac3, 48000 Hz, 5.1, s16
        Stream #0.1(eng): Video: h264, yuv420p, 1280x720, PAR 1:1 DAR 16:9, 23.98 tbr, 1k tbn, 47.95 tbc
    Output #0, vob, to 'pipe:':
        Stream #0.0(eng): Video: mpeg2video, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], q=2-31, 1000 kb/s, 90k tbn, 29.97 tbc
        Stream #0.1: Audio: ac3, 48000 Hz, 5.1, s16
    Stream mapping:
      Stream #0.1 -> #0.0
      Stream #0.0 -> #0.1
    Press [q] to stop encoding
    frame=   32 fps=  0 q=2.0 Lsize=     134kB time=1.02 bitrate=1072.0kbits/s  
    Please advise.

    Thanks!
     
  12. Mar 4, 2009 #352 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    I see a 'warning' at the top, and no errors:
    Code:
     Seems stream 1 codec frame rate differs from container frame rate: 47.95 (48000/1001) -> 23.98 (24000/1001)
    
    Everything else indicates normal operation. Looks like you downloaded a *cough cough* less-than-legal copy of 24 and whomever made the copy created a slightly 'incorrect' file. But I believe that file should play anyways. You may want to bring this up in the pyTivo thread and see if anyone has any ideas...
    If the log is stopping there, then it's possible ffmpeg is crashing on your file (ffmpeg is the thing that converts your file to something that the tivo can use).

    I'm assuming it's not playing right on the tivo?
     
  13. Mar 4, 2009 #353 of 1437
    SuperSpiker

    SuperSpiker New Member

    28
    0
    Jan 13, 2003
    It's not just that file. No file will play... I am able to browse to a file and click on it, then I am able to click to start transferring the file to the Tivo, then I'm able to click to start playing the file while it's transferring BUT the problem is the transfer never starts. The Tivo screen claims that the transfer is happening but it never starts to transfer. I get the same result no matter what file I attempt to transfer/play. It's strange that it just doesn't transfer anything.

    I've tried many different video files encoded in different formats and I get the same problem. Strange cause it used to work just fine :(

    Here is the whole log file:

    Code:
    INFO:pyTivo:pyTivo is ready.
    192.168.1.15 - - [04/Mar/2009 18:22:27] "GET /TiVoConnect?Command=QueryContainer&Container=%2F HTTP/1.0" 200 -
    192.168.1.2 - - [04/Mar/2009 18:22:27] "GET /TiVoConnect?Command=QueryContainer&Container=%2F HTTP/1.0" 200 -
    192.168.1.15 - - [04/Mar/2009 18:22:30] "GET /TiVoConnect?Command=QueryContainer&Container=%2F HTTP/1.0" 200 -
    192.168.1.15 - - [04/Mar/2009 18:22:30] "GET /TiVoConnect?Command=QueryContainer&Container=%2F HTTP/1.0" 200 -
    192.168.1.15 - - [04/Mar/2009 18:22:40] "GET /TiVoConnect?Command=QueryFormats&SourceFormat=video%2Fx-tivo-mpeg HTTP/1.1" 200 -
    192.168.1.15 - - [04/Mar/2009 18:22:40] "GET /TiVoConnect?Command=QueryContainer&Container=TV%20(on%20JoeDrive)&SortOrder=!CaptureDate&ItemCount=8&Filter=x-tivo-container%2Ftivo-videos,x-tivo-container%2Ffolder,video%2Fx-tivo-mpeg,video%2F* HTTP/1.1" 200 -
    192.168.1.15 - - [04/Mar/2009 18:22:41] "GET /TiVoConnect?Command=QueryFormats&SourceFormat=video%2Fx-tivo-mpeg HTTP/1.1" 200 -
    192.168.1.15 - - [04/Mar/2009 18:22:42] "GET /TiVoConnect?Command=QueryContainer&Container=TV%20(on%20JoeDrive)%2F24&SortOrder=!CaptureDate&ItemCount=8&Filter=x-tivo-container%2Ftivo-videos,x-tivo-container%2Ffolder,video%2Fx-tivo-mpeg,video%2F* HTTP/1.1" 200 -
    192.168.1.15 - - [04/Mar/2009 18:22:45] "GET /TiVoConnect?Command=QueryFormats&SourceFormat=video%2Fx-tivo-mpeg HTTP/1.1" 200 -
    192.168.1.15 - - [04/Mar/2009 18:22:45] "GET /TiVoConnect?Command=QueryContainer&Container=TV%20(on%20JoeDrive)%2F24&SortOrder=!CaptureDate&ItemCount=1&AnchorItem=%2FTV%2520%2528on%2520JoeDrive%2529%2F24%2F24.S07E02.720p.HDTV.X264-DIMENSION.mkv&AnchorOffset=-1&Filter=x-tivo-container%2Ftivo-videos,x-tivo-container%2Ffolder,video%2Fx-tivo-mpeg,video%2F* HTTP/1.1" 200 -
    192.168.1.15 - - [04/Mar/2009 18:22:46] "GET /TiVoConnect?Command=TVBusQuery&Container=TV%20(on%20JoeDrive)&File=%2F24%2F24.S07E02.720p.HDTV.X264-DIMENSION.mkv HTTP/1.1" 200 -
    192.168.1.15 - - [04/Mar/2009 18:22:50] "GET /TV%20(on%20JoeDrive)/24/24.S07E02.720p.HDTV.X264-DIMENSION.mkv HTTP/1.1" 200 -
    FFmpeg version SVN-r17702, Copyright (c) 2000-2009 Fabrice Bellard, et al.
      configuration: --arch=i386 --cpu=i686 --disable-vhook --disable-static --enable-shared --enable-pthreads --enable-gpl --enable-libmp3lame --enable-libfaac --enable-libfaad --enable-libx264 --enable-swscale --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     49.15. 0 / 49.15. 0
      libavcodec    52.20. 0 / 52.20. 0
      libavformat   52.31. 0 / 52.31. 0
      libavdevice   52. 1. 0 / 52. 1. 0
      libswscale     0. 7. 1 /  0. 7. 1
      built on Mar  1 2009 18:20:16, gcc: 4.0.1 (Apple Inc. build 5484)
    
    Seems stream 1 codec frame rate differs from container frame rate: 47.95 (48000/1001) -> 23.98 (24000/1001)
    Input #0, matroska, from '/Volumes/JoeDrive/Video/TV/24/24.S07E02.720p.HDTV.X264-DIMENSION.mkv':
      Duration: 00:40:53.21, start: 0.000000, bitrate: N/A
        Stream #0.0: Audio: ac3, 48000 Hz, 5.1, s16
        Stream #0.1(eng): Video: h264, yuv420p, 1280x720, PAR 1:1 DAR 16:9, 23.98 tbr, 1k tbn, 47.95 tbc
    Output #0, vob, to 'pipe:':
        Stream #0.0(eng): Video: mpeg2video, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], q=2-31, 1000 kb/s, 90k tbn, 29.97 tbc
        Stream #0.1: Audio: ac3, 48000 Hz, 5.1, s16
    Stream mapping:
      Stream #0.1 -> #0.0
      Stream #0.0 -> #0.1
    Press [q] to stop encoding
    frame=   32 fps=  0 q=2.0 Lsize=     134kB time=1.02 bitrate=1072.0kbits/s    
    
    video:72kB audio:58kB global headers:0kB muxing overhead 3.472563%
    FFmpeg version SVN-r17702, Copyright (c) 2000-2009 Fabrice Bellard, et al.
      configuration: --arch=i386 --cpu=i686 --disable-vhook --disable-static --enable-shared --enable-pthreads --enable-gpl --enable-libmp3lame --enable-libfaac --enable-libfaad --enable-libx264 --enable-swscale --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     49.15. 0 / 49.15. 0
      libavcodec    52.20. 0 / 52.20. 0
      libavformat   52.31. 0 / 52.31. 0
      libavdevice   52. 1. 0 / 52. 1. 0
      libswscale     0. 7. 1 /  0. 7. 1
      built on Mar  1 2009 18:20:16, gcc: 4.0.1 (Apple Inc. build 5484)
    
    Seems stream 1 codec frame rate differs from container frame rate: 47.95 (48000/1001) -> 23.98 (24000/1001)
    Input #0, matroska, from '/Volumes/JoeDrive/Video/TV/24/24.S07E02.720p.HDTV.X264-DIMENSION.mkv':
      Duration: 00:40:53.21, start: 0.000000, bitrate: N/A
        Stream #0.0: Audio: ac3, 48000 Hz, 5.1, s16
        Stream #0.1(eng): Video: h264, yuv420p, 1280x720, PAR 1:1 DAR 16:9, 23.98 tbr, 1k tbn, 47.95 tbc
    /Applications/pyTivoX.app/Contents/Resources/ffmpeg.bin: unrecognized option '-comment'
    192.168.1.15 - - [04/Mar/2009 18:23:21] "GET /TV%20(on%20JoeDrive)/24/24.S07E02.720p.HDTV.X264-DIMENSION.mkv HTTP/1.1" 200 -
    FFmpeg version SVN-r17702, Copyright (c) 2000-2009 Fabrice Bellard, et al.
      configuration: --arch=i386 --cpu=i686 --disable-vhook --disable-static --enable-shared --enable-pthreads --enable-gpl --enable-libmp3lame --enable-libfaac --enable-libfaad --enable-libx264 --enable-swscale --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     49.15. 0 / 49.15. 0
      libavcodec    52.20. 0 / 52.20. 0
      libavformat   52.31. 0 / 52.31. 0
      libavdevice   52. 1. 0 / 52. 1. 0
      libswscale     0. 7. 1 /  0. 7. 1
      built on Mar  1 2009 18:20:16, gcc: 4.0.1 (Apple Inc. build 5484)
    
    Seems stream 1 codec frame rate differs from container frame rate: 47.95 (48000/1001) -> 23.98 (24000/1001)
    Input #0, matroska, from '/Volumes/JoeDrive/Video/TV/24/24.S07E02.720p.HDTV.X264-DIMENSION.mkv':
      Duration: 00:40:53.21, start: 0.000000, bitrate: N/A
        Stream #0.0: Audio: ac3, 48000 Hz, 5.1, s16
        Stream #0.1(eng): Video: h264, yuv420p, 1280x720, PAR 1:1 DAR 16:9, 23.98 tbr, 1k tbn, 47.95 tbc
    Output #0, vob, to 'pipe:':
        Stream #0.0(eng): Video: mpeg2video, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], q=2-31, 1000 kb/s, 90k tbn, 29.97 tbc
        Stream #0.1: Audio: ac3, 48000 Hz, 5.1, s16
    Stream mapping:
      Stream #0.1 -> #0.0
      Stream #0.0 -> #0.1
    Press [q] to stop encoding
    frame=   30 fps=  0 q=2.0 size=      78kB time=0.97 bitrate= 660.3kbits/s    
    frame=   32 fps=  0 q=2.0 Lsize=     134kB time=1.02 bitrate=1072.0kbits/s    
    
    video:72kB audio:58kB global headers:0kB muxing overhead 3.472563%
    FFmpeg version SVN-r17702, Copyright (c) 2000-2009 Fabrice Bellard, et al.
      configuration: --arch=i386 --cpu=i686 --disable-vhook --disable-static --enable-shared --enable-pthreads --enable-gpl --enable-libmp3lame --enable-libfaac --enable-libfaad --enable-libx264 --enable-swscale --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     49.15. 0 / 49.15. 0
      libavcodec    52.20. 0 / 52.20. 0
      libavformat   52.31. 0 / 52.31. 0
      libavdevice   52. 1. 0 / 52. 1. 0
      libswscale     0. 7. 1 /  0. 7. 1
      built on Mar  1 2009 18:20:16, gcc: 4.0.1 (Apple Inc. build 5484)
    
    Seems stream 1 codec frame rate differs from container frame rate: 47.95 (48000/1001) -> 23.98 (24000/1001)
    Input #0, matroska, from '/Volumes/JoeDrive/Video/TV/24/24.S07E02.720p.HDTV.X264-DIMENSION.mkv':
      Duration: 00:40:53.21, start: 0.000000, bitrate: N/A
        Stream #0.0: Audio: ac3, 48000 Hz, 5.1, s16
        Stream #0.1(eng): Video: h264, yuv420p, 1280x720, PAR 1:1 DAR 16:9, 23.98 tbr, 1k tbn, 47.95 tbc
    /Applications/pyTivoX.app/Contents/Resources/ffmpeg.bin: unrecognized option '-comment'
    
    Any help is appreciated.

    Thanks.
     
  14. Mar 4, 2009 #354 of 1437
    wmcbrine

    wmcbrine Ziphead

    10,368
    22
    Aug 2, 2003
    Your problem. This is an option that was apparently dropped in recent versions of ffmpeg, in favor of a new syntax. We just got a bug report about that on the pyTivo forum, and I just updated my fork to get rid of it.

    BTW, your first post did not show this error, nor any other ("... differs from container frame rate" is just a warning).
     
  15. Mar 4, 2009 #355 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    I will update the beta tonight to use the fixes in wmcbrine's pyTivo. So if you update the beta tonight (or tomorrow) things should hopefully work again..
     
  16. Mar 5, 2009 #356 of 1437
    SuperSpiker

    SuperSpiker New Member

    28
    0
    Jan 13, 2003
    Looking forward to the new beta.

    Thanks guys, I'll let you know how it goes.
     
  17. Mar 5, 2009 #357 of 1437
    SuperSpiker

    SuperSpiker New Member

    28
    0
    Jan 13, 2003
    I just installed beta 31 and everything is working great!

    Thanks again... how can I donate?
     
  18. Mar 5, 2009 #358 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    pyTivoX is entirely free ( no donations ).
    If you enjoy the pyTivo side, donate to wmcbrine.
    If you enjoy the streambaby side, donate to kearygriffin
     
  19. Mar 5, 2009 #359 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Ok I pushed out 1.1 with all the new stuff.
     
  20. Mar 6, 2009 #360 of 1437
    dig_duggler

    dig_duggler losing enthusiasm

    835
    0
    Sep 18, 2002
    Birmingham, AL
    Just wanted to say thanks. pyTivoX is really really awesome, and the streambaby support makes it even more awesome. Great job!
     

Share This Page