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 08-05-2007, 07:37 PM   #601
cr33p
Registered User
 
Join Date: Jan 2005
Location: Ann Arbor MI
Posts: 644
Quote:
Originally Posted by geekasaurus_rex
Up and running now... a few reboots, and an update (for it 'twas a new TiVo!) and all is well.

Has anyone investigated / solved the issue of changing the names in the "Now Playing" list? I have done several searches to no avail...

I ask only because my wife does not think the video of our wee one (MOV0015) makes a good listing in "Now Playing."

Thanks again.
You should be able to just name the file whatever you would like it to say. I name all my movies with no problems at all
cr33p is offline   Reply With Quote
Old 08-05-2007, 08:43 PM   #602
johnkfisher
Registered User
 
Join Date: May 2006
Posts: 18
Any workaround yet for "GUID in beacons hardcoded. So only 1 server per network" ?

I need to have two different computers running pytivo, but, alas, it won't work, presumably because of the issue in the title.

any workarounds yet?
johnkfisher is offline   Reply With Quote
Old 08-05-2007, 09:30 PM   #603
sc123
Registered User
 
Join Date: Jul 2007
Posts: 10
Using pyTivo 201 from an openSUSE 10.2 box with the latest version of python installed, I can browse root folders on my Tivo 2 but subfolders do not display any content when they are selected. Tivo says "This group is empty". If I move the videos from within the subfolders to the root folders they appear properly, however this defeats the purpose of subfolders.

Also, the video doesn't exactly sync with the audio - the audio is a little behind. For example, you can see people's mouths move with no audio for a split second. How can I correct this?
sc123 is offline   Reply With Quote
Old 08-06-2007, 01:12 PM   #604
dlfl
Cranky old novice
 
dlfl's Avatar
 
Join Date: Jul 2006
Location: Near Dayton, Ohio
Posts: 5,686
Audio sync

Quote:
Originally Posted by sc123
........
Also, the video doesn't exactly sync with the audio - the audio is a little behind. For example, you can see people's mouths move with no audio for a split second. How can I correct this?
I've never had this problem with pyTivo (Windows XP system). However I have an idea that could easily be tried. This only applies if the sync delay is constant througout your videos (??).

There is an option for FFmpeg (used by pyTivo for transcoding) described as follows in the ffmpeg documentation:

Quote:
`-async samples_per_second'
Audio sync method. "Stretches/squeezes" the audio stream to match the timestamps, the parameter is the maximum samples per second by which the audio is changed. -async 1 is a special case where only the start of the audio stream is corrected without any later correction.
In the pure file encoding (as opposed to streaming) cases I have seen, this option is usually there with value = 1 ("-async 1"). It does not seem to be used in the pyTivo invocation. I've always wondered what difference it might make.

This option would have to be added in by editing transcode.py in the command line sent to ffmpeg, which now looks like:

Quote:
cmd = [FFMPEG, '-i', inFile, '-vcodec', 'mpeg2video', '-r', '29.97', '-b', VIDEO_BR] + select_aspect(inFile, tsn) + ['-comment', 'pyTivo.py', '-ac', '2', '-ab', AUDIO_BR,'-ar', '44100', '-f', 'vob', '-' ]
for example:

Quote:
cmd = [FFMPEG, '-i', inFile, '-vcodec', 'mpeg2video', '-r', '29.97', '-b', VIDEO_BR] + select_aspect(inFile, tsn) + ['-comment', 'pyTivo.py', '-async', '1', '-ac', '2', '-ab', AUDIO_BR,'-ar', '44100', '-f', 'vob', '-' ]
I don't believe the exact placement among the other options is critical.
Give this a try!
__________________

"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 offline   Reply With Quote
Old 08-06-2007, 01:29 PM   #605
TracerBullet
Registered User
 
Join Date: Dec 2004
Posts: 95
So is there no way to get this to work on a Series 3? I use this functionality quite a bit and don't want to keep an extra TiVo sub just for this. It seems kind of crazy.
TracerBullet is offline   Reply With Quote
Old 08-06-2007, 02:28 PM   #606
windracer
joined the 10k club
 
windracer's Avatar
 
Join Date: Jan 2003
Location: St. Pete, FL
Posts: 11,197
Nope, it won't work on the S3/THD boxes until TiVo enables TTG/MRV on those platforms (rumored to be by the end of the year).
__________________
840~Roamio Pro (TA, MoCA) + two A92~Minis
S/old: 746~Premiere, 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 online now   Reply With Quote
Old 08-06-2007, 06:21 PM   #607
BigT4187
WDW Nut
 
BigT4187's Avatar
 
Join Date: Jul 2006
Location: GSP Exit 17
Posts: 145
Hello all.

Here is the problem I am having. Any widescreen video I transcode with pyTivo extends past the width of my TV. I have a 32" standard def TV. I noticed this the other day when watching a Revision3 video. On the bottom right of the screen there is an overlay of "Revision3". All I see is "Revisio" on my screen. Attached is a copy of my config file. Is there anything else that someone needs to help me troubleshoot this issue?

I have tried setting the width to 544 and that doesn't seem to help.

I am running pyTivo on WindowsXP without any problems. It is NOT installed as a service.


Code:
[Server]
port=9032


#Full path to ffmpeg including filename
#For windows: ffmpeg=c:\Program Files\pyTivo\plugins\video\ffmpeg_mp2.exe
#For linux:   ffmpeg=/usr/bin/ffmpeg
ffmpeg=C:\pytivo-subfolders\plugins\video\ffmpeg_mp2.exe

#This will make a large debug.txt file in you base directory.  It only debugs
#transcode.py right now.
debug=true

# Audio bit-rate, default 192K
#audio_br=192K

# Video bit-rate, default 4096K
#video_br=3Mi

#Beacon broadcast address(es)
#Typically use 255.255.255.255 but on some multihomed machines you may
#need to specify the subnet broadcast address(es) of your Tivo boxes
#beacon=255.255.255.255

#Output Pixel Width: if you have an HDTV you might want to try 720 or 704
#Valid: 720, 704, 544, 480, 352
#width=704

##Per tivo options
# section named _tivo_TSN with the tsn in all caps
#[_tivo_2400000DEADBEEF]

#If you want to use 16:9 or 4:3 on this tivo
#aspect169=true

[IPTV]
#Type can be either 'video' or 'music'
type=video

#Path is the full path to your files (No trailing slash needed)
#For windows: path=c:\videos
#For linux:   path=/media
path=P:\IPTV

[Movies]
#Type can be either 'video' or 'music'
type=video

#Path is the full path to your files (No trailing slash needed)
#For windows: path=c:\videos
#For linux:   path=/media
path=P:\Movies

[Television]
#Type can be either 'video' or 'music'
type=video

#Path is the full path to your files (No trailing slash needed)
#For windows: path=c:\videos
#For linux:   path=/media
path=P:\TV

#Path is the full path to your files (No trailing slash needed)
#For windows: path=c:\videos
#For linux:   path=/media


##You can have more than one share
#[MyTelevision]
#type=video
#path=d:\television

__________________
Tony

TiVo Premiere w/WD20EARS 2TB Internal (317 hours HD recording using
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
!)


Are you a Walt Disney World fan?
Check out the award winning
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
BigT4187 is offline   Reply With Quote
Old 08-06-2007, 06:58 PM   #608
dlfl
Cranky old novice
 
dlfl's Avatar
 
Join Date: Jul 2006
Location: Near Dayton, Ohio
Posts: 5,686
Quote:
Originally Posted by BigT4187
Hello all.

Here is the problem I am having. Any widescreen video I transcode with pyTivo extends past the width of my TV. I have a 32" standard def TV. I noticed this the other day when watching a Revision3 video. On the bottom right of the screen there is an overlay of "Revision3". All I see is "Revisio" on my screen. Attached is a copy of my config file. Is there anything else that someone needs to help me troubleshoot this issue?

I have tried setting the width to 544 and that doesn't seem to help.

I am running pyTivo on WindowsXP without any problems. It is NOT installed as a service. ...........
Look back to post #548 in this thread and you can see how the ffmpeg command in transcode.py can be modified to pad (i.e., shrink) the image. You just have to be careful with the logic to only apply the padding for cases where you need it.
__________________

"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 offline   Reply With Quote
Old 08-06-2007, 07:30 PM   #609
BigT4187
WDW Nut
 
BigT4187's Avatar
 
Join Date: Jul 2006
Location: GSP Exit 17
Posts: 145
Quote:
Originally Posted by dlfl
Look back to post #548 in this thread and you can see how the ffmpeg command in transcode.py can be modified to pad (i.e., shrink) the image. You just have to be careful with the logic to only apply the padding for cases where you need it.
Well, I tried the transcode.py file that Iluvatar posted in post #548, but that doesn't appear to change anything with a transcoded video. The transcoded video is still too wide for my TV. I don't know anything about programming or ffmpeg so can someone explain what I need to change? I don't have a problem with trial and error but I don't want to hose it completely.

Thanks.
__________________
Tony

TiVo Premiere w/WD20EARS 2TB Internal (317 hours HD recording using
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
!)


Are you a Walt Disney World fan?
Check out the award winning
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
BigT4187 is offline   Reply With Quote
Old 08-07-2007, 09:25 AM   #610
buffalova
Registered User
 
Join Date: Jul 2006
Posts: 30
Quote:
Hello all.

Here is the problem I am having. Any widescreen video I transcode with pyTivo extends past the width of my TV. I have a 32" standard def TV. I noticed this the other day when watching a Revision3 video. On the bottom right of the screen there is an overlay of "Revision3". All I see is "Revisio" on my screen. Attached is a copy of my config file. Is there anything else that someone needs to help me troubleshoot this issue?

I have tried setting the width to 544 and that doesn't seem to help.

I am running pyTivo on WindowsXP without any problems. It is NOT installed as a service.
Quote:
I am running pyTivo on WindowsXP without any problems. It is NOT installed as a service.



Code:

[Server]
port=9032


#Full path to ffmpeg including filename
#For windows: ffmpeg=c:\Program Files\pyTivo\plugins\video\ffmpeg_mp2.exe
#For linux: ffmpeg=/usr/bin/ffmpeg
ffmpeg=C:\pytivo-subfolders\plugins\video\ffmpeg_mp2.exe

#This will make a large debug.txt file in you base directory. It only debugs
#transcode.py right now.
debug=true

# Audio bit-rate, default 192K
#audio_br=192K

# Video bit-rate, default 4096K
#video_br=3Mi

#Beacon broadcast address(es)
#Typically use 255.255.255.255 but on some multihomed machines you may
#need to specify the subnet broadcast address(es) of your Tivo boxes
#beacon=255.255.255.255

#Output Pixel Width: if you have an HDTV you might want to try 720 or 704
#Valid: 720, 704, 544, 480, 352
#width=704

##Per tivo options
# section named _tivo_TSN with the tsn in all caps
#[_tivo_2400000DEADBEEF]

#If you want to use 16:9 or 4:3 on this tivo
#aspect169=true

[IPTV]
#Type can be either 'video' or 'music'
type=video

#Path is the full path to your files (No trailing slash needed)
#For windows: path=c:\videos
#For linux: path=/media
path=P:\IPTV

[Movies]
#Type can be either 'video' or 'music'
type=video

#Path is the full path to your files (No trailing slash needed)
#For windows: path=c:\videos
#For linux: path=/media
path=P:\Movies

[Television]
#Type can be either 'video' or 'music'
type=video

#Path is the full path to your files (No trailing slash needed)
#For windows: path=c:\videos
#For linux: path=/media
path=P:\TV

#Path is the full path to your files (No trailing slash needed)
#For windows: path=c:\videos
#For linux: path=/media


##You can have more than one share
#[MyTelevision]
#type=video
#path=d:\television
If this is your pytivo.conf file I don't see where you have width defined. You should add width=544 Where did you add this statement?

I also like to add this line specifying the exact tivo with serial number. It straightened out several formatting problems for me.

##Per tivo options
# section named _tivo_TSN with the tsn in all caps
#[_tivo_2400000DEADBEEF]

Hope this helps.
buffalova is offline   Reply With Quote
Old 08-07-2007, 09:45 AM   #611
BigT4187
WDW Nut
 
BigT4187's Avatar
 
Join Date: Jul 2006
Location: GSP Exit 17
Posts: 145
Quote:
Originally Posted by buffalova
If this is your pytivo.conf file I don't see where you have width defined. You should add width=544 Where did you add this statement?

I also like to add this line specifying the exact tivo with serial number. It straightened out several formatting problems for me.

##Per tivo options
# section named _tivo_TSN with the tsn in all caps
#[_tivo_2400000DEADBEEF]

Hope this helps.
I did add the width=544 line but it didn't change anything so I removed it. I will try that again this evening as well as adding my TSN number and post my results.
__________________
Tony

TiVo Premiere w/WD20EARS 2TB Internal (317 hours HD recording using
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
!)


Are you a Walt Disney World fan?
Check out the award winning
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
BigT4187 is offline   Reply With Quote
Old 08-07-2007, 03:41 PM   #612
sc123
Registered User
 
Join Date: Jul 2007
Posts: 10
Quote:
Originally Posted by dlfl
I've never had this problem with pyTivo (Windows XP system).
In the pure file encoding (as opposed to streaming) cases I have seen, this option is usually there with value = 1 ("-async 1"). It does not seem to be used in the pyTivo invocation. I've always wondered what difference it might make.

This option would have to be added in by editing transcode.py in the command line sent to ffmpeg, which now looks like:


for example:


I don't believe the exact placement among the other options is critical.
Give this a try!

This resulted in crackly audio - with lots of popping and drops. Any other suggestions? How about the subfolder issue I mentioned?



EDIT: I think it was that particular video that had the cracks and pops, but the sync was still off. So that problem is still present...

On another note, I've tried pyTivo on my Windows Vista Ultimate box and it has the same issue with the subfolders not having videos in them on Tivo.


Thanks!

Last edited by sc123 : 08-08-2007 at 01:36 AM.
sc123 is offline   Reply With Quote
Old 08-08-2007, 03:53 PM   #613
BigT4187
WDW Nut
 
BigT4187's Avatar
 
Join Date: Jul 2006
Location: GSP Exit 17
Posts: 145
Well ... no change in my problem.

I set the width to 544 in the conf file and put my TSN number in as well. Can anyone offer any assistance as to what to change in the transcode.py file to help me out?
__________________
Tony

TiVo Premiere w/WD20EARS 2TB Internal (317 hours HD recording using
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
!)


Are you a Walt Disney World fan?
Check out the award winning
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
BigT4187 is offline   Reply With Quote
Old 08-08-2007, 07:36 PM   #614
Iluvatar
Registered User
 
Iluvatar's Avatar
 
Join Date: Jul 2006
Posts: 377
try the attached transcode.py file (this version is known to fix my issues, which I thought were the same as yours).

And just to make sure that any old files are not being used:
Reboot your PC
Reboot your TiVo

Tryout the new transcode.py.
Attached Files
File Type: zip transcode.zip (3.2 KB, 15 views)
Iluvatar is offline   Reply With Quote
Old 08-08-2007, 09:15 PM   #615
BigT4187
WDW Nut
 
BigT4187's Avatar
 
Join Date: Jul 2006
Location: GSP Exit 17
Posts: 145
Quote:
Originally Posted by Iluvatar
try the attached transcode.py file (this version is known to fix my issues, which I thought were the same as yours).

And just to make sure that any old files are not being used:
Reboot your PC
Reboot your TiVo

Tryout the new transcode.py.
I'll give it a shot, Iluvatar. Thanks!
__________________
Tony

TiVo Premiere w/WD20EARS 2TB Internal (317 hours HD recording using
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
!)


Are you a Walt Disney World fan?
Check out the award winning
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
BigT4187 is offline   Reply With Quote
Old 08-09-2007, 07:55 AM   #616
BigT4187
WDW Nut
 
BigT4187's Avatar
 
Join Date: Jul 2006
Location: GSP Exit 17
Posts: 145
Well, no luck. I rebooted both the Tivo and the server after copying Iluvatar's transcode.py file to the correct directory. The problem still persists for me. Anyone have any other ideas?
__________________
Tony

TiVo Premiere w/WD20EARS 2TB Internal (317 hours HD recording using
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
!)


Are you a Walt Disney World fan?
Check out the award winning
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
BigT4187 is offline   Reply With Quote
Old 08-09-2007, 11:01 AM   #617
dlfl
Cranky old novice
 
dlfl's Avatar
 
Join Date: Jul 2006
Location: Near Dayton, Ohio
Posts: 5,686
Quote:
Originally Posted by BigT4187
Well, no luck. I rebooted both the Tivo and the server after copying Iluvatar's transcode.py file to the correct directory. The problem still persists for me. Anyone have any other ideas?
I took a look at Iluvatar's transcode.py. The right/left padding correction is only done for a particular set of parameters and I suspect your video is not matching them.

Turn on the debug file (debug=true in pyTivo.conf) then start transcoding one of the offending videos. You don't have to complete the transfer.

In the debug file find (near the end I think) the last line starting with:

select_aspect: File <file name> ...... etc. (where <file name> is the video file)

Copy up to 20 lines starting with that line and paste them into a post. This will verify (or not) my theory and then a modified transcode.py that will work for your case can easily be created. This should work either with the distributed transcode.py or Iluvatar's 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 offline   Reply With Quote
Old 08-09-2007, 12:26 PM   #618
gimgol
Registered User
 
Join Date: Mar 2006
Posts: 5
Quote:
Originally Posted by sc123
Using pyTivo 201 from an openSUSE 10.2 box with the latest version of python installed, I can browse root folders on my Tivo 2 but subfolders do not display any content when they are selected. Tivo says "This group is empty".
Same issue on Ubuntu Server 7.04, Python 2.5, pyTivo-subfolders-8.3-200
gimgol is offline   Reply With Quote
Old 08-09-2007, 12:31 PM   #619
gimgol
Registered User
 
Join Date: Mar 2006
Posts: 5
Quote:
Originally Posted by graceland
Have you had any luck?

I have the same issue using Ubuntu 7.04. I get the first 1 or 2 minutes and it stops.
No luck, still having the same issue and the issue with "Empty folder". I am also on Ubuntu Server 7.04 with current Python and pyTivo-subfolders-8.3-200. I am considering dropping back to Ubuntu Server 6.06 LTS as pyTivo seemed to run better on that platform.
gimgol is offline   Reply With Quote
Old 08-09-2007, 04:01 PM   #620
BigT4187
WDW Nut
 
BigT4187's Avatar
 
Join Date: Jul 2006
Location: GSP Exit 17
Posts: 145
Quote:
Originally Posted by dlfl
I took a look at Iluvatar's transcode.py. The right/left padding correction is only done for a particular set of parameters and I suspect your video is not matching them.

Turn on the debug file (debug=true in pyTivo.conf) then start transcoding one of the offending videos. You don't have to complete the transfer.

In the debug file find (near the end I think) the last line starting with:

select_aspect: File <file name> ...... etc. (where <file name> is the video file)

Copy up to 20 lines starting with that line and paste them into a post. This will verify (or not) my theory and then a modified transcode.py that will work for your case can easily be created. This should work either with the distributed transcode.py or Iluvatar's version.
Here it is dlfl
Code:
select_aspect: File= P:\IPTV/trs--0020--coop.mov  Type= h264  width= 640  height= 360  fps= 29.97  millisecs= 3047300  ratio= 177  rheight= 9  rwidth= 16 
select_aspect: File is wider than 4:3 padding top and bottom
 -aspect 4:3 -s 544x360 -padtop 60 -padbottom 60 
transcode: ffmpeg command is  C:\pytivo-subfolders\plugins\video\ffmpeg_mp2.exe-iP:\IPTV/trs--0020--coop.mov-vcodecmpeg2video-r29.97-b4096K-aspect4:3-s544x360-padtop60-padbottom60-commentpyTivo.py-ac2-ab192K-ar44100-fvob-
Thanks for any help you (or anyone) can offer.
__________________
Tony

TiVo Premiere w/WD20EARS 2TB Internal (317 hours HD recording using
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
!)


Are you a Walt Disney World fan?
Check out the award winning
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
BigT4187 is offline   Reply With Quote
Old 08-09-2007, 04:34 PM   #621
dlfl
Cranky old novice
 
dlfl's Avatar
 
Join Date: Jul 2006
Location: Near Dayton, Ohio
Posts: 5,686
Quote:
Originally Posted by BigT4187
Here it is dlfl
Code:
select_aspect: File= P:\IPTV/trs--0020--coop.mov  Type= h264  width= 640  height= 360  fps= 29.97  millisecs= 3047300  ratio= 177  rheight= 9  rwidth= 16 
select_aspect: File is wider than 4:3 padding top and bottom
 -aspect 4:3 -s 544x360 -padtop 60 -padbottom 60 
transcode: ffmpeg command is  C:\pytivo-subfolders\plugins\video\ffmpeg_mp2.exe-iP:\IPTV/trs--0020--coop.mov-vcodecmpeg2video-r29.97-b4096K-aspect4:3-s544x360-padtop60-padbottom60-commentpyTivo.py-ac2-ab192K-ar44100-fvob-
Thanks for any help you (or anyone) can offer.
This confirms what I thought -- your video parameters are not triggering the padright/padleft logic in Iluvatar's code. Based on this I (and probably others) can gen up a transcode.py that will help you. I can't get to if for a few hours so if anyone else wants to jump in that's fine. It would help if you could estimate the percent width reduction that would be best, e.g., 5%, 10% or ??. Iluvatar used pads of 20 on each side IIRC which would be 40/544 = 7% shrinkage. If I do the mod I'll try to make it easy for you to edit in different amounts of shrinkage.
__________________

"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 offline   Reply With Quote
Old 08-09-2007, 09:42 PM   #622
Iluvatar
Registered User
 
Iluvatar's Avatar
 
Join Date: Jul 2006
Posts: 377
Edited: Removed code changes that were wrong.

Last edited by Iluvatar : 08-09-2007 at 10:39 PM.
Iluvatar is offline   Reply With Quote
Old 08-09-2007, 10:27 PM   #623
dlfl
Cranky old novice
 
dlfl's Avatar
 
Join Date: Jul 2006
Location: Near Dayton, Ohio
Posts: 5,686
BigT,

I think Iluvatar changed the wrong part of the code, at least based on the fragment in his post. This portion applies only if the input video is within 1% of already being 4:3 while your video is exactly 16:9.

I was going to send you the entire transcode.py file but I have several versions and it would be dangerous to send the wrong one, so here is the part I edited:

Code:
               if endHeight < TIVO_HEIGHT * 0.99:
                    sidePadding = 20  # vary this to change width shrinkage - use even numbers only
                    settings.append('-s')
                    settings.append(str(TIVO_WIDTH - 2*sidePadding) + 'x' + str(endHeight)) 

                    topPadding = ((TIVO_HEIGHT - endHeight)/2)
                    if topPadding % 2:
                        topPadding -= 1
                    
                    settings.append('-padtop')
                    settings.append(str(topPadding))
                    bottomPadding = (TIVO_HEIGHT - endHeight) - topPadding
                    settings.append('-padbottom')
                    settings.append(str(bottomPadding))
                    settings.append('-padright')
                    settings.append(str(sidePadding))
                    settings.append('-padleft')
                    settings.append(str(sidePadding))

                else:   #if only very small amount of padding needed, then just stretch it
I've highlighted the added/changed parts in red. Note this change is ONLY at the second place that starts with
Code:
if endHeight < TIVO_HEIGHT * 0.99:
As you edit be aware that indentation is critical in Python code. It can be dangerous to use tabs instead of spaces to achieve indentation also.

If you want to vary shrinkage all you do is change the 20 to a different even number per the comment.

If you are uncomfortable editing the file, just attach a copy of the version of transcode.py you are using to a post and I will edit it.
__________________

"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.

Last edited by dlfl : 08-09-2007 at 10:36 PM.
dlfl is offline   Reply With Quote
Old 08-09-2007, 10:38 PM   #624
Iluvatar
Registered User
 
Iluvatar's Avatar
 
Join Date: Jul 2006
Posts: 377
Quote:
Originally Posted by dlfl
BigT,

I think Iluvatar changed the wrong part of the code, at least based on the fragment in his post. This portion applies only if the input video is within 1% of already being 4:3 while your video is exactly 16:9.

I was going to send you the entire transcode.py file but I have several versions and it would be dangerous to send the wrong one, so here is the part I edited:

Code:
               if endHeight < TIVO_HEIGHT * 0.99:
                    sidePadding = 20  # vary this to change width shrinkage - use even numbers only
                    settings.append('-s')
                    settings.append(str(TIVO_WIDTH - 2*sidePadding) + 'x' + str(endHeight)) 

                    topPadding = ((TIVO_HEIGHT - endHeight)/2)
                    if topPadding % 2:
                        topPadding -= 1
                    
                    settings.append('-padtop')
                    settings.append(str(topPadding))
                    bottomPadding = (TIVO_HEIGHT - endHeight) - topPadding
                    settings.append('-padbottom')
                    settings.append(str(bottomPadding))
                    settings.append('-padright')
                    settings.append(str(sidePadding))
                    settings.append('-padleft')
                    settings.append(str(sidePadding))

                else:   #if only very small amount of padding needed, then just stretch it
I've highlighted the added/changed parts in red. As you can see this section is just before the one that Iluvatar changed. As you edit be aware that indentation is critical in Python code. It can be dangerous to use tabs instead of spaces to achieve indentation also.

If you want to vary shrinkage all you do is change the 20 to a different even number per the comment.

If you are uncomfortable editing the file, just attach a copy of the version of transcode.py you are using to a post and I will edit it.
Whoops...I quickly realized what I had done once I found the video sample online and could not get the changes to show. I had been working on another version but you got there first

BTW: I am not sure what the differences are between my setup and BigT's but the Revision3 video transcoded just fine on my 27" 4:3 CRT. Only minimal cropping from what I could tell but all action and text was viewable in its' entirety. This was tested using a default transcode.py.
Iluvatar is offline   Reply With Quote
Old 08-09-2007, 10:42 PM   #625
dlfl
Cranky old novice
 
dlfl's Avatar
 
Join Date: Jul 2006
Location: Near Dayton, Ohio
Posts: 5,686
Some consolation knowing I'm not the only one still stuck with a puny 27" 4:3 CRT
__________________

"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 offline   Reply With Quote
Old 08-10-2007, 07:17 AM   #626
BigT4187
WDW Nut
 
BigT4187's Avatar
 
Join Date: Jul 2006
Location: GSP Exit 17
Posts: 145
UPDATE -

Thanks dlfl that did the trick! Thanks so much to all of the developers who work on pyTivo! It is an amazing application!

For what it's worth ... I have a 32" 4:3 CRT.
__________________
Tony

TiVo Premiere w/WD20EARS 2TB Internal (317 hours HD recording using
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
!)


Are you a Walt Disney World fan?
Check out the award winning
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
BigT4187 is offline   Reply With Quote
Old 08-10-2007, 04:27 PM   #627
digititus
Registered User
 
Join Date: Aug 2007
Posts: 5
This is sooo sweet. First off, Installed pytivo and I'm up and running with no major problems.

Had an issue where I deleted a show while it was being transfered and it jammed up the queue on the tivo. I now know that I should stop the transfer before I delete from now playing with the transfer is in progress. It would not be removed from my to do list queue and said transfering. Other shows would not transfer even though I selected cancel transfer. I did a soft reboot and everything was fine. show got removed and the other shows in the queue started to transfer.
.
digititus is offline   Reply With Quote
Old 08-10-2007, 04:29 PM   #628
digititus
Registered User
 
Join Date: Aug 2007
Posts: 5
sorry I posted 2 times, I couldn't figure out wtf was preventing me from posting (but I found this site is very picky about DOTS)

PyTivo freaking Rocks. I actually did my research before I bought my Tivo and this was the main reason why I got it (well either this or tivo d o t net)! I can't wait to get the video podcast setup with py and Doppler.

PyTivo puts Tivo Desktop to shame. If PyTivo could pull shows from the tivo like tivo desktop I would get rid of desktop entirely!

I would love to donate to the cause, either programming skills or go ole' hard duckets but didn't see a way to do that on the offical site.

NE WAY I am a very happy camper

--==digi==--
digititus is offline   Reply With Quote
Old 08-11-2007, 05:00 PM   #629
windracer
joined the 10k club
 
windracer's Avatar
 
Join Date: Jan 2003
Location: St. Pete, FL
Posts: 11,197
Quote:
Originally Posted by digititus
If PyTivo could pull shows from the tivo like tivo desktop I would get rid of desktop entirely!
Since you're new to TiVo, you might not know that you don't necessarily need TiVo Desktop to pull recordings off of the DVR. Point your browser to https://{your TiVo IP} and when prompted use a username of 'tivo' and your MAK as the password. Granted, you can't queue up a bunch of transfers using this method, but it works. You might also want to check out Galleon if you're looking to dump TiVo Desktop.
__________________
840~Roamio Pro (TA, MoCA) + two A92~Minis
S/old: 746~Premiere, 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.

Last edited by windracer : 08-14-2007 at 05:39 AM.
windracer is online now   Reply With Quote
Old 08-12-2007, 03:15 AM   #630
grpsf
Registered User
 
Join Date: Jul 2007
Posts: 5
large file stalls

I have a couple of movies that I'm trying to get to my pc with pytivo. All looks good till the end. It appears that the whole file transfers, but it seems to not end, the download seems to be "stuck" and doesn't finish. Other files work just fine. Any ideas

(sorry if this has been covered already)
grpsf 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 02:21 PM.
OUR NETWORK: MyOpenRouter | TechLore | SansaCommunity | RoboCommunity | MediaSmart Home | Explore3DTV | Dijit Community | DVR Playground |