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 4, 2009 #881 of 3405
    rfryar

    rfryar My Media, My Way

    222
    0
    Feb 15, 2008
    Cottage...
    I think I have uncovered a bug in the FFMPEG version we are using. Since kearygriffin mentioned that the MP4 I was using had only 24000Hz audio, I looked into it. I did not think I encoded it to that level. I demuxed them, reencoded the audio which forced 48000Hz. Remuxed it using MP4Box. FFMPEG would still report 24000Hz.

    After reencoding the audio several different ways I came across the fact that if I encoded it using HE-AAC, FFMpeg would report the 48000 stream as 24000. When I switched to using AAC-LC then FFMPEG would report the audio correctly.

    And now the MP4s which would not stream (And I could not transocde) can stream!

    So an issue with HE-AAC audio and FFMPEG.

    Rick
     
  2. Apr 5, 2009 #882 of 3405
    txporter

    txporter One sec, almost done

    666
    0
    Sep 17, 2006
    Austin, TX
    I only have TivoHD, so I haven't tested any of my profiles on a S3. Handbrake defaults to using VFR when using detelecine, and I have been a bit concerned about this but haven't seen any playback issues on my HDs. Here is the profile that I am using now.

    Code:
     -i "source" -t 2 -c 1-17 -o "output.mp4" -f mp4 -O  --decomb  -p  --detelecine -e x264 -b 2000 -2  -T  -a 1 -E faac -B 160 -R 0 -6 dpl2 -D 1 -s 1 --markers="C:\Users\Jason\AppData\Local\Temp\VIDEO_TS-2-chapters.csv" -x ref=3:mixed-refs=1:bframes=3:weightb=1:direct=auto:b-pyramid=1:me=umh:subq=9:analyse=all:8x8dct=1:no-fast-pskip=1:psy-rd=1,0.2:keyint=24:min-keyint=2:no-dct-decimate=1 -v
    Jason
     
  3. Apr 5, 2009 #883 of 3405
    rfryar

    rfryar My Media, My Way

    222
    0
    Feb 15, 2008
    Cottage...
    This fixed it. Works like a charm now. I will leave this set to false as all my MP4s are properly interleaved.

    Thanks again!!

    Rick
     
  4. Apr 5, 2009 #884 of 3405
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    Tried it out from both an SD & HD mpeg2 source and it worked very nicely on my S3s, thanks! I tried it with both AAC (-E faac) and AC3 (-E ac3) audio and both worked well, and of course for Tivo playback AC3 is better. I updated the video_compatiblity wiki to include your handbrake recipe (with AC3 audio).
     
  5. Apr 5, 2009 #885 of 3405
    txporter

    txporter One sec, almost done

    666
    0
    Sep 17, 2006
    Austin, TX
    Just to add for folks that are more interested in speed of conversion than target size, you can use a target quality profile of ~61% to achieve around 2000 kbps encodes. I had some DVD material that must have had a lot of noise in the video and the 61% quality encode was using a bitrate of ~3800 kbps which was really overkill for SD material. Because of that, I switched to 2-pass. Currently, it takes me about 50 mins to re-encode a 42-43 min episode whereas the single pass constant quality encode was 35 mins.

    Jason
     
  6. Apr 5, 2009 #886 of 3405
    m_jonis

    m_jonis Member

    625
    0
    Jan 3, 2002
    Albany, NY
    Maybe I'm doing something wrong. I followed the article on how to turn your Tivo into a DVR jukebox. Basically ripped a DVD with dvd decrypter so that I could get one .VOB file with the audio encoded. I renamed to .MPG

    I use streambaby to point to that folder.

    TivoHD sees the video and I can play it.

    However, three issues:

    1) It shows as 0:00 for the time
    2) I cannot fast forward, as it pauses and flashes up a black screen that says: 0:00:00
    3) If I pause the playback on the Tivo for longer than say, 30 seconds, it generates an error on the Tivo and I have to start watching all over again (because I cannot fast forward).

    Streambaby shows this for items #1 and #2:

    Initializing...
    04/05/09 10:43:18 Listener: added factory
    04/05/09 10:43:18 Main: streambaby ready & listening.
    04/05/09 11:13:26 Listener: 10.10.1.103 icon.png HTTP GET - to factory /streamba
    by/
    log after close : initContext version=47
    04/05/09 11:13:37 Factory: HME receiver connected
    StreamBabyStream[#1,uri=null] warning: resource 2057 not found.
    StreamBabyStream[#1,uri=null] warning: resource 2057 not found.
    04/05/09 11:13:47 Listener: 10.10.1.103 51a575c3-0f6b-47f9-bc4a-efdaf80bee67.str
    eam HTTP GET - to factory /streambaby/
    04/05/09 11:14:31 Listener: connection to receiver closed
    04/05/09 11:14:31 Factory: HME receiver disconnected
    04/05/09 11:14:32 Listener: 10.10.1.103 I/O Exception handling HTTP GET 51a575c
    3-0f6b-47f9-bc4a-efdaf80bee67.stream: Connection reset by peer: socket write err
    or
     
  7. Apr 5, 2009 #887 of 3405
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    m_jonis, sounds like you need to run your ripped mpeg files through VideoRedo QuickStream fix or some other mpeg2 GOP fixer.
    As it is now if even if you transfer the video to your Tivo using Tivo Desktop or pyTivo you will likely see the same playback issues.
     
  8. Apr 5, 2009 #888 of 3405
    m_jonis

    m_jonis Member

    625
    0
    Jan 3, 2002
    Albany, NY
    Thanks.

    However, playback is fine (no audio problems no sync issues, etc.)

    I was able to fast forward the very first time I tried it, but not since.

    However, I'll try the videoredo and see what happens.
     
  9. Apr 5, 2009 #889 of 3405
    Sicklybutsexy

    Sicklybutsexy New Member

    179
    0
    May 5, 2007
    You can also try mpegstreamclip which is free. Just follow the directions on how to install it.
     
  10. Apr 5, 2009 #890 of 3405
    m_jonis

    m_jonis Member

    625
    0
    Jan 3, 2002
    Albany, NY
    I tried mpegstreamclip but it didn't fix it, so I tried the trial of videoredo and that fixed it. So I'll probably be buying the video redo.

    Thanks for all the help and the free app is pretty cool.
     
  11. Apr 5, 2009 #891 of 3405
    kearygriffin

    kearygriffin New Member

    346
    0
    Jan 31, 2008
    I've updated the re-interleaving code to make it exponentially faster. (The video I use for large file testing went from 44 seconds to .5 seconds...)

    If you feel like trying it again with the new version with the interleaving turned back on (commenting out or removing the interleave line from streambaby.ini) I'd be interested in hearing your results. (I'm curious to see if it was a speed-issue, which this should fix, or if there is some kind of bug causing the video to get stuck in some kind infinite loop)

    Here is the link to the new version:
    http://streambaby.googlecode.com/files/streambaby-svn-r198.zip
     
  12. Apr 5, 2009 #892 of 3405
    philby85

    philby85 New Member

    15
    0
    Mar 21, 2009
    Hi Keary,

    I use streambaby via pytivox.

    I wanted to change the look of the graphics when using streambaby.

    I changed the background and icons etc. Is it possible to do this, have different folder icons for different folders. ie i have folders like action, comedy, drama.
    I would love to have a folder icon for each folder that contains a type of genre. i have attached some examples.

    Also when entering a folder say for a tv series could we have a different background for that folder.

    Another request can we make the default folder size bigger than 32x32?

    I really love streambaby and I am changing the look to make it more like individual app that tivo runs, hope I am explaining that well enough.

    There are some amazing folders and background images and icons made for the tvix series of media players i would love to use those.

    cheers

    phil
     

    Attached Files:

  13. Apr 5, 2009 #893 of 3405
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    Keary, FYI with r198 some of my mp4 videos no longer play when interleaving is left off (I get the red 0xffff error screen). I had to turn off interleaving for them to play with streambaby:
    mp4module.interleave=false
    (I can make a short sample available if you need one)
     
  14. Apr 5, 2009 #894 of 3405
    rfryar

    rfryar My Media, My Way

    222
    0
    Feb 15, 2008
    Cottage...
    That resolved the full res 1080p 9000k video I had. So it just must have been taking too long to interleave, and did not have any other problems.

    Did you have a chance to look at the HE-AAC verses AAC-LE issue I reported with the windows FFMpeg build? I am curious if it is an issue on Unix as well, or strictly a Windows issue?

    Thanks,

    Rick
     
  15. Apr 5, 2009 #895 of 3405
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    ffmpeg probably would need to be compiled with libaacplus support in order to support decoding of HE-AAC. I haven't yet seen an ffmpeg build with libaacplus.
     
  16. Apr 5, 2009 #896 of 3405
    Sicklybutsexy

    Sicklybutsexy New Member

    179
    0
    May 5, 2007
    Sometimes when I "back-in" to streambaby from live tv, meaning I press left on the remote from live TV when I was previously using streambaby...streambaby looks a lot different. It's got a background with movie reels and everything looks a lot cooler. Just something I've noticed. But is there a way to make streambaby look like that all the time? Nothing runs into one another, metadata etc...
     
  17. Apr 5, 2009 #897 of 3405
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    It looks like that all the time here. I think something is messed up with your installation or your streambaby.ini .

    OR

    what is the resolution you have specified on your tivo? It only uses the dark blue reel background when it detects your tivo is using an HD output... so it might be related to your resolution settings (although I'm more inclined to think the streambaby.ini file or just your actual code is messed up).
     
  18. Apr 6, 2009 #898 of 3405
    jimbob111

    jimbob111 New Member

    77
    0
    Apr 6, 2004
    Hinsdale, IL
    newb question, first time running streambaby, my screen shows 'top level' and then 'no entries at this level' in the main screen. what do i need to fix? thanks! j
     
  19. Apr 6, 2009 #899 of 3405
    rfryar

    rfryar My Media, My Way

    222
    0
    Feb 15, 2008
    Cottage...
    Did you edit the streambaby.ini and set the path to your video share? Also you need to remove the # at the beginning of the line.

    See the wiki for more info on this file.

    Regards,

    Rick
     
  20. Apr 6, 2009 #900 of 3405
    Sicklybutsexy

    Sicklybutsexy New Member

    179
    0
    May 5, 2007
    Hey Yoav, could you post you streambaby.ini file so I could see where mine is messed up? It's weird because I don't think I have that much listed on my ini file.
     

Share This Page