Separate names with a comma.
Discussion in 'TiVo Home Media Features & TiVoToGo' started by Yoav, Dec 10, 2008.
I believe passing through TCP port 9032, TCP/UDP port 2190 and UDP port 5353 may work.
before i discovered streambaby just recently, i used to transfer video from my mac to tivo and one of the very compelling reasons to buy the elite was the gigabit ethernet. i was hoping for, if not an order-of-magnitude increase, at least a significant one.
unfortunately, it hasn't seemed to increase my transfer speed much at all over the 100mb ethernet of the s3. and my link from the tivo to the computer is gigabit all the way.
my transfers are not much better than real time, in other words, to transfer a 10 minute show would take nearly 10 minutes. could this be the fault of tivo desktop (mac) or toast 11 tivo transfer?
I'm afraid I didn't follow to well.
Were you saying that you transferred one video successfully but after this your pyTivo video share disappeared from the Now Playing List?
If this is the case your router may have issues with passing multicast packets.
Check your router configuration and see if it gives you an option for enabling 'Multicast' or something to that effect.
Add the 'beacon' setting to your pyTivo.conf. You can read its description here.
Something like: beacon = 192.168.1.255 (if your networks IP's are in the 192.168.1.x range)
Mac TiVo desktop (I don't know about Toast) will only stream if the file is completely compatible aka mpeg2 video (the Windows version will push compatible MP4 files I think). It transcodes all other times. You probably notice your Mac CPU is very high when transfering.
Over and above what Mac Tivo Desktop does pyTivo from wmcbrine will take a file such as an MKV video and if both video and audio are compatible with the TiVo (it is generally looking for h264/vc1 video and AC-3/AAC audio) it will remux this into a MP4 and push it to the TiVo this way. With my pyTivo fork (there are several pyTivo developers) as long as you have compatible video and ANY audio it will remux the video into a compatible MP4 file for pushing (it automatically transcodes incompatible audio to AC-3 during the remux).
I can remux and transfer a compatible 2hr MKV movie in 10 mins or so. If it requires audio transcoding add a couple more depending on the speed of your system.
The ONLY thing I miss from streambaby is the ability to use the subtitles with the video.
are you talking sd or hd? my typical file is 1920x1080i (24 or 30fps) with the occasional 1920x1080p (60fps). these are about 100mb per minute with a typical 10 minute file being nearly 1gb in size.
1080p24 10-12GB file. I don't have any 60fps but it would only add a bit more time. Although I'm not entirely certain that 1080p60 types of videos are compatible with TiVo natively.
Speed during a remux depends purely on the file size and speed of your hard drives as it is only doing a data copy from one file to another.
streambaby just streams the video, leaving no trace on the TiVo afterwards, AFAIK.
Whereas pyTiVo actually transfers the file onto the TiVo, and you can watch it while it transfers. It remains there on the TiVo even after you've turned the computer off, and can be played again and again until you delete it off the TiVo.
@Iluvatar: you've given me something to think about, for sure. over the next 3 days i'm going to be trying out most of the tools we've been talking about on this thread. right now i've got pytivox and streambaby running given that i have to run a manual command (mDNS -R \"streambaby\" _tivo-hme._tcp . 7290 path=/streambaby) to get streambaby to work. but i would much prefer to be running one of the pytivo supported builds such as yours or wmcbrine and not having to rely on pytivox continuing to work.
Thanks will try tomorrow - wicked bad cold is forcing me to bed, with a hardy dose of NyQuil.
What I meant to say is that after transferring/watching that one video, when I go back into Now Playing I see the video as a single entry in Now Playing but don't see my Macbook folder Movies - it disappeared.
Hey that's really cool Fof! I like it and it works.
I'm working on getting it to run in the background too. Oops... My wife says it's time to eat. I'll be back (we are in Tahoe)
@bareyb: good timing as i am just now running through your new 'howto' on pytivo. your instructions are very clear indeed and i had absolutely no problem downloading and installing pytivo and ffmpeg. going through your process, i notice i originally missed quite a few steps when i was doing my original install a few weeks back, especially in the config portion of pytivo.
but i've hit sort of a showstopper. i added a section for my videos and provided a path to my video folders. but it appears that pytivo won't recognize videos inside folders, thus it appears i'd have to add every folder of videos separately. this is a big no-go for me since i add subfolders inside subfolders inside subfolders. streambaby lets me actually navivate my folder structure from the tivo and i assumed pytivo would be the same. please someone post if there is a workaround for this. in the meantime, i'll temporarily point it to one folder with loose videos for test purposes.
also, here is a cleaner, one-line command for your applescript with the caveat it worked on my system, but if somehow one of your permissions is set differently, you might still need the ./ prefix to launch pytivo.py. and of course your path is a little simpler than mine, replace the '_video/TiVo/pyTivo/' section with your actual path:
inside the applescript editor it should look like:
do shell script "/Applications/_video/TiVo/pyTivo/pyTivo.py"
also, i think the term 'streaming' in step 6 is a misnomer as @Iluvatar has said pytivo only transfers, it doesn't stream.
great job dude! it could use a little shoring up in the terminal section and i'll bet @fofer can help there. for just one instance, when you restart pytivo after the config in step six, you don't stop the current running instance first. now it might be the case that two sessions can't be running simultaneously and there would be an automatic shutdown of the previous session before the restart, but i haven't investigate that far. my inclination would be to just hit ^C (control+c) in the terminal window where pytivo is running, then hit the up arrow which will 'paste' in the previous command which ran it, then just hit enter.
more later as i proceed ...
do shell script "/Applications/_video/TiVo/pyTivo/pyTivo.py"
FWIW I followed bareyb's setup tutorial, and the resulting menu on my TiVo does let me traverse through sub-folders to transfer/watch videos.
Subfolders work just fine with pyTivo. Mine go probably 7 layers deep at points.
Set this in your pyTivo.conf file under the [Server] heading, save and reset.
debug = True
Will need the log output from running pyTivo after attempting to view the bad subfolder. First guess is there may be a misspelling or a odd character in the folder name.
....FWIW All config options are already detailed in either the pyTivo WebAdmin interface or at the official pyTivo wiki.
For future reference do not expect the best support for pyTivo if you stick to posting in this thread instead of the pyTivo thread here at TCF or at the pyTivo support forum. It just won't get read by the same volume of people who could help since this thread is about pyTivoX
debug = True
i understand about the support. just trying to help @bareyb with his guide for now.
i found one killer problem and one potential one. i had underscores in the names of the shares and i removed those. one path started working after that. the other share i had a bad path (two __ underscores and my eyes are getting bad!). but now i have navigation of the directory tree on my mac and i transferred a short 1080p video and it appeared nearly instantly and played without problems. i'm now transferring a full hd 12 minute 814mb video and we'll see how long it takes ...
.... oh cool! there's a counter running in the shell. this is 30fps and has a bitrate of 10325kb/s. and there is a time counter there as well if it stays after the transfer completes ...
... unfortunately, the time is nearly exactly as my predictions i posted before--it's running at approx 100mb or less per minute which means this video is going to take at least 12 minutes for the 12 minutes of content. a move would take 90 minutes at that rate.
here's the summary:
frame=17832 fps= 27 q=2.0 Lsize= 1012336kB time=00:12:23.70 bitrate=11151.1kbits/s
video:959220kB audio:40674kB global headers:0kB muxing overhead 1.244334%
INFOyTivo.video.video:[20/Feb/2012 22:45:05] Done sending "/bedlam/[xxx....xxx]1080.mov" to tivoli2, 1036640256 bytes, 12.08 Mb/s
oh, and @bareyb, for that spot i was speaking of in step 6 where you restart pytivo, there is a restart button right on that html config page.
so @Iluvatar, would i experience better speeds if i used your fork instead? i'm embarrased to admit it, but i was going to use your fork when trying out @bareyb's guide, but i couldn't find the download link on that project page nor at any of the links on the line explaining your build.
I was just coming in to say the same. It seems to dig through layers of subfolders with no problem on mine too. My Music folder is quite a few levels down. By the way, the Music folder is pretty kick ass and it was super easy to setup.
Now see Iluvatar, it's not just me.
the photo share, however, seems a different story. is it really necessary to install the 'pil' (python image library) to be able to display photos? the great thing about the tivo desktop pref panel is that it recognizes both the itunes and the iphoto library and lets you specify both playlists and photo albums or events and no drilling down to get to them. of course the pytivo way is handy in case you have loose photo folders scattered around. but so far pytivo won't display any photos at all.
i'm currently trying to re-install streambaby according to the link found here: http://www.tivocommunity.com/tivo-vb/showthread.php?p=8924079#post8924079
i'll let you know how well those instructions work and we might not have to re-invent the wheel, at least for us lion users.
unfortunately i've hit a wall with the instructions for installing streambaby as v0.29 won't launch, aborting with a bunch of java errors:
roma:/ sysop$ /Applications/_video/TiVo/streambaby/streambaby
Initializing StreamBaby v0.29...
Exception in thread "main" java.lang.ExceptionInInitializerError
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
... 1 more
perhaps the os 10.7.3 update or a java update has caused some fatal incompatibility although this help page was posted less than a month ago.
luckily, this terminal command (which i don't even pretend to understand) posted by some kind soul still works:
mDNS -R \"streambaby\" _tivo-hme._tcp . 7290 path=/streambaby
but the kicker is for this to work, you also have to have pytivox running and that's what we're trying to get away from. it will need more smarts than what i have to get streambaby working without pytivo.
i've left a query comment at that page.
Yep. You have to have PIL and apparently it's not exactly a walk in the park to get it installed... If you don't have it, Terminal will generate an error message looking for it.