Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 400907
Collapse All | Expand All

(-)file_not_specified_in_diff (-10 / +14 lines)
Line  Link Here
0
-- a/mythplugins/mytharchive/mythburn/scripts/mythburn.py
0
++ b/mythplugins/mytharchive/mythburn/scripts/mythburn.py
Lines 2435-2452 Link Here
2435
    outvideobitrate = "5000k"
2435
    outvideobitrate = "5000k"
2436
    if videomode == "ntsc":
2436
    if videomode == "ntsc":
2437
        outvideores = "720x480"
2437
        outvideores = "720x480"
2438
        width=720
2439
        height=480
2438
    else:
2440
    else:
2439
        outvideores = "720x576"
2441
        outvideores = "720x576"
2442
        width=720
2443
        height=576
2440
2444
2441
    outaudiochannels = 2
2445
    outaudiochannels = 2
2442
    outaudiobitrate = 384
2446
    outaudiobitrate = 384
2443
    outaudiosamplerate = 48000
2447
    outaudiosamplerate = 48000
2444
    outaudiocodec = "ac3"
2448
    outaudiocodec = "ac3"
2445
    deinterlace = 0
2449
    deinterlace = 0
2446
    croptop = 0
2450
    cropx = 0
2447
    cropright = 0
2451
    cropy = 0
2448
    cropbottom = 0
2452
    cropwidth = width
2449
    cropleft = 0
2453
    cropheight = height
2450
    qmin = 5
2454
    qmin = 5
2451
    qmax = 31
2455
    qmax = 31
2452
    qdiff = 31
2456
    qdiff = 31
Lines 2471-2483 Link Here
2471
        if name == "-deinterlace":
2475
        if name == "-deinterlace":
2472
            deinterlace = 1
2476
            deinterlace = 1
2473
        if name == "-croptop":
2477
        if name == "-croptop":
2474
            croptop = value
2478
            cropx = value
2475
        if name == "-cropright":
2479
        if name == "-cropright":
2476
            cropright = value
2480
            cropwidth = cropwidth - value
2477
        if name == "-cropbottom":
2481
        if name == "-cropbottom":
2478
            cropbottom = value
2482
            cropheight = cropheight - value
2479
        if name == "-cropleft":
2483
        if name == "-cropleft":
2480
           cropleft = value
2484
           cropy = value
2481
        if name == "-qmin":
2485
        if name == "-qmin":
2482
           qmin = value
2486
           qmin = value
2483
        if name == "-qmax":
2487
        if name == "-qmax":
Lines 2526-2532 Link Here
2526
    command += "-aspect %s -r %s " % (aspectratio, fps)
2530
    command += "-aspect %s -r %s " % (aspectratio, fps)
2527
    if (deinterlace == 1):
2531
    if (deinterlace == 1):
2528
        command += "-deinterlace "
2532
        command += "-deinterlace "
2529
    command += "-croptop %s -cropright %s -cropbottom %s -cropleft %s " % (croptop, cropright, cropbottom, cropleft)
2533
    command += "-vf crop=%s:%s:%s:%s " % (cropwidth, cropheight, cropx, cropy)
2530
    command += "-s %s -b %s -vcodec mpeg2video " % (outvideores, outvideobitrate)
2534
    command += "-s %s -b %s -vcodec mpeg2video " % (outvideores, outvideobitrate)
2531
    command += "-qmin %s -qmax %s -qdiff %s " % (qmin, qmax, qdiff)
2535
    command += "-qmin %s -qmax %s -qdiff %s " % (qmin, qmax, qdiff)
2532
    command += "-ab %s -ar %s -acodec %s " % (outaudiobitrate, outaudiosamplerate, outaudiocodec)
2536
    command += "-ab %s -ar %s -acodec %s " % (outaudiobitrate, outaudiosamplerate, outaudiocodec)

Return to bug 400907