Changeset a7deca61c6e276fb39dd64095673fb3274a936cb

Show
Ignore:
Timestamp:
11/26/06 22:30:39 (2 years ago)
Author:
Jason Michalski <armooo@armooo.net>
git-committer:
Jason Michalski <armooo@armooo.net> 1164601839 +0000
git-parent:

[821e9b3c587bbe2bb9db659200d3483d5a164892]

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

pyTivo
-Removed some debugging
-Changed back to windows ffmpeg path

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • transcode.py

    re2bcd2e ra7deca6  
    22 
    33SCRIPTDIR = os.path.dirname(__file__) 
    4 FFMPEG = '/usr/bin/ffmpeg' 
     4FFMPEG = os.path.join(SCRIPTDIR, 'ffmpeg_mp2.exe') 
    55 
    66# XXX BIG HACK 
     
    2828def transcode(inFile, outFile): 
    2929 
    30     cmd = "%s -i \"%s\" -vcodec mpeg2video -r 29.97 -b 4096 %s -ac 2 -ab 192 -f vob -" % (FFMPEG, inFile, select_aspect(inFile)) 
    3130    cmd = [FFMPEG, '-i', inFile, '-vcodec', 'mpeg2video', '-r', '29.97', '-b', '4096'] + select_aspect(inFile)  +  ['-ac', '2', '-ab', '192', '-f', 'vob', '-' ]    
    32  
    33     print cmd 
    34   
    3531    ffmpeg = subprocess.Popen(cmd, stdout=subprocess.PIPE) 
    3632    try: