TiVo Community
TiVo Community
TiVo Community
Go Back   TiVo Community > Main TiVo Forums > TiVo Home Media Features & TiVoToGo
TiVo Community
Reply
Forum Jump
 
Thread Tools
Old 04-23-2007, 10:33 PM   #361
dlfl
Cranky old novice
 
dlfl's Avatar
 
Join Date: Jul 2006
Location: Near Dayton, Ohio
Posts: 5,996
comandercody,

You still have the outrageously large width and height settings. As I suggested in an earlier post:
Quote:
width and height are too large -- just delete them and they default to 544x480 which should be OK.
That is unless you have an S3 TiVo with a seriously HD TV attached.

Also, you have two different paths in your last video share section, [You Tube].
I'm not sure what pyTivo does with that but there should only be one path per share.

I assume you are aware that the pound sign (#) comments out a line, i.e., as far as pyTivo is concerned, the line might as well not be there (?)

If your TiVo is running software version 8.3, that could explain some of your folder problems on NPL -- Armoo and others are trying to find a solution to this (apparent) bug in that version.
__________________

"It must be swell to be so perfect and odor-free" -- Del Griffith


VideoReDo users: Try
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

pyTivo users: Try
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
dlfl is online now   Reply With Quote
Old 04-23-2007, 11:27 PM   #362
comandercody
Registered User
 
comandercody's Avatar
 
Join Date: Jun 2002
Posts: 48
Quote:
Originally Posted by dlfl
comandercody,

You still have the outrageously large width and height settings. As I suggested in an earlier post:

That is unless you have an S3 TiVo with a seriously HD TV attached.

Also, you have two different paths in your last video share section, [You Tube].
I'm not sure what pyTivo does with that but there should only be one path per share.

I assume you are aware that the pound sign (#) comments out a line, i.e., as far as pyTivo is concerned, the line might as well not be there (?)

If your TiVo is running software version 8.3, that could explain some of your folder problems on NPL -- Armoo and others are trying to find a solution to this (apparent) bug in that version.
Thanks dlfl. I took all the garbage out of the config file. I read that you need an "absolute" path, thats is why that last line was in there, but gone now, thanks again.
__________________
Its just TV folks.

Series 2 311 Hours
Series 2 402 Hours
HD Tivo 98 Hours HD, 924 Hours SD
Indian Trail, NC
comandercody is offline   Reply With Quote
Old 04-25-2007, 08:33 AM   #363
windracer
joined the 10k club
 
windracer's Avatar
 
Join Date: Jan 2003
Location: St. Pete, FL
Posts: 11,243
Quote:
Originally Posted by comandercody
OK, thanks to those that have posted and tried to help me, but ever since I clicked on Windracer's season passes, I have been busy adding them to my NPL, and watching them.


Quote:
Originally Posted by comandercody
JK, Wind, removing the MAC reference like you suggested worked like a charm. Also, my beacon was wrong, not sure why I changed it to 255.255.255.0, but changing it back worked. Also, the config file does not revert, it stays just like I saved it.
Glad I could help out!

As previously mentioned, the folder "bug" is a known issue now since the 8.3 software update has rolled out. We're all dealing with this in our own way with various workarounds, but none of them are ideal.
__________________
840~Roamio Pro (TA, MoCA) + two A92~Minis, 758~Premiere XL4 (TA, MoCA)
S/old: 746~S4, 658~HDXL, 648~OLED S3, 565~TX20, 230~S2, 140~S2

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
windracer is offline   Reply With Quote
Old 04-25-2007, 08:37 AM   #364
windracer
joined the 10k club
 
windracer's Avatar
 
Join Date: Jan 2003
Location: St. Pete, FL
Posts: 11,243
Audio, no video

So I've run into my first transfer problem file with pyTiVo.

I tried transferring an .avi (Xvid) and I got just a black screen with the audio, no video at all. The audio was fine. I checked and I do have --enable-xvid compiled into ffmpeg. I'm pretty sure I've transfer Xvid before, so maybe it's just this particular file. Any ideas?
__________________
840~Roamio Pro (TA, MoCA) + two A92~Minis, 758~Premiere XL4 (TA, MoCA)
S/old: 746~S4, 658~HDXL, 648~OLED S3, 565~TX20, 230~S2, 140~S2

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
windracer is offline   Reply With Quote
Old 04-25-2007, 09:25 AM   #365
dlfl
Cranky old novice
 
dlfl's Avatar
 
Join Date: Jul 2006
Location: Near Dayton, Ohio
Posts: 5,996
Quote:
Originally Posted by windracer
So I've run into my first transfer problem file with pyTiVo.

I tried transferring an .avi (Xvid) and I got just a black screen with the audio, no video at all. The audio was fine. I checked and I do have --enable-xvid compiled into ffmpeg. I'm pretty sure I've transfer Xvid before, so maybe it's just this particular file. Any ideas?
Yeah, run (at a command prompt):

ffmpeg -i <avi file name>

What does it report about the file, in particular the input video stream ?

If you run pyTivo with debug=true you should get the complete ffmpeg command line used for the transcoding in the debug.txt file. Try running that (modified to have an output file name) and see what warnings you get. The last thing in the command line used by pyTivo is a dash ('-') which causes output to standard output instead of a file. Replace this by your desired output file name (.mpg) or you will have millions of bytes streaming to your command prompt window.

A different version of ffmpeg may work --- I know this may be a hassle for linux.
__________________

"It must be swell to be so perfect and odor-free" -- Del Griffith


VideoReDo users: Try
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

pyTivo users: Try
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
dlfl is online now   Reply With Quote
Old 04-25-2007, 10:13 AM   #366
windracer
joined the 10k club
 
windracer's Avatar
 
Join Date: Jan 2003
Location: St. Pete, FL
Posts: 11,243
I can't kick off a transfer from work to try the debug.txt method (will do that tonight) but here's what ffmpeg says about the file:

Code:
Input #0, avi, from 'Doctor Who 3x04 - Daleks in Manhattan.avi':
  Duration: 00:46:52.5, start: 0.000000, bitrate: 1042 kb/s
  Stream #0.0: Video: mpeg4, yuv420p, 640x368, 25.00 fps(r)
  Stream #0.1: Audio: mp3, 48000 Hz, stereo, 128 kb/s
I ran this on a file that worked, and it looks about the same:
Code:
Input #0, avi, from 'Doctor Who 3x03 - Gridlock.avi':
  Duration: 00:44:59.5, start: 0.000000, bitrate: 1086 kb/s
  Stream #0.0: Video: mpeg4, yuv420p, 640x368, 25.00 fps(r)
  Stream #0.1: Audio: mp3, 48000 Hz, stereo, 112 kb/s

__________________
840~Roamio Pro (TA, MoCA) + two A92~Minis, 758~Premiere XL4 (TA, MoCA)
S/old: 746~S4, 658~HDXL, 648~OLED S3, 565~TX20, 230~S2, 140~S2

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
windracer is offline   Reply With Quote
Old 04-25-2007, 11:55 AM   #367
ocntscha
Registered User
 
Join Date: Oct 2003
Posts: 148
Quote:
Originally Posted by windracer
So I've run into my first transfer problem file with pyTiVo.

I tried transferring an .avi (Xvid) and I got just a black screen with the audio, no video at all. The audio was fine. I checked and I do have --enable-xvid compiled into ffmpeg. I'm pretty sure I've transfer Xvid before, so maybe it's just this particular file. Any ideas?
Stupid question, my apology in advance, but sometimes it pays to rule out the obvious..

Have you played the source file in mplayer or some other video player and verified with your eyes that it does contain usable video?
ocntscha is offline   Reply With Quote
Old 04-25-2007, 12:34 PM   #368
dlfl
Cranky old novice
 
dlfl's Avatar
 
Join Date: Jul 2006
Location: Near Dayton, Ohio
Posts: 5,996
Quote:
Originally Posted by windracer
I can't kick off a transfer from work to try the debug.txt method (will do that tonight) but here's what ffmpeg says about the file:

Code:
Input #0, avi, from 'Doctor Who 3x04 - Daleks in Manhattan.avi':
  Duration: 00:46:52.5, start: 0.000000, bitrate: 1042 kb/s
  Stream #0.0: Video: mpeg4, yuv420p, 640x368, 25.00 fps(r)
  Stream #0.1: Audio: mp3, 48000 Hz, stereo, 128 kb/s
I ran this on a file that worked, and it looks about the same:
Code:
Input #0, avi, from 'Doctor Who 3x03 - Gridlock.avi':
  Duration: 00:44:59.5, start: 0.000000, bitrate: 1086 kb/s
  Stream #0.0: Video: mpeg4, yuv420p, 640x368, 25.00 fps(r)
  Stream #0.1: Audio: mp3, 48000 Hz, stereo, 112 kb/s
Hmmm... No obvious smoking guns there. Let's see if ffmpeg gives any warnings when you try to run it directly with the command line.

ocntscha's question is a good one, obviously.
__________________

"It must be swell to be so perfect and odor-free" -- Del Griffith


VideoReDo users: Try
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

pyTivo users: Try
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
dlfl is online now   Reply With Quote
Old 04-25-2007, 02:00 PM   #369
windracer
joined the 10k club
 
windracer's Avatar
 
Join Date: Jan 2003
Location: St. Pete, FL
Posts: 11,243
Sure, it plays fine in Windows Media Player on my PC. That was the first thing I checked after downloading it.

I'll try the command-line manual conversion attempt tonight. Thanks guys.
__________________
840~Roamio Pro (TA, MoCA) + two A92~Minis, 758~Premiere XL4 (TA, MoCA)
S/old: 746~S4, 658~HDXL, 648~OLED S3, 565~TX20, 230~S2, 140~S2

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
windracer is offline   Reply With Quote
Old 04-25-2007, 08:58 PM   #370
windracer
joined the 10k club
 
windracer's Avatar
 
Join Date: Jan 2003
Location: St. Pete, FL
Posts: 11,243
Ok, strange.

I turned on debug and then kicked off the transfer from my TiVo and then stopped it. The debug.txt showed:

Code:
video_info:  /home/nas/Videos/Doctor Who 3x04 - Daleks in Manhattan.avi  cache hit!
tivo_compatible:  /home/nas/Videos/Doctor Who 3x04 - Daleks in Manhattan.avi  is not mpeg2video it is  mpeg4
output_video:  /home/nas/Videos/Doctor Who 3x04 - Daleks in Manhattan.avi  is not tivo compatible
video_info:  /home/nas/Videos/Doctor Who 3x04 - Daleks in Manhattan.avi  cache hit!
tsn: 230000080xxxxxx
aspect169: True
select_aspect: File= /home/nas/Videos/Doctor Who 3x04 - Daleks in Manhattan.avi  Type= mpeg4  width= 640  height= 368  fps= 25.00  millisecs= 2812500  ratio= 173  rheight= 23  rwidth= 40
select_aspect: 16:9 aspect allowed, file is narrower than 16:9 padding left and right
 -aspect 16:9 -s 1408x720 -padleft 16 -padright 16
transcode: ffmpeg command is  /usr/local/bin/ffmpeg-i/home/nas/Videos/Doctor Who 3x04 - Daleks in Manhattan.avi-vcodecmpeg2video-r29.97-b4096K-aspect16:9-s1408x720-padleft16-padright16-commentpyTivo.py-ac2-ab192K-ar44100-fvob-
Ok, so I took the command-line, put back all the missing spaces (not sure why they were missing) and ran it. Saw normal output:

Code:
FFmpeg version SVN-r7788, Copyright (c) 2000-2006 Fabrice Bellard, et al.
  configuration:  --enable-memalign-hack --enable-gpl --enable-pp --enable-xvid --extra-cflags=-I/usr/include --extra-ldflags=-L/usr/lib --enable-mp3lame --enable-x264 --enable-pthreads --enable-faad --enable-faac --enable-a52 --enable-libogg --enable-vorbis --enable-libgsm
  libavutil version: 49.2.0
  libavcodec version: 51.29.0
  libavformat version: 51.8.0
  built on Jan 31 2007 19:16:11, gcc: 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)
Input #0, avi, from '/home/nas/Videos/Doctor Who 3x04 - Daleks in Manhattan.avi':
  Duration: 00:46:52.5, start: 0.000000, bitrate: 1042 kb/s
  Stream #0.0: Video: mpeg4, yuv420p, 640x368, 25.00 fps(r)
  Stream #0.1: Audio: mp3, 48000 Hz, stereo, 128 kb/s
Output #0, vob, to 'test.mpg':
  Stream #0.0: Video: mpeg2video, yuv420p, 1440x720, q=2-31, 4096 kb/s, 29.97 fps(c)
  Stream #0.1: Audio: mp2, 44100 Hz, stereo, 192 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Compiler did not align stack variables. Libavcodec has been miscompiled
and may be very slow or crash. This is not a bug in libavcodec,
but in the compiler. Do not report crashes to FFmpeg developers.
Press [q] to stop encoding
frame=  155 q=4.1 Lsize=    2914kB time=5.1 bitrate=4645.6kbits/s
Stopped the transcode and played the test.mpg file in Windows Media Player and it was fine! Video and audio ... and yet the file transferred to the TiVo has no video.
__________________
840~Roamio Pro (TA, MoCA) + two A92~Minis, 758~Premiere XL4 (TA, MoCA)
S/old: 746~S4, 658~HDXL, 648~OLED S3, 565~TX20, 230~S2, 140~S2

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
windracer is offline   Reply With Quote
Old 04-25-2007, 10:26 PM   #371
dlfl
Cranky old novice
 
dlfl's Avatar
 
Join Date: Jul 2006
Location: Near Dayton, Ohio
Posts: 5,996
windracer
I see you are encoding to 1440x720. That must be for your S3 right? (This size would not be compatible with other TiVo's and would be overkill also.) As I understand it the Tivo go-back capability is not officially available for S3's. Thus in a way your glass is half full -- i.e., at least some of your go-backs are good. It is puzzling that two files with apparently identical characteristics behave differently.

Do you really need the 1440x720 size to get a good picture? Maybe a smaller size would make the difference. Is it known what sizes are native to the S3?

If I have a problem with an mpeg2, I look at it with mediaInfo, gspot and dgindex, all free programs linked through videohelp.com/tools. mediaInfo is very easy to install and use -- the other two are not quite as easy. Media info and gspot can also be used to look at your AVI files.
__________________

"It must be swell to be so perfect and odor-free" -- Del Griffith


VideoReDo users: Try
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

pyTivo users: Try
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
dlfl is online now   Reply With Quote
Old 04-25-2007, 11:12 PM   #372
windracer
joined the 10k club
 
windracer's Avatar
 
Join Date: Jan 2003
Location: St. Pete, FL
Posts: 11,243
Actually, I don't think I ever changed those settings in pyTivo.conf and haven't had a problem before. Obviously I'm not sending these to my S3, just to an old S2 (230).

I'll try playing with those settings tomorrow and see if it helps.
__________________
840~Roamio Pro (TA, MoCA) + two A92~Minis, 758~Premiere XL4 (TA, MoCA)
S/old: 746~S4, 658~HDXL, 648~OLED S3, 565~TX20, 230~S2, 140~S2

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
windracer is offline   Reply With Quote
Old 04-26-2007, 08:49 AM   #373
dlfl
Cranky old novice
 
dlfl's Avatar
 
Join Date: Jul 2006
Location: Near Dayton, Ohio
Posts: 5,996
Quote:
Originally Posted by windracer
Actually, I don't think I ever changed those settings in pyTivo.conf and haven't had a problem before. Obviously I'm not sending these to my S3, just to an old S2 (230).

I'll try playing with those settings tomorrow and see if it helps.
First try removing the width and height lines completely. This will default those values to 544 and 480 which seem to be good for most or all TiVo's. I'm impressed your 230 will handle any 1440x720 files. If still a problem enter width=480, then try the other widths listed as compatible in the distributed .conf file. Height should be left at 480 I believe. I recently added to the Wiki section on configuration to try to clarify the width and height settings.
__________________

"It must be swell to be so perfect and odor-free" -- Del Griffith


VideoReDo users: Try
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

pyTivo users: Try
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
dlfl is online now   Reply With Quote
Old 04-26-2007, 04:53 PM   #374
delvxe
Registered User
 
Join Date: May 2006
Posts: 6
Thanks for the hard work, works on Vista where Tivo Desktop does not

Thank you to everyone who has put together this excellent app. I was skeptical it would work on vista since Tivo Desktop does not and I could not get PipKin's to work either, but pyTivo works perfectly for transferring over my network.

A couple of questions.

I have a Humax box with a 595 TSN. It looks like I am having the same transcode problems a few other have had. Transcoded images seem to be overlayed on itself and split into vertal bars and completely whacked (I have a 4:3 television). The videos I have previously transcoded using Videora come across fine. I am going to try altering the config file to 544x480 as inthewoods mentioned in post 173 to see if that works.

One question, the transferr rate seems to be painfully slow (like 25%-50% of real time). When Tivo Desktop worked before I upgraded from XP, transfer rates were slightly better than 100%.

Last night I had a copy of a 1hr television show in divx format. When pytivo couldn't transcode it correctly for my tivo I went back to Videora as I have done in the past. When I then tried to transfet it, it was achingly slow. Any thoughts?

Thanks,
Terry
delvxe is offline   Reply With Quote
Old 04-26-2007, 05:01 PM   #375
etsolow
Don't Try
 
etsolow's Avatar
 
Join Date: Feb 2001
Location: Wisconsin
Posts: 1,435
Quote:
Originally Posted by delvxe
I have a Humax box with a 595 TSN. It looks like I am having the same transcode problems a few other have had. Transcoded images seem to be overlayed on itself and split into vertal bars and completely whacked (I have a 4:3 television).
I had that problem (on a 16:9 TV and a 4:3 TV). Setting aspect169=false fixed it for me.

E
etsolow is offline   Reply With Quote
Old 04-26-2007, 05:09 PM   #376
windracer
joined the 10k club
 
windracer's Avatar
 
Join Date: Jan 2003
Location: St. Pete, FL
Posts: 11,243
Quote:
Originally Posted by dlfl
First try removing the width and height lines completely. This will default those values to 544 and 480 which seem to be good for most or all TiVo's.
That did it! The file is transferring with video now! Thanks!

I did a little more digging to figure out why this happened. It turns out on 4/19 I "upgraded" to the 187 build. Apparently the pyTivo.conf file has the default height/width lines set to those values and uncommented.
__________________
840~Roamio Pro (TA, MoCA) + two A92~Minis, 758~Premiere XL4 (TA, MoCA)
S/old: 746~S4, 658~HDXL, 648~OLED S3, 565~TX20, 230~S2, 140~S2

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
windracer is offline   Reply With Quote
Old 04-26-2007, 05:56 PM   #377
TreborPugly
Unreal!
 
TreborPugly's Avatar
 
Join Date: May 2002
Location: Eastern TN
Posts: 4,542
Quote:
Originally Posted by delvxe
One question, the transferr rate seems to be painfully slow (like 25%-50% of real time). When Tivo Desktop worked before I upgraded from XP, transfer rates were slightly better than 100%.

Thanks,
Terry
The default quality setting is fairly high, so you are maybe getting bigger files than videora was making. (What bit rate did you set up videora to do? You can edit the transcode.ty file to give you that bit rate) Look back in the thread where I asked the same question for details.
__________________
Next?
TreborPugly is offline   Reply With Quote
Old 04-26-2007, 06:55 PM   #378
dlfl
Cranky old novice
 
dlfl's Avatar
 
Join Date: Jul 2006
Location: Near Dayton, Ohio
Posts: 5,996
Quote:
Originally Posted by TreborPugly
The default quality setting is fairly high, so you are maybe getting bigger files than videora was making. (What bit rate did you set up videora to do? You can edit the transcode.ty file to give you that bit rate) Look back in the thread where I asked the same question for details.
You don't need to edit transcode.py to change the bit rate --- it is a configurable parameter in the pyTivo.conf file, in the [Server] section, e.g.:
video_br=4096k (or 2048k, etc.)
If this is not in the file, it defaults to 4096kbps. Unless you have a very slow PC or network, you should be able to transfer faster than real time with this rate.

Also, check the width and height settings --- see this post.
__________________

"It must be swell to be so perfect and odor-free" -- Del Griffith


VideoReDo users: Try
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

pyTivo users: Try
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
dlfl is online now   Reply With Quote
Old 04-26-2007, 07:30 PM   #379
TreborPugly
Unreal!
 
TreborPugly's Avatar
 
Join Date: May 2002
Location: Eastern TN
Posts: 4,542
Quote:
Originally Posted by dlfl
You don't need to edit transcode.py to change the bit rate --- it is a configurable parameter in the pyTivo.conf file, in the [Server] section, e.g.:
video_br=4096k (or 2048k, etc.)
If this is not in the file, it defaults to 4096kbps. Unless you have a very slow PC or network, you should be able to transfer faster than real time with this rate.

Also, check the width and height settings --- see this post.

Sorry, right, this was added as a config option after my post about this. (I haven't updated, since everything's working fine for me right now - if it ain't broke... )
__________________
Next?
TreborPugly is offline   Reply With Quote
Old 04-28-2007, 11:59 AM   #380
dlfl
Cranky old novice
 
dlfl's Avatar
 
Join Date: Jul 2006
Location: Near Dayton, Ohio
Posts: 5,996
That d****d 8.3 TiVo software upgrade!

Quote:
Originally Posted by armooo
The only cache that pyTivo uses is for the results of running ffmpeg to get video info, this cache is stored in ram so restarting pyTivo will clear it. But it uses os calls to list the files in each directory on each load. A few other people have seen this and it looks like the tivo is sending the wrong path in its request. I think this may be a tivo bug like the now playing list replacement. There must be reasons why the real tivo software has no support for folders.
Finally got my "Spring" update last night and sure enough -- subfolders are broken in pyTiVo.

If you check out the timeline in the wiki you see that Armooo has been attacking this problem and in fact has a version of video.py checked in (Changeset 192) that does seem to handle one level of subfolders -- but note his other comments about it, and it hasn't been included in a "release" download.

I downloaded this version of video.py and put it in my pyTiVo 187 installation. It did handle one level of subfolders (I don't have any 2-level subs).

Thanks Armooo!
__________________

"It must be swell to be so perfect and odor-free" -- Del Griffith


VideoReDo users: Try
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

pyTivo users: Try
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
dlfl is online now   Reply With Quote
Old 04-28-2007, 01:53 PM   #381
Deadpan Science
Registered User
 
Join Date: Jan 2007
Posts: 22
I'm having trouble getting the sound to sync up with the video on some of my videos. Is there an option in ffmpeg that would help this? Also, how do I make pytivo use this option every time?
Deadpan Science is offline   Reply With Quote
Old 04-28-2007, 05:40 PM   #382
delvxe
Registered User
 
Join Date: May 2006
Posts: 6
videora settings

Quote:
Originally Posted by TreborPugly
The default quality setting is fairly high, so you are maybe getting bigger files than videora was making. (What bit rate did you set up videora to do? You can edit the transcode.ty file to give you that bit rate)s.
Videora was set to 2024k using a profile I have used many times before. The file size seemed very high - about 650 megs for 41 minutes of television. Can anyone confirm that this is unusually large? I would estimate that it took about an hour to transfer.

I resolved the interlaced video problem. I vannot tell you which one fixed it, but I deleted the size settings defaulting to 544 x 480, entered my TSN, changed the 169 to false, and changed the bit rate to 2024k. Not sure which one of these fixed the problem, but it works fine now. 3 have to do some tests tonight to see if my transfer rate is better now. I will report back.

Thanks again for the help and good work.

Terry
delvxe is offline   Reply With Quote
Old 04-28-2007, 06:21 PM   #383
johnkfisher
Registered User
 
Join Date: May 2006
Posts: 18
192 crashes my tivo!

Stupid Tivo. 8.3 ruined everything. Why they can't just make Tivo Desktop for Mac support folders.... seriously - it's like they want to ruin the goodwill they have for their product.

Anyway, I tried the 192 video.py file on top of a 191 install, and, lo and behold, SELECTING A PROGRAM INSTANTLY CRASHES MY TIVO. Completely reproducible, puts me right back to "powering up..."

(sigh)

( as a sidenote, even if it worked, it would be infuriating for the single level and paging issues - I'm sorting literally hundreds of prgrams this way - but it is awesome that it's being worked on so quickly, and I blame tivo for this, not armooo, whom I hope gets this straightened out soon.)
johnkfisher is offline   Reply With Quote
Old 04-29-2007, 04:16 AM   #384
Tobashadow
Registered User
 
Tobashadow's Avatar
 
Join Date: Nov 2006
Posts: 1,780
Files from my internal hardrive are moved and used perfect but i tryed to use a folder on my network share since i was running out of internal hardrive room on my server machine and it threw a unknown error up on the tivo's screen when the folder in the NPL is opened.

No firewalls in the way and i can access the files from the server machine from it's desktop with no problem.
Tobashadow is online now   Reply With Quote
Old 04-29-2007, 08:43 AM   #385
TreborPugly
Unreal!
 
TreborPugly's Avatar
 
Join Date: May 2002
Location: Eastern TN
Posts: 4,542
I found that the service had to be using an account that could access the network drive, or that the network share had to allow guest access.
__________________
Next?
TreborPugly is offline   Reply With Quote
Old 04-29-2007, 09:33 AM   #386
ocntscha
Registered User
 
Join Date: Oct 2003
Posts: 148
blows up on Solaris

I've been banging around on Solaris 10 x86 this weekend, trying to learn more about it. Figured something fun to try would be running pyTivo on it.

Unfortunately I'm stuck. It starts fine, and I can see it in Tivo's Now Playing List. But then attempting to "go into it" on the Tivo immediately results in an uknown error on the Tivo side and the following on the Solaris side.

Help.

Thanks,
ocntscha


Code:
bash-3.00# python pyTivo.py 
/usr/local/pyTivo/Cheetah/Compiler.py:1508: UserWarning: 
You don't have the C version of NameMapper installed! I'm disabling Cheetah's useStackFrames option as it is painfully slow with the Python version of NameMapper. You should get a copy of Cheetah with the compiled C version of NameMapper.
  "\nYou don't have the C version of NameMapper installed! "
192.168.1.8 - - [29/Apr/2007 09:31:38] "GET /TiVoConnect?Command=QueryContainer&Container=%2F HTTP/1.0" 200 -
192.168.1.8 - - [29/Apr/2007 09:31:38] "GET /TiVoConnect?Command=QueryContainer&Container=%2F HTTP/1.0" 200 -
192.168.1.8 - - [29/Apr/2007 09:32:00] "GET /TiVoConnect?Command=QueryContainer&Container=MyMovies&SortOrder=!CaptureDate&ItemCount=8&Filter=x-tivo-container%2Ftivo-videos,x-tivo-container%2Ffolder,video%2Fx-tivo-mpeg,video%2F* HTTP/1.1" 200 -
----------------------------------------
Exception happened during processing of request from ('192.168.1.8', 1796)
Traceback (most recent call last):
  File "/usr/local/lib/python2.5/SocketServer.py", line 463, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/local/lib/python2.5/SocketServer.py", line 254, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/local/lib/python2.5/SocketServer.py", line 521, in __init__
    self.handle()
  File "/usr/local/lib/python2.5/BaseHTTPServer.py", line 316, in handle
    self.handle_one_request()
  File "/usr/local/lib/python2.5/BaseHTTPServer.py", line 310, in handle_one_request
    method()
  File "/usr/local/pyTivo/httpserver.py", line 64, in do_GET
    method(self, query)
  File "/usr/local/pyTivo/plugins/video/video.py", line 81, in QueryContainer
    t.files, t.total, t.start = self.get_files(handler, query, VideoFileFilter)
  File "/usr/local/pyTivo/plugin.py", line 52, in get_files
    files = filter(filterFunction, files)
  File "/usr/local/pyTivo/plugins/video/video.py", line 75, in VideoFileFilter
    return transcode.suported_format(full_path)
  File "/usr/local/pyTivo/plugins/video/transcode.py", line 293, in suported_format
    if video_info(inFile)[0]:
  File "/usr/local/pyTivo/plugins/video/transcode.py", line 287, in video_info
    millisecs = ((int(d.group(1))*3600) + (int(d.group(2))*60) + int(d.group(3)))*1000 + (int(d.group(4))*100)
AttributeError: 'NoneType' object has no attribute 'group'
----------------------------------------

ocntscha is offline   Reply With Quote
Old 04-29-2007, 12:21 PM   #387
KRKeegan
Im lost and confused
 
KRKeegan's Avatar
 
Join Date: Jul 2004
Location: Los Angeles, CA
Posts: 215
Hello all, sorry it has been so long since i have been here. It will probably be another few days before I can contribute much. Sorry to the person who keeps bugging me for .srt support.

Well I was blessed with the 8.3 update this morning. I have been running pyTivo 182 or something for a long time. But, this morning forced me to update. I updated pyTivo to the most current and patched in the 192 beta from armooo. It works, but only for one level deep folders. This is a good start I guess. I really really hate TiVo for this crap, this is a bushleague mistake on their part.

I also had a problem with the reduce function in the nearest() subroutine of config.py. I don't know if this is a linux thing, but I can't have an "if" function nested in the reduce function. I found that pulling out the "if" function and making it another subroutine worked fine.

I am glad to see pyTivo is still going strong as ever. Give me till about May 4th or so and I will start contributing again. Hopefully we can clean up this 8.3 mess pretty quickly.

Kevin
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

A much better place to receive pyTivo help and updates.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

A python real time video transcoding server for TiVo.
KRKeegan is offline   Reply With Quote
Old 04-29-2007, 09:59 PM   #388
dave843
Registered User
 
Join Date: Jan 2005
Location: Fairfax, VA
Posts: 35
Quote:
Originally Posted by KRKeegan
I also had a problem with the reduce function in the nearest() subroutine of config.py. I don't know if this is a linux thing, but I can't have an "if" function nested in the reduce function. I found that pulling out the "if" function and making it another subroutine worked fine.

Kevin
I am having this problem on Linux. Is there a release with this fix in it?
dave843 is offline   Reply With Quote
Old 04-29-2007, 10:28 PM   #389
dlfl
Cranky old novice
 
dlfl's Avatar
 
Join Date: Jul 2006
Location: Near Dayton, Ohio
Posts: 5,996
Quote:
Originally Posted by Deadpan Science
I'm having trouble getting the sound to sync up with the video on some of my videos. Is there an option in ffmpeg that would help this? Also, how do I make pytivo use this option every time?
My first suspicion would be the particular videos involved (does this happen for all videos, including some that transcoded OK before?).

However, if you're running Windows, you could try a different version of ffmpeg. You can download a large selection from *** here ***. I've used ver. 8731 some with no problems. The distributed ver. is 8047.

Remember the name of ffmpeg (ffmpeg_mp2.exe or ffmpeg.exe) must match what is in the pyTivo.Conf ffmpeg path parameter. You can rename ffmpeg or change the .conf file, whatever it takes.

Have you changed your bitrate, width or height recently?

Is the audio off by a constant offset throughout the video? There is an audio sync control command line option for ffmpeg "-async" which isn't used in pyTivo but I have seen it used typically in straight file-to-file cases. There is a possibility it doesn't work for the streaming output used by pyTivo. Anyway it is frequently set to "-async 1", which causes ffmpeg to adjust audio sync once at the start of the encoding (i.e., it would help you only if your offset is constant in a video).

A simple edit of one line in transcode.py is all that would be needed to add this to the ffmpeg command line, if you want to try something like that.
__________________

"It must be swell to be so perfect and odor-free" -- Del Griffith


VideoReDo users: Try
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

pyTivo users: Try
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
dlfl is online now   Reply With Quote
Old 04-30-2007, 12:43 AM   #390
KRKeegan
Im lost and confused
 
KRKeegan's Avatar
 
Join Date: Jul 2004
Location: Los Angeles, CA
Posts: 215
Quote:
Originally Posted by dave843
I am having this problem on Linux. Is there a release with this fix in it?
Hrm, I don't want to post a change without checking to see if there is a mre efficient way to do this. But here is the solution I scraped together at first glance.

REPLACE:
Code:
def nearest(x, list): 
     return reduce(lambda a, b: a if abs(x-a) < abs(x-b) or (abs(x-a) == abs(x-b)and a>b) else b, list)
WITH:
Code:
def nearest(x, list):
    return reduce(lambda a, b: closest(x,a,b), list)

def closest(x,a, b):
    if abs(x-a) < abs(x-b) or (abs(x-a) == abs(x-b)and a>b):
        return a
    else:
        return b
That should fix you up. Give me a day or two to make sure I am not missing anything and I will commit it to the SVN.

Armooo and Others:
I know reduce() is going to be dropped from the next version of python. I don't know if that should be something we should take into account.

Kevin
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

A much better place to receive pyTivo help and updates.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

A python real time video transcoding server for TiVo.
KRKeegan is offline   Reply With Quote
Reply
Forum Jump




Thread Tools


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

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

Advertisements

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

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