Ticket #3626: mytharchive_pass.diff
File mytharchive_pass.diff, 2.5 KB (added by , 17 years ago) |
---|
-
mytharchive/mythburn/encoder_profiles/ffmpeg_dvd_ntsc.xml
16 16 <parameter name="-ac" value="2"/> 17 17 <parameter name="-copyts" value=""/> 18 18 <parameter name="-aspect" value="%aspect"/> 19 <parameter name="" value="%outputfile"/>20 19 <parameter name="-pass" value="%passno"/> 21 20 <parameter name="-passlogfile" value="%passlogfile"/> 21 <parameter name="" value="%outputfile"/> 22 22 </profile> 23 23 24 24 <profile> -
mytharchive/mythburn/encoder_profiles/ffmpeg_dvd_pal.xml
16 16 <parameter name="-ac" value="2"/> 17 17 <parameter name="-copyts" value=""/> 18 18 <parameter name="-aspect" value="%aspect"/> 19 <parameter name="" value="%outputfile"/>20 19 <parameter name="-pass" value="%passno"/> 21 20 <parameter name="-passlogfile" value="%passlogfile"/> 21 <parameter name="" value="%outputfile"/> 22 22 </profile> 23 23 24 24 <profile> -
mytharchive/mythburn/scripts/mythburn.py
1457 1457 "Command was %s" % command) 1458 1458 1459 1459 else: 1460 passLog = os.path.join(getTempPath(), 'pass .log')1460 passLog = os.path.join(getTempPath(), 'pass') 1461 1461 1462 pass1 = string.replace(command, "%pass ","1")1462 pass1 = string.replace(command, "%passno","1") 1463 1463 pass1 = string.replace(pass1, "%passlogfile", passLog) 1464 1464 write("Pass 1 - " + pass1) 1465 1465 result = runCommand(pass1) … … 1471 1471 if os.path.exists(destvideofile): 1472 1472 os.remove(destvideofile) 1473 1473 1474 pass2 = string.replace(command, "%pass ","2")1474 pass2 = string.replace(command, "%passno","2") 1475 1475 pass2 = string.replace(pass2, "%passlogfile", passLog) 1476 1476 write("Pass 2 - " + pass2) 1477 1477 result = runCommand(pass2)