TiVo Community
TiVo Community
TiVo Community
Go Back   TiVo Community > Main TiVo Forums > TiVo Home Media Features & TiVoToGo
TiVo Community
Reply
Forum Jump
 
Thread Tools
Old 02-08-2010, 04:58 PM   #1951
bigbopper
Registered User
 
Join Date: Feb 2005
Posts: 19
can't get java right

Windows 7
I created system variable to add path:
C:\Program Files (x86)\Java\jre6\bin\java.exe
I left streambaby.bat as installed
I launch streambaby.bat and get "java not recognized blah blah..."

What should I do to my streambaby.bat?
bigbopper is offline   Reply With Quote
Old 02-08-2010, 08:31 PM   #1952
Efranzen
Registered User
 
Join Date: Jul 2007
Posts: 16
I just started using Streambaby today and it works great for my needs. I've got a bunch of my fitness DVD's ripped. I didn't like constantly using my Blu-Ray player to play back old fitness DVD's. And I didn't like using up space on my Tivo to transfer them via Tivo Desktop or PyTivo.

With that second concern in mind, what is used to buffer the video using Streambaby? Is it using memory/hard drive space on my Tivo to buffer, or is it done on my computer end?
Efranzen is offline   Reply With Quote
Old 02-09-2010, 03:41 PM   #1953
cburbs
Registered User
 
Join Date: Jan 2009
Posts: 158
Quote:
Originally Posted by bigbopper View Post
Windows 7
I created system variable to add path:
C:\Program Files (x86)\Java\jre6\bin\java.exe
I left streambaby.bat as installed
I launch streambaby.bat and get "java not recognized blah blah..."

What should I do to my streambaby.bat?
I am trying to resolve this as well. I just switched from winxp to Windows 7 64 bit and going thru and setting all programs back up.

I have my streambaby unzipped to C:\Tivo\Streambaby

If I try and run it I get -

'java' is not recognized as an internal or external command,
operable program or batch file.
Exited.
Press any key to continue . . .


****note if I run this as a service it works for the most part. I just can't seem to get directories off of my network PC to share like it used to. It always says No Entries in the Directory.

If I share something from the PC locally it is fine.

Last edited by cburbs : 02-09-2010 at 04:14 PM.
cburbs is offline   Reply With Quote
Old 02-09-2010, 11:15 PM   #1954
petestrash
Registered User
 
Join Date: Mar 2004
Location: Perth, Western Australia
Posts: 196
Quote:
Originally Posted by cburbs View Post
I am trying to resolve this as well. I just switched from winxp to Windows 7 64 bit and going thru and setting all programs back up.
Perhaps this article may also apply to your problem.

Peter.
petestrash is offline   Reply With Quote
Old 02-10-2010, 09:29 AM   #1955
cburbs
Registered User
 
Join Date: Jan 2009
Posts: 158
Quote:
Originally Posted by petestrash View Post
Perhaps this article may also apply to your problem.

Peter.
I ran different tests from different pages and Java seems to be working. That link you sent me - I have all those files.
Testing Java -

http://www.java.com/en/download/help/testvm.xml

http://www.javatester.org/index.htm

My thought is something in regards to that it now gets installed into C:\Program Files (x86)\Java\jre6\bin\java.exe instead of C:\Program Files\Java\jre6\bin\java.exe.
cburbs is offline   Reply With Quote
Old 02-10-2010, 09:44 AM   #1956
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 8,532
cburbs, there are at least 2 ways to solve your problem:
1. Edit streambaby.bat file and replace java with "C:\Program Files (x86)\Java\jre6\bin\java.exe". i.e. It would now look like this:
Code:
@echo off
set LAUNCHDIR="%CD%"
pushd "%~dp0\native"
"C:\Program Files (x86)\Java\jre6\bin\java.exe" -Djava.net.preferIPv4Stack=true -Xmx256m -Xmx256m -jar "%~dp0/jbin/streambaby.jar" %1 %2 %3 %4 %5 %6 %7 %8 
echo Exited.
pause
popd
2. Leave the streambaby.bat file alone and instead add C:\Program Files (x86)\Java\jre6\bin to your Windows Environment Variable Path setting.
__________________
Roamio Pro (GigE)
Elite (MoCA)
Premiere (MoCA adapter)
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 02-10-2010, 09:47 AM   #1957
kearygriffin
Registered User
 
Join Date: Jan 2008
Posts: 346
Edit: Looks like moyekj beat me to it.

Quote:
Originally Posted by cburbs View Post
My thought is something in regards to that it now gets installed into C:\Program Files (x86)\Java\jre6\bin\java.exe instead of C:\Program Files\Java\jre6\bin\java.exe.
I haven't run windows as my main OS in a couple of years, so I'm not as familiar as I should be with all of the ins and outs of where/how java is installed and whether or not it should be in the PATH (I do run Vista as a virtual machine to do some testing).

Having said that, I think if you edit the streambaby.bat file and change the line:
Code:
java -Djava.net.preferIPv4Stack=true -Xmx256m -Xmx256m -jar "%~dp0/jbin/streambaby.jar" %1 %2 %3 %4 %5 %6 %7 %8
to
Code:
"C:\Program Files (x86)\Java\jre6\bin\java.exe" -Djava.net.preferIPv4Stack=true -Xmx256m -Xmx256m -jar "%~dp0/jbin/streambaby.jar" %1 %2 %3 %4 %5 %6 %7 %8 Files\Java\jre6\bin\java.exe
I'm a little unsure about the quotes around the full path, but I believe that should work to run an exe with spaces in the path.

