PDA

View Full Version : Want to play nearly ANY video file on your TiVo?


Pages : [1] 2 3 4 5 6 7

pipakin
01-22-2007, 11:07 PM
I don't want to break any advertising rules, but I'm posting this in the hopes that someone finds it useful. I wrote some software that does auto-transcoding (on the fly) and transfer to the tivo. It's windows only (cause it's a windows service), but it's open source. If anyone wants to take a look, here's the links (er...or not...I can't post urls until I make 5 posts....so I guess you'll have to wait :rolleyes: )

So anyways, eventually I'll get around to making 5 posts and I'll put the links here. :)

Dan203: I'm unsticking this thread as the software is pretty stale and is no longer the best choice for this functionality

SourceForge Page : http://sourceforge.net/projects/tivodotnet/
Download Page : http://sourceforge.net/project/showfiles.php?group_id=187185
Home Page : http://www.satellite-of-love.org/TiVoDotNet.ashx
Forum : http://www.satellite-of-love.org/Forums/YaBB.pl?catselect=tivodotnet

Bluesfan77
01-23-2007, 02:19 AM
Well until you can post the url, you could expand on what your software does and how it works.

Dan203
01-23-2007, 03:37 AM
I've bumped your post count to 5, go ahead and post the link. I'm very interested in seeing what you've done.

Dan

pipakin
01-23-2007, 02:35 PM
Well until you can post the url, you could expand on what your software does and how it works.

I'll do both.

The app is a windows service that runs on any PC on the same network as the TiVo. It sends out a tivo beacon just like the TiVo desktop software and provides video content to the TiVo. You just point it at a directory with videos in it, and go to your TiVo and watch!

Admittedly, on my noisy WiFi network at home I have to watch at lowest quality, but I can't see worth crap anyways. :)

Also, keep in mind I wrote this less than a week ago, and haven't gotten any significant bug reports yet...so if it blows up, you've gotta let me know :D

SourceForge Page : http://sourceforge.net/projects/tivodotnet/
Download Page : http://sourceforge.net/project/showfiles.php?group_id=187185
Home Page : http://www.satellite-of-love.org/TiVoDotNet.ashx
Forum : http://www.satellite-of-love.org/Forums/YaBB.pl?catselect=tivodotnet

BTW: The website www.satellite-of-love.org is a Mystery-Science Theatre 3000 reference, in case you were wondering ;)

Dan203
01-23-2007, 02:46 PM
So what formats does this support for input?

Dan

pipakin
01-23-2007, 02:52 PM
So what formats does this support for input?

Dan

For now, anything that ffmpeg supports (see http://ffmpeg.mplayerhq.hu/ffmpeg-doc.html#SEC21). I haven't found any of my movies that failed yet, but I'm sure there are some. I'm working on a plugin structure so new transcoders can be put in there to fill in any gaps.

Enrique
01-23-2007, 02:59 PM
installed the files and i still can't get to the admin screen help?

pipakin
01-23-2007, 03:11 PM
installed the files and i still can't get to the admin screen help?

Hrm, Can you go into your Services Screen and verify "TiVo.Net Auto-Transcoding Service" is started?

Edit: Yeah, it just blew up on me...loooks like one of the installer files was corrupted...grrr.....I'll fix it and post a new release. :eek:

windracer
01-23-2007, 03:36 PM
Looks cool ... I'll have to check this out (especially if it works with DivX files). :up:

pipakin
01-23-2007, 03:39 PM
Edit: Yeah, it just blew up on me...loooks like one of the installer files was corrupted...grrr.....I'll fix it and post a new release. :eek:

Heh...it appears the problem is the registry key "Installpath" didn't get set...I'm fixing the installer and uploading a new ver. It'll be a few minutes, it's a crazy day at work today.

Fixed installer : http://downloads.sourceforge.net/tivodotnet/TiVoDotNetSetup-0.2.0a-fixed.msi?use_mirror=osdn

scott816
01-23-2007, 04:05 PM
admin interface is now working.

Enrique
01-23-2007, 04:08 PM
I keep on getting this error System The system cannot find the path specified Minor Error in the Error Log and when I put a video in the C:\Program Files\PipKin Technologies\TiVo.Net\Videos\ or any other folder tivo can't see it.

scott816
01-23-2007, 04:14 PM
i get the same error

pipakin
01-23-2007, 04:20 PM
I keep on getting this error System The system cannot find the path specified Minor Error in the Error Log and when I put a video in the C:\Program Files\PipKin Technologies\TiVo.Net\Videos\ or any other folder tivo can't see it.

bah!

:)

I'll look into it. I've probably got the path setup wrong in the installer...give me just a moment. As I said, crazy work day, so I'm a little busy at the moment.

BTW, thanks much for the testing you're unexpectedly doing :D

dumbdiety
01-23-2007, 04:22 PM
Same here.

pipakin
01-23-2007, 04:38 PM
Hrm, could one of you try to go to the admin page and change the directory to one without spaces? (at home I use C:\DotNotTivo\Videos\)

I think it may be that it doesn't like spaces in the direcotry names *blush* I'm going through the code now...

TydalForce
01-23-2007, 04:39 PM
Awesome work, great project!

Waiting on someone to port it to OS X ;-)

pipakin
01-23-2007, 04:47 PM
ARRGGGHHH!

ffmpeg.StartInfo.FileName = "C:\\DotNetTiVo\\ffmpeg_mp2.exe";

