Changeset 092f92ac9b90b3a323a59c05b95730e3378a0fea

Show
Ignore:
Timestamp:
12/19/06 01:05:53 (2 years ago)
Author:
Jason Michalski <armooo@armooo.net>
git-committer:
Jason Michalski <armooo@armooo.net> 1166511953 +0000
git-parent:

[cd5239d94142323404481601f56fb999acc3a768]

git-author:
Jason Michalski <armooo@armooo.net> 1166511953 +0000
Message:

pyTivo
- Play some other videos I did not like

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/video/transcode.py

    r4db5c7a r092f92a  
    2727 
    2828def transcode(inFile, outFile): 
    29  
     29         
     30    print select_aspect(inFile) 
     31     
    3032    cmd = [FFMPEG, '-i', inFile, '-vcodec', 'mpeg2video', '-r', '29.97', '-b', '4096'] + select_aspect(inFile)  +  ['-ac', '2', '-ab', '192', '-f', 'vob', '-' ]    
    3133    ffmpeg = subprocess.Popen(cmd, stdout=subprocess.PIPE) 
     
    4648    elif (rheight, rwidth) in [(16, 9), (20, 11), (40, 33), (118, 81), (59, 27)]: 
    4749        return ['-aspect', '16:9', '-s', '720x480'] 
    48     else
     50    elif rwidth > rheight
    4951        settings = [] 
    5052        settings.append('-aspect') 
     
    6971             
    7072        return settings 
     73    else: 
     74        #hope for the best 
     75        return ['-aspect', '4:3', '-s', '720x480'] 
    7176 
    7277def tivo_compatable(inFile):