Quote:
Originally Posted by cburbs View Post
****note if I run this as a service it works for the most part. I just can't seem to get directories off of my network PC to share like it used to. It always says No Entries in the Directory.
Again, I can't give complete instructions, but if you look at the wiki for windows service installation:
http://code.google.com/p/streambaby/...ceInstallation
there is a comment that states to allow the streambaby service to access remote shared drives:
"if you open up your computer's services and find the streambaby service. Open the properties and then goto the Log On tab. There is an option to specify which account the service uses. Just change it to an account that has privileges at the network location where your videos are. I run mine in this way and it works just fine."
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
kearygriffin is offline   Reply With Quote
Old 02-10-2010, 10:00 AM   #1958
cburbs
Registered User
 
Join Date: Jan 2009
Posts: 158
Guys thanks I have it running at the moment - I came across this by digging in this.

Would it be possible to add good info like this to either the wiki or maybe the 1st page of this posting so you don't have to dig deep for it.

My answer came from this post - http://www.tivocommunity.com/tivo-vb...55#post7572855


I will test the network logon for streambaby running as a service as well. This forum is great and thanks for the help.
cburbs is offline   Reply With Quote
Old 02-10-2010, 10:04 AM   #1959
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 8,532
Quote:
Originally Posted by cburbs View Post
Guys thanks I have it running at the moment - I came across this by digging in this.

Would it be possible to add good info like this to either the wiki or maybe the 1st page of this posting so you don't have to dig deep for it.

My answer came from this post - http://www.tivocommunity.com/tivo-vb...55#post7572855
There actually is a Wiki with information about it already:
http://code.google.com/p/streambaby/...etting_started
I will update it shortly to add quotes around full path to java.exe.
__________________
Roamio Pro (GigE)
Elite (MoCA)
Premiere (MoCA adapter)
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 02-10-2010, 10:27 AM   #1960
cburbs
Registered User
 
Join Date: Jan 2009
Posts: 158
Somehow I missed that - my bad.

I also got the Streambaby service working with changing the logon info for the service.

Last edited by cburbs : 02-10-2010 at 03:21 PM.
cburbs is offline   Reply With Quote
Old 02-10-2010, 03:46 PM   #1961
cweb
Registered User
 
Join Date: May 2004
Posts: 93
I recently noticed the ability to delete files from streambaby. I find this quite useful. When it deletes the mp4 file, it leaves behind the associated .txt file. Is there a way to get it to enable it to also delete the .txt file?
cweb is offline   Reply With Quote
Old 02-15-2010, 05:29 PM   #1962
rfryar
My Media, My Way
 
Join Date: Feb 2008
Location: Cottage Grove, MN
Posts: 200
Quote:
Originally Posted by cweb View Post
I recently noticed the ability to delete files from streambaby. I find this quite useful. When it deletes the mp4 file, it leaves behind the associated .txt file. Is there a way to get it to enable it to also delete the .txt file?
I second this tweak, as well as to look for any .srt files with the same name as well. Not a huge deal as the next time I load up move videos on my HTPC I clean up the left overs that do not have a matching .mp4/mpg file, but still would be a nice tweak.

Rick
rfryar is offline   Reply With Quote
Old 02-18-2010, 04:40 PM   #1963
cburbs
Registered User
 
Join Date: Jan 2009
Posts: 158
I seem to be having alot of issues running this on my Win7 64bit system.

I was just watching a movie and it stopped like 20 minutes into it - Here is the output

