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. Feb 21, 2009 #501 of 3415
    Allanon

    Allanon Member

    581
    0
    Nov 2, 2005
    Yoav, you can probably make a simple srt test file using this:

    http://www.fluffalopefactory.com/miyu/
     
  2. Feb 21, 2009 #502 of 3415
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    I just looked at that, it seems like I have to make the subtitles with it (which could take a while, and I'm not even sure I'd be doing it right). Is there nothing that can just pull off subtitles from a DVD?

    edit: oh boy. It looks like the tools that do that are actually doing OCR on a dvd subtitle (I guess dvd subtitles are just images?). Anyways, I guess that means my 'easy' route is to search for an srt for a movie I have that someone else may have made.
     
  3. Feb 21, 2009 #503 of 3415
    moyekj

    moyekj Well-Known Member

    11,151
    35
    Jan 23, 2006
    Mission...
    t2sami
    Or if code is checked in to svn I can give it a try with my samples.
     
  4. Feb 21, 2009 #504 of 3415
    Allanon

    Allanon Member

    581
    0
    Nov 2, 2005
  5. Feb 21, 2009 #505 of 3415
    txporter

    txporter One sec, almost done

    666
    0
    Sep 17, 2006
    Austin, TX
    Also, if you have a DVD movie or TV show, you can normally google for the subtitles. There is a number of sites that store the srts.

    Jason
     
  6. Feb 21, 2009 #506 of 3415
    jannlinder

    jannlinder New Member

    106
    0
    Oct 17, 2004
    San Jose, CA
    Okay, weird thing...

    I am using b19 of PyTivoX with StreamBaby and have some issues:

    SOME versions of 16:9 items get squished in StreamBaby yet play fine in PyTivoX.

    Here is the weird thing: When i tell Streambaby to play at 1201kbps (if that is the correct thing...it is abouty 1200k/s) it stretches them correctly. Here is another weird thing...If i let the incorrectly formatted 4:3 play and hit FF on my remote, the thumbnail Streambaby produces (when it is showing the timeline to fast forward to) is ALWAYS the correct 16:9 aspect ratio!

    help!

    J
     
  7. Feb 22, 2009 #507 of 3415
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Get out of streambaby (just watch Live TV or something) and hit the 'aspect' button on your remote. Make sure it's set to 'panel'. Then view something on streambaby, does it still stretch incorrectly?
     
  8. Feb 22, 2009 #508 of 3415
    jannlinder

    jannlinder New Member

    106
    0
    Oct 17, 2004
    San Jose, CA
    Yes, it stretches incorrectly

    It is set to panel.

    ps: Other shows and mp4's play correctly at 16:9 even in streambaby. It is a series of mp4s that does this. Here is the mp4info output:

    MP4INFO:
    Track Type Info
    1 video H264 Baseline@3, 2618.118 secs, 1511 kbps, 852x480 @ 23.976001 fps
    2 audio MPEG-4 AAC LC, 2617.472 secs, 128 kbps, 48000 Hz
    Metadata Name: War Crimes
    Metadata Year: 2001-11-07T07:00:00Z
    Metadata Album: The West Wing Season 3
    Metadata track: 6 of 23
    Metadata Genre: TV Show
    FFMPEG INFO:
    Duration: 00:43:38.11, start: 0.000000, bitrate: 1642 kb/s
    Stream #0.0(eng): Video: h264, yuv420p, 852x480, 23.98 tb(r)
    Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16


    and another one:
    MP4INFO:
    Track Type Info
    1 video H264 Baseline@3, 2549.924 secs, 1511 kbps, 852x480 @ 23.976009 fps
    2 audio MPEG-4 AAC LC, 2549.312 secs, 128 kbps, 48000 Hz
    Metadata Name: Gone Quiet
    Metadata Year: 2001-11-14T07:00:00Z
    Metadata Album: The West Wing Season 3
    Metadata track: 7 of 23
    Metadata Genre: TV Show
    FFMPEG INFO:
    Duration: 00:43:38.11, start: 0.000000, bitrate: 1642 kb/s
    Stream #0.0(eng): Video: h264, yuv420p, 852x480, 23.98 tb(r)
    Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16

    Those are just two.

    Here is one that plays correctly:
    MP4INFO:
    Track Type Info
    1 video H264 Main@3.1, 2560.257 secs, 1501 kbps, 852x480 @ 29.970038 fps
    2 audio MPEG-4 AAC LC, 2559.658 secs, 0 kbps, 48000 Hz
    Metadata Name: In The Shadow of Two Gunmen (Part 2)
    Metadata Year: 2000-10-04T07:00:00Z
    Metadata Album: The West Wing Season 2
    Metadata track: 2 of 22
    Metadata Genre: TV Show
    FFMPEG INFO:
    Duration: 00:42:40.25, start: 0.000000, bitrate: 1635 kb/s
    Stream #0.0(und): Video: h264, yuv420p, 852x480, 29.97 tb(r)
    Stream #0.1(und): Audio: aac, 48000 Hz, stereo, s16


    and this one also plays correctly:
    MP4INFO:
    Track Type Info
    1 video H264 Main@3.1, 2560.257 secs, 1501 kbps, 852x480 @ 29.970038 fps
    2 audio MPEG-4 AAC LC, 2559.658 secs, 0 kbps, 48000 Hz
    Metadata Name: In The Shadow of Two Gunmen (Part 2)
    Metadata Year: 2000-10-04T07:00:00Z
    Metadata Album: The West Wing Season 2
    Metadata track: 2 of 22
    Metadata Genre: TV Show
    FFMPEG INFO:
    Duration: 00:43:40.11, start: 0.000000, bitrate: 1634 kb/s
    Stream #0.0(und): Video: h264, yuv420p, 852x480, 29.97 tb(r)
    Stream #0.1(und): Audio: aac, 48000 Hz, stereo, s16



    The only diff i can see (for a large part) is that the ones that do NOT stretch correctly are all 29.97 and not 23.97

    Bug?


    J
     
  9. Feb 22, 2009 #509 of 3415
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Ok just checked into svn a change to support CC text at multiple resolutions. Basically, the old setting had a variable "cc.fontsize" that defaults to 20 pixels. You can still specify that variable as pixels, but now have the option to use a value from
    <tiny, small, medium >
    which will use a size that is a variable number of pixels depending on the resolution being used.

    I tried it with an srt file I pulled off then internet, and seems to be working fine at both hd and regular, so checked in. Please tell me if it seems like I broke something.

    Now to figure out the html scaling and use a stylesheet instead of a fixed font size there...
     
  10. Feb 22, 2009 #510 of 3415
    hooper

    hooper Member

    204
    3
    Sep 22, 2007
    I am seeing a resource unavailable error when trying to play an mp4 file. Guessing the problem is with the 6 channel aac audio. Thoughts?

    2/22/09 10:25:03 VideoModuleHelper: GetVidInfo: file:/M:/Videos/sample.mp4
    02/22/09 10:25:03 FFmpegJavaVideoModule: vidDur:59978
    02/22/09 10:25:03 FFmpegJavaVideoModule: VideoInfo:
    uri: file:/M:/Videos/sample.mp4, Container: mkv, Duration: 59.978 seconds
    Video: h264 720x304 23.976023976023978 fps
    PixAspect: 1.0, Aspect: 2.368421
    Audio: aac 48000HZ 6 channels
    02/22/09 10:25:03 VideoModuleHelper: Guessing bitrate for file:/M:/Videos/sample.mp4 to: 1949

    02/22/09 10:25:27 ViewScreen: error=ERROR: resource unavailable sample.mp4
     
  11. Feb 22, 2009 #511 of 3415
    moyekj

    moyekj Well-Known Member

    11,151
    35
    Jan 23, 2006
    Mission...
    Thanks Yoav, the changes are looking good thus far. I just confirmed the cc font size fix in HD mode.
     
  12. Feb 22, 2009 #512 of 3415
    Clusty

    Clusty New Member

    42
    0
    Jun 11, 2007
    How do I apply the patches you guys are posting?
     
  13. Feb 22, 2009 #513 of 3415
    moyekj

    moyekj Well-Known Member

    11,151
    35
    Jan 23, 2006
    Mission...
    Checkout the latest SVN and then use Ant to build the distribution or import the whole hierarchy into Eclipse. Unless you are familiar with SVN and Java development this may prove too hard and you are better off waiting for next release by Keary.
     
  14. Feb 22, 2009 #514 of 3415
    jannlinder

    jannlinder New Member

    106
    0
    Oct 17, 2004
    San Jose, CA
    Just wondering. Does TiVo have some sort of User Interface Guideline that denotes certain background colors for certain things? I am *LOVING* the HD blue version for StreamBaby now!!! Great graphic guys! Gotta find out how to use a font size that is about 1 size higher than is normal for the description as for smaller HD TV's doing 720p it is kinda unreadable....but beautiful all the same!

    :)

    J
     
  15. Feb 22, 2009 #515 of 3415
    jannlinder

    jannlinder New Member

    106
    0
    Oct 17, 2004
    San Jose, CA
    ps: any idea why aspect ratio is off for StreamBaby on files that play fine on PyTivoX?

    (see my posting about 5 posts back)

    J
     
  16. Feb 22, 2009 #516 of 3415
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Ok, I have a MAJOR issue with the CSS stuff, figured I'd ask here see if anyone is knowledgeable...

    I put in the code change so that it uses a different CSS stylesheet depending on the vertical resolution being used (so right now, something like style-480.css and style-720.css cover the only resolutions we're likely to see). It's all well and good, except I have a HUGE annoyance:

    I use css to tell it to 'float' the cover art to the right (instead of using the img attribute align=right). This is all well and good. However, before there was a 'width=30&#37;' setting in the img attribute. That looked fine in 640x480, but at 1280x720 30% looks too big. So I pushed out the width into the CSS sheet. However, now when I specify width=5% (just for testing), instead of properly scaling the image, I get a VERY VERY thin image. I thought adding height=auto, would fix it, but no. I can do things like setting width AND height to fixed numbers, or percentages of the screen size, but all of them stretch the image to exactly that size, and so ignore aspect ratio.

    So, is there a way to 'stretch while preserving aspect ratio' using CSS in a way that is supported by the html renderer? Assuming I can't figure it out, would people be 'unhappy' with a 'stretched' image? I can try 'stretching' it to a fixed 'poster-size' aspect ratio.. don't most people use that for their coverart anyways?

    (keary or moyekj?)

    edit: So I'm going to go with the 'stretched to a fixed size' since I think it will look nicer than 'shrunk to 30% of the width' anyways (some images were causing 'page down' to be needed.. I think it's better to squish those. We can easily back it out. Checking in to latest svn now.
     
  17. Feb 22, 2009 #517 of 3415
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    afaik there is no interface guideline controlling what you can use for a background.

    As for the font size, unfortunately right now there's only a 'global' font size for things like 'list items' and such. It *is* possible to override it, but would take a bunch more work. I'm assuming that's not the font that is giving you problems since I can see it fine even on my monitor).

    If it's only small on certain pages, like the metadata page right before you select quality and hit play, that is fixed with the latest code (it was using a very tiny tiny font size before, now it will pick an appropriate size for the resolution).

    Try out the latest svn and tell me if things improved or if it still needs a larger font?
     
  18. Feb 22, 2009 #518 of 3415
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Saw it, thought of the obvious solution, apparently that's not it, so no clue :( Is it working fine if you choose a different quality (which should kick of a transcode, which *should* end up doing something very similar to what pytivo does).

    IF it really is video only of a certain framerate, it could be that tivo is just confused about what to do with those (or is expecting some additional info about PAR or whatnot just for that framerate). but as I said "no clue" :(
     
  19. Feb 22, 2009 #519 of 3415
    rfryar

    rfryar My Media, My Way

    222
    0
    Feb 15, 2008
    Cottage...
    In HTML if you just set either just the height or just the width to a fixed pixel size, it will scale the image and preserve the aspect ratio. However you mentioned that you tried this with a percentage and it did not seem to work.

    So while it works in HTML, I can not say it will work with the TiVos HTML.

    I feel it would be better to resize the image physically via the Java server side code instead anyways, and that way you know the exact height and width before resizing.

    Regards,

    Rick
     
  20. Feb 22, 2009 #520 of 3415
    cburbs

    cburbs New Member

    158
    0
    Jan 29, 2009

Share This Page