Streambaby - new streaming application

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

  1. Andrea4

    Andrea4 New Member

    74
    0
    Feb 26, 2009

    Advertisements

    Add this to the streambaby.ini file? ffmpeg.path=ffmpeg.exe
    I did that and the console window doesn't say ready and listening..

    I can't open what I think is the log file...
     
  2. Andrea4

    Andrea4 New Member

    74
    0
    Feb 26, 2009
    This maybe?

    #!/bin/bash
    DIRNAME=`dirname $0`
    java -Djava.net.preferIPv4Stack=true -Xmx256m -jar "$DIRNAME/jbin/streambaby.jar" $@
     
  3. yunlin12

    yunlin12 Tivonation Citizen

    1,223
    0
    Mar 14, 2003
    San Jose, CA
    That almost worked, the remuxed MP4 file can now be read by streambaby, and report the length and bitrate on Tivo's interface, but when I tried to play it (same quality), the progress bar just gets stuck on 0:00 and never starts. The good thing is that streambaby is not frozen this time, I can back out to browse other videos, and play them. I tried remuxing with both the 1.01 and 1.02 ffmpeg, same behavior.
     
  4. scottvf

    scottvf Member

    52
    2
    Jul 4, 2010
  5. windracer

    windracer joined the 10k club

    12,325
    243
    Jan 3, 2003
    St. Pete, FL

    Advertisements

    Where is your ffmpeg located? You need to put in the entire path, like C:\streambaby\ffmpeg.exe or whatever.

    No, that's the startup script for streambaby on a Linux box. You're probably using streambaby.bat to start it on Windows, but again, that's not the log file. On Linux, I get a streambaby.log file, maybe there's not one on Windows so I guess anything you see in the console window might be helpful.
     
  6. dlfl

    dlfl Cranky old novice

    9,164
    836
    Jul 6, 2006
    Dayton OH
    Just guessing here....

    There is a -O option in Handbrake that optimizes for http streaming and as I recall this is necessary for StreamBaby. But of course you don't want to re-encode with HB. You could experiment with mp4box using the -isma option. Downloading Yamb is one way to get a good copy of mp4box but there are links to direct downloads on VideoHelp.com.

    Here is a link to instructions for mp4box:
    http://gpac.sourceforge.net/doc_mp4box.php

    I think you would need:

    mp4box <video>.mp4 -isma -out <videoNew>.mp4
     
  7. orangeboy

    orangeboy yes, I AM orangeboy!

    4,089
    0
    Apr 19, 2004
    East Moline, IL
    If you have python installed, you could try using qtfaststart.py on the newly created mp4 to ensure it's streamable.
     
  8. txporter

    txporter One sec, almost done

    666
    0
    Sep 17, 2006
    Austin, TX
    You can make a batch file to do this using ffmpeg and mp4creator. Not sure if -isma from mp4box is the correct setting or not. I know this works for my TivoHD and Premiere.

    avi-remux.bat (I actually used this for flv remux):
    Code:
    setlocal
    set ffmpeg="D:\encode\ffmpeg.exe"
    set mp4creator="D:\encode\mp4creator\mp4creator.exe"
    
    FOR %%A IN (*.avi) DO (
    %ffmpeg% -i %%A -vcodec copy -acodec copy %%~nA.mp4
    %mp4creator% -O %%~nA.mp4
    )
    Just copy the code to a batch file and make sure your paths are updated. Will remux all AVI files in the directory that it is run from to mp4.
     
  9. yunlin12

    yunlin12 Tivonation Citizen

    1,223
    0
    Mar 14, 2003
    San Jose, CA
    Thanks! Do you know if mp4box supports AC3 audio? I only saw AAC support on the page you referenced.
     
  10. dlfl

    dlfl Cranky old novice

    9,164
    836
    Jul 6, 2006
    Dayton OH
    I'd just be guessing. I suggest you try txporter's method -- sounds solid.
     
  11. Andrea4

    Andrea4 New Member

    74
    0
    Feb 26, 2009
    Tried the file path of ffmep.exe. Still didn't work. Not sure if I did it exactly right either. Yes I am trying to do this on Windows Vista. There is something that I think is the log file. I tried to open it with Microsoft Works and even after uninstalling and reinstalling, it still shows up with a works icon and I can't open it.

    This is what the console window said earlier:

    11/17/10 19:37:43 Listener: added factory
    11/17/10 19:37:43 Main: streambaby ready & listening.

    But with the ffmeg path it just says and doesn't go anywhere: Initializing StreamBaby v0.29...
     
  12. windracer

    windracer joined the 10k club

    12,325
    243
    Jan 3, 2003
    St. Pete, FL
    So where exactly is your ffmpeg.exe located?

    I'm not sure why you can't open the log with Works, it should be just a plain text file. Maybe double-check everything you've done against the getting started wiki page?
     
  13. Andrea4

    Andrea4 New Member

    74
    0
    Feb 26, 2009
    This is where it is right? With the path C:\Users\Andrea\Videos\streambaby-0.29\bin Here's a screen shot:

    http://yfrog.com/5hffmpegpathj

    Tried the Java thing under control panel. That had a similar file path under Program Files and then a bin folder.
     
  14. yunlin12

    yunlin12 Tivonation Citizen

    1,223
    0
    Mar 14, 2003
    San Jose, CA
    Still the same problem, I tried both mp4box -isma and mp4creator -Om and both still show the same issue, when I play the resulting mp4 file, the progress bar on Tivo (THD) gets stuck on 0:00 and doesn't start.

    Thanks for trying.
     
  15. windracer

    windracer joined the 10k club

    12,325
    243
    Jan 3, 2003
    St. Pete, FL
    Right, okay, so your line in streambaby.ini should look like this:

    ffmpeg.path=C:\Andrea\Videos\streambaby-0.29\bin\ffmpeg.exe
     
  16. dlfl

    dlfl Cranky old novice

    9,164
    836
    Jul 6, 2006
    Dayton OH
    mp4creator -Om ?? Is that a typo? The option should be just -O .

    Get VideoReDo TVSuite Mpeg4 -- free trial, register for free trial via menu to remove 15 minute video limit cripple. Do a Quick Stream Fix on your .mp4 file(s). This is pretty quick -- not a re-encode. Actually you might need to do a "Save As". VRD automatically creates files suitable for streaming. (Equivalent to -O option in HandBrake).

    BTW, if this works, you can automate it for all your "problem" files using VAP (link in signature).
     
  17. yunlin12

    yunlin12 Tivonation Citizen

    1,223
    0
    Mar 14, 2003
    San Jose, CA
    Yes -Om was a typo, I used -O

    I have to look into VRD TVS, I had bought and been using version 3 for a long time, mostly using it for MPEG2 editing of stuff I got off of Tivo, so haven't looked into version 4 with MPeg4 support. Thanks for the reminder. Too bad it's not a free upgrade from 3 to 4 I think.

    Edit: Thanks! VRD TVS 4 worked! The resulting MP4 can finally be streamed by streambaby.

    Edit 2: It seems that VRD TVS 4 is chopping off a few seconds of the video (out of 42 min) when I run through QuickStreamFix. On some files it seems stuck, I wonder if it's run into something it doesn't like, and re-encoding it (still waiting to see if it finishes). I don't think I like what it's doing. I may have to just stick with the mp4 files that don't stream from streambaby, at least they play better with my PS3than the avi, and I can still watch everything through Boxee.
     
  18. Andrea4

    Andrea4 New Member

    74
    0
    Feb 26, 2009
    Did that. The console window still doesn't go past Initializing StreamBaby v0.29...
     
  19. windracer

    windracer joined the 10k club

    12,325
    243
    Jan 3, 2003
    St. Pete, FL
    And you're sure you have java installed? Not really sure what's wrong, but again I run streambaby on Linux, not on Windows.
     
  20. Iluvatar

    Iluvatar New Member

    377
    0
    Jul 22, 2006
    What profile level is the video (sorry if I missed it). TiVo only will stream profile levels 4.1 and lower. If it is High profile than you may be SOL with out transcoding. If the profile is higher than 4.1 then you will get a stream that starts and does nothing.
     

Share This Page

spam firewall

Advertisements