Streambaby - new streaming application

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

  1. jcthorne

    jcthorne Well-Known Member

    3,116
    196
    Jan 28, 2002
    Houston

    Advertisements

    Quick question, now that the text wraps around the artwork on the browse screen, is they any way to adjust the image size? Is it something I could change or is it hard coded?

    The browse screen works great by the way.
     
  2. rondotcom

    rondotcom I Like To Watch

    298
    1
    Feb 12, 2005
    About my streambaby problem : ffmpeg sez: [mov,mp4,m4a,3gp,3g2,mj2 @ 01f77140] moov atom not found sport.mp4: Invalid data found when processing input

    I have no idea what that means except it doesn't sound good
     
  3. greenawayj

    greenawayj New Member

    10
    1
    Nov 16, 2006
    Having an unusual issue...

    I have stream baby 0.38 installed and working fine. I can see it from my roamio plus and mini. Push functionality is configured and shows the plus and mini as push targets.

    However, I cannot see streambaby from my 3rd device, a premiere. And it does not show up as a push target.

    HME is enabled and premiere is on the network. It has an IP and kmttg can see the premiere and pull it's NPL. I have tried:

    Turning HME off and back on.
    HD GUI reset.
    Full reset
    Trying to manually force the connection by typing in the IP of the computer running streambaby.

    I currently have no special IP or port settings in streambaby.ini

    Only networking difference between the premiere and the roamio/mini is the premiere gets a static IP from the router while the other two get next available from dhcp. (mainly because I recently moved and hadn't yet gotten around to assigning them a fixed IP yet). They are all on 192.168.0.xxx

    At some point in the recent past, this definitely worked, but with 2 moves in 9 months and the recent (very much appreciated updates to streambaby) , I don't necessarily know when it stopped working.

    Anyone else ever see something similar? or have any ideas for me.

    Thanks
     
  4. moyekj

    moyekj Well-Known Member

    12,176
    827
    Jan 23, 2006
    Mission...
    If you are able to transfer using pyTivo then try configuring streambaby to use the same ffmpeg pyTivo is using. i.e. Try a different ffmpeg for streambaby than you are currently using.
     
  5. moyekj

    moyekj Well-Known Member

    12,176
    827
    Jan 23, 2006
    Mission...

    Advertisements

    The height is currently hardcoded (the width changes dynamically to preserve aspect ratio). I'll add a streambaby.ini entry for it in next release so height can be changed.
     
  6. jcthorne

    jcthorne Well-Known Member

    3,116
    196
    Jan 28, 2002
    Houston
    Great!, Thanks as always.
     
  7. Nov 1, 2014 #3007 of 3662
    moyekj

    moyekj Well-Known Member

    12,176
    827
    Jan 23, 2006
    Mission...
    0.39 version is now released with following updates:

    * Selection Screen art image height is now configurable in streambaby.ini:
    browser.image.height=(default:180)
    * Remux mkv container with mpeg2 video & ac3 audio instead of transcode.
    * Java 8 update broke mind.tivo.com login authentication associated with pushes, so the code has been updated to work with Java 8.
     
  8. Nov 3, 2014 #3008 of 3662
    MacGuruTX

    MacGuruTX Member

    49
    0
    Sep 19, 2006
    San Diego, CA
    First, moyekj, I want to express my deepest gratitude for your reopening the code for Streambaby. We've used it extensively for years now, and it was getting to be quite a pain to regress Java all the time.

    So I had to rebuild my HD on my household MacPro which is aged and stuck on 10.7.5. This resulted in a new system install and a clean of streambaby .39 when I discovered it on here.

    I appear to have a problem with resuming playback on MKV.
    Steps
    1) Start playing a MKV. My daughter watched to roughly 28 min the previous night.

    2) Today, i open DolphinTale again and went to Resume Playback. I get a Please Wait in the tivo/streambaby UI. Then the Tivo switches to what appears to be playback mode, but I'm stuck on a black screen with the time bar at the bottom, but nothing else.

    3) Similar occurrence, if I start from beginning and fast forward a few minutes and hit play it works fine. But if I fast forward to much later in the file, and press play, then it fails with the same black screen. My gut is that it has to do with outrunning the buffer?

    ------- Media Info -------
    Unique ID : 217051188161099308821019619825343772223 (0xA34A89CC5A5C9843832C4A20675FB63F)
    Complete name : /Volumes/Media Storage/TiVo-Shows/Dolphin Tale.mkv
    Format : Matroska
    Format version : Version 2
    File size : 5.45 GiB
    Duration : 1h 52mn
    Overall bit rate : 6 931 Kbps
    Encoded date : UTC 2011-12-08 19:15:34
    Writing application : mkvmerge v4.9.1 ('Ich will') built on Jul 11 2011 23:53:15
    Writing library : libebml v1.2.1 + libmatroska v1.1.1

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L4.1
    Format settings, CABAC : Yes
    Format settings, ReFrames : 5 frames
    Codec ID : V_MPEG4/ISO/AVC
    Duration : 1h 52mn
    Bit rate : 5 420 Kbps
    Width : 1 280 pixels
    Height : 720 pixels
    Display aspect ratio : 16:9
    Frame rate mode : Constant
    Frame rate : 23.976 fps
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.245
    Stream size : 4.16 GiB (76%)
    Writing library : x264 core 119 r2106 07efeb4
    Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=9 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=5420 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
    Language : English
    Default : Yes
    Forced : No

    Audio
    ID : 2
    Format : DTS
    Format/Info : Digital Theater Systems
    Mode : 16
    Format settings, Endianness : Big
    Codec ID : A_DTS
    Duration : 1h 52mn
    Bit rate mode : Constant
    Bit rate : 1 509 Kbps
    Channel(s) : 6 channels
    Channel positions : Front: L C R, Side: L R, LFE
    Sampling rate : 48.0 KHz
    Bit depth : 24 bits
    Compression mode : Lossy
    Stream size : 1.19 GiB (22%)
    Language : English
    Default : Yes
    Forced : No

    Text
    ID : 3
    Format : UTF-8
    Codec ID : S_TEXT/UTF8
    Codec ID/Info : UTF-8 Plain Text
    Language : English
    Default : No
    Forced : No


    -------- Streambaby Log File ------
    Although my .ini file has com.unwiredappeal=debug, i notice that there is information showing up in my terminal window that doesn't appear to be recording to the log file?

    specifically the warnings about Resource not found which are in the Terminal Window Copy after the Log file below:

    ----- Actual Log File -----
    11/03/14 20:14:11 StreamBabyMain: 129 STARTING StreamBaby v0.39...
    11/03/14 20:14:11 Listener: 125 added factory
    11/03/14 20:14:11 Main: 275 MDNS: http://192.168.1.20:7290/streambaby/
    11/03/14 20:14:11 Main: 276 streambaby ready & listening.
    11/03/14 20:14:17 TiVoListener: 151 jmDns found TiVo: Living Room new, tsn: 746000190352644
    11/03/14 20:14:17 TiVoListener: 151 jmDns found TiVo: Master Bed XL4, tsn: 758200190413DF6
    11/03/14 20:15:04 Factory: 504 HME receiver connected
    11/03/14 20:15:04 Application: 509 HME host: 192.168.1.20:7290
    11/03/14 20:15:18 FFmpegExeVideoModule: 714 FFmpegCmd: /Applications/streambaby-0.39/native/ffmpeg -i /Volumes/Media Storage/TiVo-Shows/Dolphin Tale.mkv
    11/03/14 20:15:20 FFmpegExeVideoModule: 714 FFmpegCmd: /Applications/streambaby-0.39/native/ffmpeg -ss 368.0 -i /Volumes/Media Storage/TiVo-Shows/Dolphin Tale.mkv -acodec ac3 -vcodec mpeg2video -f vob -async 1 -r 23.976 -v 0 -threads 1 -qscale 1 -ab 192k -ar 48000 tcp://127.0.0.1:8500
    11/03/14 20:15:21 Listener: 423 192.168.1.14 d69bea8b-c1f5-4bd4-8a5e-abc3f256949e.stream HTTP GET - to factory /streambaby/
    11/03/14 20:16:06 SocketProcessInputStream: 29 Destroying running process...
    11/03/14 20:16:06 Listener: 438 192.168.1.14 I/O Exception handling HTTP GET d69bea8b-c1f5-4bd4-8a5e-abc3f256949e.stream: Broken pipe
    11/03/14 20:16:06 FFmpegExeVideoModule: 714 FFmpegCmd: /Applications/streambaby-0.39/native/ffmpeg -ss 1700.0 -i /Volumes/Media Storage/TiVo-Shows/Dolphin Tale.mkv -acodec ac3 -vcodec mpeg2video -f vob -async 1 -r 23.976 -v 0 -threads 1 -qscale 1 -ab 192k -ar 48000 tcp://127.0.0.1:8500
    11/03/14 20:16:07 Listener: 423 192.168.1.14 2ea03058-5787-450c-bebd-6ff3c2ded337.stream HTTP GET - to factory /streambaby/
    11/03/14 20:16:32 Listener: 343 connection to receiver closed
    11/03/14 20:16:32 Factory: 504 HME receiver disconnected
    11/03/14 20:16:32 SocketProcessInputStream: 29 Destroying running process...
    11/03/14 20:16:32 Listener: 438 192.168.1.14 I/O Exception handling HTTP GET 2ea03058-5787-450c-bebd-6ff3c2ded337.stream: Broken pipe
    11/03/14 20:16:45 Factory: 504 HME receiver connected
    11/03/14 20:16:45 Application: 509 HME host: 192.168.1.20:7290
    11/03/14 20:17:01 FFmpegExeVideoModule: 714 FFmpegCmd: /Applications/streambaby-0.39/native/ffmpeg -ss 1708.0 -i /Volumes/Media Storage/TiVo-Shows/Dolphin Tale.mkv -acodec ac3 -vcodec mpeg2video -f vob -async 1 -r 23.976 -v 0 -threads 1 -qscale 1 -ab 192k -ar 48000 tcp://127.0.0.1:8500
    11/03/14 20:17:02 Listener: 423 192.168.1.14 8a27c19a-3e7d-486a-89e2-c04a6c1e5a2f.stream HTTP GET - to factory /streambaby/
    11/03/14 20:17:44 FFmpegExeVideoModule: 714 FFmpegCmd: /Applications/streambaby-0.39/native/ffmpeg -ss 1709.0 -i /Volumes/Media Storage/TiVo-Shows/Dolphin Tale.mkv -acodec ac3 -vcodec mpeg2video -f vob -async 1 -r 23.976 -v 0 -threads 1 -qscale 1 -ab 192k -ar 48000 tcp://127.0.0.1:8501
    11/03/14 20:17:45 Listener: 423 192.168.1.14 b5fedb92-64d3-49f9-8d17-3d9b0a078be5.stream HTTP GET - to factory /streambaby/
    11/03/14 20:20:48 ShutdownHook: 30 Cleaning up...

    ---- Terminal Text capture ------
    Initializing StreamBaby v0.39...
    11/03/14 20:14:11 StreamBabyMain: 129 STARTING StreamBaby v0.39...
    11/03/14 20:14:11 Listener: 125 added factory
    11/03/14 20:14:11 Main: 275 MDNS: http://192.168.1.20:7290/streambaby/
    11/03/14 20:14:11 Main: 276 streambaby ready & listening.
    11/03/14 20:14:17 TiVoListener: 151 jmDns found TiVo: Living Room new, tsn: 746000190352644
    11/03/14 20:14:17 TiVoListener: 151 jmDns found TiVo: Master Bed XL4, tsn: 758200190413DF6
    log after close : initContext version=49
    11/03/14 20:15:04 Factory: 504 HME receiver connected
    11/03/14 20:15:04 Application: 509 HME host: 192.168.1.20:7290
    11/03/14 20:15:18 FFmpegExeVideoModule: 714 FFmpegCmd: /Applications/streambaby-0.39/native/ffmpeg -i /Volumes/Media Storage/TiVo-Shows/Dolphin Tale.mkv
    11/03/14 20:15:20 FFmpegExeVideoModule: 714 FFmpegCmd: /Applications/streambaby-0.39/native/ffmpeg -ss 368.0 -i /Volumes/Media Storage/TiVo-Shows/Dolphin Tale.mkv -acodec ac3 -vcodec mpeg2video -f vob -async 1 -r 23.976 -v 0 -threads 1 -qscale 1 -ab 192k -ar 48000 tcp://127.0.0.1:8500
    11/03/14 20:15:21 Listener: 423 192.168.1.14 d69bea8b-c1f5-4bd4-8a5e-abc3f256949e.stream HTTP GET - to factory /streambaby/
    NOTE: Buffer limit set to 20 GB
    StreamBabyStream[#1,uri=null] warning: resource 3873 not found.
    StreamBabyStream[#1,uri=null] warning: resource 3873 not found.
    11/03/14 20:16:06 SocketProcessInputStream: 29 Destroying running process...
    11/03/14 20:16:06 Listener: 438 192.168.1.14 I/O Exception handling HTTP GET d69bea8b-c1f5-4bd4-8a5e-abc3f256949e.stream: Broken pipe
    11/03/14 20:16:06 FFmpegExeVideoModule: 714 FFmpegCmd: /Applications/streambaby-0.39/native/ffmpeg -ss 1700.0 -i /Volumes/Media Storage/TiVo-Shows/Dolphin Tale.mkv -acodec ac3 -vcodec mpeg2video -f vob -async 1 -r 23.976 -v 0 -threads 1 -qscale 1 -ab 192k -ar 48000 tcp://127.0.0.1:8500
    11/03/14 20:16:07 Listener: 423 192.168.1.14 2ea03058-5787-450c-bebd-6ff3c2ded337.stream HTTP GET - to factory /streambaby/
    NOTE: Buffer limit set to 20 GB
    11/03/14 20:16:32 Listener: 343 connection to receiver closed
    11/03/14 20:16:32 Factory: 504 HME receiver disconnected
    11/03/14 20:16:32 SocketProcessInputStream: 29 Destroying running process...
    11/03/14 20:16:32 Listener: 438 192.168.1.14 I/O Exception handling HTTP GET 2ea03058-5787-450c-bebd-6ff3c2ded337.stream: Broken pipe
    log after close : initContext version=49
    11/03/14 20:16:45 Factory: 504 HME receiver connected
    11/03/14 20:16:45 Application: 509 HME host: 192.168.1.20:7290
    11/03/14 20:17:01 FFmpegExeVideoModule: 714 FFmpegCmd: /Applications/streambaby-0.39/native/ffmpeg -ss 1708.0 -i /Volumes/Media Storage/TiVo-Shows/Dolphin Tale.mkv -acodec ac3 -vcodec mpeg2video -f vob -async 1 -r 23.976 -v 0 -threads 1 -qscale 1 -ab 192k -ar 48000 tcp://127.0.0.1:8500
    11/03/14 20:17:02 Listener: 423 192.168.1.14 8a27c19a-3e7d-486a-89e2-c04a6c1e5a2f.stream HTTP GET - to factory /streambaby/
    NOTE: Buffer limit set to 20 GB
    StreamBabyStream[#1,uri=null] warning: resource 3849 not found.
    StreamBabyStream[#1,uri=null] warning: resource 3849 not found.
    11/03/14 20:17:44 FFmpegExeVideoModule: 714 FFmpegCmd: /Applications/streambaby-0.39/native/ffmpeg -ss 1709.0 -i /Volumes/Media Storage/TiVo-Shows/Dolphin Tale.mkv -acodec ac3 -vcodec mpeg2video -f vob -async 1 -r 23.976 -v 0 -threads 1 -qscale 1 -ab 192k -ar 48000 tcp://127.0.0.1:8501
    11/03/14 20:17:45 Listener: 423 192.168.1.14 b5fedb92-64d3-49f9-8d17-3d9b0a078be5.stream HTTP GET - to factory /streambaby/
    NOTE: Buffer limit set to 20 GB
     
  9. Nov 4, 2014 #3009 of 3662
    moyekj

    moyekj Well-Known Member

    12,176
    827
    Jan 23, 2006
    Mission...
    MacGuruTX, from the log you posted it appears that it may be taking too long for ffmpeg to seek to the resume spot. From command line try the following (the -ss 1700 means seek to 1700 seconds into the video):
    Code:
    /Applications/streambaby-0.39/native/ffmpeg -ss 1700.0 -i "/Volumes/Media Storage/TiVo-Shows/Dolphin Tale.mkv" -acodec ac3 -vcodec mpeg2video -f vob -async 1 -r 23.976 -v 0 -threads 1 -qscale 1 -ab 192k -ar 48000 test.mpg
    
    See how long it takes for the above to start producing something in test.mpg that can be played.
    Or if there is some kind of problem ffmpeg is having you should see warnings/errors from ffmpeg.
     
  10. Nov 4, 2014 #3010 of 3662
    MacGuruTX

    MacGuruTX Member

    49
    0
    Sep 19, 2006
    San Diego, CA
    Looks like 5 minutes to start outputting to the file...
     
  11. Nov 4, 2014 #3011 of 3662
    moyekj

    moyekj Well-Known Member

    12,176
    827
    Jan 23, 2006
    Mission...
    That would explain the dark screen then since streambaby is not getting any output from ffmpeg for a long time. You could perhaps look into obtaining a newer version of ffmpeg to use with streambaby to see if that solves the problem.
     
  12. Nov 4, 2014 #3012 of 3662
    MacGuruTX

    MacGuruTX Member

    49
    0
    Sep 19, 2006
    San Diego, CA
    Ok, that seems to be the issue. I did a macports build of ffmpeg and when doing the cmd i get a near instantaneous seek.

    What version is in the native folder?
    and/or
    Can i redirect streambaby to use my build through config?
     
  13. Nov 4, 2014 #3013 of 3662
    moyekj

    moyekj Well-Known Member

    12,176
    827
    Jan 23, 2006
    Mission...
    You can define which ffmpeg to use in streambaby.ini:
    ffmpeg.path=/full/path/to/ffmpeg

    Also, if you can make your ffmpeg executable available for me to download I can update the Mac tools package to use it instead of the current one.
    (I don't have access to Mac platform so rely on Mac users for binaries).
     
  14. Nov 4, 2014 #3014 of 3662
    thewebgal

    thewebgal MacAphile AV geek

    490
    28
    Aug 10, 2007
    DC 'burbs
    I did the upgrade the other day, tested it 2 nights now - Streambaby 0.39 is working fine on my macPro under Yosemite, tho I don't have graphics in the file folder to view.
     
  15. Nov 4, 2014 #3015 of 3662
    MacGuruTX

    MacGuruTX Member

    49
    0
    Sep 19, 2006
    San Diego, CA
    Yep, got it. the macports defaults to opt/local/bin/ffmpeg

    ffmpeg.path=/opt/local/bin/ffmpeg

    I'll pm you with a link and we can give that a shot.
     
  16. Nov 4, 2014 #3016 of 3662
    MacGuruTX

    MacGuruTX Member

    49
    0
    Sep 19, 2006
    San Diego, CA
    Now I just have to figure out why I can't get some folders to show files. I think it has to do with spaces in the directory name. I was trying 3 different variations of escaping the spaces. All of them show up as Folders when you access streambaby, but it shows them as empty. Any ideas on that one? all 3 work from the command line to move to that directory.

    dir.2='/Volumes/Texas/Users/MyName/Music/iTunes/iTunes Media/TV Shows'
    dir.2.name=iTunes TV
    #dir.2.password=test
    dir.3=/Volumes/Texas/Users/MyName/Music/iTunes/iTunes\ Media
    dir.3=ItunesDir3
    dir.4=/Volumes/Texas/Users/MyName/Music/iTunes/"itunes Media"/"TV Shows"
    dir.4.name-ItunesDir4
     
  17. Nov 4, 2014 #3017 of 3662
    moyekj

    moyekj Well-Known Member

    12,176
    827
    Jan 23, 2006
    Mission...
    Spaces in directory names aren't an issue, you don't need any special escaping. Check the Wiki for which file extensions streambaby looks for and if there are missing ones you have to add ini entry. Else check for file permissions if file extensions are not the issue.

    Also one other thing - default behavior of streambaby is to use titles where possible instead of file names which I never liked, so I have these permanently set in my ini file so I can see the actual file names sorted alphabetically in the left pane.
    use.title=false
    sort.filename=true
     
  18. Nov 6, 2014 #3018 of 3662
    f4phantomii

    f4phantomii Member

    39
    0
    Jan 13, 2004
    Coastal...
    A very, very large thank you!
     
  19. Nov 7, 2014 #3019 of 3662
    jcthorne

    jcthorne Well-Known Member

    3,116
    196
    Jan 28, 2002
    Houston

    Just wanted to say thanks. Finally got some time to install the new version and adjust the settings. Looks great on screen with the images now big enough to see and the text wraps around perfectly. Streambaby sure has come a long way since you took it over. Thanks so much.
     
  20. Nov 9, 2014 #3020 of 3662
    thewebgal

    thewebgal MacAphile AV geek

    490
    28
    Aug 10, 2007
    DC 'burbs
    This improved Streambaby works so well for my humble needs - but I feel like I am not using 1/4 of its true potential.

    So, if I wanted to utilize all the capability of the reborn Streambaby,
    what do I need to do?


    Create some kind of text file to describe the AV files, with images?
     

Share This Page

spam firewall

Advertisements