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

Streambaby - new streaming application

Discussion in 'TiVo Home Media Features & TiVoToGo' started by kearygriffin, Jan 20, 2009.

  1. Apr 6, 2009 #901 of 3453
    kearygriffin

    kearygriffin New Member

    346
    0
    Jan 31, 2008
    An bare-bones INI (with say just the directory entries) should default to the HD streambaby screen with nice graphics/fonts.

    Are you running through galleon by any chance? I'm not sure what will happen as far as setting the correct resolution in that case.
     
  2. Apr 6, 2009 #902 of 3453
    fyodor

    fyodor Member

    535
    1
    Sep 19, 2006
    Hi Keary,

    I have been playing around with the PyTivo push feature, which is really quite fantastic. I had a few questions-

    1. Is there any reason that for two files in the same directory, that the Pytivo Push feature would only be available for one? Both files show up as streamable, but I only get the push option with one of them.

    2. This got me thinking, one of the big pains in the ass of pushing (which you've now overcome) is the annoyance of leaving the Tivo to send from your computer. How hard would it be to implement some other Tivo-initiated functions from Streambaby? For example, it seems that a lot of people have various remuxes, etc, that they need to run to make their files work. How hard would it be to implement some sort of command that runs a user-designated program with the media file as an argument? Or use it to delete the source file afterwards?

    3. I understand that Streambaby can utilize PyTivo metadata. Is there any way to get streambaby to pass metadata to PyTivo for pushes? I have some MP4s with embedded metadata, where Streambaby can see the title, but PyTivo cannot. Is there some way I can use Streambaby to create PyTivo compliant metadata files.

    Thanks, much, and again, great work. This is a fantastic program.
     
  3. Apr 6, 2009 #903 of 3453
    moyekj

    moyekj Well-Known Member

    11,336
    119
    Jan 23, 2006
    Mission...
    Could possibly be a bug, perhaps with some special characters in file name or something of that nature. If you can put streambaby in debug mode (see debugging_problems wiki) and then run streambaby and navigate into the Play Screen of the file for which pyTivo push option does not show, then post the streambaby.log contents here (or via PM) that may provide some insight. Also post the full path to the file in question.
     
  4. Apr 6, 2009 #904 of 3453
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Keary answered better, but just in case you still care:

    Code:
    # Created by pyTivoX, edits here WILL BE OVERWRITTEN
    
    title=pyTivoX - Yoavs-iMac.local
    preview.cache=/tmp/pyTivoCache/
    autogenerate.delete=true
    port=7290
    ip=192.168.0.110
    ffmpeg.path=/Applications/pyTivoX.app/Contents/Resources/ffmpeg.bin
    ffmpegjava.avutil=/Applications/pyTivoX.app/Contents/Resources/libavutil.dylib
    ffmpegjava.avcodec=/Applications/pyTivoX.app/Contents/Resources/libavcodec.dylib
    ffmpegjava.avformat=/Applications/pyTivoX.app/Contents/Resources/libavformat.dylib
    ffmpegjava.swscale=/Applications/pyTivoX.app/Contents/Resources/libswscale.dylib
    
    ffmpegexe.transcode=-acodec ac3 -vcodec mpeg2video -f vob -async 1 -r ${closest.mpeg.fps} -v 0 -threads 2
    ffmpegexe.transcode.sameqargs=-sameq -ab 384k -ar ${asamplerate}
    
    pytivo.port=9032
    quality.highestabr=384
    quality.highres=1080
    quality.select=true
    trimextensions=true
    
    dir.1=/Volumes/External Disk/movies
    dir.1.name=Movies
    dir.2=/Users/yoav/Desktop/tivo
    dir.2.name=TiVo
    
     
  5. Apr 6, 2009 #905 of 3453
    Sicklybutsexy

    Sicklybutsexy New Member

    179
    0
    May 5, 2007
    I'll post my .ini file when I get home but mine is pretty bare bones and I'm getting the bare background. No Galleon here...
     
  6. Apr 6, 2009 #906 of 3453
    rfryar

    rfryar My Media, My Way

    224
    0
    Feb 15, 2008
    Cottage...
    I have seen this, and it has to do with PyTivo only updates its cache occasionally. So if there is a new file placed in the file system, PyTivo's cache does not update to see it.

    See if stopping and restarting pytivo, then navigate into streambaby and see if the same item is missing.

    But as mentioned before with debugging enabled you can see streambaby "walk" through the pytivo cache to find the item in the logs

    Rick
     
  7. Apr 6, 2009 #907 of 3453
    fyodor

    fyodor Member

    535
    1
    Sep 19, 2006
    yeah, I tried starting and stopping PyTivo to no avail. I'm going to try playing around with the file names tonight.

     
  8. Apr 6, 2009 #908 of 3453
    moyekj

    moyekj Well-Known Member

    11,336
    119
    Jan 23, 2006
    Mission...
    Note that currently to get full refresh you would need to completely stop both pyTivo and streambaby, then re-start pyTivo, then re-start streambaby. One current limitation of the implementation is that streambaby only queries pyTivo server for video files when it first starts up. That needs some improvement obviously. When I originally implemented it I actually was querying pyTivo server every time when entering play screen for a file, but I thought that was overkill in the other direction which can slow things down depending how big your file structure is. Perhaps a fairly easy short term workaround is to have a remote control button in streambaby in selection (file browser) mode to refresh pyTivo available video list. That would be a fairly trivial addition.
     
  9. Apr 6, 2009 #909 of 3453
    Sicklybutsexy

    Sicklybutsexy New Member

    179
    0
    May 5, 2007
    Here's my .ini file. Don't see anything obvious. Am I the only one not seeing the nicer graphics and fonts?:

    #
    # ./streambaby --help for more configuration file options
    #

    dir.1=C:\Users\jay\Videos\HD Movies
    dir.1.name=HD Movies
    dir.2=H:\TV Media Encoded
    dir.2.name=TV
    dir.3=H:\Home Movies
    dir.3.name=Home Movies
    dir.4=I:\Jay's movies
    dir.4.name=Jay's Movies
    dir.5=I:\Sony Backup
    dir.5.name=Sony Backup
    # Ip address to bind to
    # most people don't need to change this.
    #ip=192.168.1.37
    # port to use
    port=7290
    title=Jay's streamer
    ffmpeg.path=C:\Users\jay\Downloads\streambaby-svn-r170\streambaby-svn-r170\native\ffmpeg.exe
    quality.select=true
    quality.highestvbr=8000
    use.title
    cc.fontsize=30
    meta.vidinfo.disable=false
    use.title.cachedonly=false


    Do you think it's because I'm using native format on my tivo?
     
  10. Apr 6, 2009 #910 of 3453
    Sicklybutsexy

    Sicklybutsexy New Member

    179
    0
    May 5, 2007
    I had my tivo in "native" mode and with that it looks like you can't get the graphics, etc...
     
  11. Apr 6, 2009 #911 of 3453
    moyekj

    moyekj Well-Known Member

    11,336
    119
    Jan 23, 2006
    Mission...
    So setting a fixed output mode of 720p or 1080i fixes the problem right? Note that Tivo UI in general is in 720p, so if you enter streambaby from UI it should start at 720p mode so you would think that should be OK. Sounds like by bypassing Tivo UI mode and entering directly from a 720p and/or 1080i playback using left button solves the issue. So there seems to be something about entering from Tivo UI that is forcing 480i, perhaps just temporarily.
    I used native for quite a long while but then it just got too annoying with constant resolution changes and temporary screen flicker while TV re-syncs. The S3 seems to do a good job scaling anyway so I really don't see a big difference between using native or fixed for my setup so I just bit the bullet and switched to 1080i fixed.
     
  12. Apr 6, 2009 #912 of 3453
    abnersnell

    abnersnell New Member

    18
    0
    Mar 3, 2002
    Should I expect to be able to stream HD mpg from output of kmttg with Streambaby in real-time? Or should I see pausing/buffering pretty regularly?

    Thanks!

    Abner
     
  13. Apr 6, 2009 #913 of 3453
    moyekj

    moyekj Well-Known Member

    11,336
    119
    Jan 23, 2006
    Mission...
    Depends on a lot of factors. In general though the stream speeds seem to be no faster than transfer speeds. So, if your transfer speed from Tivo->PC for those HD shows happen >= real time then you should expect streaming to be pausing/buffering a lot if you try and view real time.
    Note that for whatever reason transfer speeds of native mp4 files are quite significantly faster than mpeg2, and of course the bit rates for those are quite a bit smaller compared to mpeg2 as well, so if streaming real time or better is a high priority then making HD mp4 versions is a good option since you can stream them back >> real time to your Tivos.

    I really like the streaming option because it provides true random access anywhere in the file and other features you can't get with native Tivo playback. For example, jumping ahead or jumping back n minutes is not something you can do with native Tivo playback (you have to use FF/REW/skip).
     
  14. Apr 6, 2009 #914 of 3453
    abnersnell

    abnersnell New Member

    18
    0
    Mar 3, 2002
    Thanks for the quick reply! I have been using Streambaby from the beginning and I just wanted to make sure there wasn't some "magic" I missed somewhere along the line to just play the HD mpg back after kmttg smoothly.

    I don't mind encoding to h.264 it just takes a long time. Is 8Mbps the going bitrate for HD like you use in your default kmttg encode profile? Can I speed up encoding with -threads 4 on a quad-core processor?

    Just making sure everyone is in the same boat when it comes to encoding times, it sure does take a while!

    Thanks again!

    Abner

    PS - I tried your latest version of kmttg, but I still have the left-over .edl files after videredo adcut process. I can post over there if need be.
     
  15. Apr 6, 2009 #915 of 3453
    Sicklybutsexy

    Sicklybutsexy New Member

    179
    0
    May 5, 2007
    Are you sure Tivo UI is in 720p? Why would when I have it in native format would it be showing 480? When I make the format 720p or 1080i fixed that does fix it though.
     
  16. Apr 6, 2009 #916 of 3453
    moyekj

    moyekj Well-Known Member

    11,336
    119
    Jan 23, 2006
    Mission...
    If I go to Tivo Central, Now Playing List, etc. with Tivo set to native output all those show 720p from my TV Info when I use Tivo native output.
     
  17. Apr 6, 2009 #917 of 3453
    moyekj

    moyekj Well-Known Member

    11,336
    119
    Jan 23, 2006
    Mission...
    I think 8 Mbps H.264 is probably overkill for most TV HD recordings but that's one of those things where you just have to try it out and tweak it yourself. txporter recently posted here a handbrake recipe that seemed to work well (though be warned it's 2 pass encoding so can take quite a while) and based on that I updated the video_compatibility wiki with that recipe and a roughly equivalent ffmpeg version that is single pass, so probably not quite as good but quicker. Certainly adding more threads to do encoding should help a lot too as you suggested.

    I really haven't spent a lot of time experimenting with different encoding recipes to see what works best though that would be a useful thing for someone to do. The HD mpeg2 recordings I do save to my PC are mostly 720p (from ABC) and using S3s I can get about 13-15 Mbps streaming speeds which is more than enough to stream them real time, so I have not had much need to encode them to mp4. The rest of the stuff I stream is DVD mpeg2 which are fine streaming as is to Tivo. Obviously if you can avoid re-encoding that's the best choice for quality.
     
  18. Apr 6, 2009 #918 of 3453
    abnersnell

    abnersnell New Member

    18
    0
    Mar 3, 2002
    This is what I was trying to ask originally. I am taking the same ABC shows, running through every step in kmttg except for the encode and viewing them with streambaby. Unfortunately, not real-time.

    I remember reading something about tuning channels to non-channels or not recording at the same time you are streaming to increase bandwidth. Are you doing anything special to get 13-15 Mbps streaming speeds? I wonder if the videoredo adcut step does something to the end result that doesn't allow the real-time stream? I can test that.

    streambaby.ini:

    #
    # ./streambaby --help for more configuration file options
    #
    dir.1=C:\myvideos
    dir.1.name=My Videos
    #dir.2=/media/disk
    #dir.2.name=External Drive
    # Ip address to bind to
    # most people don't need to change this.
    #ip=192.168.1.37
    # port to use
    #port=7290
    trimextensions=true
    use.title=true
    preview.quality=20
    transcode.disable=false
     
  19. Apr 7, 2009 #919 of 3453
    philby85

    philby85 New Member

    15
    0
    Mar 21, 2009
    I thought I'd elaborate on what I was talking about in my previous post.

    I have changed the background in my assets folder to a red theater curtain.
    See main menu pic. I have also changed the folder icon to a movies folder icon see main menu close pic. It needs to be larger and would be great to have a different icons for each folder.

    Then I have changed the movie icon as well, see movie list close pic.

    I am not saying the default icons screens etc are ugly just not my style.
    If we could as I suggest have a different background for each folder, then instead of the curtain background you could have a jpeg of the cast of the tv show you are about to watch, this looks great on other media players. I am not sure if adding these features are feasible or desirable by anyone but me? I know they are not hardcore features but these simple features could allow many different looks that we could share.

    cheers

    Phil
     

    Attached Files:

  20. Apr 7, 2009 #920 of 3453
    wmcbrine

    wmcbrine Ziphead

    10,439
    55
    Aug 2, 2003
    Your Aspect Ratio is set to 4:3. Set it to 16:9. (Settings > Video > TV Aspect Ratio)

    The menus proper (text and icons) are a 480-line overlay. But the video background is 480i, if your aspect ratio is set to 4:3; 720p, if 16:9. And the background is what determines the output resolution in Native mode.
     

Share This Page