.stream HTTP GET - to factory /streambaby/
StreamBabyStream[#1,uri=null] warning: resource 3479 not found.
StreamBabyStream[#1,uri=null] warning: resource 3479 not found.
02/18/10 14:31:10 Listener: 192.168.xxx I/O Exception handling HTTP GET 7f5
3af43-7d18-4f7b-aead-837d29735b98.stream: Connection reset by peer: socket write
error
02/18/10 14:31:45 Listener: 192.168.xxxx c0acedc-377f-45ce-9eb2-5be041c4231d
.stream HTTP GET - to factory /streambaby/
StreamBabyStream[#1,uri=null] warning: resource 3738 not found.
StreamBabyStream[#1,uri=null] warning: resource 3738 not found.
02/18/10 14:33:15 Listener: 192.168.xxx I/O Exception handling HTTP GET ac0
acedc-377f-45ce-9eb2-5be041c4231d.stream: Connection reset by peer: socket write
error
02/18/10 14:33:18 Listener: 192.168.xxx 1a66a72a-5adb-4b5b-8426-57a706587749
.stream HTTP GET - to factory /streambaby/
StreamBabyStream[#1,uri=null] warning: resource 4053 not found.
StreamBabyStream[#1,uri=null] warning: resource 4053 not found.

When I went to go restart the movie it wanted to start from the beginning and it wouldn't allow me to ff.

I had a similiar issue the other day though It was probably like over an hour into the movie and it just stopped(no buffering).

It did it again only a little further into the movie -
2/18/10 15:03:42 Listener: 192.168.248.212 0de91e40-02ca-4ca1-9849-d1de52ffe41d
.stream HTTP GET - to factory /streambaby/
02/18/10 15:17:45 Listener: 192.168.248.212 I/O Exception handling HTTP GET 0de
91e40-02ca-4ca1-9849-d1de52ffe41d.stream: Connection reset by peer: socket write
error
StreamBabyStream[#1,uri=null] warning: resource 3684 not found.
StreamBabyStream[#1,uri=null] warning: resource 3684 not found.
02/18/10 15:27:14 Listener: 192.168.248.212 22fc5f93-2804-4e07-9d1c-62b177d83941
.stream HTTP GET - to factory /streambaby/

Just stops and goes back to the Play screen. If you press play it auto goes to the beginning of the movie.

Last edited by cburbs : 02-18-2010 at 05:32 PM.
cburbs is offline   Reply With Quote
Old 02-19-2010, 01:45 PM   #1964
rfryar
My Media, My Way
 
Join Date: Feb 2008
Location: Cottage Grove, MN
Posts: 200
Quote:
Originally Posted by cburbs View Post
I was just watching a movie and it stopped like 20 minutes into it...
Did this occur at the 1 gig break, or was it in the middle of the stream? Has any 1Gig restream break worked in the past in your set up?

Are you wireless or wired?

Thanks,

Rick
rfryar is offline   Reply With Quote
Old 02-19-2010, 02:08 PM   #1965
cburbs
Registered User
 
Join Date: Jan 2009
Posts: 158
Quote:
Originally Posted by rfryar View Post
Did this occur at the 1 gig break, or was it in the middle of the stream? Has any 1Gig restream break worked in the past in your set up?

Are you wireless or wired?

Thanks,

Rick
I am wired - Router ->PC Running Streambaby -> Switch -> Tivo.

This all worked without an issue when I used to run Windows XP.



I am now running Win7 64bit as I upgraded my PC.

This was about 20 minutes into the movie so not even a buffer point(at least I don't think so) . Then the movie played farther again but stopped and then goes back to the screen with Play, Quality, Go back on it.

I am just resetting everything up and trying to test things one at a time.

Should I try the same movie or try another one? They are all in the same share folder.

Ok I got the movie to about where it quit yesterday....did the same thing -
02/19/10 13:09:32 Listener: 192.168.248.212 I/O Exception handling HTTP GET 888
3546a-a792-4248-8ce1-e128f85416c5.stream: Connection reset by peer: socket write
error
StreamBabyStream[#1,uri=null] warning: resource 3604 not found.
StreamBabyStream[#1,uri=null] warning: resource 3604 not found.

Then if I hit play it starts from the beginning.

Some more info -

This is the movie Hitch which plays fine.....

Format : MPEG-PS
File size : 4.02 GiB
Duration : 1h 58mn
Overall bit rate : 4 862 Kbps

Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, BVOP : Yes
Format settings, Matrix : Default
Duration : 1h 58mn
Bit rate mode : Variable
Bit rate : 4 637 Kbps
Nominal bit rate : 9 800 Kbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Frame rate : 29.970 fps
Standard : NTSC
Resolution : 8 bits
Colorimetry : 4:2:0
Scan type : Interlaced
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.448
Stream size : 3.83 GiB (95%)

Audio
ID : 128 (0x80)
Format : AC-3
Format/Info : Audio Coding 3
Format profile : Dual Mono
Duration : 1h 58mn
Bit rate mode : Constant
Bit rate : 32.0 Kbps
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48.0 KHz
Stream size : 27.1 MiB (1%)

This movie is the problem one - WANTED

Format : MPEG-PS
File size : 5.28 GiB
Duration : 1h 49mn
Overall bit rate : 6 881 Kbps

Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, BVOP : Yes
Format settings, Matrix : Default
Duration : 91ms
Bit rate mode : Variable
Bit rate : 6 160 Kbps
Nominal bit rate : 9 800 Kbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Standard : NTSC
Resolution : 8 bits
Colorimetry : 4:2:0
Scan type : Progressive
Scan order : 2:3 Pulldown
Bits/(Pixel*Frame) : 0.743
Stream size : 68.4 KiB (0%)

Audio
ID : 128 (0x80)
Format : AC-3
Format/Info : Audio Coding 3
Duration : 1h 49mn
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Stream size : 352 MiB (7%)



This is the main difference between the two - would it be the issue.....


Scan type : Progressive
Scan order : 2:3 Pulldown

Last edited by cburbs : 02-19-2010 at 04:57 PM.
cburbs is offline   Reply With Quote
Old 02-19-2010, 10:45 PM   #1966
rfryar
My Media, My Way
 
Join Date: Feb 2008
Location: Cottage Grove, MN
Posts: 200
Quote:
Originally Posted by cburbs View Post
This was about 20 minutes into the movie so not even a buffer point(at least I don't think so) .
Since it occured at about the same time I think it is during a buffer point. You stated the video is ~4 gigs and ~2 hours long. That means ~20 minutes would be the first re-buffer point.

Do you have any MP2 or MP4 videos that are less than 1 gig? Do they play the whole way through?

Rick
rfryar is offline   Reply With Quote
Old 02-19-2010, 10:54 PM   #1967
kearygriffin
Registered User
 
Join Date: Jan 2008
Posts: 346
Quote:
Originally Posted by cburbs View Post
Just stops and goes back to the Play screen. If you press play it auto goes to the beginning of the movie.
I vaguely remember some issues when ripping from a DVD (I think in the particular case it was when people ripped DVD's by simply concatenating VOB files) streambaby and/or TiVo would get confused because of messed up time stamps. I don't remember the exact solution, but I think there are some mpeg "fixer upper" utilities out there that fixup the timestamps.

I have no idea if this is the issue or not, but I can see streambaby getting confused and ending early if the timestamps aren't consistent throughout the movie. So a timestamp near the end would say something like 0hrs 20min, and streambaby would think the whole movie is only 20mins long and end after 20 mins...

I can't quickly locate the area in this thread that talks about it, but I'm pretty sure its somewhere ;-)
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
kearygriffin is offline   Reply With Quote
Old 02-19-2010, 11:33 PM   #1968
cburbs
Registered User
 
Join Date: Jan 2009
Posts: 158
Quote:
Originally Posted by kearygriffin View Post
I vaguely remember some issues when ripping from a DVD (I think in the particular case it was when people ripped DVD's by simply concatenating VOB files) streambaby and/or TiVo would get confused because of messed up time stamps. I don't remember the exact solution, but I think there are some mpeg "fixer upper" utilities out there that fixup the timestamps.

I have no idea if this is the issue or not, but I can see streambaby getting confused and ending early if the timestamps aren't consistent throughout the movie. So a timestamp near the end would say something like 0hrs 20min, and streambaby would think the whole movie is only 20mins long and end after 20 mins...

I can't quickly locate the area in this thread that talks about it, but I'm pretty sure its somewhere ;-)
That is what I did with most of these so that could be the case.

To test this I think I will do the following:

I will take the other movie I recently merged the vob files together using a batch file and use the other program I used to see if that fixes it.
1)Batch file copy /b *.vob testmovie.mpg
2) Batch file copy /b 1.vob + 2 etc
3) Vob to mpeg

I will also dig in here to see if I can find anything.

Maybe you were referencing this post - (MPEG Streamclip) http://www.tivocommunity.com/tivo-vb...64#post7506964

So I merged the movies -
If I use the batch file way and then use mediainfo -
Format : MPEG-PS
File size : 4.29 GiB
Duration : 36mn 44s
Overall bit rate : 16.7 Mbps

If I use the software vob2mpeg.....

Format : MPEG-PS
File size : 4.29 GiB
Duration : 1h 41mn
Overall bit rate : 6 026 Kbps

See how the Durations show differently even though file size is the same...does this have something to do with what you are talking about?

Last edited by cburbs : 02-20-2010 at 12:17 AM.
cburbs is offline   Reply With Quote
Old 02-20-2010, 12:26 AM   #1969
kearygriffin
Registered User
 
Join Date: Jan 2008
Posts: 346
Quote:
Originally Posted by cburbs View Post
That is what I did with most of these so that could be the case.

To test this I think I will do the following:

I will take the other movie I recently merged the vob files together using a batch file and use the other program I used to see if that fixes it.
1)Batch file copy /b *.vob testmovie.mpg
2) Batch file copy /b 1.vob + 2 etc
3) Vob to mpeg

I will also dig in here to see if I can find anything.
I would also make sure that you are running the 32-bit version of java with streambaby, otherwise it won't be able to use the 32-bit ffmpeg libraries. This is usually not a fatal problem and I can't think how it could cause the issue being discussed, but since you mentioned upgrading to a 64-bit system it may play a part. You can edit the streambaby.bat to have it point to the correct location for 32-bit java. (I run linux so I'm not sure of the exact steps, but again I think it is somewhere in this thread).

Also, it may help if you find the portion of the log file that prints something like
Code:
02/20/10 01:20:30 FFmpegExeVideoModule: VideoInfo:
uri: file:/mnt/nas/media/videos/x.mpg, Container: mpeg, Duration: 2284.51 seconds
Video: mp2v 720x480 0.0 fps
  PixAspect: 1.0, Aspect: 1.5
Audio: ac3 48000HZ 0 channels
The part before VideoInfo might be different (the part above that says FFmpegExeVideoModule).
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
kearygriffin is offline   Reply With Quote
Old 02-20-2010, 12:31 AM   #1970
kearygriffin
Registered User
 
Join Date: Jan 2008
Posts: 346
Quote:
Originally Posted by cburbs View Post

So I merged the movies -
If I use the batch file way and then use mediainfo -
Format : MPEG-PS
File size : 4.29 GiB
Duration : 36mn 44s
Overall bit rate : 16.7 Mbps

If I use the software vob2mpeg.....

Format : MPEG-PS
File size : 4.29 GiB
Duration : 1h 41mn
Overall bit rate : 6 026 Kbps

See how the Durations show differently even though file size is the same...does this have something to do with what you are talking about?
That is what I was talking about-- And I think it was the vob2mpeg software that had been mentioned in this thread before.

Are you saying that even after using vob2mpg you are still having difficulties?

(Sorry I'm getting a bit lost...)
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
kearygriffin is offline   Reply With Quote
Old 02-20-2010, 09:34 AM   #1971
cburbs
Registered User
 
Join Date: Jan 2009
Posts: 158
I need to test it now....I was saying look how the Duration part is different in media info between the two. I will let you know once I test it.
cburbs is offline   Reply With Quote
Old 02-28-2010, 11:39 AM   #1972
realgtom
TiVo Addict
 
Join Date: Jan 2010
Location: Grand Rapids, MI
Posts: 14
Back on the HTTP 0x50005 error with streambaby. I have noticed that, if I unplug my wireless adapter, and plug it back it so that it reconnects with the router via DHCP, that streambaby can continue streaming movies without rebooting the server or restarting the streambaby service.

We tend to get around this by simply playing the .VOB files one-by-one (still get the HTTP error sometimes, but not as often), instead of simply playing the folder containing the .VOB files and letting streambaby stream them in succession.
realgtom is offline   Reply With Quote
Old 02-28-2010, 10:23 PM   #1973
AZ_Tivo
Registered User
 
AZ_Tivo's Avatar
 
Join Date: Jan 2005
Location: AZ
Posts: 253
I just installed streambaby as a service. It works fine sometimes and sometimes it stops streaming without any message. The video is just paused. I saw connection abort error in log file. Can someone help with this? What could be causing this? My tivo is hard wired and computer is a quad core box with 4 GB RAM.

02/28/10 16:11:19 Listener: added factory
02/28/10 16:11:19 Main: streambaby ready & listening.
02/28/10 16:26:33 Listener: 192.168.0.9 icon.png HTTP GET - to factory /streambaby/
02/28/10 16:26:45 Factory: HME receiver connected
02/28/10 16:27:10 Listener: 192.168.0.9 abc0e9e1-a5f2-48ad-a2dd-c2a4f9734afa.stream HTTP GET - to factory /streambaby/
02/28/10 16:27:29 Listener: 192.168.0.9 ff415a9b-d674-45e9-99ca-1e2e737196eb.stream HTTP GET - to factory /streambaby/
02/28/10 16:28:11 Listener: 192.168.0.9 I/O Exception handling HTTP GET ff415a9b-d674-45e9-99ca-1e2e737196eb.stream: Connection reset by peer: socket write error
02/28/10 16:28:27 Listener: 192.168.0.9 3bfc0afd-335b-48f7-962a-b3f781a61e2f.stream HTTP GET - to factory /streambaby/
02/28/10 16:29:38 Listener: 192.168.0.9 I/O Exception handling HTTP GET 3bfc0afd-335b-48f7-962a-b3f781a61e2f.stream: Connection reset by peer: socket write error
02/28/10 16:29:46 Listener: 192.168.0.9 5821e362-b7ac-4702-bb87-c4b2e8d1d8fc.stream HTTP GET - to factory /streambaby/
02/28/10 16:30:13 Listener: 192.168.0.9 I/O Exception handling HTTP GET 5821e362-b7ac-4702-bb87-c4b2e8d1d8fc.stream: Connection reset by peer: socket write error
02/28/10 16:30:23 Listener: 192.168.0.9 a683ceb1-5681-40f3-aa17-18fcd83f3550.stream HTTP GET - to factory /streambaby/
02/28/10 16:31:12 Listener: 192.168.0.9 I/O Exception handling HTTP GET a683ceb1-5681-40f3-aa17-18fcd83f3550.stream: Connection reset by peer: socket write error
02/28/10 16:31:22 Listener: connection to receiver closed
02/28/10 16:31:22 Factory: HME receiver disconnected
02/28/10 16:31:30 Listener: 192.168.0.9 icon.png HTTP GET - to factory /streambaby/
02/28/10 17:48:39 Listener: 192.168.0.9 icon.png HTTP GET - to factory /streambaby/
02/28/10 17:48:45 Factory: HME receiver connected
02/28/10 17:49:17 FFmpegExeVideoModule: FFmpeg failed to continue running... Assuming error
02/28/10 17:49:27 FFmpegExeVideoModule: FFmpeg failed to continue running... Assuming error
02/28/10 17:49:32 Listener: 192.168.0.9 f22a23d7-bc20-4a3b-bceb-071bb6a2ff68.stream HTTP GET - to factory /streambaby/
02/28/10 17:50:30 Listener: 192.168.0.9 370bb0ba-7593-465e-abef-6e865773dcaf.stream HTTP GET - to factory /streambaby/
02/28/10 17:50:54 FFmpegExeVideoModule: FFmpeg failed to continue running... Assuming error
02/28/10 17:50:59 Listener: 192.168.0.9 1a1ad5e4-2f87-49d9-976d-3eec6af85485.stream HTTP GET - to factory /streambaby/
02/28/10 18:04:00 Listener: 192.168.0.9 1a1ad5e4-2f87-49d9-976d-3eec6af85485.stream HTTP GET - to factory /streambaby/
02/28/10 18:21:17 Listener: connection to receiver closed
02/28/10 18:21:17 Factory: HME receiver disconnected
02/28/10 18:21:36 Listener: 192.168.0.9 icon.png HTTP GET - to factory /streambaby/
02/28/10 18:21:45 Factory: HME receiver connected
02/28/10 18:23:03 Listener: connection to receiver closed
02/28/10 18:23:03 Factory: HME receiver disconnected
02/28/10 20:40:18 Listener: 192.168.0.9 icon.png HTTP GET - to factory /streambaby/
02/28/10 20:40:29 Factory: HME receiver connected
02/28/10 20:40:57 Listener: 192.168.0.9 8ff95f88-9f73-4a0c-8975-a525aa5bb6a3.stream HTTP GET - to factory /streambaby/
02/28/10 20:41:24 Listener: 192.168.0.9 b7c859e3-329c-4945-a1d1-bba8c980c4b0.stream HTTP GET - to factory /streambaby/
02/28/10 20:47:05 Listener: 192.168.0.9 I/O Exception handling HTTP GET b7c859e3-329c-4945-a1d1-bba8c980c4b0.stream: Connection reset by peer: socket write error
02/28/10 20:47:39 Listener: 192.168.0.9 cef5da98-c405-4a4d-b2a6-62979d300b97.stream HTTP GET - to factory /streambaby/
02/28/10 20:48:16 Listener: 192.168.0.9 I/O Exception handling HTTP GET cef5da98-c405-4a4d-b2a6-62979d300b97.stream: Software caused connection abort: socket write error
__________________

TiVo HD-1TB Internal + Lifetime
TiVo S2-400 Hours + Lifetime
AZ_Tivo is offline   Reply With Quote
Old 03-04-2010, 07:28 AM   #1974
hawkinsb
Registered User
 
Join Date: Nov 2007
Posts: 9
I, too, have just installed Streambaby and am seeing it hang on a frozen frame. I'm using Windows 7, 64-bit but using 32-bit Java, wired connection. Movies are DVDs run through VideoReDo QSF...no recoding, just MPGs. In my case, it seems like I have to completely restart Streambaby once this occurs. If I try to re-enter the menu item on my Tivo, it just hangs on "Please Wait."

I'll try to post more details from home later...
hawkinsb is offline   Reply With Quote
Old 03-04-2010, 07:34 AM   #1975
Doug G
Registered User
 
Join Date: Mar 2005
Location: Andover, MA
Posts: 67
Having lots of problems with this app. I have a library of home videos already encoded as MPEG2 program streams which pull just fine (no xcode) using pyTivo. Running XP home and 0.29 version of streambaby. When I attempt to stream any of these videos, I get about 1s of smooth playback and then it starts to stutter badly. Checking task mgr shows ffmpeg is running and it shouldn't be. Doesn't run for pyTivo using exact same file. I disabled the preview generation, and this greatly reduced the amount of CPU used by ffmpeg but its still running around 15%. Streambaby log also showed something about "resource not found" and then listed a number for each stream I tried to start. Maybe this is a clue?

My network is NOT the problem, using hardwired MOCA adapters with >200mpbs connectivity. I can transfer SD at 2-3x real-time speeds (from pyTivo or other HD Tivo) and even HD at slightly better than 1x.

I was really hoping to be able to use streambaby to eventually push mp4 files remuxed from m2ts (AVCHD video) but if I can't even get the lowly mp2 stuff working, I'm not holding out much hope.

Does anyone know why streambaby is acting so bizarre with simple mpg files that work natively with pyTivo?

EDIT: I just reviewed the most recent log and it seems those "resource" errors I saw before no longer appear, yet the symptom is the same. No mention of ffmpeg running in the log but it is. I added the default config line for mpegmodule stream types (mpeg,m2v,*) just to be sure there wasn't some defaults problem, but still the same. Here's the log, seems pretty normal so not sure why I'm having problems:

03/04/10 08:00:03 Listener: added factory
03/04/10 08:00:03 Main: streambaby ready & listening.
03/04/10 08:00:40 Listener: 192.168.1.10 icon.png HTTP GET - to factory /streambaby/
03/04/10 08:00:45 Factory: HME receiver connected
03/04/10 08:01:01 Listener: 192.168.1.10 823b9509-7530-418e-94dd-da78e7a2025b.stream HTTP GET - to factory /streambaby/
03/04/10 08:02:30 Listener: 192.168.1.10 I/O Exception handling HTTP GET 823b9509-7530-418e-94dd-da78e7a2025b.stream: Connection reset by peer: socket write error
03/04/10 08:02:42 Listener: 192.168.1.10 ba9fce3a-475a-498e-8fad-0feab958fabc.stream HTTP GET - to factory /streambaby/
03/04/10 08:03:05 Listener: 192.168.1.10 I/O Exception handling HTTP GET ba9fce3a-475a-498e-8fad-0feab958fabc.stream: Connection reset by peer: socket write error
03/04/10 08:03:09 Listener: connection to receiver closed
03/04/10 08:03:09 Factory: HME receiver disconnected
03/04/10 08:03:13 Listener: 192.168.1.10 icon.png HTTP GET - to factory /streambaby/

Last edited by Doug G : 03-04-2010 at 08:43 AM.
Doug G is offline   Reply With Quote
Old 03-04-2010, 10:40 AM   #1976
kearygriffin
Registered User
 
Join Date: Jan 2008
Posts: 346
For the problems above, I would recommend turning on some more debug information to see if it can help lead to where the issue is:

http://code.google.com/p/streambaby/...gging_problems

Also it was mentioned that ffmpeg was running when it shouldn't be, and you turned off previews. There are a couple of ways to turn off previews, but please try to use this method in the streambaby.ini file. This should make sure ffmpeg is not used to generate the previews. (It's possible it is trying to autogenerate them even if it is not going to use them, but I'm not sure)
Code:
preview.autogenerate=false
Other than that I can't think of what the issues may be... You mentioned pyTivo can push the videos OK. Can streambaby also push (as opposed stream) the videos w/out a problem (and without running ffmpeg in the background?)
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
kearygriffin is offline   Reply With Quote
Old 03-04-2010, 01:13 PM   #1977
Doug G
Registered User
 
Join Date: Mar 2005
Location: Andover, MA
Posts: 67
Thanks for the feedback. Yes, I have the preview and autogenerate turned off by adding and setting both those config options to false in the ini file. I don't see any files now being generated in the cache directory, but maybe I missed something being created somewhere else?

I'll check the debug info and enable some tonight and try a few more things and post results.

How do I push from streambaby? I guess I thought that's what the streaming was doing without actually saving the file locally?

EDIT: Aaaah, I see. If I add the username/pwd options it will push instead of steam. I'll have to try that. Sorry, missed that while looking for mode options earlier today!
Doug G is offline   Reply With Quote
Old 03-04-2010, 01:24 PM   #1978
kearygriffin
Registered User
 
Join Date: Jan 2008
Posts: 346
Quote:
Originally Posted by Doug G View Post
EDIT: Aaaah, I see. If I add the username/pwd options it will push instead of steam. I'll have to try that. Sorry, missed that while looking for mode options earlier today!
If you add the username/password options you should get the option to "push" (as well as stream) on the "Play" screen.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
kearygriffin is offline   Reply With Quote
Old 03-04-2010, 08:47 PM   #1979
AZ_Tivo
Registered User
 
AZ_Tivo's Avatar
 
Join Date: Jan 2005
Location: AZ
Posts: 253
Quote:
Originally Posted by Doug G View Post
EDIT: Aaaah, I see. If I add the username/pwd options it will push instead of steam. I'll have to try that. Sorry, missed that while looking for mode options earlier today!
Where?

EDIT: I found it. It would've been nice to add this info in ini file and comment it.

tivo.username= (default:none)
tivo.password= (default:none)

allows TiVo to push videos to your TiVo's instead of streaming.
Should be set to username+password of you tivo.com account
__________________

TiVo HD-1TB Internal + Lifetime
TiVo S2-400 Hours + Lifetime
AZ_Tivo is offline   Reply With Quote
Old 03-05-2010, 06:44 AM   #1980
Doug G
Registered User
 
Join Date: Mar 2005
Location: Andover, MA
Posts: 67
OK, push doesn't work either. I get a "push succeeded msg" but if I go back to the now playing list, the title doesn't appear. About a minute later it finally shows up, but there is no transfer actually occurring, although ffmpeg is running around 15%. No network activity. If I try to play, I get the "not enough, please try in a minute" error.

I noted I'm still getting the "resource not found: 2057" error but for some reason it doesn't get put in the log even with the debug turned on!

Here's my debug log from trying to push a simple mpg2 file which pulls using pyTivo just fine:

03/04/10 19:03:39 VideoModuleHelper: GetVidInfo: file:/E:/Videos/2002/Sep_Dec_2002.mpg
03/04/10 19:03:39 FFmpegJavaVideoModule: vidDur:4443840
03/04/10 19:03:39 FFmpegJavaVideoModule: VideoInfo:
uri: file:/E:/Videos/2002/Sep_Dec_2002.mpg, Container: mpeg, Duration: 4443.84 seconds
Video: mp2v 720x480 29.97002997002997 fps
PixAspect: 0.8888889, Aspect: 1.3333334
Audio: ac3 48000HZ 2 channels
03/04/10 19:03:39 HostContext: key=mpos:file:/E:/Videos/2002/Sep_Dec_2002.mpg applicationId=com.unwiredappeal.tivo.streambaby.StreamBabySt ream applicationGlobal=false
03/04/10 19:03:39 HostContext: applicationIdStr=com.unwiredappeal.tivo.streambaby.StreamBab yStream applicationGlobal=false
03/04/10 19:03:39 HostContext: applicationIdStr=com.unwiredappeal.tivo.streambaby.StreamBab yStream
03/04/10 19:03:39 HostContext: compKey=xxxxx-and-com.unwiredappeal.tivo.streambaby.StreamBabyStream
03/04/10 19:03:40 VideoModuleHelper: quality setting is above quality of video, streaming normally
03/04/10 19:03:40 HostContext: key=mpos:file:/E:/Videos/2002/Sep_Dec_2002.mpg applicationId=com.unwiredappeal.tivo.streambaby.StreamBabySt ream applicationGlobal=false
03/04/10 19:03:40 HostContext: applicationIdStr=com.unwiredappeal.tivo.streambaby.StreamBab yStream applicationGlobal=false
03/04/10 19:03:40 HostContext: applicationIdStr=com.unwiredappeal.tivo.streambaby.StreamBab yStream
03/04/10 19:03:40 HostContext: compKey=xxxxx-and-com.unwiredappeal.tivo.streambaby.StreamBabyStream
03/04/10 19:03:40 VideoModuleHelper: quality setting is above quality of video, streaming normally
03/04/10 19:03:42 ButtonScreen: action=down
03/04/10 19:03:42 ButtonScreen: action=down
03/04/10 19:03:43 ButtonScreen: code=6 rawcode=16843782
03/04/10 19:03:43 InternalPush: intPush: file:/E:/Videos/2002/Sep_Dec_2002.mpg, tivo: Media Room
03/04/10 19:03:43 VideoModuleHelper: quality setting is above quality of video, streaming normally
03/04/10 19:03:45 Mind: <?xml version="1.0" encoding="utf-8"?><success/>
03/04/10 19:03:45 NamedStream: Registering named stream: 6a6af348-3fa4-4501-9358-766e77a2869c.stream
03/04/10 19:03:45 Mind: <?xml version="1.0" encoding="utf-8"?><pcBodyList><isBottom>true</isBottom><isTop>true</isTop><pcBody><bucketNumber>283</bucketNumber><levelOfDetail>low</levelOfDetail><name>pyTivo</name><pcBodyId>tivoc.1000851671</pcBodyId><type>pcBody</type></pcBody></pcBodyList>
03/04/10 19:03:45 Mind: <?xml version="1.0" encoding="utf-8"?><bodyOffer><bodyId>tsn:xxxxx</bodyId><bodyOfferId>tivo:bo.15000011</bodyOfferId><createDate>2010-03-05 00:03:43</createDate><description>Sep_Dec_2002.mpg</description><duration>4443</duration><encodingType>mpeg2ProgramStream</encodingType><levelOfDetail>high</levelOfDetail><offerId>tivof.bs.15000011</offerId><partnerId>tivot.3187</partnerId><pcBodyId>tivoc.1000851671</pcBodyId><publishDate>2010-03-04 19:03:45</publishDate><size>-1</size><source>Sep_Dec_2002.mpg</source><state>complete</state><subtitle>Sep_Dec_2002.mpg</subtitle><title>Sep_Dec_2002.mpg</title><updateDate>2010-03-05 00:03:43</updateDate><url>http://192.168.1.2:7290/streambaby/6a6af348-3fa4-4501-9358-766e77a2869c.stream</url></bodyOffer>
03/04/10 19:03:45 Mind: <?xml version="1.0" encoding="utf-8"?><subscribeResult><subscription><autoRecord>true</autoRecord><bodyGeneratesCandidates>false</bodyGeneratesCandidates><bodyId>tsn:xxxx</bodyId><hdOnly>false</hdOnly><idSetSource><contentId>tivo:ct.bs.15000011</contentId><offerId>tivof.bs.15000011</offerId><type>singleOfferSource</type></idSetSource><isAdult>false</isAdult><isForKids>false</isForKids><levelOfDetail>high</levelOfDetail><showStatus>rerunsAllowed</showStatus><subscriptionId>tivo:sb.15000051</subscriptionId><title>pcBodySubscription</title><type>subscription</type><uiType>cds</uiType></subscription></subscribeResult>
03/04/10 19:03:45 PlayScreen$pushTivoButtonHandler$1: Push succeeded: Sep_Dec_2002.mpg->Media Room
03/04/10 19:03:52 ButtonScreen: code=6 rawcode=16843782
03/04/10 19:03:52 HostContext: key=mpos:file:/E:/Videos/2002/Sep_Dec_2002.mpg applicationId=com.unwiredappeal.tivo.streambaby.StreamBabySt ream applicationGlobal=false
03/04/10 19:03:52 HostContext: applicationIdStr=com.unwiredappeal.tivo.streambaby.StreamBab yStream applicationGlobal=false
03/04/10 19:03:52 HostContext: applicationIdStr=com.unwiredappeal.tivo.streambaby.StreamBab yStream
03/04/10 19:03:52 HostContext: compKey=xxxx-and-com.unwiredappeal.tivo.streambaby.StreamBabyStream
03/04/10 19:03:52 VideoModuleHelper: quality setting is above quality of video, streaming normally
03/04/10 19:03:52 HostContext: key=mpos:file:/E:/Videos/2002/Sep_Dec_2002.mpg applicationId=com.unwiredappeal.tivo.streambaby.StreamBabySt ream applicationGlobal=false
03/04/10 19:03:52 HostContext: applicationIdStr=com.unwiredappeal.tivo.streambaby.StreamBab yStream applicationGlobal=false
03/04/10 19:03:52 HostContext: applicationIdStr=com.unwiredappeal.tivo.streambaby.StreamBab yStream
03/04/10 19:03:52 HostContext: compKey=xxxx-and-com.unwiredappeal.tivo.streambaby.StreamBabyStream
03/04/10 19:03:52 VideoModuleHelper: quality setting is above quality of video, streaming normally
03/04/10 19:03:55 ButtonScreen: action=pop
03/04/10 19:03:55 SelectionScreen: focusOn entry=Sep_Dec_2002.mpg
03/04/10 19:03:55 SelectionScreen: focusOn entry=Sep_Dec_2002.mpg
03/04/10 19:03:56 SelectionScreen: action=pop
03/04/10 19:03:56 SelectionScreen: focusOn entry=2002
03/04/10 19:03:56 SelectionScreen: focusOn entry=2002
03/04/10 19:03:57 SelectionScreen: action=pop
03/04/10 19:03:57 SelectionScreen: focusOn entry=Family Videos
03/04/10 19:03:57 SelectionScreen: focusOn entry=Family Videos
03/04/10 19:03:58 SelectionScreen: action=pop
03/04/10 19:03:58 Listener:
03/04/10 19:03:58 Listener: connection to receiver closed
03/04/10 19:03:58 Listener:
03/04/10 19:03:58 Factory: HME receiver disconnected
03/04/10 19:04:03 Listener: http=HttpRequest /streambaby/icon.png
03/04/10 19:04:03 Listener: path=/streambaby/icon.png uri=/streambaby/
03/04/10 19:04:03 Listener:
03/04/10 19:04:03 Listener: 192.168.1.11 icon.png HTTP GET - to factory /streambaby/
03/04/10 19:04:03 StreamBabyStream$StreamBabyStreamFactory: uri=icon.png
03/04/10 19:05:01 Listener: http=HttpRequest /streambaby/6a6af348-3fa4-4501-9358-766e77a2869c.stream
03/04/10 19:05:01 Listener: path=/streambaby/6a6af348-3fa4-4501-9358-766e77a2869c.stream uri=/streambaby/
03/04/10 19:05:01 Listener:
03/04/10 19:05:01 Listener: 192.168.1.11 6a6af348-3fa4-4501-9358-766e77a2869c.stream HTTP GET - to factory /streambaby/
03/04/10 19:05:01 StreamBabyStream$StreamBabyStreamFactory: uri=6a6af348-3fa4-4501-9358-766e77a2869c.stream
03/04/10 19:05:01 NamedStream: Getting mapped stream for named stream: 6a6af348-3fa4-4501-9358-766e77a2869c.stream
03/04/10 19:05:01 VideoModuleHelper: quality setting is above quality of video, streaming normally
03/04/10 19:05:01 FFmpegExeVideoModule: Using ffmpeg transcode args: -acodec ac3 -vcodec mpeg2video -f vob -async 1 -r 29.97 -v 0 -threads 1 -sameq -ab 192k -ar 48000
03/04/10 19:05:01 FFmpegExeVideoModule: FFmpegCmd: C:\streambaby-0.29\native\ffmpeg.exe -ss 0.0 -i E:\Videos\2002\Sep_Dec_2002.mpg -acodec ac3 -vcodec mpeg2video -f vob -async 1 -r 29.97 -v 0 -threads 1 -sameq -ab 192k -ar 48000 tcp://127.0.0.1:8500
03/04/10 19:05:01 NamedStream: Getting mapped stream for named stream: 6a6af348-3fa4-4501-9358-766e77a2869c.stream
03/04/10 19:07:12 ShutdownHook: Cleaning up...

Here's mediaInfo output showing the stream is valid:

General
Complete name : E:\Videos\2002\Sep_Dec_2002.mpg
Format : MPEG-PS
File size : 3.28 GiB
Duration : 1h 14mn
Overall bit rate : 6 345 Kbps

Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, BVOP : Yes
Format settings, Matrix : Default
Format_Settings_GOP : M=3, N=15
Duration : 1h 14mn
Bit rate mode : Variable
Bit rate : 5 869 Kbps
Nominal bit rate : 8 000 Kbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate : 29.970 fps
Standard : NTSC
Resolution : 8 bits
Colorimetry : 4:2:0
Scan type : Interlaced
Scan order : Bottom Field First
Bits/(Pixel*Frame) : 0.567
Stream size : 3.04 GiB (92%)

Audio
ID : 128 (0x80)
Format : AC-3
Format/Info : Audio Coding 3
Duration : 1h 14mn
Bit rate mode : Constant
Bit rate : 224 Kbps
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48.0 KHz
Stream size : 119 MiB (4%)

Last edited by Doug G : 03-05-2010 at 06:50 AM.
Doug G is offline   Reply With Quote
Reply
Forum Jump




Thread Tools


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Advertisements

TiVo Community
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
vBulletin Skins by: Relivo Media

(C) 2013 Magenium Solutions - All Rights Reserved. No information may be posted elsewhere without written permission.
TiVoŽ is a registered trademark of TiVo Inc. This site is not owned or operated by TiVo Inc.
All times are GMT -5. The time now is 09:49 PM.
OUR NETWORK: MyOpenRouter | TechLore | SansaCommunity | RoboCommunity | MediaSmart Home | Explore3DTV | Dijit Community | DVR Playground |