See a problem there? I think I forgot to get rid of a hardcoded path :) Lemme fix it and that should be the problem fixed. (As a workaround, if you move the ffmpeg_mp2.exe to that dir, it'll work...)

EDIT: Fixed. New download is at http://downloads.sourceforge.net/tivodotnet/TiVoDotNetSetup-0.2.0a-fix2.msi?use_mirror=osdn

turnipsun
01-23-2007, 04:56 PM
Let me first state, this program seems very very exciting and can not wait to give it a try.

Although a couple weeks ago pyTivo was released and it also streams videos to the tivo box.

I was unsure if any of you guys saw it, the post is here:
http://www.tivocommunity.com/tivo-vb/showthread.php?t=328459

Ofcourse it doesn't seem as fancy as TiVo.Net but it is a a very quick and easy solution.

I was wondering if there are any speed differences when streaming?
If any has tested both I would love to hear there thoughts..

So once again, TiVo.Net seems like some cool work, and I applaud the effort.

Chris

pipakin
01-23-2007, 05:00 PM
Let me first state, this program seems very very exciting and can not wait to give it a try.

Although a couple weeks ago pyTivo was released and it also streams videos to the tivo box.

I was unsure if any of you guys saw it, the post is here:
http://www.tivocommunity.com/tivo-vb/showthread.php?t=328459

Ofcourse it doesn't seem as fancy as TiVo.Net but it is a a very quick and easy solution.

I was wondering if there are any speed differences when streaming?
If any has tested both I would love to hear there thoughts..

So once again, TiVo.Net seems like some cool work, and I applaud the effort.

Chris

pyTivo was my inspiration for this. It had speed/stability issues on my computer though, So I thought a windows service would run faster (plus, I have a serious case of NIH syndrome).

dumbdiety
01-23-2007, 05:23 PM
Ok, so it's showing a list of all my AVIs now. But when I click 'Watch on This TV' it gives the error that the file wasn't found.
And damn, I've been waiting for something like this for a long while now... :)

pipakin
01-23-2007, 05:26 PM
Ok, so it's showing a list of all my AVIs now. But when I click 'Watch on This TV' it gives the error that the file wasn't found.
And damn, I've been waiting for something like this for a long while now... :)

Any errors in your error log? I'm imagining there's some characters in your filename that the TiVo doesn't like.

dumbdiety
01-23-2007, 05:31 PM
Just this, but this is from the previous install earlier, not the latest fix.

System The system cannot find the path specified Minor Error
mscorlib Could not find a part of the path 'D:\Output'. Minor Error
mscorlib Could not find a part of the path 'D:\Output'. Minor Error
System The system cannot find the path specified Minor Error
System The system cannot find the path specified Minor Error
System The system cannot find the path specified Minor Error
System The system cannot find the path specified Minor Error
System The system cannot find the path specified Minor Error
System The system cannot find the path specified Minor Error
System The system cannot find the path specified Minor Error
System The system cannot find the path specified Minor Error

The file is here: d:\Test\Test.avi

pipakin
01-23-2007, 05:38 PM
Hrm, well I'm headed home, I'll run some tests on my box there. I'm thinking there's possibly still one hardcoded path in there somewhere. I'll try and post a fix once I find it. I'll post here when I do.

Like I said, thanks for all the testing guys! :D

Enrique
01-23-2007, 05:43 PM
YES i GOT MINE WORKING!!! I used C:\DotNotTivo\Videos\ as the Video directory and download the lasts fix.

pipakin
01-23-2007, 06:04 PM
Hey dumbdiety, what is your video directory set to? Does it end with "\"? Or not? I think there may be a bug where it needs a "\" at the end of the directory setting.

EDIT: Directory no longer requires a trailing "\"! New download link : http://downloads.sourceforge.net/tivodotnet/TiVoDotNetSetup-0.2.1a.msi?use_mirror=osdn

ubuntop
01-23-2007, 06:43 PM
Pipakin,

Nice work.

I just wanted to offer some assistance in your testing/QA.

I installed TiVoDotNetSetup-0.2.0a-fix2.msi . I opened the admin page and pointed to a video directory. I ran down to the tivo and it showed up fine.

A couple of suggestions.
1. a setting for video file extensions to allow.
-- Because Thumbs.db etc. are showing up on the Tivo; have not tested other files
-- And by the way, I accidently clicked on thumbs and its pretty much locking up the tivo. lol waiting to see what happens before I reboot it.

2. option to scan sub-folder of video folder
-- would be very nice, as all of my vids are in there own folders.

pipakin
01-23-2007, 06:48 PM
1. Whoops...It should have excluded that file...hrm...(And you'll need to reboot your TiVo. Trust me).
- The CVS version has an extension list. I'll post a release later tonight.

2. It should scan subdirs. Is it not?
- Couldn't find anything to make it NOT scan a subdirectory. Just let me know if there's another issue here.

mfrns0123
01-23-2007, 07:19 PM
pipakin, First off thanks for working on this... I have many .avi files on my computer that I would like to watch on my Tivo. I am having a bit of trouble, I have the latest download, I used the C:\DotNotTivo\Videos . My Tivo sees the directoryand the files I dropped there. Problem is when I go to transfer I get a message to look at my "To do list " history and it told me that the file was not found on Tivo.net server.....any advice?

pipakin
01-23-2007, 07:22 PM
here's one thing, go to the address http://localhost:9032/TiVoConnect?Command=QueryContainer&Container=Video (In Internet explorer)

and then paste the xml that it spits at you into a reply here or a PM. I can take a look at what the TiVo is seeing and see if I see any strangeness.

mfrns0123
01-23-2007, 07:32 PM
Here is what I am getting;

<?xml version="1.0" encoding="ISO-8859-1" ?>
- <TiVoContainer>
<ItemStart>0</ItemStart>
<ItemCount>2</ItemCount>
- <Details>
<Title>Video</Title>
<ContentType>x-container/tivo-videos</ContentType>
<SourceFormat>x-container/folder</SourceFormat>
<TotalItems>2</TotalItems>
</Details>
- <Item>
- <Details>
<Title>Seinfeld, The Van Buren Boys</Title>
<ContentType>video/x-tivo-mpeg</ContentType>
<SourceFormat>video/x-tivo-mpeg</SourceFormat>
<SourceSize>6000000000</SourceSize>
</Details>
- <Links>
- <Content>
<ContentType>video/x-tivo-mpeg</ContentType>
<AcceptsParams>No</AcceptsParams>
<Url>/Video/Seinfeld, The Van Buren Boys.mpeg</Url>
</Content>
- <CustomIcon>
<ContentType>video/*</ContentType>
<AcceptsParams>No</AcceptsParams>
<Url>urn:tivo:image:save-until-i-delete-recording</Url>
</CustomIcon>
</Links>
</Item>
- <Item>
- <Details>
<Title>Stargate SG-1, The Light</Title>
<ContentType>video/x-tivo-mpeg</ContentType>
<SourceFormat>video/x-tivo-mpeg</SourceFormat>
<SourceSize>6000000000</SourceSize>
</Details>
- <Links>
- <Content>
<ContentType>video/x-tivo-mpeg</ContentType>
<AcceptsParams>No</AcceptsParams>
<Url>/Video/Stargate SG-1, The Light.mpeg</Url>
</Content>
- <CustomIcon>
<ContentType>video/*</ContentType>
<AcceptsParams>No</AcceptsParams>
<Url>urn:tivo:image:save-until-i-delete-recording</Url>
</CustomIcon>
</Links>
</Item>
</TiVoContainer>

pipakin
01-23-2007, 07:34 PM
gah...I bet it's the comma in the file name. I need to escape those URL's better.

Deadpan Science
01-23-2007, 07:41 PM
For some reason I can't get onto the administration page with firefox or IE. The service seems to be running when I check services.msc. Also, http://www.canyouseeme.org/ says that it sees the port open.

I'm using my laptop on a wireless network with my tivo sharing the same 2wire dsl router. Anything I should try?

pipakin
01-23-2007, 07:42 PM
For some reason I can't get onto the administration page with firefox or IE. The service seems to be running when I check services.msc. Also, http://www.canyouseeme.org/ says that it sees the port open.

I'm using my laptop on a wireless network with my tivo sharing the same 2wire dsl router. Anything I should try?

Hrm. You're on the same computer as is running the service, I'm assuming? (It won't allow remote admin).

Do you get anything at all? or Page not found?

ubuntop
01-23-2007, 07:45 PM
I am receiving the same error as mfrns. Here is a segment from my xml.

- <Item>
- <Details>
<Title>Indiana Jones and the Last Crusade (1989-HQ-XVID)</Title>
<ContentType>x-container/tivo-videos</ContentType>
<SourceFormat>x-container/folder</SourceFormat>
</Details>
- <Links>
- <Content>
<Url>/TiVoConnect?Command=QueryContainer&Container=Video/Indiana Jones and the Last Crusade (1989-HQ-XVID)</Url>
<ContentType>x-container/tivo-videos</ContentType>
</Content>
</Links>
</Item>
- <Item>
- <Details>
<Title>Indiana Jones and the Raiders of the Lost Ark (1981-HQ-XVID)</Title>
<ContentType>x-container/tivo-videos</ContentType>
<SourceFormat>x-container/folder</SourceFormat>
</Details>
- <Links>
- <Content>
<Url>/TiVoConnect?Command=QueryContainer&Container=Video/Indiana Jones and the Raiders of the Lost Ark (1981-HQ-XVID)</Url>
<ContentType>x-container/tivo-videos</ContentType>
</Content>
</Links>
</Item>
</TiVoContainer>


Notice that no actual video files are not showing up in there.

ubuntop
01-23-2007, 07:49 PM
For some reason I can't get onto the administration page with firefox or IE. The service seems to be running when I check services.msc. Also, says that it sees the port open.

I'm using my laptop on a wireless network with my tivo sharing the same 2wire dsl router. Anything I should try?


Did you try your local IP?
hxxp://IPAddy:9033/

Deadpan Science
01-23-2007, 07:54 PM
Hrm. You're on the same computer as is running the service, I'm assuming? (It won't allow remote admin).

Do you get anything at all? or Page not found?

I get a 404 error. I also tried my IP from my router, and from the IP that I got from that website

And yes, the server is running on my laptop.

This is going to be awesome if I can manage to get it running.

windracer
01-23-2007, 07:56 PM
1. Whoops...It should have excluded that file...hrm...(And you'll need to reboot your TiVo. Trust me).
- The CVS version has an extension list. I'll post a release later tonight.
I'm able to see the desktop.ini file as well.

pipakin
01-23-2007, 07:58 PM
I get a 404 error. I also tried my IP from my router, and from the IP that I got from that website

And yes, the server is running on my laptop.

This is going to be awesome if I can manage to get it running.

It may be being blocked by a firewall application. Make sure ports 9032 and 9033 are open... hrm...

Deadpan Science
01-23-2007, 08:03 PM
It may be being blocked by a firewall application. Make sure ports 9032 and 9033 are open... hrm...
I have the windows firewall turned off completely. Is there another way to see if my ports are letting stuff through?

EDIT: here's my router's settings, am I retarded?

http://img136.imageshack.us/img136/9761/firewall9cq.jpg

pipakin
01-23-2007, 08:08 PM
Ok, think I've got enough to release version 0.3.0a, with the following fixes:

- There's now a list of allowed extensions (defaults to ".avi,.mpg,.mpeg,.mov,.flic").
- Files with odd characters in them shouldn't confuse the TiVo anymore.
- Some other minor cosmetic/internal fixes.

And I'll build and post it after I take the wife to dinner. Be back soon. If you're adventurous, you can get the Source from CVS and build it yourself ;)

windracer
01-23-2007, 08:09 PM
I can see the admin interface, and my TiVo sees the TiVo.Net NPL, but any transfer I try ends up with the "program was not transferred because the file was not found" generic error message in my Recording History.

ubuntop
01-23-2007, 08:11 PM
Deadpan,


run 'nslookup localhost'

It should return two IP addresses, one will be your LAN IP (private IP) and the other will be 127.0.0.1.

If you dont see 127.0.0.1, your host file is messed up (easy fix).

so try both of those.
hxxp://127.0.0.1:9033


And for your WAN IP to work, you would need to setup port forwarding on your router, which is probably not smart due to there not being any security on the admin page yet.

Hope this helps.

pipakin
01-23-2007, 08:12 PM
I can see the admin interface, and my TiVo sees the TiVo.Net NPL, but any transfer I try ends up with the "program was not transferred because the file was not found" generic error message in my Recording History.

I imagine that's the files with odd characters (things like spaces and commas). I'll get that new version up after dinner and it should fix it.

supasta
01-23-2007, 08:12 PM
I will definitely be in on this ASAP, mabye after the release stabilizes.

dumbdiety
01-23-2007, 08:25 PM
Still getting the 'file not found' generic error. Here's the XML

<?xml version="1.0" encoding="ISO-8859-1" ?>
- <TiVoContainer>
<ItemStart>0</ItemStart>
<ItemCount>1</ItemCount>
- <Details>
<Title>Video</Title>
<ContentType>x-container/tivo-videos</ContentType>
<SourceFormat>x-container/folder</SourceFormat>
<TotalItems>1</TotalItems>
</Details>
- <Item>
- <Details>
<Title>Test</Title>
<ContentType>video/x-tivo-mpeg</ContentType>
<SourceFormat>video/x-tivo-mpeg</SourceFormat>
<SourceSize>0</SourceSize>
</Details>
- <Links>
- <Content>
<ContentType>video/x-tivo-mpeg</ContentType>
<AcceptsParams>No</AcceptsParams>
<Url>/Video/Test.mpeg</Url>
</Content>
- <CustomIcon>
<ContentType>video/*</ContentType>
<AcceptsParams>No</AcceptsParams>
<Url>urn:tivo:image:save-until-i-delete-recording</Url>
</CustomIcon>
</Links>
</Item>
</TiVoContainer>

ubuntop
01-23-2007, 08:27 PM
Have a nice dinner pipakin. Good work.

Deadpan Science
01-23-2007, 08:28 PM
If you dont see 127.0.0.1, your host file is messed up (easy fix).

so try both of those.

Thanks for your help, there's no result for 127.0.0.1, What's the easy fix?

EDIT: I found the hosts file, but it only contains one line:

127.0.0.1 localhost

EDIT2:
C:\Documents and Settings\Tim>nslookup localhost
Server: homeportal.gateway.2wire.net
Address: 172.16.0.1

*** homeportal.gateway.2wire.net can't find localhost: Query refused

ubuntop
01-23-2007, 08:28 PM
Ok, think I've got enough to release version 0.3.0a, with the following fixes:

- There's now a list of allowed extensions (defaults to ".avi,.mpg,.mpeg,.mov,.flic").
- Files with odd characters in them shouldn't confuse the TiVo anymore.
- Some other minor cosmetic/internal fixes.

And I'll build and post it after I take the wife to dinner. Be back soon. If you're adventurous, you can get the Source from CVS and build it yourself ;)


Here are a couple more things that I noticed.
1.
----------------------------------------------------------------------------------------------
Source Message Severity User Host User IP
System The specified network name is no longer available Fatal Error
System The specified network name is no longer available Fatal Error

On both of these, I have to restart the service for Tivo to see it again. It may by good to write in a restart on fatal errors.

2.
----------------------------------------------------------------------------------------------
It does not seem to enumerate folders starting with an underscore; which I have a lot of.

3.
----------------------------------------------------------------------------------------------
This may be hard to explain, I should try to recreate it. My Tivo Now playing is in the Group format (folders). After going into the Tivo.net, then back out, it would get stuck on the Video folders (from tivo net). Also, I was no longer able to page down, it would simply refresh the screen.
This may be a result of the special characters that are in my folder names _-(),


4.
----------------------------------------------------------------------------------------------
Got this error as well.
ContextCallback Unknown Url: /favicon.ico Medium Error mce 127.0.0.1

Not sure where the favicon is coming from.


Thanks
Ubuntop

ubuntop
01-23-2007, 08:38 PM
EDIT: I just noticed your edit. So scratch all of this. Hmmm.



Thanks for your help, there's no result for 127.0.0.1, What's the easy fix?

Find your host file and make a backup copy (right click copy, then paste in same folder).
Its at C:\WINDOWS\system32\drivers\etc

You need to have this line in your host file.
127.0.0.1 localhost

You may want to type it out, I believe that it requires a tab between 127.0.0.1 and localhost. Or copy paste may work.

Oh and if you see a bunch of junk in your existing host file, it my be infected, which is to say that whatever infected it may just overwrite the change we make above. If that it the case, you will need to copy the file out of the folder, add the line above, then set it to read only, then copy it back in. Oh and if there is a bunch of junk in it (URLs and such) give me a sample and I will tell you if its a bug (bad) or an ad removal entry (good).

Ubuntop

windracer
01-23-2007, 08:49 PM
I imagine that's the files with odd characters (things like spaces and commas). I'll get that new version up after dinner and it should fix it.
Ah, yeah probably ... missed that part.

edit: hmmm ... even after renaming the file, same thing. I'll wait for the next release.

goldfndr
01-23-2007, 08:50 PM
You may want to type it out, I believe that it requires a tab between 127.0.0.1 and localhost. Or copy paste may work.Tabs and spaces are treated the same.
http://en.wikipedia.org/wiki/Hosts_file#Syntax

Deadpan Science
01-23-2007, 09:08 PM
So, my hosts file has a single line with "127.0.0.1 localhost", however, nslookup localhost gives me


C:\Documents and Settings\Tim>nslookup localhost
Server: homeportal.gateway.2wire.net
Address: 172.16.0.1

*** homeportal.gateway.2wire.net can't find localhost: Query refused


Any ideas?

pipakin
01-23-2007, 09:09 PM
Here are a couple more things that I noticed.
1.
----------------------------------------------------------------------------------------------
Source Message Severity User Host User IP
System The specified network name is no longer available Fatal Error
System The specified network name is no longer available Fatal Error

On both of these, I have to restart the service for Tivo to see it again. It may by good to write in a restart on fatal errors.

Yeah, this was it failing when trying to get the current version number from my webserver. I've put a catch in for this.

2.
----------------------------------------------------------------------------------------------
It does not seem to enumerate folders starting with an underscore; which I have a lot of.

Seems to be fixed in the current version.

3.
----------------------------------------------------------------------------------------------
This may be hard to explain, I should try to recreate it. My Tivo Now playing is in the Group format (folders). After going into the Tivo.net, then back out, it would get stuck on the Video folders (from tivo net). Also, I was no longer able to page down, it would simply refresh the screen.
This may be a result of the special characters that are in my folder names _-(),


yeah, I'm not sure where to look for this one. Happened to me once (I'm not in the group format), and itturned out to be my computer was to busy to send info to the TiVo in a timely manner.

4.
----------------------------------------------------------------------------------------------
Got this error as well.
ContextCallback Unknown Url: /favicon.ico Medium Error mce 127.0.0.1

Not sure where the favicon is coming from.


Thanks
Ubuntop

That's the little icon firefox and opera display up at the top. If you query the xml manually you'll see that. it's an ignorable message.

I'm getting the release put together now. I'll post here when it's uploaded.

jmace57
01-23-2007, 09:18 PM
And I'll build and post it after I take the wife to dinner. Be back soon. ;)

I see that your priorities are all screwed up!
:D

Jim

pipakin
01-23-2007, 09:20 PM
I see that your priorities are all screwed up!
:D

Jim

Shhh...she's right behind me! *hides*

On another note: 0.3.0a is up. It should fix some of the listing issues with filenames with spaces and such. give it a shot.

Direct download url: http://downloads.sourceforge.net/tivodotnet/TiVoDotNetSetup-0.3.0a.msi?modtime=1169587001&big_mirror=0

djmath
01-23-2007, 09:30 PM
getting the following error
System A socket operation was attempted to an unreachable host Fatal Error
System A socket operation was attempted to an unreachable host Fatal Error
also, if i change the video directory, I can no longer access admin page
80 hr series 2
thanks
dan

pipakin
01-23-2007, 09:36 PM
getting the following error
System A socket operation was attempted to an unreachable host Fatal Error
System A socket operation was attempted to an unreachable host Fatal Error
also, if i change the video directory, I can no longer access admin page
thanks
dan

Which version you running? What are you trying to change the directory to? Can your TiVo see the server? Do you have a personal firewall? Is it set to allow 9032 and 9033 through?

Just trying to be thorough :)

A@ron
01-23-2007, 09:37 PM
shame it's written in C#... I'd like to see a Mac OS X version ;)

pipakin
01-23-2007, 09:40 PM
shame it's written in C#... I'd like to see a Mac OS X version ;)

Probably wouldn't be that bad to port it into another language/os. I used C# because I'm most familiar with it and it allowed me to avoid all the nasty windows internals (plus I use it at work).

A@ron
01-23-2007, 09:42 PM
yeah at least ffmpeg is cross platform. I don't know enough programming to even attempt such a feat. I guess I waited this long for tivotogo I can wait for something like this if need be

pipakin
01-23-2007, 09:47 PM
Yeah, I'm at the distinct disadvantage of not owning (or even knowing anyone who does own) a mac, so I wouldn't hold your breath :p

I am looking into Mono, to try and make a linux brand of this monster, though (And I think Mono runs on OSX, but don't quote me on that).

EDIT: Holy crap. This project is 99% Mono compatible. It'd have to be a stand-alone instead of a service...but everything else works... *baffled*

sireone
01-23-2007, 10:08 PM
I have 0.3.0a installed, service running, pointed to my videos dir, but nothing shows up in my Tivo Now Playing. What could I be doing wrong?

pipakin
01-23-2007, 10:10 PM
I have 0.3.0a installed, service running, pointed to my videos dir, but nothing shows up in my Tivo Now Playing. What could I be doing wrong?

1. What kind of network are you running (switched, wifi, wifi/wired)?

2. One network adapter, or two in your machine?

3. Any errors in the log?

A@ron
01-23-2007, 10:11 PM
looks like mono works on mac os x...
hit me up if you need a mac os x beta tester ;)

djmath
01-23-2007, 10:18 PM
ok, the firewall thing was obvious, sorry. and ver 3 seems to have cleared up the directory issue. thanks for the cool app

pipakin
01-23-2007, 10:24 PM
ok, the firewall thing was obvious, sorry. and ver 3 seems to have cleared up the directory issue. thanks for the cool app

Sweet! Glad to hear it's working.


oh, and BTW, IT RUNS ON MONO!

I have a modified version running 100% on Mono. So this can run in both linux and Mac OSX (I've been told).

I'll clean it up and post another download for mono environments. It'll obviously not use the windows registry, but a flat file for configuration, but other than that, it should run fine... *gleeful*

EDIT: time for bed. I'll be around tomorrow if anyone's having issues. Hopefully I can get that Mono version posted tomorrow as well :D

Enrique
01-24-2007, 12:11 AM
here's one thing, go to the address http://localhost:9032/TiVoConnect?Command=QueryContainer&Container=Video (In Internet explorer)

and then paste the xml that it spits at you into a reply here or a PM. I can take a look at what the TiVo is seeing and see if I see any strangeness.this is wht I am getting:
<TiVoContainer>
<ItemStart>0</ItemStart>
<ItemCount>1</ItemCount>

<Details>
<Title>Video</Title>
<ContentType>x-container/tivo-videos</ContentType>
<SourceFormat>x-container/folder</SourceFormat>
<TotalItems>1</TotalItems>
</Details>

<Item>

<Details>
<Title>Stephen King's - Cujo [DvDRip] AC3</Title>
<ContentType>video/x-tivo-mpeg</ContentType>
<SourceFormat>video/x-tivo-mpeg</SourceFormat>
<SourceSize>0</SourceSize>
</Details>

<Links>

<Content>
<ContentType>video/x-tivo-mpeg</ContentType>
<AcceptsParams>No</AcceptsParams>

<Url>
/Video/Stephen%20King's%20-%20Cujo%20[DvDRip]%20AC3.mpeg
</Url>
</Content>

<CustomIcon>
<ContentType>video/*</ContentType>
<AcceptsParams>No</AcceptsParams>
<Url>urn:tivo:image:save-until-i-delete-recording</Url>
</CustomIcon>
</Links>
</Item>
</TiVoContainer>


and got this in the error log:ContextCallback Unknown Url: /favicon.ico Medium Error YOUR-4DACD0EA75 127.0.0.1

sireone
01-24-2007, 06:22 AM
1. What kind of network are you running (switched, wifi, wifi/wired)?

2. One network adapter, or two in your machine?

3. Any errors in the log?

Running Switched network, one adapter & the only error in the log is this:
ContextCallback Unknown Url: /favicon.ico Medium Error pluto.domian.com 127.0.0.1

My Tivo Desktop works fine & I can see programs from the 'My Tivo Recordings' folder. I just don't see anything related to Tivo.Net

sireone
01-24-2007, 06:35 AM
Didn't even realize the thing about the FW. I disabled it, and it worked. BUT, when I add the program TivoDotNet.exe & ffmpeg_mp2.exe to the exceptions, it still doesn't work. I have to disable the fw completely.

greg_burns
01-24-2007, 07:09 AM
Didn't even realize the thing about the FW. I disabled it, and it worked. BUT, when I add the program TivoDotNet.exe & ffmpeg_mp2.exe to the exceptions, it still doesn't work. I have to disable the fw completely.

If using Windows Firewall, don't add click the "Add Program..." button under exceptions. Instead, click "Add Port...". Create two entries one for 9032/TCP & 9033/TCP. No UDP, right? At least that is what I did and can now see if it on my Tivo.

Still no luck with viewing any videos. Am I suppose to get a message like "This program has been added to the To Do list and will be transferred onto the tivo after previously requested programs have finished transferring."? There are not previous transfers. :(

Recorded History says "This program was not transferred onto this DVR because it was not found on the TiVo.Net Server Video."

pipakin
01-24-2007, 08:51 AM
9033/TCP and 9032/TCP. The UDP packet is outgoing, so it shouldn't be blocked. It is sent out to the broacast address for your network. greg_burns, did you post an xml dump and I missed it? there may still be some characters that aren't escaping correctly. (that's my guess anyways)

greg_burns
01-24-2007, 09:08 AM
greg_burns, did you post an xml dump and I missed it? there may still be some characters that aren't escaping correctly. (that's my guess anyways)

I will have to try with a larger sample of files. Does this take a lot of horse power? I am currently using a POS laptop. :)

pipakin
01-24-2007, 09:36 AM
I will have to try with a larger sample of files. Does this take a lot of horse power? I am currently using a POS laptop. :)

the transcoding can be CPU intensive, but it shouldn't be too bad. I suppose if it goes slow enough the TiVo might assume the server is dead.

sireone
01-24-2007, 10:25 AM
Will there be support for multiple video folders? e.g. on separate drives?

20TIL6
01-24-2007, 10:25 AM
Forgive me for asking maybe a dumb question, but is this only for series 2? I'm assuming since the series 3 don't yet have TTG or MRV, etc. that this won't work on the S3. Thanks.

Hopefully, these goodies will be enabled on the series 3 and I can join the party.

scott816
01-24-2007, 10:42 AM
I have playing with this app and trying to keep on top of the thread but have an error in the log that hasn't been mentioned in this forum. I am running 3a.
I have video stored on the root of my drive and both tivo deskotp and tivo.net pointed to it. I am able to browse the videos via tivo but after i try to transfer the video i get the error message on tivo telling me to go look at the "To Do List". The To Do List reports that it was not found on my computer. Tivo.net error log reports TiVoDotNet Object reference not set to an instance of an object. Minor Error.
Any ideas?

windracer
01-24-2007, 11:26 AM
So this can run in both linux and Mac OSX (I've been told).
I'll test the Linux version for you. I currently run Galleon on Mandrake, but adding this to that Linux box would be great (no need to run TiVoDesktop on my PC).

pipakin
01-24-2007, 12:34 PM
Will there be support for multiple video folders? e.g. on separate drives?

I thought about extening the windows shortcut support to support directories (so you could put a shortcut to the directories in one directory and point TiVo.Net there, but I haven't gotten to it.

Once I clean up the Mono version, you should be able to use symlinks in linux, too ;)

pipakin
01-24-2007, 12:36 PM
I have playing with this app and trying to keep on top of the thread but have an error in the log that hasn't been mentioned in this forum. I am running 3a.
I have video stored on the root of my drive and both tivo deskotp and tivo.net pointed to it. I am able to browse the videos via tivo but after i try to transfer the video i get the error message on tivo telling me to go look at the "To Do List". The To Do List reports that it was not found on my computer. Tivo.net error log reports TiVoDotNet Object reference not set to an instance of an object. Minor Error.
Any ideas?

Probably not the best idea to use the drive root, since it scans all subdirectories... :)

Hrm...I need to put some more checks in there with detailed error messages. That's officially on the list for 0.4.0a, which I hope to have done tonight.

Deadpan Science
01-24-2007, 12:38 PM
I got this working finally and I have to say, pipakin, you are a god.

Also, thanks to everyone that helped with my problems earlier.

EDIT: small suggestion/question

Is there a way to transcode the videos when you're away from your tivo so that you don't have to spend the time transcoding AND transferring? If not, that would be a cool option or addition

rrr22777
01-24-2007, 12:45 PM
Does this HMO option work with HR10-250's?

johno6969
01-24-2007, 12:48 PM
If you can do this you have a product that does what no others do! That includes any and all SW packages and media adapters.

I realize this goes beyond transcoding but would essentially make a Tivo the SUPERHERO all purpose PVR/media adapter.

I personally store all my DVDs as unencrypted backups on a 1.5T Infrant NAS as my kids tend to destroy the disks in no time at all. I then additionally transcode them to a SVCD mpeg file that is also stored there.

In my Tivo folder I just paste shortcuts to the mpeg2 files and am able to easily stream them (minus any program info - darn it).

So, if you could natively support the video_ts folders structure you would have reached the HOLT GRAIL for such as application.

Beyond that if you could leverage the incredible MYMovies work (just google it if you are interested) for creating and browsing a DVD library....WOW nirvana.

john

pipakin
01-24-2007, 12:57 PM
If you can do this you have a product that does what no others do! That includes any and all SW packages and media adapters.

I realize this goes beyond transcoding but would essentially make a Tivo the SUPERHERO all purpose PVR/media adapter.

I personally store all my DVDs as unencrypted backups on a 1.5T Infrant NAS as my kids tend to destroy the disks in no time at all. I then additionally transcode them to a SVCD mpeg file that is also stored there.

In my Tivo folder I just paste shortcuts to the mpeg2 files and am able to easily stream them (minus any program info - darn it).

So, if you could natively support the video_ts folders structure you would have reached the HOLT GRAIL for such as application.

Beyond that if you could leverage the incredible MYMovies work (just google it if you are interested) for creating and browsing a DVD library....WOW nirvana.

john

You lost me there with the "video_ts folders structure". If you can explain what you're looking for in detail, I can and will implement it. :)

pipakin
01-24-2007, 01:05 PM
For all you adventurous fellows out there who want to try this on alternate platforms:

1. Get Mono for your platform and install it: http://www.mono-project.com/Main_Page

2. Get ffmpeg for your platform and install it.

3. Get the TivoMono-0.3.0a-Test.zip file and unzip it to a directory of your choice: http://downloads.sourceforge.net/tivodotnet/TivoMono-0.3.0a-Test.zip?use_mirror=osdn

4. Edit the settings.xml file included in the zip file and set the Installpath to the path you unzipped the zip file to (make sure it ends in "/" or "\", whichever is applicable) and FFMpeg_Path to the path (including filename) of the ffmpeg executable.

5. Run the TivoMono assembly using mono : "mono TivoMono.exe"

6. Access the admin page in the same way (you need to be on the box that it's running on).

7. ???

8. Profit!

greg_burns
01-24-2007, 01:08 PM
You lost me there with the "video_ts folders structure". If you can explain what you're looking for in detail, I can and will implement it. :)

http://www.denguru.com/2006/08/28/all_you_need_to_know_about_ripping_dvds/page2.html

Dan203
01-24-2007, 01:10 PM
He's looking for the ability to pull the main movie from the structure of a DVD. Inorder to do this you have to be able to parse the IFO file of the DVD, then read only the packets from of the main movie from several VOB files. Your software also would have to be smart enough to only transcode video as needed. If a DVD is already formatted properly for TiVo playback (i.e. 29.97fps) then it could just stream it as is, however if it's not (i.e. 24fps "film mode") then it would need to transcode it before streaming.

On a completely unrelated note I have a suggestion... You should come up a data file format that users can use to add their own custom data to recordings. Then simply have the software look for a file of that format with the same name as the video file, parse it and then present that data to the TiVo so that when the program is transfered it'll contain a complete title, description, etc... of the users choice. If you poll the TiVo Desktop server for a list of programs you can see the XML format the TiVo needs to get data in. Perhaps the easiest way would be to simply retain that format in a .xml file.

Dan

pipakin
01-24-2007, 01:17 PM
He's looking for the ability to pull the main movie from the structure of a DVD. Inorder to do this you have to be able to parse the IFO file of the DVD, then read only the packets from of the main movie from several VOB files. Your software also would have to be smart enough to only transcode video as needed. If a DVD is already formatted properly for TiVo playback (i.e. 29.97fps) then it could just stream it as is, however if it's not (i.e. 24fps "film mode") then it would need to transcode it before streaming.

On a completely unrelated note I have a suggestion... You should come up a data file format that users can use to add their own custom data to recordings. Then simply have the software look for a file of that format with the same name as the video file, parse it and then present that data to the TiVo so that when the program is transfered it'll contain a complete title, description, etc... of the users choice. If you poll the TiVo Desktop server for a list of programs you can see the XML format the TiVo needs to get data in. Perhaps the easiest way would be to simply retain that format in a .xml file.

Dan


*chuckle*

Watch a whole video from the TiVo.Net server and then go back to the video dir and look for a .tvm file (it's xml. TVM = TiVo.net Metafile). ;)

It's not used to the fullest yet. It's just used to get the final encoded size for the video so it doesn't have to send a bogus size to the TiVo, but it does have a description, title, and duration field that will be used once I get around to it.

pipakin
01-24-2007, 01:20 PM
http://www.denguru.com/2006/08/28/all_you_need_to_know_about_ripping_dvds/page2.html

Must....implement....*runs of to write dvd parsing*

oldskoolboarder
01-24-2007, 01:25 PM
Is there a place to just get the executables to try this out? I don't have easy access to a compile environment on my machines.

pipakin
01-24-2007, 01:27 PM
Is there a place to just get the executables to try this out? I don't have easy access to a compile environment on my machines.

If you're looking for a windows version, just download the msi (Installer) and install :)

Habanero
01-24-2007, 01:33 PM
Is there anybody using TiVo Software version 6.1 getting this to work?

propman07
01-24-2007, 01:41 PM
No response to this question, so I'll ask my dumb one for the day...

What model/type of Tivo will this work with?
(Series I, Series II...HR10-250)

pipakin
01-24-2007, 01:43 PM
No response to this question, so I'll ask my dumb one for the day...

What model/type of Tivo will this work with?
(Series I, Series II...HR10-250)

Anything that supports the TiVo Desktop software should work (Most Series II's, I don't know about the others). Unknown with Hacked TiVo's, since mine's official and I don't know anyone with a hacked one.

propman07
01-24-2007, 01:47 PM
Anything that supports the TiVo Desktop software should work (Most Series II's, I don't know about the others). Unknown with Hacked TiVo's, since mine's official and I don't know anyone with a hacked one.

Thanks. I just read that info on your site...damn, this looked pretty cool.

Good luck.

Habanero
01-24-2007, 01:50 PM
It is too bad that there has to be a "hack" to get a Series2 TiVo from DirecTV to get the features the rest of the Series2 TiVo community is enjoying.

Thank you for your prompt response.

Good luck to you on your project.

pipakin
01-24-2007, 02:02 PM
It is too bad that there has to be a "hack" to get a Series2 TiVo from DirecTV to get the features the rest of the Series2 TiVo community is enjoying.

Thank you for your prompt response.

Good luck to you on your project.

Indeed. Don't get me started on the whole DTV thing...

tim254
01-24-2007, 02:20 PM
DVD support would be amazing. Right now I have to use a utility for VideoReDo (see VideoReDo's forum ... "DVD Copy program for Home recorded DVDs") to combine the VOB files into an MPG and then transfer it to my Tivo.

MichaelK
01-24-2007, 02:24 PM
Haven’t had a chance to download it yet and kick the tires- but is it easy enough to change the output settings to the Tivo? Hopefully soon the S3 gets network content enabled and It would be nice to be able to send it HD or at least 16:9 resolutions.

windracer
01-24-2007, 02:42 PM
Watch a whole video from the TiVo.Net server and then go back to the video dir and look for a .tvm file (it's xml. TVM = TiVo.net Metafile). ;)
I did notice that a .tvm file was created in my videos directory for a transfer I attempted (even though it never actually transferred). Pretty cool.

schisamo
01-24-2007, 03:36 PM
I found a little bug (posted on sourceforge site also). It looks like your service does not spit out well formed XML if there is an ampersand in a folder name. ie I have a folder named "Daily Show & Colbert Report" and Tivo Net does not turn the "&" character into &amp;. This caused my tivo to not see any videos in any directories.

Firefox error:

XML Parsing Error: not well-formed
Location: localhost:9032/TiVoConnect?Command=QueryContainer&Container=Video
Line Number 13, Column 30: <Title>Daily Show & Colbert Report</Title>

XML:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<TiVoContainer>
<ItemStart>0</ItemStart>
<ItemCount>2</ItemCount>
<Details>
<Title>Video</Title>
<ContentType>x-container/tivo-videos</ContentType>
<SourceFormat>x-container/folder</SourceFormat>

<TotalItems>2</TotalItems>
</Details>
<Item>
<Details>
<Title>Daily Show & Colbert Report</Title>
<ContentType>x-container/tivo-videos</ContentType>
<SourceFormat>x-container/folder</SourceFormat>

</Details>
<Links>
<Content>
<Url>/TiVoConnect?Command=QueryContainer&amp;Container=Video/Daily Show & Colbert Report</Url>
<ContentType>x-container/tivo-videos</ContentType>
</Content>
</Links>

</Item>
<Item>
<Details>
<Title>How I Met Your Mother</Title>
<ContentType>x-container/tivo-videos</ContentType>
<SourceFormat>x-container/folder</SourceFormat>
</Details>

<Links>
<Content>
<Url>/TiVoConnect?Command=QueryContainer&amp;Container=Video/How I Met Your Mother</Url>
<ContentType>x-container/tivo-videos</ContentType>
</Content>
</Links>
</Item>

</TiVoContainer>

pipakin
01-24-2007, 03:40 PM
I found a little bug (posted on sourceforge site also). It looks like your service does not spit out well formed XML if there is an ampersand in a folder name. ie I have a folder named "Daily Show & Colbert Report" and Tivo Net does not turn the "&" character into &amp;. This caused my tivo to not see any videos in any directories.

Firefox error:

XML Parsing Error: not well-formed
Location: localhost:9032/TiVoConnect?Command=QueryContainer&Container=Video
Line Number 13, Column 30: <Title>Daily Show & Colbert Report</Title>

*snip*



er, yeah, about that. :) I'll fix that for next release. I had thought I got that. But aparently (having looked at the code), I didn't...

praycop
01-24-2007, 04:29 PM
So is there any instructions on how to actually set this up? I installed program and put an avi file into the video file. Now how to I get it across to Tivo via wireless network. I do have a good network connection currently with the tivo. Just need to know how to get it on Tivo menu.

Yours truly,

Newb

EDIT: I got Tivo net to show up on Now playing list but avi video was not allowed to play.

EDIT #2 : Got it to play avi!!! ...Now how can I get it to work around firewall?.. using PC CILLIN Trend Micro

pipakin
01-24-2007, 06:16 PM
EDIT #2 : Got it to play avi!!! ...Now how can I get it to work around firewall?.. using PC CILLIN Trend Micro

Open up ports 9033 and 9032 for TCP. Not sure howto do it in that particular firewall.

EDIT: I fixed the "While I'm transferring a video I can't browse" bug in CVS as well as the malformed XML. It has a number of small improvements all around, to tell you the truth... The Unencryted DVD stuff will have to wait a bit as I need to improve certain areas of the user interface first. So 0.4.0a should be out in the next hour or so (as usual I'll post here when done).

ubuntop
01-24-2007, 06:19 PM
Pipakin

I am back to tinkering with your app. Here are a couple more observations/suggestions etc.

The admin interface:
1.
---------------------------------------------------------------------------
List current processes (conversion/Stream) and the ability to cancel a stream. And/or the ability to show percent converted / percent transferred.
How does the tivo unit handle a cancelled stream? I’ll test it out.

2.
---------------------------------------------------------------------------
List of already transferred (and present on the Tivo) streams. It may be usefull.


The Ports:
1.
---------------------------------------------------------------------------
Are you planning to handle these programmatically? If so.. You mentioned something about the UDP port needing to be opened for the broadcast. Windows handles this by allowing a response within 3 seconds then closes the inbound for the UDP port. Otherwise you can completely open it.

Command Line (for Windows XP SP2):
Netsh firewall add portopening TCP 9033 Tivo.Net_9033_TCP
Netsh firewall add portopening TCP 9032 Tivo.Net_9032_TCP
Netsh firewall add portopening UDP 9033 Tivo.Net_9033_UDP
Netsh firewall add portopening UDP 9032 Tivo.Net_9032_UDP


Here is M$ proper way to handle it.
http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/sp2netwk.mspx
(Ctrl-F the term outbound connections)
Shows how you can use an api to prompt the user. I also have a reg file that will do it, if this helps at all.


Ubuntop

EDIT: Would you rather this be posted on Sourceforge? Or the Tivo.Net forum?

pipakin
01-24-2007, 06:27 PM
Pipakin

I am back to tinkering with your app. Here are a couple more observations/suggestions etc.

The admin interface:
1.
---------------------------------------------------------------------------
List current processes (conversion/Stream) and the ability to cancel a stream. And/or the ability to show percent converted / percent transferred.
How does the tivo unit handle a cancelled stream? I’ll test it out.


Indeed. I'm working on a framework for this now. As of version 0.3.0a you could only transfer 1 stream at a time due to a bug anyways :o

2.
---------------------------------------------------------------------------
List of already transferred (and present on the Tivo) streams. It may be usefull.


This is possible. Not 100% sure how to implement it, though.

The Ports:
1.
---------------------------------------------------------------------------
Are you planning to handle these programmatically? If so.. You mentioned something about the UDP port needing to be opened for the broadcast. Windows handles this by allowing a response within 3 seconds then closes the inbound for the UDP port. Otherwise you can completely open it.

Command Line (for Windows XP SP2):
Netsh firewall add portopening TCP 9033 Tivo.Net_9033_TCP
Netsh firewall add portopening TCP 9032 Tivo.Net_9032_TCP
Netsh firewall add portopening UDP 9033 Tivo.Net_9033_UDP
Netsh firewall add portopening UDP 9032 Tivo.Net_9032_UDP


Here is M$ proper way to handle it.
http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/sp2netwk.mspx
(Ctrl-F the term outbound connections)
Shows how you can use an api to prompt the user. I also have a reg file that will do it, if this helps at all.


The UDP port is outgoing only anyways. It's just a beacon to the tivo that says "I'm here!". As for the other ports, yeah, I should play nice with the firewall. I just hadn't looked into it yet. :)

Ubuntop

EDIT: Would you rather this be posted on Sourceforge? Or the Tivo.Net forum?

Here is fine. If you add something to the tracker at SF, I'll get an email about it. I don't read the TiVo.Net forums as much due to low volume of posts there. (More activity in this thread ;) )

dwgsp
01-24-2007, 06:51 PM
This service looks ***so*** cool! I can;t wait to try it!

One question: will it convert the frame rate for PAL (25 fps) videos to NTSC?

Thanks!
/Don

pipakin
01-24-2007, 06:58 PM
This service looks ***so*** cool! I can;t wait to try it!

One question: will it convert the frame rate for PAL (25 fps) videos to NTSC?

Thanks!
/Don

yeppers. It's hardcoded to convert to 29.97 fps (NTSC), actually :)

Version 0.4.0a, which fixes the "xml listing bug" and the "I can't browse the server while transferrring" bug (as well as adds a list of active/completed transfers) is out: http://downloads.sourceforge.net/tivodotnet/TiVoDotNetSetup-0.4.0a.msi?use_mirror=osdn

BoyScout
01-24-2007, 07:50 PM
This looks so cool! I downloaded it and I get the service showing on my S2 TiVo but I can't transfer anything. It says something like the file doesn't exist.

Is that because of the space thing in the directory?

Also, I have a couple of external drives that have subdirectories of files, can this navigate subdirectories?

Also, Can you implement multiple storage directories? Ie: I:\ J:\ k:\

BoyScout

pipakin
01-24-2007, 07:53 PM
This looks so cool! I downloaded it and I get the service showing on my S2 TiVo but I can't transfer anything. It says something like the file doesn't exist.

Is that because of the space thing in the directory?

Try version 0.4.0a (I just posted it about 30 secods ago).


Also, I have a couple of external drives that have subdirectories of files, can this navigate subdirectories?

yes

Also, Can you implement multiple storage directories? Ie: I:\ J:\ k:\

BoyScout

on the features to be added list :) I figure a ";" seperator could work. Though I'm not sure how to implement it just yet.

windracer
01-24-2007, 07:54 PM
Updated to 0.3.0a, still unable to transfer. This time, in my Recording History, it says my transfer was deleted to make room for other programs. And while poking around via the NPL, my box spontaneously rebooted.

I'm going to try Mono on Linux next ...

edit: doh, new version! Off to download ...

pipakin
01-24-2007, 07:56 PM
*chuckle* I need to get 0.4.0a running on Mono (It fixes the listing bug you're encountering, but has 2 incompatibilities with Mono), but it should work on windows (and I posted the download link just a second ago http://downloads.sourceforge.net/tivodotnet/TiVoDotNetSetup-0.4.0a.msi?use_mirror=osdn)

EDIT: Ha! beat me to it.

Bojangling
01-24-2007, 08:20 PM
here's one thing, go to the address http://localhost:9032/TiVoConnect?Command=QueryContainer&Container=Video (In Internet explorer)

and then paste the xml that it spits at you into a reply here or a PM. I can take a look at what the TiVo is seeing and see if I see any strangeness.

Doesn't seem to be working for me. I can see "Tivo.Net Server" in "Now Playing" and then my "waiting.avi" file put it won't seem to play. Opened up ports 9032 and 9033 for TCP as well. Here is my output:

<?xml version="1.0" encoding="ISO-8859-1" ?>
- <TiVoContainer>
<ItemStart>0</ItemStart>
<ItemCount>1</ItemCount>
- <Details>
<Title>Video</Title>
<ContentType>x-container/tivo-videos</ContentType>
<SourceFormat>x-container/folder</SourceFormat>
<TotalItems>1</TotalItems>
</Details>
- <Item>
- <Details>
<Title>waiting</Title>
<ContentType>video/x-tivo-mpeg</ContentType>
<SourceFormat>video/x-tivo-mpeg</SourceFormat>
<SourceSize>0</SourceSize>
</Details>
- <Links>
- <Content>
<ContentType>video/x-tivo-mpeg</ContentType>
<AcceptsParams>No</AcceptsParams>
<Url>/Video/waiting.mpeg</Url>
</Content>
- <CustomIcon>
<ContentType>video/*</ContentType>
<AcceptsParams>No</AcceptsParams>
<Url>urn:tivo:image:save-until-i-delete-recording</Url>
</CustomIcon>
</Links>
</Item>
</TiVoContainer>

Edit 1: Tivo Recording history says " The recording was deleted earlier than planned because the space was need for another recording starting at ...."

pipakin
01-24-2007, 08:26 PM
Doesn't seem to be working for me. I can see "Tivo.Net Server" in "Now Playing" and then my "waiting.avi" file put it won't seem to play. Opened up ports 9032 and 9033 for TCP as well. Here is my output:
*snip*

which version are you using? 0.3.0a? or 0.4.0a?

Bojangling
01-24-2007, 08:27 PM
Just upgraded to 0.4.0a but got the same thing with 0.3.0a.

Also, made a quick edit to my above post that my help

pipakin
01-24-2007, 08:30 PM
Edit 1: Tivo Recording history says " The recording was deleted earlier than planned because the space was need for another recording starting at ...."

That's a new one. I need to dive into the protocol tivo uses and find the bit where it determines the "Keep until" setting. I think these default to "Keep until space is needed".

Bojangling
01-24-2007, 08:36 PM
That's a new one. I need to dive into the protocol tivo uses and find the bit where it determines the "Keep until" setting. I think these default to "Keep until space is needed".

Space shouldn't be an issue on the Tivo. 160GB drive and only 10 hrs of recordings, though there is alot in the "Recently Deleted".

Also, there was no recording starting.

Jagman_sl
01-24-2007, 08:36 PM
Tivo Recording history says " The recording was deleted earlier than planned because the space was need for another recording starting at ...."

I'm getting the same thing. And on another file I got the "can't find on the Tivo.net server" error message.


<TiVoContainer>
<ItemStart>0</ItemStart>
<ItemCount>2</ItemCount>

<Details>
<Title>Video</Title>
<ContentType>x-container/tivo-videos</ContentType>
<SourceFormat>x-container/folder</SourceFormat>
<TotalItems>2</TotalItems>
</Details>

<Item>

<Details>
<Title>dawkins_lynchburg_virginia</Title>
<ContentType>video/x-tivo-mpeg</ContentType>
<SourceFormat>video/x-tivo-mpeg</SourceFormat>
<SourceSize>0</SourceSize>
</Details>

<Links>

<Content>
<Url>/Video/dawkins_lynchburg_virginia.mpeg</Url>
<AcceptsParams>No</AcceptsParams>
<ContentType>video/x-tivo-mpeg</ContentType>
<AcceptsParams>No</AcceptsParams>
</Content>

<CustomIcon>
<Url>urn:tivo:image:save-until-i-delete-recording</Url>
<ContentType>video/*</ContentType>
</CustomIcon>
</Links>
</Item>

<Item>

<Details>
<Title>s01e05p6 The Keys of Marinus</Title>
<ContentType>video/x-tivo-mpeg</ContentType>
<SourceFormat>video/x-tivo-mpeg</SourceFormat>
<SourceSize>0</SourceSize>
</Details>

<Links>

<Content>
<Url>/Video/s01e05p6 The Keys of Marinus.mpeg</Url>
<AcceptsParams>No</AcceptsParams>
<ContentType>video/x-tivo-mpeg</ContentType>
<AcceptsParams>No</AcceptsParams>
</Content>

<CustomIcon>
<Url>urn:tivo:image:save-until-i-delete-recording</Url>
<ContentType>video/*</ContentType>
</CustomIcon>
</Links>
</Item>
</TiVoContainer>

windracer
01-24-2007, 08:42 PM
Got 0.3.0 running under Mono on Linux! :up: :up:

Transfers don't work though (I get the "will transfer when other transfers complete" in the Recording History), but it's progress! I'll wait for the 0.4.0 Mono build.

Is there something that would prevent two TiVo.Net servers from being seen by the TiVo? I wasn't able to see the one running on my PC and the one running on the Linux box under Mono at the same time. :confused:

carroca
01-24-2007, 08:43 PM
I'm getting closer to having this work (on version 0.4.0a) but:

1. The file extension allowed list is case-sensitive. My .MOV files were not found. I added .MOV to the end of the list which didn't work. I replaced .mov with .MOV which did work. Adding .MOV to the list before .mov also worked and allowed .mov files to be seen which was surprising. The same behavior was seen with my .MPG files. I wish my file extensions weren't all caps but that's the way they transfer from my digital cameras.

2. In the generated XML file all of my files (.MOV and .MPG) are being listed as .mpeg in the <Url> tag and video/x-tivo-mpeg in the <ContentType> tag. Neither seems to be the correct behavior but I'm not sure.

3. I can see my videos listed on the TiVo after applying the fix from problem 1 above but am unable to transfer them. The TiVo says they cannot be found. This may have something to do with problem 2 above.

4. I don't know if you meant the Transfers link to go live in this release but clicking it seems to crash the service.


That's all I have for now. Thanks for all the good work so far.

-Jason

pipakin
01-24-2007, 08:43 PM
I'm getting the same thing. And on another file I got the "can't find on the Tivo.net server" error message.

Both of you guys try something for me. Go into the directory and delete any .tvm files you find. Then go to the admin page and re-scan. Then try watching a file again (I think 0.3.0a put some bad data in the tvm file).

EDIT: I need to put a version number in there and use it to delete old tvm files. Also, if the quality setting is different, the size field will be wrong....hmmmmmmmm.....

pipakin
01-24-2007, 08:47 PM
I'm getting closer to having this work (on version 0.4.0a) but:

1. The file extension allowed list is case-sensitive. My .MOV files were not found. I added .MOV to the end of the list which didn't work. I replaced .mov with .MOV which did work. Adding .MOV to the list before .mov also worked and allowed .mov files to be seen which was surprising. The same behavior was seen with my .MPG files. I wish my file extensions weren't all caps but that's the way they transfer from my digital cameras.

er, yeah. I need to fix that.

2. In the generated XML file all of my files (.MOV and .MPG) are being listed as .mpeg in the <Url> tag and video/x-tivo-mpeg in the <ContentType> tag. Neither seems to be the correct behavior but I'm not sure.

yeah, that's intentional. Otherwise the TiVo will balk at the file.

3. I can see my videos listed on the TiVo after applying the fix from problem 1 above but am unable to transfer them. The TiVo says they cannot be found. This may have something to do with problem 2 above.

probably. I need to look into that.

4. I don't know if you meant the Transfers link to go live in this release but clicking it seems to crash the service.

yikes! forgot to include a file in the release! there should be a file "transfers.template" in the UI dir and it's not there. (EDIT: fix this by downloading http://www.satellite-of-love.org/transfers.template and placing it in the UI directory).


That's all I have for now. Thanks for all the good work so far.

-Jason

Thanks for the concise bug reports. I think we're getting ever closer to a stable 1.0 release.

pipakin
01-24-2007, 08:52 PM
Got 0.3.0 running under Mono on Linux! :up: :up:

Transfers don't work though (I get the "will transfer when other transfers complete" in the Recording History), but it's progress! I'll wait for the 0.4.0 Mono build.

Is there something that would prevent two TiVo.Net servers from being seen by the TiVo? I wasn't able to see the one running on my PC and the one running on the Linux box under Mono at the same time. :confused:

er...heh...um...yeah. The ID code that I used to identify the server is hardcoded. consider that on the fix list for 0.5.0a. :) (along with the broken transfers page, which can be fixed by downloading this file (http://www.satellite-of-love.org/transfers.template), and putting it in the UI directory.

windracer
01-24-2007, 08:55 PM
Ah, ok. I figured I would see:

TiVo.Net Server (SIKOZU) Video --> my PC
TiVo.Net Server (rygel) Video --> my Linux server

I only really need it in one place anyway ... was just experimenting.

Oh, and your link to the transfers template isn't working.

pipakin
01-24-2007, 08:57 PM
as far as the "After other transfers have finished", have you checked to see if there's a transfer hung up? Also, the "delete all tvm files and restart the service" trick might help. I really need to get versioning into those tvm files.

Bojangling
01-24-2007, 09:01 PM
Both of you guys try something for me. Go into the directory and delete any .tvm files you find. Then go to the admin page and re-scan. Then try watching a file again (I think 0.3.0a put some bad data in the tvm file).

EDIT: I need to put a version number in there and use it to delete old tvm files. Also, if the quality setting is different, the size field will be wrong....hmmmmmmmm.....

Did this, now my "Tivo Recording History" says "The program was not transferred onto this DVR because it was not found on the Tivo.Net Server"

dumbdiety
01-24-2007, 09:10 PM
Still getting it to. I even totally opened my computer, it still says the file can't be found.

Did this, now my "Tivo Recording History" says "The program was not transferred onto this DVR because it was not found on the Tivo.Net Server"

pipakin
01-24-2007, 09:11 PM
Still getting it to. I even totally opened my computer, it still says the file can't be found.

A couple of things.
1. What's the full directory path to your video directory?
2. What format is the file in that you're trying to transfer?

windracer
01-24-2007, 09:13 PM
as far as the "After other transfers have finished", have you checked to see if there's a transfer hung up? Also, the "delete all tvm files and restart the service" trick might help. I really need to get versioning into those tvm files.
No transfers were hung up.

As for the tvm files ... they don't seem to be created in the Mono version. At least, there weren't any in my Videos folder.

Bojangling
01-24-2007, 09:15 PM
A couple of things.
1. What's the full directory path to your video directory?
2. What format is the file in that you're trying to transfer?

1. C:\Videos
2. .avi

dumbdiety
01-24-2007, 09:24 PM
A couple of things.
1. What's the full directory path to your video directory?
2. What format is the file in that you're trying to transfer?

1. D:\Test\
2. .avi

carroca
01-24-2007, 09:24 PM
Ditto to windracer's finding of the link to transfers.template not working. No big deal though, I think we can wait for the next release.

Also, to try to help here is my XML output. I noticed that "/Video" is at the beginning of all the <Url> tags which doesn't seem right to me. My directory is C:\Documents and Settings\Jason\My Documents\My Videos\



- <TiVoContainer>
<ItemStart>0</ItemStart>
<ItemCount>5</ItemCount>
- <Details>
<Title>Video</Title>
<ContentType>x-container/tivo-videos</ContentType>
<SourceFormat>x-container/folder</SourceFormat>
<TotalItems>5</TotalItems>
</Details>
- <Item>
- <Details>
<Title>ImageMixer3</Title>
<ContentType>x-container/tivo-videos</ContentType>
<SourceFormat>x-container/folder</SourceFormat>
</Details>
- <Links>
- <Content>
<Url>/TiVoConnect?Command=QueryContainer&Container=Video/ImageMixer3</Url>
<ContentType>x-container/tivo-videos</ContentType>
</Content>
</Links>
</Item>
- <Item>
- <Details>
<Title>100_4300</Title>
<ContentType>video/x-tivo-mpeg</ContentType>
<SourceFormat>video/x-tivo-mpeg</SourceFormat>
<SourceSize>6000000000</SourceSize>
</Details>
- <Links>
- <Content>
<Url>/Video/100_4300.mpeg</Url>
<AcceptsParams>No</AcceptsParams>
<ContentType>video/x-tivo-mpeg</ContentType>
<AcceptsParams>No</AcceptsParams>
</Content>
- <CustomIcon>
<Url>urn:tivo:image:save-until-i-delete-recording</Url>
<ContentType>video/*</ContentType>
</CustomIcon>
</Links>
</Item>
- <Item>
- <Details>
<Title>100_4369</Title>
<ContentType>video/x-tivo-mpeg</ContentType>
<SourceFormat>video/x-tivo-mpeg</SourceFormat>
<SourceSize>6000000000</SourceSize>
</Details>
- <Links>
- <Content>
<Url>/Video/100_4369.mpeg</Url>
<AcceptsParams>No</AcceptsParams>
<ContentType>video/x-tivo-mpeg</ContentType>
<AcceptsParams>No</AcceptsParams>
</Content>
- <CustomIcon>
<Url>urn:tivo:image:save-until-i-delete-recording</Url>
<ContentType>video/*</ContentType>
</CustomIcon>
</Links>
</Item>
- <Item>
- <Details>
<Title>100_4556</Title>
<ContentType>video/x-tivo-mpeg</ContentType>
<SourceFormat>video/x-tivo-mpeg</SourceFormat>
<SourceSize>6000000000</SourceSize>
</Details>
- <Links>
- <Content>
<Url>/Video/100_4556.mpeg</Url>
<AcceptsParams>No</AcceptsParams>
<ContentType>video/x-tivo-mpeg</ContentType>
<AcceptsParams>No</AcceptsParams>
</Content>
- <CustomIcon>
<Url>urn:tivo:image:save-until-i-delete-recording</Url>
<ContentType>video/*</ContentType>
</CustomIcon>
</Links>
</Item>
- <Item>
- <Details>
<Title>M2U00015</Title>
<ContentType>video/x-tivo-mpeg</ContentType>
<SourceFormat>video/x-tivo-mpeg</SourceFormat>
<SourceSize>6000000000</SourceSize>
</Details>
- <Links>
- <Content>
<Url>/Video/M2U00015.mpeg</Url>
<AcceptsParams>No</AcceptsParams>
<ContentType>video/x-tivo-mpeg</ContentType>
<AcceptsParams>No</AcceptsParams>
</Content>
- <CustomIcon>
<Url>urn:tivo:image:save-until-i-delete-recording</Url>
<ContentType>video/*</ContentType>
</CustomIcon>
</Links>
</Item>
</TiVoContainer>



-Jason

pipakin
01-24-2007, 09:30 PM
Ditto to windracer's finding of the link to transfers.template not working. No big deal though, I think we can wait for the next release.

Also, to try to help here is my XML output. I noticed that "/Video" is at the beginning of all the <Url> tags which doesn't seem right to me. My directory is C:\Documents and Settings\Jason\My Documents\My Videos\

*snip*


that's the base url I use to find the vide. The path is stored in memory separately.

Ok, any of you who can't transfer now getting any errors in the log?

greg_burns
01-24-2007, 09:34 PM
Is there a specific video we could download that you know does transfer? (eliminate some of the variables here) I am having no luck with anything I try. :(

Latest attempt was h264 mov quicktime version of Diggnation...
http://revision3.com/diggnation/2007-01-12

carroca
01-24-2007, 09:36 PM
that's the base url I use to find the vide. The path is stored in memory separately.

Ok, any of you who can't transfer now getting any errors in the log?
Nope, the only errors I have are from when I tried to use a mapped network drive as my video directory:

mscorlib Could not find a part of the path 'N:\Video'. Minor Error


-Jason

pipakin
01-24-2007, 09:37 PM
Is there a specific video we could download that you know does transfer? (eliminate some of the variables here) I am having no luck with anything I try. :(

Latest attempt was h264 mov quicktime version of Diggnation...
http://revision3.com/diggnation/2007-01-12

alrighty. I'm downloading that file now to try it here. We'll see if it blows up on me.

windracer
01-24-2007, 09:38 PM
I'm seeing "Object reference not set to an instance of an object."

Yikes, just noticed Mono is chewing up 89% of my CPU. :eek:

edit: just a thought, but does TiVo.Net need to do anything with the MAK to do these transfers? I know Galleon and TiVo Desktop need to know this value.

pipakin
01-24-2007, 09:41 PM
edit: just a thought, but does TiVo.Net need to do anything with the MAK to do these transfers? I know Galleon and TiVo Desktop need to know this value.

Nope. MAK is only used for TTG to the PC. PC -> TiVo transfers are MAK-less, as it were.

pipakin
01-24-2007, 09:48 PM
alrighty. I'm downloading that file now to try it here. We'll see if it blows up on me.

gah!

C:\DotNetTiVo>ffmpeg_mp2 -i Video\test.mov -vcodec mpeg2video -r 29.97 -b 1024 -
ac 2 -ab 128 -f vob test.mpeg
ffmpeg version 0.4.9-pre1, build 4747, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --enable-memalign-hack --enable-mingw32 --enable-mp3lame --ena
ble-gpl --enable-a52
built on Mar 21 2005 16:41:12, gcc: 3.4.2 (mingw-special)
track[0].ctts.entries = 69132
Input #0, mov,mp4,m4a,3gp,3g2, from 'Video\test.mov':
Duration: 00:40:04.4, start: 0.000000, bitrate: 1013 kb/s
Stream #0.0 Id: 1: Video: h264, 640x480, 30.00 fps
Stream #0.1 Id: 3: Audio: 0x6134706d, 48000 Hz, stereo
Output #0, vob, to 'test.mpeg':
Stream #0.0 Id: 0: Video: mpeg2video, 640x480, 29.97 fps, q=2-31, 1024 kb/s

Stream #0.1 Id: 1: Audio: mp2, 48000 Hz, stereo, 128 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Unsupported codec (id=86018) for input stream #0.1

Looks like that version of ffmpeg didn't support some codecs. I'm getting the source and rebuilding a version that should support more formats.

this one should do in the meantime: https://sourceforge.net/project/showfiles.php?group_id=187185&package_id=219395&release_id=481183

that's a better release of ffmpeg. just grab the ffmpeg.exe out of that zip and replace the ffmpeg_mp2.exe file with that one. That should get some of the files that weren't working to work.

EDIT: HA HA! I think I found it! There was a case where the aspect options were getting passed in wrong! I'm fixing it and I'll post 0.5.0, then I need sleep. :)

pipakin
01-24-2007, 11:20 PM
new...version....fixes...many problems....must...sleep

zzzzzzz..... : http://downloads.sourceforge.net/tivodotnet/TiVoDotNetSetup-0.5.0.msi?use_mirror=osdn

GCymbala
01-24-2007, 11:52 PM
Dude, totally cool. Installed version 0.5.0 and had it working no problems on a directory full of divx and xvid avi's. I was a bit disappointed in the video quality of the "medium" setting, but that's OK. I was looking at some other thing earlier this week (TiVo Server?), but it required hacking the TiVo. I just prefer not to open the case and swap hard drives in and out all the time.

But seriously, this is nice. At some point I want to take a look at the source code for this. This isn't actually saving the MPEG-2 files to the local PC's hard drive, is it?

Greg

dumbdiety
01-25-2007, 05:26 AM
Nice! 0.5.0 works wonderfully! Now you just need to support directories, and we'll be set! ;)
Really now, I've been waiting for something like this for years. You've done it in, what, 2 days? How long did it take to program?

greg_burns
01-25-2007, 06:45 AM
Diggnation is now transferring from my POS laptop! ;) You be the man! :up:

windracer
01-25-2007, 07:22 AM
new...version....fixes...many problems....must...sleep
When you're awake (and assuming you don't have to work today like some of us), how about an updated Mono version? ;)

Or is there an easy way for me to build the Mono version from the source?

pipakin
01-25-2007, 08:24 AM
When you're awake (and assuming you don't have to work today like some of us), how about an updated Mono version? ;)

Or is there an easy way for me to build the Mono version from the source?

The new mono version's out there too. Mono version (http://downloads.sourceforge.net/tivodotnet/TivoMono-0.5.0a.zip?use_mirror=osdn)

pipakin
01-25-2007, 08:27 AM
But seriously, this is nice. At some point I want to take a look at the source code for this. This isn't actually saving the MPEG-2 files to the local PC's hard drive, is it?

Greg

nope, just streams the output of ffmpeg to the TiVo (grabs the standard out stream and pushes the data to the TiVo). I can't take credit for the actual transcoding process, as that's beyond my current understanding.

ubuntop
01-25-2007, 09:35 AM
Is the "better ffmpeg" wrapped into 0.5.0 or do I need to grab it as well?

windracer
01-25-2007, 10:08 AM
The new mono version's out there too.
Sweet, got it.

Just an FYI, using any of the links on the left-hand side of the UI (under Mono) seems to crash the process and the server stops responding on port 9033. In other words, I can't view the log or transfer pages.

pipakin
01-25-2007, 11:03 AM
Is the "better ffmpeg" wrapped into 0.5.0 or do I need to grab it as well?

I wrapped it in there.

pipakin
01-25-2007, 11:06 AM
Sweet, got it.

Just an FYI, using any of the links on the left-hand side of the UI (under Mono) seems to crash the process and the server stops responding on port 9033. In other words, I can't view the log or transfer pages.

Interesting...could you look in the actual errorlog file? Should be in the path that you ran the program from. It may show what error is occurring (I need to get my linux box back up and running so I can debug).

EDIT: GAH! In my sleepyness I screwed up the errorlog and transfer paths last night. It's sticking a space in so it ends up PATH/UI /errorlog.template... It's broken on windows too...

MichaelK
01-25-2007, 11:22 AM
yeppers. It's hardcoded to convert to 29.97 fps (NTSC), actually :)

...[/url]


any chance of letting users set the conversion settings for when the s3 gets MRV enabled?

thanks for all the efforts.

pipakin
01-25-2007, 11:35 AM
I plan on adding an "Advanced settings" page with all the nitty-gritty encoding options on it. I just want to make sure the basic stuf is working 100% first. We're getting closer each day... (Except when I break things cause I'm too tired :rolleyes: )

MichaelK
01-25-2007, 11:42 AM
I plan on adding an "Advanced settings" page with all the nitty-gritty encoding options on it. I just want to make sure the basic stuf is working 100% first. We're getting closer each day... (Except when I break things cause I'm too tired :rolleyes: )

i cant thank you enough!

Leo_N
01-25-2007, 11:58 AM
I saw this asked a couple times, don't think I saw an answer though. Is this S3 compatible, and if not, would it be once the rest of the home media stuff is turned on for the S3?

Pipakin, looks like a great job you are doing!

pipakin
01-25-2007, 12:02 PM
I saw this asked a couple times, don't think I saw an answer though. Is this S3 compatible, and if not, would it be once the rest of the home media stuff is turned on for the S3?

Pipakin, looks like a great job you are doing!

Can't answer this 100% since I don't own (READ: Can't afford) an S3. I believe it doesn't work yet, but if MRV/HMO protocol gets enabled on them it should work fine.

MichaelK
01-25-2007, 12:02 PM
I saw this asked a couple times, don't think I saw an answer though. Is this S3 compatible, and if not, would it be once the rest of the home media stuff is turned on for the S3?

Pipakin, looks like a great job you are doing!

the S3 currently doesn't allow you to playback local network content. It is widely assumed that a future software upgrade will enable that ability.

Once the s3 is ready this will work- although the current version (as of this moment in time as it seems to get upgraded every 30 minutes!) is hard coded to just ouput SD video. pipakin posted 2 posts above yours that he plans to make that a user definable setting goging forward so that when the S3 software is updated we can use this to convert HD resolutions.

So we are just waiting on Tivo.

greg_burns
01-25-2007, 12:06 PM
I saw this asked a couple times, don't think I saw an answer though. Is this S3 compatible, and if not, would it be once the rest of the home media stuff is turned on for the S3?

Pipakin, looks like a great job you are doing!

I also wonder about the fact that the S3 will possibly be able to play MPEG-4 video natively. (right?) How would that play into this?

huma
01-25-2007, 12:11 PM
Excellent program. The quality of the video was very pixelated and choppy no matter which quality setting I used. Now, if the picture quality was somewhat closer to videora...

Leo_N
01-25-2007, 12:13 PM
the S3 currently doesn't allow you to playback local network content. It is widely assumed that a future software upgrade will enable that ability.

Once the s3 is ready this will work- although the current version (as of this moment in time as it seems to get upgraded every 30 minutes!) is hard coded to just ouput SD video. pipakin posted 2 posts above yours that he plans to make that a user definable setting goging forward so that when the S3 software is updated we can use this to convert HD resolutions.

So we are just waiting on Tivo.

Well it plays local network content, just apparently not video :( Galleon works fine for streaming music though.

MichaelK
01-25-2007, 12:16 PM
Well it plays local network content, just apparently not video :( Galleon works fine for streaming music though.


good point- not network VIDEO.

Stu_Bee
01-25-2007, 12:31 PM
I plan on adding an "Advanced settings" page with all the nitty-gritty encoding options on it. I just want to make sure the basic stuf is working 100% first. We're getting closer each day... (Except when I break things cause I'm too tired :rolleyes: )

Looking forward to it.
Just tried your app, and it's very nicely done. However, The outputted video on my Tivo however is very blocky, so pretty much unwatchable.

My tested source AVI's were 608x336 & 624x352, and I tried ouputting on High and Insane bitrates, with both 4:3 and 16:9 formats. They all outputted blocky.

My Videora settings (which result in pretty nice output) are:
-------
Resolution: 720x480
Bitrate: 8192 kbps (which probably isn't necessary to be that high)
Framerate: 24 fps (stops the panning jerkiness)
Aspect Ratio: 16:9
Audio: 192 kbps, Stereo
--------
The above profile is for converting 16:9 source content. If the source is 1.81 then I use a difft profile.
--------
Keep up the great work!

BoyScout
01-25-2007, 12:32 PM
I'm transferring now too. I don't know if it was deleting the .tvm files or the 0.5.0a. I did both. sorry

I have another little glitch. I have more than 8 files in my directory. I can't page down beyond 8. It just jumps to the top of the 1st page whether I use the down arrow or the page down.

pipakin
01-25-2007, 12:51 PM
Er....lol

Apparently the video rate is passed in BITS, not Kb. I need to add a "K" after the bitrate. It's defaulting to 1mbit, I believe. Although it may be doing less (which would explain the extreme blockiness.

This is apparently different in this new version of ffmpeg. Guess that's what I get for not reading release notes. :)

If you want a workaround, try going into the registry, opening the key HKLM\Software\TiVoDotNet and changing the VideoQuality value to 8192000 and see what happens (don't submit on the admin screen after doing this though, it'll probably blow up if you do). Make sure to restart the service.

pipakin
01-25-2007, 02:18 PM
New version! Should fix the listing bug (maybe) and fixes the bitrate issue. I haven't tested this, since I'm at work, so upgrade at your own risk :)

TiVo.Net 0.5.1a : http://downloads.sourceforge.net/tivodotnet/TiVoDotNetSetup-0.5.1a.msi?use_mirror=easynews
TiVoMono 0.5.1a : http://downloads.sourceforge.net/tivodotnet/TivoMono-0.5.1a.zip?use_mirror=easynews

Stu_Bee
01-25-2007, 02:24 PM
I tried the registry variable change and it worked (ie blockiness went away)...Great Job!

Now I just have to upgrade my pc. It's a Pentium 2.4ghz, which can't really keep up with transcoding/realtime transfers at 4mbs, and barely at 2mbs. Was planning on doing this anyways...but now i have a good reason :)
Even as it stands, it allows me to start the transcode/transfer process, without having to go to my pc and choose which episodes to transcode ahead of time.

Awesome. Not caring when Tivo finally releases Desktop 2.4 anymore!

pipakin
01-25-2007, 02:33 PM
I tried the registry variable change and it worked (ie blockiness went away)...Great Job!

Sweet.

Now I just have to upgrade my pc. It's a Pentium 2.4ghz, which can't really keep up with transcoding/realtime transfers at 4mbs, and barely at 2mbs. Was planning on doing this anyways...but now i have a good reason :)
Even as it stands, it allows me to start the transcode/transfer process, without having to go to my pc and choose which episodes to transcode ahead of time.

Awesome. Not caring when Tivo finally releases Desktop 2.4 anymore!

You can try the following (if you upgrade to 0.5.1a):
- add the following text to the "Extra Output Options" field in the admin page: "-threads X" (with no quotes and where X is an arbitrary number of threads. This may speed it up, though I don't know for sure).

Stu_Bee
01-25-2007, 02:52 PM
Something screwy with .5.1a.
If you make a change then restart the TivoNet service the Video Extensions values in the web GUI are empty.
I uninstalled, removed registry values..reinstalled...same thing.

Enrique
01-25-2007, 03:25 PM
Something screwy with .5.1a.
If you make a change then restart the TivoNet service the Video Extensions values in the web GUI are empty.
I uninstalled, removed registry values..reinstalled...same thing.same here. :confused: and I am getting in the error log TiVoDotNetBase Object reference not set to an instance of an object. Fatal Error

pipakin
01-25-2007, 03:47 PM
same here. :confused: and I am getting in the error log TiVoDotNetBase Object reference not set to an instance of an object. Fatal Error

gah...that's what happens when you can't test. :)

I'll figure it out and post an update when I get home in about an hour. There's probably somthing screwy in the new options I added. :o

EDIT: Or maybe I'll fix it now : http://downloads.sourceforge.net/tivodotnet/TiVoDotNetSetup-0.5.1a-fixed.msi?use_mirror=superb-west

Enrique
01-25-2007, 04:28 PM
ok installed that update and now can't see any of my shows that I saw in 0.5.0.


thanks for all your hard work A++++++

Stu_Bee
01-25-2007, 04:42 PM
Same issue as Enrique...

Noticed that:
http://localhost:9032/TiVoConnect?Command=QueryContainer&Container=Video
Doesn't display anything..just hangs.

However, this still displays the admin interface.
http://localhost:9033/

Bojangling
01-25-2007, 04:59 PM
Anyone have a short clip we know works to help with my process of elimination?

pipakin
01-25-2007, 05:02 PM
ok installed that update and now can't see any of my shows that I saw in 0.5.0.


thanks for all your hard work A++++++

gah! Ok, I'm home now and can test. I'll bang out a fix as fast as possible.

Gonna post a release in a bit. For now, here (http://www.satellite-of-love.org/TiVoDotNetBase.dll) is the fixed base library. just dump that in the install dir (overwrite the old one). That'll get you working again.

greg_burns
01-25-2007, 05:04 PM
Anyone have a short clip we know works to help with my process of elimination?

Is there a specific video we could download that you know does transfer? (eliminate some of the variables here) I am having no luck with anything I try. :(

Latest attempt was h264 mov quicktime version of Diggnation...
http://revision3.com/diggnation/2007-01-12

Definately worked (prior to latest update :) ), but not small; 300MB.

This one is only 8MB...
http://revision3.com/diggnation/2006-11-23

Enrique
01-25-2007, 05:05 PM
Anyone have a short clip we know works to help with my process of elimination? http://videos.revision3.com/diggnation/0073/diggnation--0073--2006-11-23--large.xvid.avi
I know this works(worked with 0.5.0)
(10 mb)

Bojangling
01-25-2007, 05:13 PM
Got it, thanks.

pipakin
01-25-2007, 05:30 PM
0.5.5a posted with a fix for that crash bug. link : http://downloads.sourceforge.net/tivodotnet/TiVoDotNetSetup-0.5.5a.msi?use_mirror=osdn

Bojangling
01-25-2007, 05:42 PM
Working for me! Although I have some audio delay.

Enrique
01-25-2007, 05:45 PM
for me all good here set it to Medium (2048kb/s) and very good PQ well update when the video is done downloading.

greg_burns
01-25-2007, 05:52 PM
My POS laptop is set to insane and looks sweet! No delay at all. What a difference a "K" makes.

pipakin
01-25-2007, 06:01 PM
My POS laptop is set to insane and looks sweet! No delay at all. What a difference a "K" makes.

lol.

Indeed. Now to get the plugin system working, then I have a surprise... :D

windracer
01-25-2007, 06:29 PM
Ok, I've got 0.5.5a running on Linux, but still no transfer love. I get the "will transfer when other transfers complete" message on my TiVo and "Object reference not set to an instance of an object" in the error log.

Error Log and Transfer Log links are working though. I can see my requested transfer on that page. Kinda cool how you can cancel it via that link.

pipakin, if you'd rather I keep the Mono discussion on your forum, just let me know.

pipakin
01-25-2007, 06:45 PM
Ok, I've got 0.5.5a running on Linux, but still no transfer love. I get the "will transfer when other transfers complete" message on my TiVo and "Object reference not set to an instance of an object" in the error log.

Error Log and Transfer Log links are working though. I can see my requested transfer on that page. Kinda cool how you can cancel it via that link.

pipakin, if you'd rather I keep the Mono discussion on your forum, just let me know.

Hrm... Does a tvm file get spit out by the service? And if so, is the "Size" set to 0? (And here is fine. I made a TiVoMono forum over there as well).

windracer
01-25-2007, 06:56 PM
Nope ... I haven't found any .tvm files on my Linux box in the Videos directory. I checked the write permissions and everything looks OK (the process has written my settings changes to settings.xml).

Unrelated note: when I check the Info screen for any recording via the Now Playing List, it shows up with a size of 5.58gb no matter how large it is. I've got two MPEG files in my Videos directory. One is 74mb and the other is 6mb. They both are reported as 5.58gb by the TiVo.Net server.

scott816
01-25-2007, 07:16 PM
Great work! I have it up and running via wireless and it is working great. I need to get this interfaced with my wireless webcam outside my front door so i can see who is at the door via tivo. Thanks for creating this.

ramp
01-25-2007, 08:25 PM
newbie question..
I have this installed on a 2003 server and its running. I set tivo to the ip and have the ports allowed in my firewall but tivo does not see any thing.
could some one point me to a walk though or something :(

greg_burns
01-25-2007, 08:27 PM
I set tivo to the ip...

What does that mean? :confused:

ramp
01-25-2007, 08:35 PM
i add a server manualy to point to the server ?? guess thats wrong ?

greg_burns
01-25-2007, 08:38 PM
i add a server manualy to point to the server ?? guess thats wrong ?

Sounds like you are in the Music, Photos, Products & More menu. Don't want to be there.

Go back to Now Playing List. You should see TiVo.Net Server listed a very bottom of your Now Playing List. Down below Recently Deleted folder.

ramp
01-25-2007, 08:40 PM
oh yeh i was in the music phots and stuff ill go check other place
thanks for the info :)
let you know

ramp
01-25-2007, 08:41 PM
hum dont see it there i guess i need to let the port go though tivo too ?

ramp
01-25-2007, 08:44 PM
thanks for all the info i found i had the tivo pluged in to the wrong router :) and now i see it. now to see if i can watch my files

ramp
01-25-2007, 08:45 PM
ok well i see pc: tivo.net server but no files hum i do have it going to a mapped drive wonder if its broke some where ill keep looking

ramp
01-25-2007, 08:53 PM
ok i get this error Could not find a part of the path 'Y:\'.
from the website.. can i not change the dir for my videos ?

ramp
01-25-2007, 08:57 PM
ok so i moved a .avi file to the /video folder under the program and getting
TiVoDotNetBase Object reference not set to an instance of an object. Fatal Error
when i have tivo look at the box

greg_burns
01-25-2007, 09:05 PM
How do you clear the error log? Since they don't have timestamps, I'm confused whether these are current errors or old ones?

For example, I see the Object reference not set to an instance of an object error, but everything is currently working for me.

pipakin
01-25-2007, 09:06 PM
ok so i moved a .avi file to the /video folder under the program and getting
TiVoDotNetBase Object reference not set to an instance of an object. Fatal Error
when i have tivo look at the box

Few things, what type of video? Where is the video directory? Have you gone into the admin screen at all?

Also, edit posts, please! :)

pipakin
01-25-2007, 09:07 PM
How do you clear the error log? Since they don't have timestamps, I'm confused whether these are current errors or old ones?

For example, I see the Object reference not set to an instance of an object error, but everything is currently working for me.

er....you go find the file and manually delete them? I was just telling myself that I needed a "Clear Log" button. And timestamps might be helpful. :)

greg_burns
01-25-2007, 09:13 PM
er....you go find the file and manually delete them? I was just telling myself that I needed a "Clear Log" button. And timestamps might be helpful. :)

I've been looking, I swear! Even checked in Isolated Storage ( ;) .Netter myself), but no luck. I must be blind. :o

pipakin
01-25-2007, 09:23 PM
I've been looking, I swear! Even checked in Isolated Storage ( ;) .Netter myself), but no luck. I must be blind. :o

Hint: Try C:\Windows\System32\TivoDotNetErrorLog.htm

BoyScout
01-25-2007, 09:27 PM
pipakin,

any thoughts on a directory with more than 8 files?

thanks for the great work!

BoyScout

windracer
01-25-2007, 09:28 PM
Another benefit of the Mono version I guess ... the ErrorLog file is in the same directory as everything else. ;)

pipakin
01-25-2007, 09:29 PM
Nope ... I haven't found any .tvm files on my Linux box in the Videos directory. I checked the write permissions and everything looks OK (the process has written my settings changes to settings.xml).

Yeah, I've utterly beaten up the windows mono version and can't get an error... Have you taken a look at your ffmpeg settings? which options are enabled?

Unrelated note: when I check the Info screen for any recording via the Now Playing List, it shows up with a size of 5.58gb no matter how large it is. I've got two MPEG files in my Videos directory. One is 74mb and the other is 6mb. They both are reported as 5.58gb by the TiVo.Net server.

Er...yeah...that's a hack. I don't know what size a final encoded file will be until after I decode it, so I just made up a ridiculously big size. :) I'm working on an estimation algorithm that will work a bit better.

windracer
01-25-2007, 09:38 PM
Have you taken a look at your ffmpeg settings? which options are enabled?
When I do a 'ffmpeg -options' here's what I get (it's long so I'm attaching it rather than pasting it inline).

Everything looks okay to me. Can you give me a sample command-line that TiVo.Net might be issuing so I can do some more debugging? Or is there a way to get more detailed logs?

pipakin
01-25-2007, 09:56 PM
When I do a 'ffmpeg -options' here's what I get (it's long so I'm attaching it rather than pasting it inline).

Everything looks okay to me. Can you give me a sample command-line that TiVo.Net might be issuing so I can do some more debugging? Or is there a way to get more detailed logs?


ffmpeg -i test.mov -vcodec mpeg2video -r 29.97 -b 1024k -s 720x480 -ac 2 -ab 128 -f vob -

(though you may want to specify a file instead of the "-" on the end so your terminal doesn't get flooded with control characters :) )

Stu_Bee
01-25-2007, 10:06 PM
Hmm... Some videos are fine, some have the audio out of sync.

I'm trying to find a pattern. (the sources of both working and not are both xvid,mp3..so I don't think it's a codec thing). I'll post if I discover anything.

pipakin
01-25-2007, 10:09 PM
Hmm... Some videos are fine, some have the audio out of sync.

I'm trying to find a pattern. (the sources of both working and not are both xvid,mp3..so I don't think it's a codec thing). I'll post if I discover anything.

try adding "-async x" (where x is a tolerance in samples/second) to the "Extra Output Options" on the admin page. That should resync the audio by adjusting it up to "x" samples per second. See if that helps.

Also, just doing "-async 1" is a special case that adjusts the first bit of audio tosync with the first bit of video and might also fix it.

pipakin
01-25-2007, 10:37 PM
pipakin,

any thoughts on a directory with more than 8 files?

thanks for the great work!

BoyScout

Is this still broken in 0.5.5a? It seems to be working for me...

leppard
01-25-2007, 11:26 PM
Hi everyone. I'm new to this forum, new to tivo (my box arrived today), and new to tivodotnot. I've downloaded and installed tivodotnot and have gone to the Now Playing List menu. I see the tivodotnot server menu and I select that. On the next screen, however, I get the following error message:

Now Playing List could not be displayed because of an unknown error.

I'm running tivodotnot version 0.5.5a. I've gone the the localhost:9033 and set the path to my video directory. When I hit Submit / Rescan and check the running processes, I see ffmpeg running. I've also disabled the windows firewall and opened ports 9032 and 9033 in my router. Needless to say, I'm baffled. Any suggestions on how to bring up the video list?

Thanks,

leppard

ubuntop
01-25-2007, 11:33 PM
Pipakin,



Can you implement and option that allows you to keep the transcoded file, perhaps in a specific directory? It would save on processing for repeat viewings of that file.

Anyway, mine seems to be working pretty well.

BoyScout
01-26-2007, 01:42 AM
Is this still broken in 0.5.5a? It seems to be working for me...


Ya, but I have a directory of sub directories. Maybe that is the difference. I'll try to put the files all in the same directory and see what happens.

Aiken
01-26-2007, 03:43 AM
pipakin--

As far as I know, the only guaranteed audio format on TiVos is AC3, 48kHz, 384kb/s.

So, instead of:

-ac 2 -ab 128

You'd want

-acodec ac3 -ac 2 -ar 48000 -ab 384

I just did some experimenting, and all of my units will accept AC3 at bitrates of 128, 192, 256, 320, and 384, so I'd suggest putting them all in the drop-down list. (My test video produced ffmpeg bit allocation errors at 64/96 and there was no/choppy audio at all on the TiVo.) I don't know about series 1 boxes, series 2 boxes other than 240's, or DT boxes. I definitely can't speak for series 3 boxes.

Anyway, this makes many, many more of my videos, which come in many, many source formats, play correctly on TiVo, so I'm assuming it would significantly improve the compatibility of TiVo.Net.

---

By the way, I'm not sure about the -ac 2 part. I'm pretty sure that if you don't force it, you get however many channels the source had. I gather that a series 2 TiVo can play 5.1 AC3 audio, so limiting it to stereo might be a waste of good data. I'm not very well informed on this, though.

---

A suggestion: Add a few more video bitrates, like 1536, 3072, and 6144. My system can currently stream 2048 in real time easily, but not quite 4096. 3072 would be nice to have as an option. I'm pretty sure a TiVo can play such video bitrates. In fact, I don't think it really cares much at all, since I think it can do VBR.

---

Another suggestion: Add more of the formats that the newer ffmpeg supports to the default extension list. For instance, I've added mp4, m4v, flv, and a few others. (It's very cool to play back flv videos saved from YouTube on my TiVo. I didn't know ffmpeg could read flash video.)

---

Yet another suggestion: I know you said you're going to make an a/v option control panel of sorts, but for the moment it might be nice to have a quick option to reduce output resolution from 720x480 to 480x480 (High/Best on an S2 tivo) or 352x480 (Basic/Low). It'd probably improve transcoding/transfer speeds quite a bit without degrading the quality of the average internet/torrent video, since most are at or below that resolution.

In fact, since all I think you need to be TiVo-compatible is to be 480 rows, you might not even want to override the source's horizontal resolution, since that would probably degrade the signal the least and the aspect ratio in the mpeg header will take care of the rest. Maybe as an option, anyway. Or maybe an option to set the *maximum* horizontal resolution?

---

I think that's all I have. :)

Great work, by the way. I know everyone else already said that, but it bears repeating.. :) Thanks for doing it.

Aik

Enrique
01-26-2007, 05:16 AM
I have just one small complaint (does not matter to me if it gets fixed or not just would be nice) when I put new videos in to my Tivo.net folder I have to go back to http://localhost:9033/ and hit submit/rescan directory then I see the new videos that I can download to tivo is there anyway for Tivo.net to automatically see there are new files in there?

thanks.

dumbdiety
01-26-2007, 05:35 AM
While your at it, can you turn this jug of water ino wine for me? :)
I've had no problems with 0.5.5a, I watched a marathon of Doctor Who yesterday using it, it works WONDERFULLY!

greg_burns
01-26-2007, 06:23 AM
As far as I know, the only guaranteed audio format on TiVos is AC3, 48kHz, 384kb/s.

http://customersupport.tivo.com/LaunchContent.aspx?CID=4012d160-79c3-4238-96c8-a27b323d1413
MPEG-1 Layer 2 for TiVo DVRs without DVD; AC/3 (Dolby) for TiVo DVRs with DVD.

According to that, AC3 only works wth DVD models. Now, I know that isn't right, but I wouldn't go so far as to say AC3 is the only guaranteed format. That seems contrary to the KB at least.

http://www.tivocommunity.com/tivo-vb/showthread.php?p=3180009&&#post3180009
The TiVo documentation is wrong. ALL TiVos can play AC3 audio. The only difference is that non-DVD units don't have optical outputs so they have to downsample the audio to stereo.


is there anyway for Tivo.net to automatically see there are new files in there?

pipakin: FileSystemWatcher (http://msdn2.microsoft.com/en-us/library/system.io.filesystemwatcher.aspx)
;)

and opened ports 9032 and 9033 in my router.

Don't need to open ports in your router. That is for outside traffic.

windracer
01-26-2007, 08:08 AM
I've downloaded and installed tivodotnot
I think this is the second time in this thread I've seen someone call this dotnot. Are you guys doing that on purpose as a joke, jabbing Microsoft?

windracer
01-26-2007, 08:12 AM
ffmpeg -i test.mov -vcodec mpeg2video -r 29.97 -b 1024k -s 720x480 -ac 2 -ab 128 -f vob -

(though you may want to specify a file instead of the "-" on the end so your terminal doesn't get flooded with control characters :) )
Ok, on one of my test MPEG files this returned a "Unsupported codec (id=86020) for input stream #0.1" but on the second one it actually started transcoding (again, this is on the Linux command-line):

FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
configuration:
libavutil version: 49.0.0
libavcodec version: 51.7.0
libavformat version: 50.3.0
built on Feb 17 2006 16:53:53, gcc: 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)
Input #0, mpeg, from 'Pete Miser - Scent of a Robot.mpg':
Duration: 00:03:47.7, start: 0.257567, bitrate: 2597 kb/s
Stream #0.0[0x1e0], 29.97 fps(r): Video: mpeg2video, yuv420p, 352x240, 8300 kb/s
Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 224 kb/s
File 'test.mpg' already exists. Overwrite ? [y/N] y
Output #0, vob, to 'test.mpg':
Stream #0.0, 29.97 fps(c): Video: mpeg2video, yuv420p, 720x480, q=2-31, 1024 kb/s
Stream #0.1: Audio: mp2, 48000 Hz, stereo, 128 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding

So it would seem my ffmpeg installation is fine. I still get the "this transfer will start when other transfers are completed" message on my TiVo, no .tvm files in my Videos directory.

greg_burns
01-26-2007, 08:12 AM
I think this is the second time in this thread I've seen someone call this dotnot. Are you guys doing that on purpose as a joke, jabbing Microsoft?

If it is, they are very ill informed. :down:

leppard
01-26-2007, 08:16 AM
No, it's because the forum software thinks tivo '.' net is a url and won't allow you to post it (until you have made five posts). At least that's why I used it.

pipakin
01-26-2007, 08:36 AM
Ok, on one of my test MPEG files this returned a "Unsupported codec (id=86020) for input stream #0.1" but on the second one it actually started transcoding (again, this is on the Linux command-line):

*snip*

So it would seem my ffmpeg installation is fine. I still get the "this transfer will start when other transfers are completed" message on my TiVo, no .tvm files in my Videos directory.

Hrm. Ok, I'm going to go add a "verbose" mode and output all sorts of debugging info to the console for the mono version. I'll probably get to that when I get home today. I'll have a lot more time to work on this this weekend, when I don't have to work.

As for all the feature requests, if you add to the tracker at sourceforge, I'm more likely to get to them :)

I thought I had forced the audio codec to mpeg-2, but I guess I didn't...and I was going from spec, which said mpeg-2, stereo, was the most compatible. *shrug*

I'll move the AV options page up in the list.

Also, the dynamic scanning of the directory: I'll move this up on the features to be added list, but how often are the files in that directory changing while you're watching TV? :)

pipakin
01-26-2007, 08:44 AM
Pipakin,



Can you implement and option that allows you to keep the transcoded file, perhaps in a specific directory? It would save on processing for repeat viewings of that file.

Anyway, mine seems to be working pretty well.

Yes I can. :) I'll add it to my todo list.

pipakin
01-26-2007, 08:45 AM
Hi everyone. I'm new to this forum, new to tivo (my box arrived today), and new to tivodotnot. I've downloaded and installed tivodotnot and have gone to the Now Playing List menu. I see the tivodotnot server menu and I select that. On the next screen, however, I get the following error message:

Now Playing List could not be displayed because of an unknown error.

I'm running tivodotnot version 0.5.5a. I've gone the the localhost:9033 and set the path to my video directory. When I hit Submit / Rescan and check the running processes, I see ffmpeg running. I've also disabled the windows firewall and opened ports 9032 and 9033 in my router. Needless to say, I'm baffled. Any suggestions on how to bring up the video list?

Thanks,

leppard

Have you opened those ports on your local windows firewall?

Note to self: Fix installer to add these exceptions.

leppard
01-26-2007, 08:58 AM
Have you opened those ports on your local windows firewall?

Note to self: Fix installer to add these exceptions.

Yes, both TCP 9032 and 9033 are open. If I close them, then the TiVo '.' Net server listing disappears from the Now Playing List. With them open, I see the Tivo '.' Net server but not the file list.

pipakin
01-26-2007, 09:00 AM
Yes, both TCP 9032 and 9033 are open. If I close them, then the TiVo '.' Net server listing disappears from the Now Playing List. With them open, I see the Tivo '.' Net server but not the file list.

Ah, I get you now. Ok, so I'm assuming the admin page has the server pointed at the directory with video files in it and the file extensions are in the allowed list?

leppard
01-26-2007, 09:07 AM
Ah, I get you now. Ok, so I'm assuming the admin page has the server pointed at the directory with video files in it and the file extensions are in the allowed list?

Yes to both questions. I've tried both directories with space and no spaces in them and the same result in both cases.

BTW, it's not that the list is empty. I get a message that says that the list cannot be displayed because of an unknown error.

pipakin
01-26-2007, 09:49 AM
Yes to both questions. I've tried both directories with space and no spaces in them and the same result in both cases.

BTW, it's not that the list is empty. I get a message that says that the list cannot be displayed because of an unknown error.

*scratches head*

hrm....any errors in the log?

windracer
01-26-2007, 09:57 AM
No, it's because the forum software thinks tivo '.' net is a url and won't allow you to post it (until you have made five posts). At least that's why I used it.
Ok, makes sense. You could write TiVoDotNet, though, right? :)

leppard
01-26-2007, 11:30 AM
*scratches head*

hrm....any errors in the log?

Is the error log file created automatically? I deleted it because I wasn't sure when the two or three errors that were in it were from (i.e. at what point in all my fiddling did those errors occur. btw, the errors were about favicon.ico). So , if it is created automatically, then no, there are no messages in it at the moment.

would posting the xml file help?

pipakin
01-26-2007, 11:32 AM
pipakin--

As far as I know, the only guaranteed audio format on TiVos is AC3, 48kHz, 384kb/s.

I just did some experimenting, and all of my units will accept AC3 at bitrates of 128, 192, 256, 320, and 384, so I'd suggest putting them all in the drop-down list. (My test video produced ffmpeg bit allocation errors at 64/96 and there was no/choppy audio at all on the TiVo.) I don't know about series 1 boxes, series 2 boxes other than 240's, or DT boxes. I definitely can't speak for series 3 boxes.

Anyway, this makes many, many more of my videos, which come in many, many source formats, play correctly on TiVo, so I'm assuming it would significantly improve the compatibility of TiVo.Net.


Added to the new av options page (almost done. Got sick, so I'm here at home instead of work :D Not that being sick is nice, but beign at work sucks.)

By the way, I'm not sure about the -ac 2 part. I'm pretty sure that if you don't force it, you get however many channels the source had. I gather that a series 2 TiVo can play 5.1 AC3 audio, so limiting it to stereo might be a waste of good data. I'm not very well informed on this, though.


Added another option. You can leave it restricted at 2, or change it to another value, or unrestrict it.

A suggestion: Add a few more video bitrates, like 1536, 3072, and 6144. My system can currently stream 2048 in real time easily, but not quite 4096. 3072 would be nice to have as an option. I'm pretty sure a TiVo can play such video bitrates. In fact, I don't think it really cares much at all, since I think it can do VBR.

Added these as well.

Another suggestion: Add more of the formats that the newer ffmpeg supports to the default extension list. For instance, I've added mp4, m4v, flv, and a few others. (It's very cool to play back flv videos saved from YouTube on my TiVo. I didn't know ffmpeg could read flash video.)

Anyone wanna make me a list so I don't have to do this myself? I'm likely to do the lazy thing and leave it as is otherwise.


Yet another suggestion: I know you said you're going to make an a/v option control panel of sorts, but for the moment it might be nice to have a quick option to reduce output resolution from 720x480 to 480x480 (High/Best on an S2 tivo) or 352x480 (Basic/Low). It'd probably improve transcoding/transfer speeds quite a bit without degrading the quality of the average internet/torrent video, since most are at or below that resolution.

In fact, since all I think you need to be TiVo-compatible is to be 480 rows, you might not even want to override the source's horizontal resolution, since that would probably degrade the signal the least and the aspect ratio in the mpeg header will take care of the rest. Maybe as an option, anyway. Or maybe an option to set the *maximum* horizontal resolution?

Right now, my code is tied deeply into the 720x480 resolution. This'll probably have to wait.

Anyways, the new AV page + a partially implemented plugin system is nearly ready. I'll post here as usual when I get it up and running. I'm thinking version 0.6.0a. With the plugin system done, there's just 2 or three more minor things before I'm ready to halt features and go for a stable 1.0 release.

huma
01-26-2007, 11:49 AM
Dude, this kicks ass. Forget what I said earlier.

BoyScout
01-26-2007, 11:51 AM
Ya, but I have a directory of sub directories. Maybe that is the difference. I'll try to put the files all in the same directory and see what happens.


That's exactly what's happening. It will navigate more than 8 files, but not more than 8 directories.

BoyScout

pipakin
01-26-2007, 12:00 PM
That's exactly what's happening. It will navigate more than 8 files, but not more than 8 directories.

BoyScout

Yeah, thought I'd fixed that, but I'll need to look further into it. I'll get back to you.

EDIT: Looks like I forgot to "UrlDecode" the query for comparison to the url for AnchorItem's... It should work correctly in the next version. Just give me an hour or two to finish it up and test it.

Enrique
01-26-2007, 12:40 PM
For now, anything that ffmpeg supports (see http://ffmpeg.mplayerhq.hu/ffmpeg-doc.html#SEC21). I haven't found any of my movies that failed yet, but I'm sure there are some. I'm working on a plugin structure so new transcoders can be put in there to fill in any gaps.so with that the list says it supports Real Audio and Video I have some .rmvb(real media) so I add ,.rmvb to the Video extensions allowed so I go to the tivo and it see's the folder but tivo says it is empty any help here?

pipakin
01-26-2007, 12:54 PM
so with that the list says it supports Real Audio and Video I have some .rmvb(real media) so I add ,.rmvb to the Video extensions allowed so I go to the tivo and it see's the folder but tivo says it is empty any help here?

Could be it's not as compatible with realmedia as it says it is.

Aiken
01-26-2007, 01:50 PM
http://customersupport.tivo.com/LaunchContent.aspx?CID=4012d160-79c3-4238-96c8-a27b323d1413

According to that, AC3 only works wth DVD models. Now, I know that isn't right, but I wouldn't go so far as to say AC3 is the only guaranteed format. That seems contrary to the KB at least.
I was actually basing what I was saying on what people actually found when TTCB was released. MPEG-1 layer 2 was spotty, for some reason, while AC3 seemed to work on all the boxes that were tested, including non-DVD units. Perhaps some of the "weaker" S2 boxes don't do well with it, but weren't present in the group that was tested.

Anyway, it sounds like pipakin is making it an option, so we can all have it whatever way we like. :)

BoyScout
01-26-2007, 01:51 PM
Here's a couple weird things I experienced this morning:

If the S2 is recording something when I chose to transfer with tivo.net , the recording was cancelled and the transfer failed.

When I went back to Now Playing after this failure, the only items shown were from my tivo.net directory. A reboot of the S2 resolved it. I don't know if this was just a fluke since it has only happened once. I have had other transfers fail, but not lost my Now Playing folder.

These errors happened while attempting to transfer a 23 Kbps file squished to play on a pocket PC. I was using it because of the small size not the data rate. ;-)

Aiken
01-26-2007, 01:53 PM
<lots and lots of wow! he's adding it!>
You rock. :)

Enrique
01-26-2007, 02:01 PM
Here's a couple weird things I experienced this morning:

If the S2 is recording something when I chose to transfer with tivo.net , the recording was cancelled and the transfer failed.

When I went back to Now Playing after this failure, the only items shown were from my tivo.net directory. A reboot of the S2 resolved it. I don't know if this was just a fluke since it has only happened once. I have had other transfers fail, but not lost my Now Playing folder.

These errors happened while attempting to transfer a 23 Kbps file squished to play on a pocket PC. I was using it because of the small size not the data rate. ;-)ok same thing happen to me but when that happens just go in to the recently deleted folder then go back out that made all the other shows reappear for me. :cool:

carroca
01-26-2007, 02:55 PM
I was very excited last night when I got the Diggnation video to play (the first one that was posted here, ~250MB I think) and also got 1 video file from my honeymoon to play but have had no luck since then even with the same file. I keep getting the TiVo error that the file couldn't be found. Is it possible that this is caused by a slow computer? Mine isn't exactly new and can't even feed realtime video to the TiVo using the Low settings for video and audio.

Also I was testing with some .asf files and found that similar to the problem I had with my upper-case extensions, if I put .asf at the end of the list they weren't found but if I put it at the beginning they were.

Is it normal for only some of the videos to show up on this page (localhost:9032/TiVoConnect?Command=QueryContainer&Container=Video) because I tried a folder last night that had several dozen videos in it and only about 5 or 6 showed up in that XML but all of them showed up on the TiVo.

I'll keep reporting what I find to help make this thing better and more stable. I absolutely loved it when it was working last night.

-Jason

Aiken
01-26-2007, 03:09 PM
Anyone wanna make me a list so I don't have to do this myself? I'm likely to do the lazy thing and leave it as is otherwise.
Here's what I've tried that works:

.asf
.avi
.flv
.mov
.mp4
.mpeg
.mpg
.qt
.ram
.rm
.wmv

These should work, but I don't have any to test with:

.3g2
.3gp
.avs
.cin
.dv
.flc
.fli
.flic
.flx
.m2v
.m4v
.mj2
.mjpg
.mve
.mxf
.nsv
.nuv
.ogv
.smk
.ts
.vid
.vob

There may be more. Those are all the video formats I could work out from ffmpeg -formats, which isn't actually very informative about extensions.

Edit: Oh, and it claims that swf files work, but I wouldn't include them, since they often loop and it would probably be bad to transfer an infinitely-long file to the TiVo.

Aiken
01-26-2007, 03:13 PM
I keep getting the TiVo error that the file couldn't be found. Is it possible that this is caused by a slow computer?
I've noticed that if I set the video quality too high, I get the file-not-found error as well. It must time out while ffmpeg is still encoding the first chunk.

Also I was testing with some .asf files and found that similar to the problem I had with my upper-case extensions, if I put .asf at the end of the list they weren't found but if I put it at the beginning they were.
I've noticed that, too. Probably either the last extension is getting ignored, or it has to be in alphabetical order.

ciscokidinsf
01-26-2007, 03:37 PM
pipakin you rock! :up: :up: I don't know what you are waiting for to link a paypal account so that we can donate for your efforts. At least, let us buy you coffee or whatever keeps you awake to keep the program going. I've been following this thread since 2 days ago, but after installing and reinstalling like crazy, 0.5.5a got it right!

I was streaming last night, but had a few questions:

- Is there a 'minimum' size for the files? Yesterday I tried streaming a few .avi files that were less than 120 MB at medium quality, and were not found. The rest were larger than 120MB files and all were found ok.

- I agree, I also had a failure to Transfer when the Tivo is recording. I guess it can't do two recordings at the same time.

- Did I read right that to clear the errors you have to manually clear the .htm file? Just checking. It would be nice if they clear when the application closed.

- One last thing, it would be cool if one could specify which tivo to link it to. Right now it links to both my Tivos and I guess that could slow the tranfer down.

Maybe once this thing is totally stable and I can get my network speed up I can forget about buying a dedicated media-network box (I was about to buy one like the Mediagate or the MVIX boxes to move my TB of stuff to the TV)

Thanks again man, and aiken too for posting the list of file extensions

PS- If I ever upgrade to Wireless N, do you guys think the Tivos will read faster or stay at Wireless G speed? Not really sure.

pipakin
01-26-2007, 03:46 PM
pipakin you rock! :up: :up: I don't know what you are waiting for to link a paypal account so that we can donate for your efforts. At least, let us buy you coffee or whatever keeps you awake to keep the program going. I've been following this thread since 2 days ago, but after installing and reinstalling like crazy, 0.5.5a got it right!

*points at the "Support this project" link on the tivo.net page and the sourceforge page.* :p

Don't anyone feel obligated to do anything like that. I wrote this for myself and then figured other people would find it useful. I'm in it for fun, not money.

Sorry about no updates today, been ill and spending time with the wife. I've got it working with more expansive options and some more error checking, etc. I'm still working on the verbose errors for mono, but I haven't quite finished up there. As for the "File not found on the server" , I'm no sure if that could just be a slow pc, since it only displays that error when it gets a "404 page not found" error returned from the server, which I only do if the server can't find the file. There could be some goofiness going on, I'll take a look and see if I can reproduce the error.

Oh, and due to an error, it was ignoring the last file type. just add ,.blah on the end or something :)

Aiken
01-26-2007, 04:02 PM
just add ,.blah on the end or something :)
That's funny. That's exactly what I did, verbatim. :)

Hope you feel better...

pipakin
01-26-2007, 04:04 PM
- Is there a 'minimum' size for the files? Yesterday I tried streaming a few .avi files that were less than 120 MB at medium quality, and were not found. The rest were larger than 120MB files and all were found ok.

Shouldn't be a problem. I've done a few small files as a test, and they all seem to read ok...It may be due to the bogus size I pass the tivo. I'll make sure that the next version I post has a better file size estimation.

- I agree, I also had a failure to Transfer when the Tivo is recording. I guess it can't do two recordings at the same time.

Hrm...I'll go see what I can find with my TiVo. I think mine may be immune to this particular problem. What model TiVo do you have?

- Did I read right that to clear the errors you have to manually clear the .htm file? Just checking. It would be nice if they clear when the application closed.

Er, yeah. I need to go add that button.

- One last thing, it would be cool if one could specify which tivo to link it to. Right now it links to both my Tivos and I guess that could slow the tranfer down.

Shouldn't affect the speed. The TiVo only queries the server when you ask it to. The beacon it sends out once a minute doesn't change with multiple tivos either, as it is sent to the broadcast address.

Maybe once this thing is totally stable and I can get my network speed up I can forget about buying a dedicated media-network box (I was about to buy one like the Mediagate or the MVIX boxes to move my TB of stuff to the TV)

Don't let it be said I ever tried to disuade someone from buying a new gadget.

PS- If I ever upgrade to Wireless N, do you guys think the Tivos will read faster or stay at Wireless G speed? Not really sure.

Depends on the adapter it uses. I'd be willing to bet that it won't do better than "G", though.

David Scavo
01-26-2007, 04:08 PM
You may want to edit the main post to mention that this uses TivoToGo (and not MultiRoom Viewing) and thus will not work on DirecTIVO units.

I was hoping this could replace my use of TivoServer with my 3 DirecTIVOs, but my dream died when I saw on the support forum that this requires TTG. I couldn't figure out why TIVO.NET would not show up in my NPL.

Thanks for a great utility for the standalone TIVO units though !!!

pipakin
01-26-2007, 04:27 PM
You may want to edit the main post to mention that this uses TivoToGo (and not MultiRoom Viewing) and thus will not work on DirecTIVO units.

I was hoping this could replace my use of TivoServer with my 3 DirecTIVOs, but my dream died when I saw on the support forum that this requires TTG. I couldn't figure out why TIVO.NET would not show up in my NPL.

Thanks for a great utility for the standalone TIVO units though !!!

What does it take to get it to work in MRV mode? seemed to me the only difference was the beacon (advertising as a dvr instead of a pc. Should be doable... *shrug* maybe once I get version 1 done.

Sam Lowry
01-26-2007, 04:40 PM
Just installed the version that was up today (.55a?). Amazing that it works so well for such an earlier version of a program. Good job! I hope that TiVo starts sending some $ your way. You deserve it. I haven't put it through a full test- but I'm transfering an .avi and it looks great.

pipakin
01-26-2007, 06:00 PM
And I give you....
Version 0.6.0a! : http://downloads.sourceforge.net/tivodotnet/TiVoDotNetSetup-0.6.0a.msi?use_mirror=osdn

Changes:
- Multiple input directories (just seperate with a ";")
- More default types (perhaps...too many?)
- Plugin architecture in place (ffmpeg is the only plugin)
- Admin rearranged (ffmpeg specific options on it's page)
- WAY more AV options.
- Better file size estimation (by a long shot).
- Duration calculated (though I'm not sure it's going to the TiVo correctly).
- Added "Clear Log" button to error log.
- New ID generated each time the server is run (allowing you to run multiple servers on the same network).
- Er, I think that's it.

leppard
01-26-2007, 06:41 PM
I'm still getting the same error with 0.6a:

The Tivo.Net Server (notebookname) Video PC's Now Playing List could not be displayed because of an uknown error.

I checked the error log and got the following message:

ContextCallback Unknown Url: /favicon.ico Medium Error notebookname 127.0.0.1

Any ideas on how to get this to work would be great (I've completed disabled windows firewall btw).

r