/usr/lib/python3/dist-packages/openshot.py is in python3-openshot 0.1.9+dfsg1-3build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.12
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info as _swig_python_version_info
if _swig_python_version_info >= (2, 7, 0):
def swig_import_helper():
import importlib
pkg = __name__.rpartition('.')[0]
mname = '.'.join((pkg, '_openshot')).lstrip('.')
try:
return importlib.import_module(mname)
except ImportError:
return importlib.import_module('_openshot')
_openshot = swig_import_helper()
del swig_import_helper
elif _swig_python_version_info >= (2, 6, 0):
def swig_import_helper():
from os.path import dirname
import imp
fp = None
try:
fp, pathname, description = imp.find_module('_openshot', [dirname(__file__)])
except ImportError:
import _openshot
return _openshot
try:
_mod = imp.load_module('_openshot', fp, pathname, description)
finally:
if fp is not None:
fp.close()
return _mod
_openshot = swig_import_helper()
del swig_import_helper
else:
import _openshot
del _swig_python_version_info
try:
_swig_property = property
except NameError:
pass # Python < 2.2 doesn't have 'property'.
try:
import builtins as __builtin__
except ImportError:
import __builtin__
def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
if (name == "thisown"):
return self.this.own(value)
if (name == "this"):
if type(value).__name__ == 'SwigPyObject':
self.__dict__[name] = value
return
method = class_type.__swig_setmethods__.get(name, None)
if method:
return method(self, value)
if (not static):
if _newclass:
object.__setattr__(self, name, value)
else:
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self, class_type, name, value):
return _swig_setattr_nondynamic(self, class_type, name, value, 0)
def _swig_getattr(self, class_type, name):
if (name == "thisown"):
return self.this.own()
method = class_type.__swig_getmethods__.get(name, None)
if method:
return method(self)
raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))
def _swig_repr(self):
try:
strthis = "proxy of " + self.this.__repr__()
except __builtin__.Exception:
strthis = ""
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
try:
_object = object
_newclass = 1
except __builtin__.Exception:
class _object:
pass
_newclass = 0
class SwigPyIterator(_object):
"""Proxy of C++ swig::SwigPyIterator class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SwigPyIterator, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SwigPyIterator, name)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_destroy__ = _openshot.delete_SwigPyIterator
__del__ = lambda self: None
def value(self):
"""value(SwigPyIterator self) -> PyObject *"""
return _openshot.SwigPyIterator_value(self)
def incr(self, n=1):
"""
incr(SwigPyIterator self, size_t n=1) -> SwigPyIterator
incr(SwigPyIterator self) -> SwigPyIterator
"""
return _openshot.SwigPyIterator_incr(self, n)
def decr(self, n=1):
"""
decr(SwigPyIterator self, size_t n=1) -> SwigPyIterator
decr(SwigPyIterator self) -> SwigPyIterator
"""
return _openshot.SwigPyIterator_decr(self, n)
def distance(self, x):
"""distance(SwigPyIterator self, SwigPyIterator x) -> ptrdiff_t"""
return _openshot.SwigPyIterator_distance(self, x)
def equal(self, x):
"""equal(SwigPyIterator self, SwigPyIterator x) -> bool"""
return _openshot.SwigPyIterator_equal(self, x)
def copy(self):
"""copy(SwigPyIterator self) -> SwigPyIterator"""
return _openshot.SwigPyIterator_copy(self)
def next(self):
"""next(SwigPyIterator self) -> PyObject *"""
return _openshot.SwigPyIterator_next(self)
def __next__(self):
"""__next__(SwigPyIterator self) -> PyObject *"""
return _openshot.SwigPyIterator___next__(self)
def previous(self):
"""previous(SwigPyIterator self) -> PyObject *"""
return _openshot.SwigPyIterator_previous(self)
def advance(self, n):
"""advance(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
return _openshot.SwigPyIterator_advance(self, n)
def __eq__(self, x):
"""__eq__(SwigPyIterator self, SwigPyIterator x) -> bool"""
return _openshot.SwigPyIterator___eq__(self, x)
def __ne__(self, x):
"""__ne__(SwigPyIterator self, SwigPyIterator x) -> bool"""
return _openshot.SwigPyIterator___ne__(self, x)
def __iadd__(self, n):
"""__iadd__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
return _openshot.SwigPyIterator___iadd__(self, n)
def __isub__(self, n):
"""__isub__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
return _openshot.SwigPyIterator___isub__(self, n)
def __add__(self, n):
"""__add__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
return _openshot.SwigPyIterator___add__(self, n)
def __sub__(self, *args):
"""
__sub__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator
__sub__(SwigPyIterator self, SwigPyIterator x) -> ptrdiff_t
"""
return _openshot.SwigPyIterator___sub__(self, *args)
def __iter__(self):
return self
SwigPyIterator_swigregister = _openshot.SwigPyIterator_swigregister
SwigPyIterator_swigregister(SwigPyIterator)
SHARED_PTR_DISOWN = _openshot.SHARED_PTR_DISOWN
OPENSHOT_VERSION_MAJOR = _openshot.OPENSHOT_VERSION_MAJOR
OPENSHOT_VERSION_MINOR = _openshot.OPENSHOT_VERSION_MINOR
OPENSHOT_VERSION_BUILD = _openshot.OPENSHOT_VERSION_BUILD
OPENSHOT_VERSION_SO = _openshot.OPENSHOT_VERSION_SO
OPENSHOT_VERSION_MAJOR_MINOR = _openshot.OPENSHOT_VERSION_MAJOR_MINOR
OPENSHOT_VERSION_ALL = _openshot.OPENSHOT_VERSION_ALL
class OpenShotVersion(_object):
"""Proxy of C++ openshot::OpenShotVersion class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, OpenShotVersion, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, OpenShotVersion, name)
__repr__ = _swig_repr
__swig_setmethods__["major"] = _openshot.OpenShotVersion_major_set
__swig_getmethods__["major"] = _openshot.OpenShotVersion_major_get
if _newclass:
major = _swig_property(_openshot.OpenShotVersion_major_get, _openshot.OpenShotVersion_major_set)
__swig_setmethods__["minor"] = _openshot.OpenShotVersion_minor_set
__swig_getmethods__["minor"] = _openshot.OpenShotVersion_minor_get
if _newclass:
minor = _swig_property(_openshot.OpenShotVersion_minor_get, _openshot.OpenShotVersion_minor_set)
__swig_setmethods__["build"] = _openshot.OpenShotVersion_build_set
__swig_getmethods__["build"] = _openshot.OpenShotVersion_build_get
if _newclass:
build = _swig_property(_openshot.OpenShotVersion_build_get, _openshot.OpenShotVersion_build_set)
__swig_setmethods__["so"] = _openshot.OpenShotVersion_so_set
__swig_getmethods__["so"] = _openshot.OpenShotVersion_so_get
if _newclass:
so = _swig_property(_openshot.OpenShotVersion_so_get, _openshot.OpenShotVersion_so_set)
def ToString(self):
"""ToString(OpenShotVersion self) -> std::string"""
return _openshot.OpenShotVersion_ToString(self)
def __init__(self):
"""__init__(openshot::OpenShotVersion self) -> OpenShotVersion"""
this = _openshot.new_OpenShotVersion()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_OpenShotVersion
__del__ = lambda self: None
OpenShotVersion_swigregister = _openshot.OpenShotVersion_swigregister
OpenShotVersion_swigregister(OpenShotVersion)
def GetVersion():
"""GetVersion() -> OpenShotVersion"""
return _openshot.GetVersion()
class ReaderInfo(_object):
"""Proxy of C++ openshot::ReaderInfo class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ReaderInfo, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ReaderInfo, name)
__repr__ = _swig_repr
__swig_setmethods__["has_video"] = _openshot.ReaderInfo_has_video_set
__swig_getmethods__["has_video"] = _openshot.ReaderInfo_has_video_get
if _newclass:
has_video = _swig_property(_openshot.ReaderInfo_has_video_get, _openshot.ReaderInfo_has_video_set)
__swig_setmethods__["has_audio"] = _openshot.ReaderInfo_has_audio_set
__swig_getmethods__["has_audio"] = _openshot.ReaderInfo_has_audio_get
if _newclass:
has_audio = _swig_property(_openshot.ReaderInfo_has_audio_get, _openshot.ReaderInfo_has_audio_set)
__swig_setmethods__["has_single_image"] = _openshot.ReaderInfo_has_single_image_set
__swig_getmethods__["has_single_image"] = _openshot.ReaderInfo_has_single_image_get
if _newclass:
has_single_image = _swig_property(_openshot.ReaderInfo_has_single_image_get, _openshot.ReaderInfo_has_single_image_set)
__swig_setmethods__["duration"] = _openshot.ReaderInfo_duration_set
__swig_getmethods__["duration"] = _openshot.ReaderInfo_duration_get
if _newclass:
duration = _swig_property(_openshot.ReaderInfo_duration_get, _openshot.ReaderInfo_duration_set)
__swig_setmethods__["file_size"] = _openshot.ReaderInfo_file_size_set
__swig_getmethods__["file_size"] = _openshot.ReaderInfo_file_size_get
if _newclass:
file_size = _swig_property(_openshot.ReaderInfo_file_size_get, _openshot.ReaderInfo_file_size_set)
__swig_setmethods__["height"] = _openshot.ReaderInfo_height_set
__swig_getmethods__["height"] = _openshot.ReaderInfo_height_get
if _newclass:
height = _swig_property(_openshot.ReaderInfo_height_get, _openshot.ReaderInfo_height_set)
__swig_setmethods__["width"] = _openshot.ReaderInfo_width_set
__swig_getmethods__["width"] = _openshot.ReaderInfo_width_get
if _newclass:
width = _swig_property(_openshot.ReaderInfo_width_get, _openshot.ReaderInfo_width_set)
__swig_setmethods__["pixel_format"] = _openshot.ReaderInfo_pixel_format_set
__swig_getmethods__["pixel_format"] = _openshot.ReaderInfo_pixel_format_get
if _newclass:
pixel_format = _swig_property(_openshot.ReaderInfo_pixel_format_get, _openshot.ReaderInfo_pixel_format_set)
__swig_setmethods__["fps"] = _openshot.ReaderInfo_fps_set
__swig_getmethods__["fps"] = _openshot.ReaderInfo_fps_get
if _newclass:
fps = _swig_property(_openshot.ReaderInfo_fps_get, _openshot.ReaderInfo_fps_set)
__swig_setmethods__["video_bit_rate"] = _openshot.ReaderInfo_video_bit_rate_set
__swig_getmethods__["video_bit_rate"] = _openshot.ReaderInfo_video_bit_rate_get
if _newclass:
video_bit_rate = _swig_property(_openshot.ReaderInfo_video_bit_rate_get, _openshot.ReaderInfo_video_bit_rate_set)
__swig_setmethods__["pixel_ratio"] = _openshot.ReaderInfo_pixel_ratio_set
__swig_getmethods__["pixel_ratio"] = _openshot.ReaderInfo_pixel_ratio_get
if _newclass:
pixel_ratio = _swig_property(_openshot.ReaderInfo_pixel_ratio_get, _openshot.ReaderInfo_pixel_ratio_set)
__swig_setmethods__["display_ratio"] = _openshot.ReaderInfo_display_ratio_set
__swig_getmethods__["display_ratio"] = _openshot.ReaderInfo_display_ratio_get
if _newclass:
display_ratio = _swig_property(_openshot.ReaderInfo_display_ratio_get, _openshot.ReaderInfo_display_ratio_set)
__swig_setmethods__["vcodec"] = _openshot.ReaderInfo_vcodec_set
__swig_getmethods__["vcodec"] = _openshot.ReaderInfo_vcodec_get
if _newclass:
vcodec = _swig_property(_openshot.ReaderInfo_vcodec_get, _openshot.ReaderInfo_vcodec_set)
__swig_setmethods__["video_length"] = _openshot.ReaderInfo_video_length_set
__swig_getmethods__["video_length"] = _openshot.ReaderInfo_video_length_get
if _newclass:
video_length = _swig_property(_openshot.ReaderInfo_video_length_get, _openshot.ReaderInfo_video_length_set)
__swig_setmethods__["video_stream_index"] = _openshot.ReaderInfo_video_stream_index_set
__swig_getmethods__["video_stream_index"] = _openshot.ReaderInfo_video_stream_index_get
if _newclass:
video_stream_index = _swig_property(_openshot.ReaderInfo_video_stream_index_get, _openshot.ReaderInfo_video_stream_index_set)
__swig_setmethods__["video_timebase"] = _openshot.ReaderInfo_video_timebase_set
__swig_getmethods__["video_timebase"] = _openshot.ReaderInfo_video_timebase_get
if _newclass:
video_timebase = _swig_property(_openshot.ReaderInfo_video_timebase_get, _openshot.ReaderInfo_video_timebase_set)
__swig_setmethods__["interlaced_frame"] = _openshot.ReaderInfo_interlaced_frame_set
__swig_getmethods__["interlaced_frame"] = _openshot.ReaderInfo_interlaced_frame_get
if _newclass:
interlaced_frame = _swig_property(_openshot.ReaderInfo_interlaced_frame_get, _openshot.ReaderInfo_interlaced_frame_set)
__swig_setmethods__["top_field_first"] = _openshot.ReaderInfo_top_field_first_set
__swig_getmethods__["top_field_first"] = _openshot.ReaderInfo_top_field_first_get
if _newclass:
top_field_first = _swig_property(_openshot.ReaderInfo_top_field_first_get, _openshot.ReaderInfo_top_field_first_set)
__swig_setmethods__["acodec"] = _openshot.ReaderInfo_acodec_set
__swig_getmethods__["acodec"] = _openshot.ReaderInfo_acodec_get
if _newclass:
acodec = _swig_property(_openshot.ReaderInfo_acodec_get, _openshot.ReaderInfo_acodec_set)
__swig_setmethods__["audio_bit_rate"] = _openshot.ReaderInfo_audio_bit_rate_set
__swig_getmethods__["audio_bit_rate"] = _openshot.ReaderInfo_audio_bit_rate_get
if _newclass:
audio_bit_rate = _swig_property(_openshot.ReaderInfo_audio_bit_rate_get, _openshot.ReaderInfo_audio_bit_rate_set)
__swig_setmethods__["sample_rate"] = _openshot.ReaderInfo_sample_rate_set
__swig_getmethods__["sample_rate"] = _openshot.ReaderInfo_sample_rate_get
if _newclass:
sample_rate = _swig_property(_openshot.ReaderInfo_sample_rate_get, _openshot.ReaderInfo_sample_rate_set)
__swig_setmethods__["channels"] = _openshot.ReaderInfo_channels_set
__swig_getmethods__["channels"] = _openshot.ReaderInfo_channels_get
if _newclass:
channels = _swig_property(_openshot.ReaderInfo_channels_get, _openshot.ReaderInfo_channels_set)
__swig_setmethods__["channel_layout"] = _openshot.ReaderInfo_channel_layout_set
__swig_getmethods__["channel_layout"] = _openshot.ReaderInfo_channel_layout_get
if _newclass:
channel_layout = _swig_property(_openshot.ReaderInfo_channel_layout_get, _openshot.ReaderInfo_channel_layout_set)
__swig_setmethods__["audio_stream_index"] = _openshot.ReaderInfo_audio_stream_index_set
__swig_getmethods__["audio_stream_index"] = _openshot.ReaderInfo_audio_stream_index_get
if _newclass:
audio_stream_index = _swig_property(_openshot.ReaderInfo_audio_stream_index_get, _openshot.ReaderInfo_audio_stream_index_set)
__swig_setmethods__["audio_timebase"] = _openshot.ReaderInfo_audio_timebase_set
__swig_getmethods__["audio_timebase"] = _openshot.ReaderInfo_audio_timebase_get
if _newclass:
audio_timebase = _swig_property(_openshot.ReaderInfo_audio_timebase_get, _openshot.ReaderInfo_audio_timebase_set)
def __init__(self):
"""__init__(openshot::ReaderInfo self) -> ReaderInfo"""
this = _openshot.new_ReaderInfo()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_ReaderInfo
__del__ = lambda self: None
ReaderInfo_swigregister = _openshot.ReaderInfo_swigregister
ReaderInfo_swigregister(ReaderInfo)
class ReaderBase(_object):
"""Proxy of C++ openshot::ReaderBase class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ReaderBase, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ReaderBase, name)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_setmethods__["info"] = _openshot.ReaderBase_info_set
__swig_getmethods__["info"] = _openshot.ReaderBase_info_get
if _newclass:
info = _swig_property(_openshot.ReaderBase_info_get, _openshot.ReaderBase_info_set)
def Close(self):
"""Close(ReaderBase self)"""
return _openshot.ReaderBase_Close(self)
def DisplayInfo(self):
"""DisplayInfo(ReaderBase self)"""
return _openshot.ReaderBase_DisplayInfo(self)
def GetCache(self):
"""GetCache(ReaderBase self) -> CacheBase"""
return _openshot.ReaderBase_GetCache(self)
def GetFrame(self, number):
"""GetFrame(ReaderBase self, int64_t number) -> std::shared_ptr< openshot::Frame >"""
return _openshot.ReaderBase_GetFrame(self, number)
def IsOpen(self):
"""IsOpen(ReaderBase self) -> bool"""
return _openshot.ReaderBase_IsOpen(self)
def Name(self):
"""Name(ReaderBase self) -> std::string"""
return _openshot.ReaderBase_Name(self)
def Json(self):
"""Json(ReaderBase self) -> std::string"""
return _openshot.ReaderBase_Json(self)
def SetJson(self, value):
"""SetJson(ReaderBase self, std::string value)"""
return _openshot.ReaderBase_SetJson(self, value)
def JsonValue(self):
"""JsonValue(ReaderBase self) -> Json::Value"""
return _openshot.ReaderBase_JsonValue(self)
def SetJsonValue(self, root):
"""SetJsonValue(ReaderBase self, Json::Value root)"""
return _openshot.ReaderBase_SetJsonValue(self, root)
def SetMaxSize(self, width, height):
"""SetMaxSize(ReaderBase self, int width, int height)"""
return _openshot.ReaderBase_SetMaxSize(self, width, height)
def Open(self):
"""Open(ReaderBase self)"""
return _openshot.ReaderBase_Open(self)
__swig_destroy__ = _openshot.delete_ReaderBase
__del__ = lambda self: None
ReaderBase_swigregister = _openshot.ReaderBase_swigregister
ReaderBase_swigregister(ReaderBase)
class WriterInfo(_object):
"""Proxy of C++ openshot::WriterInfo class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, WriterInfo, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, WriterInfo, name)
__repr__ = _swig_repr
__swig_setmethods__["has_video"] = _openshot.WriterInfo_has_video_set
__swig_getmethods__["has_video"] = _openshot.WriterInfo_has_video_get
if _newclass:
has_video = _swig_property(_openshot.WriterInfo_has_video_get, _openshot.WriterInfo_has_video_set)
__swig_setmethods__["has_audio"] = _openshot.WriterInfo_has_audio_set
__swig_getmethods__["has_audio"] = _openshot.WriterInfo_has_audio_get
if _newclass:
has_audio = _swig_property(_openshot.WriterInfo_has_audio_get, _openshot.WriterInfo_has_audio_set)
__swig_setmethods__["has_single_image"] = _openshot.WriterInfo_has_single_image_set
__swig_getmethods__["has_single_image"] = _openshot.WriterInfo_has_single_image_get
if _newclass:
has_single_image = _swig_property(_openshot.WriterInfo_has_single_image_get, _openshot.WriterInfo_has_single_image_set)
__swig_setmethods__["duration"] = _openshot.WriterInfo_duration_set
__swig_getmethods__["duration"] = _openshot.WriterInfo_duration_get
if _newclass:
duration = _swig_property(_openshot.WriterInfo_duration_get, _openshot.WriterInfo_duration_set)
__swig_setmethods__["file_size"] = _openshot.WriterInfo_file_size_set
__swig_getmethods__["file_size"] = _openshot.WriterInfo_file_size_get
if _newclass:
file_size = _swig_property(_openshot.WriterInfo_file_size_get, _openshot.WriterInfo_file_size_set)
__swig_setmethods__["height"] = _openshot.WriterInfo_height_set
__swig_getmethods__["height"] = _openshot.WriterInfo_height_get
if _newclass:
height = _swig_property(_openshot.WriterInfo_height_get, _openshot.WriterInfo_height_set)
__swig_setmethods__["width"] = _openshot.WriterInfo_width_set
__swig_getmethods__["width"] = _openshot.WriterInfo_width_get
if _newclass:
width = _swig_property(_openshot.WriterInfo_width_get, _openshot.WriterInfo_width_set)
__swig_setmethods__["pixel_format"] = _openshot.WriterInfo_pixel_format_set
__swig_getmethods__["pixel_format"] = _openshot.WriterInfo_pixel_format_get
if _newclass:
pixel_format = _swig_property(_openshot.WriterInfo_pixel_format_get, _openshot.WriterInfo_pixel_format_set)
__swig_setmethods__["fps"] = _openshot.WriterInfo_fps_set
__swig_getmethods__["fps"] = _openshot.WriterInfo_fps_get
if _newclass:
fps = _swig_property(_openshot.WriterInfo_fps_get, _openshot.WriterInfo_fps_set)
__swig_setmethods__["video_bit_rate"] = _openshot.WriterInfo_video_bit_rate_set
__swig_getmethods__["video_bit_rate"] = _openshot.WriterInfo_video_bit_rate_get
if _newclass:
video_bit_rate = _swig_property(_openshot.WriterInfo_video_bit_rate_get, _openshot.WriterInfo_video_bit_rate_set)
__swig_setmethods__["pixel_ratio"] = _openshot.WriterInfo_pixel_ratio_set
__swig_getmethods__["pixel_ratio"] = _openshot.WriterInfo_pixel_ratio_get
if _newclass:
pixel_ratio = _swig_property(_openshot.WriterInfo_pixel_ratio_get, _openshot.WriterInfo_pixel_ratio_set)
__swig_setmethods__["display_ratio"] = _openshot.WriterInfo_display_ratio_set
__swig_getmethods__["display_ratio"] = _openshot.WriterInfo_display_ratio_get
if _newclass:
display_ratio = _swig_property(_openshot.WriterInfo_display_ratio_get, _openshot.WriterInfo_display_ratio_set)
__swig_setmethods__["vcodec"] = _openshot.WriterInfo_vcodec_set
__swig_getmethods__["vcodec"] = _openshot.WriterInfo_vcodec_get
if _newclass:
vcodec = _swig_property(_openshot.WriterInfo_vcodec_get, _openshot.WriterInfo_vcodec_set)
__swig_setmethods__["video_length"] = _openshot.WriterInfo_video_length_set
__swig_getmethods__["video_length"] = _openshot.WriterInfo_video_length_get
if _newclass:
video_length = _swig_property(_openshot.WriterInfo_video_length_get, _openshot.WriterInfo_video_length_set)
__swig_setmethods__["video_stream_index"] = _openshot.WriterInfo_video_stream_index_set
__swig_getmethods__["video_stream_index"] = _openshot.WriterInfo_video_stream_index_get
if _newclass:
video_stream_index = _swig_property(_openshot.WriterInfo_video_stream_index_get, _openshot.WriterInfo_video_stream_index_set)
__swig_setmethods__["video_timebase"] = _openshot.WriterInfo_video_timebase_set
__swig_getmethods__["video_timebase"] = _openshot.WriterInfo_video_timebase_get
if _newclass:
video_timebase = _swig_property(_openshot.WriterInfo_video_timebase_get, _openshot.WriterInfo_video_timebase_set)
__swig_setmethods__["interlaced_frame"] = _openshot.WriterInfo_interlaced_frame_set
__swig_getmethods__["interlaced_frame"] = _openshot.WriterInfo_interlaced_frame_get
if _newclass:
interlaced_frame = _swig_property(_openshot.WriterInfo_interlaced_frame_get, _openshot.WriterInfo_interlaced_frame_set)
__swig_setmethods__["top_field_first"] = _openshot.WriterInfo_top_field_first_set
__swig_getmethods__["top_field_first"] = _openshot.WriterInfo_top_field_first_get
if _newclass:
top_field_first = _swig_property(_openshot.WriterInfo_top_field_first_get, _openshot.WriterInfo_top_field_first_set)
__swig_setmethods__["acodec"] = _openshot.WriterInfo_acodec_set
__swig_getmethods__["acodec"] = _openshot.WriterInfo_acodec_get
if _newclass:
acodec = _swig_property(_openshot.WriterInfo_acodec_get, _openshot.WriterInfo_acodec_set)
__swig_setmethods__["audio_bit_rate"] = _openshot.WriterInfo_audio_bit_rate_set
__swig_getmethods__["audio_bit_rate"] = _openshot.WriterInfo_audio_bit_rate_get
if _newclass:
audio_bit_rate = _swig_property(_openshot.WriterInfo_audio_bit_rate_get, _openshot.WriterInfo_audio_bit_rate_set)
__swig_setmethods__["sample_rate"] = _openshot.WriterInfo_sample_rate_set
__swig_getmethods__["sample_rate"] = _openshot.WriterInfo_sample_rate_get
if _newclass:
sample_rate = _swig_property(_openshot.WriterInfo_sample_rate_get, _openshot.WriterInfo_sample_rate_set)
__swig_setmethods__["channels"] = _openshot.WriterInfo_channels_set
__swig_getmethods__["channels"] = _openshot.WriterInfo_channels_get
if _newclass:
channels = _swig_property(_openshot.WriterInfo_channels_get, _openshot.WriterInfo_channels_set)
__swig_setmethods__["channel_layout"] = _openshot.WriterInfo_channel_layout_set
__swig_getmethods__["channel_layout"] = _openshot.WriterInfo_channel_layout_get
if _newclass:
channel_layout = _swig_property(_openshot.WriterInfo_channel_layout_get, _openshot.WriterInfo_channel_layout_set)
__swig_setmethods__["audio_stream_index"] = _openshot.WriterInfo_audio_stream_index_set
__swig_getmethods__["audio_stream_index"] = _openshot.WriterInfo_audio_stream_index_get
if _newclass:
audio_stream_index = _swig_property(_openshot.WriterInfo_audio_stream_index_get, _openshot.WriterInfo_audio_stream_index_set)
__swig_setmethods__["audio_timebase"] = _openshot.WriterInfo_audio_timebase_set
__swig_getmethods__["audio_timebase"] = _openshot.WriterInfo_audio_timebase_get
if _newclass:
audio_timebase = _swig_property(_openshot.WriterInfo_audio_timebase_get, _openshot.WriterInfo_audio_timebase_set)
def __init__(self):
"""__init__(openshot::WriterInfo self) -> WriterInfo"""
this = _openshot.new_WriterInfo()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_WriterInfo
__del__ = lambda self: None
WriterInfo_swigregister = _openshot.WriterInfo_swigregister
WriterInfo_swigregister(WriterInfo)
class WriterBase(_object):
"""Proxy of C++ openshot::WriterBase class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, WriterBase, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, WriterBase, name)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_setmethods__["info"] = _openshot.WriterBase_info_set
__swig_getmethods__["info"] = _openshot.WriterBase_info_get
if _newclass:
info = _swig_property(_openshot.WriterBase_info_get, _openshot.WriterBase_info_set)
def CopyReaderInfo(self, reader):
"""CopyReaderInfo(WriterBase self, ReaderBase reader)"""
return _openshot.WriterBase_CopyReaderInfo(self, reader)
def IsOpen(self):
"""IsOpen(WriterBase self) -> bool"""
return _openshot.WriterBase_IsOpen(self)
def WriteFrame(self, *args):
"""
WriteFrame(WriterBase self, std::shared_ptr< openshot::Frame > frame)
WriteFrame(WriterBase self, ReaderBase reader, int64_t start, int64_t length)
"""
return _openshot.WriterBase_WriteFrame(self, *args)
def Json(self):
"""Json(WriterBase self) -> std::string"""
return _openshot.WriterBase_Json(self)
def JsonValue(self):
"""JsonValue(WriterBase self) -> Json::Value"""
return _openshot.WriterBase_JsonValue(self)
def SetJson(self, value):
"""SetJson(WriterBase self, std::string value)"""
return _openshot.WriterBase_SetJson(self, value)
def SetJsonValue(self, root):
"""SetJsonValue(WriterBase self, Json::Value root)"""
return _openshot.WriterBase_SetJsonValue(self, root)
def DisplayInfo(self):
"""DisplayInfo(WriterBase self)"""
return _openshot.WriterBase_DisplayInfo(self)
def Open(self):
"""Open(WriterBase self)"""
return _openshot.WriterBase_Open(self)
__swig_destroy__ = _openshot.delete_WriterBase
__del__ = lambda self: None
WriterBase_swigregister = _openshot.WriterBase_swigregister
WriterBase_swigregister(WriterBase)
class CacheBase(_object):
"""Proxy of C++ openshot::CacheBase class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, CacheBase, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CacheBase, name)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
def Add(self, frame):
"""Add(CacheBase self, std::shared_ptr< openshot::Frame > frame)"""
return _openshot.CacheBase_Add(self, frame)
def Clear(self):
"""Clear(CacheBase self)"""
return _openshot.CacheBase_Clear(self)
def Count(self):
"""Count(CacheBase self) -> int64_t"""
return _openshot.CacheBase_Count(self)
def GetFrame(self, frame_number):
"""GetFrame(CacheBase self, int64_t frame_number) -> std::shared_ptr< openshot::Frame >"""
return _openshot.CacheBase_GetFrame(self, frame_number)
def GetBytes(self):
"""GetBytes(CacheBase self) -> int64_t"""
return _openshot.CacheBase_GetBytes(self)
def GetSmallestFrame(self):
"""GetSmallestFrame(CacheBase self) -> std::shared_ptr< openshot::Frame >"""
return _openshot.CacheBase_GetSmallestFrame(self)
def Remove(self, *args):
"""
Remove(CacheBase self, int64_t frame_number)
Remove(CacheBase self, int64_t start_frame_number, int64_t end_frame_number)
"""
return _openshot.CacheBase_Remove(self, *args)
def GetMaxBytes(self):
"""GetMaxBytes(CacheBase self) -> int64_t"""
return _openshot.CacheBase_GetMaxBytes(self)
def SetMaxBytes(self, number_of_bytes):
"""SetMaxBytes(CacheBase self, int64_t number_of_bytes)"""
return _openshot.CacheBase_SetMaxBytes(self, number_of_bytes)
def SetMaxBytesFromInfo(self, number_of_frames, width, height, sample_rate, channels):
"""SetMaxBytesFromInfo(CacheBase self, int64_t number_of_frames, int width, int height, int sample_rate, int channels)"""
return _openshot.CacheBase_SetMaxBytesFromInfo(self, number_of_frames, width, height, sample_rate, channels)
def Json(self):
"""Json(CacheBase self) -> std::string"""
return _openshot.CacheBase_Json(self)
def SetJson(self, value):
"""SetJson(CacheBase self, std::string value)"""
return _openshot.CacheBase_SetJson(self, value)
def JsonValue(self):
"""JsonValue(CacheBase self) -> Json::Value"""
return _openshot.CacheBase_JsonValue(self)
def SetJsonValue(self, root):
"""SetJsonValue(CacheBase self, Json::Value root)"""
return _openshot.CacheBase_SetJsonValue(self, root)
__swig_destroy__ = _openshot.delete_CacheBase
__del__ = lambda self: None
CacheBase_swigregister = _openshot.CacheBase_swigregister
CacheBase_swigregister(CacheBase)
class CacheDisk(CacheBase):
"""Proxy of C++ openshot::CacheDisk class."""
__swig_setmethods__ = {}
for _s in [CacheBase]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, CacheDisk, name, value)
__swig_getmethods__ = {}
for _s in [CacheBase]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, CacheDisk, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(openshot::CacheDisk self, std::string cache_path, std::string format, float quality, float scale) -> CacheDisk
__init__(openshot::CacheDisk self, std::string cache_path, std::string format, float quality, float scale, int64_t max_bytes) -> CacheDisk
"""
this = _openshot.new_CacheDisk(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_CacheDisk
__del__ = lambda self: None
def Add(self, frame):
"""Add(CacheDisk self, std::shared_ptr< openshot::Frame > frame)"""
return _openshot.CacheDisk_Add(self, frame)
def Clear(self):
"""Clear(CacheDisk self)"""
return _openshot.CacheDisk_Clear(self)
def Count(self):
"""Count(CacheDisk self) -> int64_t"""
return _openshot.CacheDisk_Count(self)
def GetFrame(self, frame_number):
"""GetFrame(CacheDisk self, int64_t frame_number) -> std::shared_ptr< openshot::Frame >"""
return _openshot.CacheDisk_GetFrame(self, frame_number)
def GetBytes(self):
"""GetBytes(CacheDisk self) -> int64_t"""
return _openshot.CacheDisk_GetBytes(self)
def GetSmallestFrame(self):
"""GetSmallestFrame(CacheDisk self) -> std::shared_ptr< openshot::Frame >"""
return _openshot.CacheDisk_GetSmallestFrame(self)
def MoveToFront(self, frame_number):
"""MoveToFront(CacheDisk self, int64_t frame_number)"""
return _openshot.CacheDisk_MoveToFront(self, frame_number)
def Remove(self, *args):
"""
Remove(CacheDisk self, int64_t frame_number)
Remove(CacheDisk self, int64_t start_frame_number, int64_t end_frame_number)
"""
return _openshot.CacheDisk_Remove(self, *args)
def Json(self):
"""Json(CacheDisk self) -> std::string"""
return _openshot.CacheDisk_Json(self)
def SetJson(self, value):
"""SetJson(CacheDisk self, std::string value)"""
return _openshot.CacheDisk_SetJson(self, value)
def JsonValue(self):
"""JsonValue(CacheDisk self) -> Json::Value"""
return _openshot.CacheDisk_JsonValue(self)
def SetJsonValue(self, root):
"""SetJsonValue(CacheDisk self, Json::Value root)"""
return _openshot.CacheDisk_SetJsonValue(self, root)
CacheDisk_swigregister = _openshot.CacheDisk_swigregister
CacheDisk_swigregister(CacheDisk)
class CacheMemory(CacheBase):
"""Proxy of C++ openshot::CacheMemory class."""
__swig_setmethods__ = {}
for _s in [CacheBase]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, CacheMemory, name, value)
__swig_getmethods__ = {}
for _s in [CacheBase]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, CacheMemory, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(openshot::CacheMemory self) -> CacheMemory
__init__(openshot::CacheMemory self, int64_t max_bytes) -> CacheMemory
"""
this = _openshot.new_CacheMemory(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_CacheMemory
__del__ = lambda self: None
def Add(self, frame):
"""Add(CacheMemory self, std::shared_ptr< openshot::Frame > frame)"""
return _openshot.CacheMemory_Add(self, frame)
def Clear(self):
"""Clear(CacheMemory self)"""
return _openshot.CacheMemory_Clear(self)
def Count(self):
"""Count(CacheMemory self) -> int64_t"""
return _openshot.CacheMemory_Count(self)
def GetFrame(self, frame_number):
"""GetFrame(CacheMemory self, int64_t frame_number) -> std::shared_ptr< openshot::Frame >"""
return _openshot.CacheMemory_GetFrame(self, frame_number)
def GetBytes(self):
"""GetBytes(CacheMemory self) -> int64_t"""
return _openshot.CacheMemory_GetBytes(self)
def GetSmallestFrame(self):
"""GetSmallestFrame(CacheMemory self) -> std::shared_ptr< openshot::Frame >"""
return _openshot.CacheMemory_GetSmallestFrame(self)
def MoveToFront(self, frame_number):
"""MoveToFront(CacheMemory self, int64_t frame_number)"""
return _openshot.CacheMemory_MoveToFront(self, frame_number)
def Remove(self, *args):
"""
Remove(CacheMemory self, int64_t frame_number)
Remove(CacheMemory self, int64_t start_frame_number, int64_t end_frame_number)
"""
return _openshot.CacheMemory_Remove(self, *args)
def Json(self):
"""Json(CacheMemory self) -> std::string"""
return _openshot.CacheMemory_Json(self)
def SetJson(self, value):
"""SetJson(CacheMemory self, std::string value)"""
return _openshot.CacheMemory_SetJson(self, value)
def JsonValue(self):
"""JsonValue(CacheMemory self) -> Json::Value"""
return _openshot.CacheMemory_JsonValue(self)
def SetJsonValue(self, root):
"""SetJsonValue(CacheMemory self, Json::Value root)"""
return _openshot.CacheMemory_SetJsonValue(self, root)
CacheMemory_swigregister = _openshot.CacheMemory_swigregister
CacheMemory_swigregister(CacheMemory)
LAYOUT_MONO = _openshot.LAYOUT_MONO
LAYOUT_STEREO = _openshot.LAYOUT_STEREO
LAYOUT_2POINT1 = _openshot.LAYOUT_2POINT1
LAYOUT_2_1 = _openshot.LAYOUT_2_1
LAYOUT_SURROUND = _openshot.LAYOUT_SURROUND
LAYOUT_3POINT1 = _openshot.LAYOUT_3POINT1
LAYOUT_4POINT0 = _openshot.LAYOUT_4POINT0
LAYOUT_4POINT1 = _openshot.LAYOUT_4POINT1
LAYOUT_2_2 = _openshot.LAYOUT_2_2
LAYOUT_QUAD = _openshot.LAYOUT_QUAD
LAYOUT_5POINT0 = _openshot.LAYOUT_5POINT0
LAYOUT_5POINT1 = _openshot.LAYOUT_5POINT1
LAYOUT_5POINT0_BACK = _openshot.LAYOUT_5POINT0_BACK
LAYOUT_5POINT1_BACK = _openshot.LAYOUT_5POINT1_BACK
LAYOUT_6POINT0 = _openshot.LAYOUT_6POINT0
LAYOUT_6POINT0_FRONT = _openshot.LAYOUT_6POINT0_FRONT
LAYOUT_HEXAGONAL = _openshot.LAYOUT_HEXAGONAL
LAYOUT_6POINT1 = _openshot.LAYOUT_6POINT1
LAYOUT_6POINT1_BACK = _openshot.LAYOUT_6POINT1_BACK
LAYOUT_6POINT1_FRONT = _openshot.LAYOUT_6POINT1_FRONT
LAYOUT_7POINT0 = _openshot.LAYOUT_7POINT0
LAYOUT_7POINT0_FRONT = _openshot.LAYOUT_7POINT0_FRONT
LAYOUT_7POINT1 = _openshot.LAYOUT_7POINT1
LAYOUT_7POINT1_WIDE = _openshot.LAYOUT_7POINT1_WIDE
LAYOUT_7POINT1_WIDE_BACK = _openshot.LAYOUT_7POINT1_WIDE_BACK
LAYOUT_OCTAGONAL = _openshot.LAYOUT_OCTAGONAL
LAYOUT_STEREO_DOWNMIX = _openshot.LAYOUT_STEREO_DOWNMIX
class ChunkLocation(_object):
"""Proxy of C++ openshot::ChunkLocation class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ChunkLocation, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ChunkLocation, name)
__repr__ = _swig_repr
__swig_setmethods__["number"] = _openshot.ChunkLocation_number_set
__swig_getmethods__["number"] = _openshot.ChunkLocation_number_get
if _newclass:
number = _swig_property(_openshot.ChunkLocation_number_get, _openshot.ChunkLocation_number_set)
__swig_setmethods__["frame"] = _openshot.ChunkLocation_frame_set
__swig_getmethods__["frame"] = _openshot.ChunkLocation_frame_get
if _newclass:
frame = _swig_property(_openshot.ChunkLocation_frame_get, _openshot.ChunkLocation_frame_set)
def __init__(self):
"""__init__(openshot::ChunkLocation self) -> ChunkLocation"""
this = _openshot.new_ChunkLocation()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_ChunkLocation
__del__ = lambda self: None
ChunkLocation_swigregister = _openshot.ChunkLocation_swigregister
ChunkLocation_swigregister(ChunkLocation)
THUMBNAIL = _openshot.THUMBNAIL
PREVIEW = _openshot.PREVIEW
FINAL = _openshot.FINAL
class ChunkReader(ReaderBase):
"""Proxy of C++ openshot::ChunkReader class."""
__swig_setmethods__ = {}
for _s in [ReaderBase]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ChunkReader, name, value)
__swig_getmethods__ = {}
for _s in [ReaderBase]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, ChunkReader, name)
__repr__ = _swig_repr
def __init__(self, path, chunk_version):
"""__init__(openshot::ChunkReader self, std::string path, openshot::ChunkVersion chunk_version) -> ChunkReader"""
this = _openshot.new_ChunkReader(path, chunk_version)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def Close(self):
"""Close(ChunkReader self)"""
return _openshot.ChunkReader_Close(self)
def GetChunkSize(self):
"""GetChunkSize(ChunkReader self) -> int64_t"""
return _openshot.ChunkReader_GetChunkSize(self)
def SetChunkSize(self, new_size):
"""SetChunkSize(ChunkReader self, int64_t new_size)"""
return _openshot.ChunkReader_SetChunkSize(self, new_size)
def GetCache(self):
"""GetCache(ChunkReader self) -> CacheMemory"""
return _openshot.ChunkReader_GetCache(self)
def GetFrame(self, requested_frame):
"""GetFrame(ChunkReader self, int64_t requested_frame) -> std::shared_ptr< openshot::Frame >"""
return _openshot.ChunkReader_GetFrame(self, requested_frame)
def IsOpen(self):
"""IsOpen(ChunkReader self) -> bool"""
return _openshot.ChunkReader_IsOpen(self)
def Name(self):
"""Name(ChunkReader self) -> std::string"""
return _openshot.ChunkReader_Name(self)
def Json(self):
"""Json(ChunkReader self) -> std::string"""
return _openshot.ChunkReader_Json(self)
def SetJson(self, value):
"""SetJson(ChunkReader self, std::string value)"""
return _openshot.ChunkReader_SetJson(self, value)
def JsonValue(self):
"""JsonValue(ChunkReader self) -> Json::Value"""
return _openshot.ChunkReader_JsonValue(self)
def SetJsonValue(self, root):
"""SetJsonValue(ChunkReader self, Json::Value root)"""
return _openshot.ChunkReader_SetJsonValue(self, root)
def Open(self):
"""Open(ChunkReader self)"""
return _openshot.ChunkReader_Open(self)
__swig_destroy__ = _openshot.delete_ChunkReader
__del__ = lambda self: None
ChunkReader_swigregister = _openshot.ChunkReader_swigregister
ChunkReader_swigregister(ChunkReader)
class ChunkWriter(WriterBase):
"""Proxy of C++ openshot::ChunkWriter class."""
__swig_setmethods__ = {}
for _s in [WriterBase]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ChunkWriter, name, value)
__swig_getmethods__ = {}
for _s in [WriterBase]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, ChunkWriter, name)
__repr__ = _swig_repr
def __init__(self, path, reader):
"""__init__(openshot::ChunkWriter self, std::string path, ReaderBase reader) -> ChunkWriter"""
this = _openshot.new_ChunkWriter(path, reader)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def Close(self):
"""Close(ChunkWriter self)"""
return _openshot.ChunkWriter_Close(self)
def GetChunkSize(self):
"""GetChunkSize(ChunkWriter self) -> int64_t"""
return _openshot.ChunkWriter_GetChunkSize(self)
def IsOpen(self):
"""IsOpen(ChunkWriter self) -> bool"""
return _openshot.ChunkWriter_IsOpen(self)
def Open(self):
"""Open(ChunkWriter self)"""
return _openshot.ChunkWriter_Open(self)
def SetChunkSize(self, new_size):
"""SetChunkSize(ChunkWriter self, int64_t new_size)"""
return _openshot.ChunkWriter_SetChunkSize(self, new_size)
def WriteFrame(self, *args):
"""
WriteFrame(ChunkWriter self, std::shared_ptr< openshot::Frame > frame)
WriteFrame(ChunkWriter self, int64_t start, int64_t length)
WriteFrame(ChunkWriter self, ReaderBase reader, int64_t start, int64_t length)
"""
return _openshot.ChunkWriter_WriteFrame(self, *args)
__swig_destroy__ = _openshot.delete_ChunkWriter
__del__ = lambda self: None
ChunkWriter_swigregister = _openshot.ChunkWriter_swigregister
ChunkWriter_swigregister(ChunkWriter)
class ClipBase(_object):
"""Proxy of C++ openshot::ClipBase class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ClipBase, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ClipBase, name)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
def __lt__(self, a):
"""__lt__(ClipBase self, ClipBase a) -> bool"""
return _openshot.ClipBase___lt__(self, a)
def __le__(self, a):
"""__le__(ClipBase self, ClipBase a) -> bool"""
return _openshot.ClipBase___le__(self, a)
def __gt__(self, a):
"""__gt__(ClipBase self, ClipBase a) -> bool"""
return _openshot.ClipBase___gt__(self, a)
def __ge__(self, a):
"""__ge__(ClipBase self, ClipBase a) -> bool"""
return _openshot.ClipBase___ge__(self, a)
def Duration(self):
"""Duration(ClipBase self) -> float"""
return _openshot.ClipBase_Duration(self)
def Id(self, *args):
"""
Id(ClipBase self) -> std::string
Id(ClipBase self, std::string value)
"""
return _openshot.ClipBase_Id(self, *args)
def Position(self, *args):
"""
Position(ClipBase self) -> float
Position(ClipBase self, float value)
"""
return _openshot.ClipBase_Position(self, *args)
def Layer(self, *args):
"""
Layer(ClipBase self) -> int
Layer(ClipBase self, int value)
"""
return _openshot.ClipBase_Layer(self, *args)
def Start(self, *args):
"""
Start(ClipBase self) -> float
Start(ClipBase self, float value)
"""
return _openshot.ClipBase_Start(self, *args)
def End(self, *args):
"""
End(ClipBase self) -> float
End(ClipBase self, float value)
"""
return _openshot.ClipBase_End(self, *args)
def SetMaxSize(self, width, height):
"""SetMaxSize(ClipBase self, int width, int height)"""
return _openshot.ClipBase_SetMaxSize(self, width, height)
def Json(self):
"""Json(ClipBase self) -> std::string"""
return _openshot.ClipBase_Json(self)
def SetJson(self, value):
"""SetJson(ClipBase self, std::string value)"""
return _openshot.ClipBase_SetJson(self, value)
def JsonValue(self):
"""JsonValue(ClipBase self) -> Json::Value"""
return _openshot.ClipBase_JsonValue(self)
def SetJsonValue(self, root):
"""SetJsonValue(ClipBase self, Json::Value root)"""
return _openshot.ClipBase_SetJsonValue(self, root)
def PropertiesJSON(self, requested_frame):
"""PropertiesJSON(ClipBase self, int64_t requested_frame) -> std::string"""
return _openshot.ClipBase_PropertiesJSON(self, requested_frame)
__swig_destroy__ = _openshot.delete_ClipBase
__del__ = lambda self: None
ClipBase_swigregister = _openshot.ClipBase_swigregister
ClipBase_swigregister(ClipBase)
class CompareClipEffects(_object):
"""Proxy of C++ openshot::CompareClipEffects class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, CompareClipEffects, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CompareClipEffects, name)
__repr__ = _swig_repr
def __call__(self, lhs, rhs):
"""__call__(CompareClipEffects self, EffectBase lhs, EffectBase rhs) -> bool"""
return _openshot.CompareClipEffects___call__(self, lhs, rhs)
def __init__(self):
"""__init__(openshot::CompareClipEffects self) -> CompareClipEffects"""
this = _openshot.new_CompareClipEffects()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_CompareClipEffects
__del__ = lambda self: None
CompareClipEffects_swigregister = _openshot.CompareClipEffects_swigregister
CompareClipEffects_swigregister(CompareClipEffects)
class Clip(ClipBase):
"""Proxy of C++ openshot::Clip class."""
__swig_setmethods__ = {}
for _s in [ClipBase]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, Clip, name, value)
__swig_getmethods__ = {}
for _s in [ClipBase]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, Clip, name)
__repr__ = _swig_repr
__swig_setmethods__["gravity"] = _openshot.Clip_gravity_set
__swig_getmethods__["gravity"] = _openshot.Clip_gravity_get
if _newclass:
gravity = _swig_property(_openshot.Clip_gravity_get, _openshot.Clip_gravity_set)
__swig_setmethods__["scale"] = _openshot.Clip_scale_set
__swig_getmethods__["scale"] = _openshot.Clip_scale_get
if _newclass:
scale = _swig_property(_openshot.Clip_scale_get, _openshot.Clip_scale_set)
__swig_setmethods__["anchor"] = _openshot.Clip_anchor_set
__swig_getmethods__["anchor"] = _openshot.Clip_anchor_get
if _newclass:
anchor = _swig_property(_openshot.Clip_anchor_get, _openshot.Clip_anchor_set)
__swig_setmethods__["display"] = _openshot.Clip_display_set
__swig_getmethods__["display"] = _openshot.Clip_display_get
if _newclass:
display = _swig_property(_openshot.Clip_display_get, _openshot.Clip_display_set)
def __init__(self, *args):
"""
__init__(openshot::Clip self) -> Clip
__init__(openshot::Clip self, std::string path) -> Clip
__init__(openshot::Clip self, ReaderBase new_reader) -> Clip
"""
this = _openshot.new_Clip(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_Clip
__del__ = lambda self: None
def AddEffect(self, effect):
"""AddEffect(Clip self, EffectBase effect)"""
return _openshot.Clip_AddEffect(self, effect)
def Close(self):
"""Close(Clip self)"""
return _openshot.Clip_Close(self)
def Effects(self):
"""Effects(Clip self) -> EffectBaseList"""
return _openshot.Clip_Effects(self)
def GetFrame(self, requested_frame):
"""GetFrame(Clip self, int64_t requested_frame) -> std::shared_ptr< openshot::Frame >"""
return _openshot.Clip_GetFrame(self, requested_frame)
def Open(self):
"""Open(Clip self)"""
return _openshot.Clip_Open(self)
def Reader(self, *args):
"""
Reader(Clip self, ReaderBase new_reader)
Reader(Clip self) -> ReaderBase
"""
return _openshot.Clip_Reader(self, *args)
def End(self, *args):
"""
End(Clip self) -> float
End(Clip self, float value)
"""
return _openshot.Clip_End(self, *args)
def Json(self):
"""Json(Clip self) -> std::string"""
return _openshot.Clip_Json(self)
def SetJson(self, value):
"""SetJson(Clip self, std::string value)"""
return _openshot.Clip_SetJson(self, value)
def JsonValue(self):
"""JsonValue(Clip self) -> Json::Value"""
return _openshot.Clip_JsonValue(self)
def SetJsonValue(self, root):
"""SetJsonValue(Clip self, Json::Value root)"""
return _openshot.Clip_SetJsonValue(self, root)
def PropertiesJSON(self, requested_frame):
"""PropertiesJSON(Clip self, int64_t requested_frame) -> std::string"""
return _openshot.Clip_PropertiesJSON(self, requested_frame)
def RemoveEffect(self, effect):
"""RemoveEffect(Clip self, EffectBase effect)"""
return _openshot.Clip_RemoveEffect(self, effect)
def Waveform(self, *args):
"""
Waveform(Clip self) -> bool
Waveform(Clip self, bool value)
"""
return _openshot.Clip_Waveform(self, *args)
__swig_setmethods__["scale_x"] = _openshot.Clip_scale_x_set
__swig_getmethods__["scale_x"] = _openshot.Clip_scale_x_get
if _newclass:
scale_x = _swig_property(_openshot.Clip_scale_x_get, _openshot.Clip_scale_x_set)
__swig_setmethods__["scale_y"] = _openshot.Clip_scale_y_set
__swig_getmethods__["scale_y"] = _openshot.Clip_scale_y_get
if _newclass:
scale_y = _swig_property(_openshot.Clip_scale_y_get, _openshot.Clip_scale_y_set)
__swig_setmethods__["location_x"] = _openshot.Clip_location_x_set
__swig_getmethods__["location_x"] = _openshot.Clip_location_x_get
if _newclass:
location_x = _swig_property(_openshot.Clip_location_x_get, _openshot.Clip_location_x_set)
__swig_setmethods__["location_y"] = _openshot.Clip_location_y_set
__swig_getmethods__["location_y"] = _openshot.Clip_location_y_get
if _newclass:
location_y = _swig_property(_openshot.Clip_location_y_get, _openshot.Clip_location_y_set)
__swig_setmethods__["alpha"] = _openshot.Clip_alpha_set
__swig_getmethods__["alpha"] = _openshot.Clip_alpha_get
if _newclass:
alpha = _swig_property(_openshot.Clip_alpha_get, _openshot.Clip_alpha_set)
__swig_setmethods__["rotation"] = _openshot.Clip_rotation_set
__swig_getmethods__["rotation"] = _openshot.Clip_rotation_get
if _newclass:
rotation = _swig_property(_openshot.Clip_rotation_get, _openshot.Clip_rotation_set)
__swig_setmethods__["time"] = _openshot.Clip_time_set
__swig_getmethods__["time"] = _openshot.Clip_time_get
if _newclass:
time = _swig_property(_openshot.Clip_time_get, _openshot.Clip_time_set)
__swig_setmethods__["volume"] = _openshot.Clip_volume_set
__swig_getmethods__["volume"] = _openshot.Clip_volume_get
if _newclass:
volume = _swig_property(_openshot.Clip_volume_get, _openshot.Clip_volume_set)
__swig_setmethods__["wave_color"] = _openshot.Clip_wave_color_set
__swig_getmethods__["wave_color"] = _openshot.Clip_wave_color_get
if _newclass:
wave_color = _swig_property(_openshot.Clip_wave_color_get, _openshot.Clip_wave_color_set)
__swig_setmethods__["crop_gravity"] = _openshot.Clip_crop_gravity_set
__swig_getmethods__["crop_gravity"] = _openshot.Clip_crop_gravity_get
if _newclass:
crop_gravity = _swig_property(_openshot.Clip_crop_gravity_get, _openshot.Clip_crop_gravity_set)
__swig_setmethods__["crop_width"] = _openshot.Clip_crop_width_set
__swig_getmethods__["crop_width"] = _openshot.Clip_crop_width_get
if _newclass:
crop_width = _swig_property(_openshot.Clip_crop_width_get, _openshot.Clip_crop_width_set)
__swig_setmethods__["crop_height"] = _openshot.Clip_crop_height_set
__swig_getmethods__["crop_height"] = _openshot.Clip_crop_height_get
if _newclass:
crop_height = _swig_property(_openshot.Clip_crop_height_get, _openshot.Clip_crop_height_set)
__swig_setmethods__["crop_x"] = _openshot.Clip_crop_x_set
__swig_getmethods__["crop_x"] = _openshot.Clip_crop_x_get
if _newclass:
crop_x = _swig_property(_openshot.Clip_crop_x_get, _openshot.Clip_crop_x_set)
__swig_setmethods__["crop_y"] = _openshot.Clip_crop_y_set
__swig_getmethods__["crop_y"] = _openshot.Clip_crop_y_get
if _newclass:
crop_y = _swig_property(_openshot.Clip_crop_y_get, _openshot.Clip_crop_y_set)
__swig_setmethods__["shear_x"] = _openshot.Clip_shear_x_set
__swig_getmethods__["shear_x"] = _openshot.Clip_shear_x_get
if _newclass:
shear_x = _swig_property(_openshot.Clip_shear_x_get, _openshot.Clip_shear_x_set)
__swig_setmethods__["shear_y"] = _openshot.Clip_shear_y_set
__swig_getmethods__["shear_y"] = _openshot.Clip_shear_y_get
if _newclass:
shear_y = _swig_property(_openshot.Clip_shear_y_get, _openshot.Clip_shear_y_set)
__swig_setmethods__["perspective_c1_x"] = _openshot.Clip_perspective_c1_x_set
__swig_getmethods__["perspective_c1_x"] = _openshot.Clip_perspective_c1_x_get
if _newclass:
perspective_c1_x = _swig_property(_openshot.Clip_perspective_c1_x_get, _openshot.Clip_perspective_c1_x_set)
__swig_setmethods__["perspective_c1_y"] = _openshot.Clip_perspective_c1_y_set
__swig_getmethods__["perspective_c1_y"] = _openshot.Clip_perspective_c1_y_get
if _newclass:
perspective_c1_y = _swig_property(_openshot.Clip_perspective_c1_y_get, _openshot.Clip_perspective_c1_y_set)
__swig_setmethods__["perspective_c2_x"] = _openshot.Clip_perspective_c2_x_set
__swig_getmethods__["perspective_c2_x"] = _openshot.Clip_perspective_c2_x_get
if _newclass:
perspective_c2_x = _swig_property(_openshot.Clip_perspective_c2_x_get, _openshot.Clip_perspective_c2_x_set)
__swig_setmethods__["perspective_c2_y"] = _openshot.Clip_perspective_c2_y_set
__swig_getmethods__["perspective_c2_y"] = _openshot.Clip_perspective_c2_y_get
if _newclass:
perspective_c2_y = _swig_property(_openshot.Clip_perspective_c2_y_get, _openshot.Clip_perspective_c2_y_set)
__swig_setmethods__["perspective_c3_x"] = _openshot.Clip_perspective_c3_x_set
__swig_getmethods__["perspective_c3_x"] = _openshot.Clip_perspective_c3_x_get
if _newclass:
perspective_c3_x = _swig_property(_openshot.Clip_perspective_c3_x_get, _openshot.Clip_perspective_c3_x_set)
__swig_setmethods__["perspective_c3_y"] = _openshot.Clip_perspective_c3_y_set
__swig_getmethods__["perspective_c3_y"] = _openshot.Clip_perspective_c3_y_get
if _newclass:
perspective_c3_y = _swig_property(_openshot.Clip_perspective_c3_y_get, _openshot.Clip_perspective_c3_y_set)
__swig_setmethods__["perspective_c4_x"] = _openshot.Clip_perspective_c4_x_set
__swig_getmethods__["perspective_c4_x"] = _openshot.Clip_perspective_c4_x_get
if _newclass:
perspective_c4_x = _swig_property(_openshot.Clip_perspective_c4_x_get, _openshot.Clip_perspective_c4_x_set)
__swig_setmethods__["perspective_c4_y"] = _openshot.Clip_perspective_c4_y_set
__swig_getmethods__["perspective_c4_y"] = _openshot.Clip_perspective_c4_y_get
if _newclass:
perspective_c4_y = _swig_property(_openshot.Clip_perspective_c4_y_get, _openshot.Clip_perspective_c4_y_set)
__swig_setmethods__["channel_filter"] = _openshot.Clip_channel_filter_set
__swig_getmethods__["channel_filter"] = _openshot.Clip_channel_filter_get
if _newclass:
channel_filter = _swig_property(_openshot.Clip_channel_filter_get, _openshot.Clip_channel_filter_set)
__swig_setmethods__["channel_mapping"] = _openshot.Clip_channel_mapping_set
__swig_getmethods__["channel_mapping"] = _openshot.Clip_channel_mapping_get
if _newclass:
channel_mapping = _swig_property(_openshot.Clip_channel_mapping_get, _openshot.Clip_channel_mapping_set)
__swig_setmethods__["has_audio"] = _openshot.Clip_has_audio_set
__swig_getmethods__["has_audio"] = _openshot.Clip_has_audio_get
if _newclass:
has_audio = _swig_property(_openshot.Clip_has_audio_get, _openshot.Clip_has_audio_set)
__swig_setmethods__["has_video"] = _openshot.Clip_has_video_set
__swig_getmethods__["has_video"] = _openshot.Clip_has_video_get
if _newclass:
has_video = _swig_property(_openshot.Clip_has_video_get, _openshot.Clip_has_video_set)
Clip_swigregister = _openshot.Clip_swigregister
Clip_swigregister(Clip)
class Coordinate(_object):
"""Proxy of C++ openshot::Coordinate class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Coordinate, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Coordinate, name)
__repr__ = _swig_repr
__swig_setmethods__["X"] = _openshot.Coordinate_X_set
__swig_getmethods__["X"] = _openshot.Coordinate_X_get
if _newclass:
X = _swig_property(_openshot.Coordinate_X_get, _openshot.Coordinate_X_set)
__swig_setmethods__["Y"] = _openshot.Coordinate_Y_set
__swig_getmethods__["Y"] = _openshot.Coordinate_Y_get
if _newclass:
Y = _swig_property(_openshot.Coordinate_Y_get, _openshot.Coordinate_Y_set)
def __init__(self, *args):
"""
__init__(openshot::Coordinate self) -> Coordinate
__init__(openshot::Coordinate self, double x, double y) -> Coordinate
"""
this = _openshot.new_Coordinate(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def Repeat(self, *args):
"""
Repeat(Coordinate self, Fraction is_repeated)
Repeat(Coordinate self) -> Fraction
"""
return _openshot.Coordinate_Repeat(self, *args)
def IsIncreasing(self, *args):
"""
IsIncreasing(Coordinate self, bool is_increasing)
IsIncreasing(Coordinate self) -> bool
"""
return _openshot.Coordinate_IsIncreasing(self, *args)
def Delta(self, *args):
"""
Delta(Coordinate self, double new_delta)
Delta(Coordinate self) -> float
"""
return _openshot.Coordinate_Delta(self, *args)
def Json(self):
"""Json(Coordinate self) -> std::string"""
return _openshot.Coordinate_Json(self)
def JsonValue(self):
"""JsonValue(Coordinate self) -> Json::Value"""
return _openshot.Coordinate_JsonValue(self)
def SetJson(self, value):
"""SetJson(Coordinate self, std::string value)"""
return _openshot.Coordinate_SetJson(self, value)
def SetJsonValue(self, root):
"""SetJsonValue(Coordinate self, Json::Value root)"""
return _openshot.Coordinate_SetJsonValue(self, root)
__swig_destroy__ = _openshot.delete_Coordinate
__del__ = lambda self: None
Coordinate_swigregister = _openshot.Coordinate_swigregister
Coordinate_swigregister(Coordinate)
class Color(_object):
"""Proxy of C++ openshot::Color class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Color, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Color, name)
__repr__ = _swig_repr
__swig_setmethods__["red"] = _openshot.Color_red_set
__swig_getmethods__["red"] = _openshot.Color_red_get
if _newclass:
red = _swig_property(_openshot.Color_red_get, _openshot.Color_red_set)
__swig_setmethods__["green"] = _openshot.Color_green_set
__swig_getmethods__["green"] = _openshot.Color_green_get
if _newclass:
green = _swig_property(_openshot.Color_green_get, _openshot.Color_green_set)
__swig_setmethods__["blue"] = _openshot.Color_blue_set
__swig_getmethods__["blue"] = _openshot.Color_blue_get
if _newclass:
blue = _swig_property(_openshot.Color_blue_get, _openshot.Color_blue_set)
__swig_setmethods__["alpha"] = _openshot.Color_alpha_set
__swig_getmethods__["alpha"] = _openshot.Color_alpha_get
if _newclass:
alpha = _swig_property(_openshot.Color_alpha_get, _openshot.Color_alpha_set)
def __init__(self, *args):
"""
__init__(openshot::Color self) -> Color
__init__(openshot::Color self, std::string color_hex) -> Color
__init__(openshot::Color self, unsigned char Red, unsigned char Green, unsigned char Blue, unsigned char Alpha) -> Color
__init__(openshot::Color self, Keyframe Red, Keyframe Green, Keyframe Blue, Keyframe Alpha) -> Color
"""
this = _openshot.new_Color(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def GetColorHex(self, frame_number):
"""GetColorHex(Color self, int64_t frame_number) -> std::string"""
return _openshot.Color_GetColorHex(self, frame_number)
def GetDistance(R1, G1, B1, R2, G2, B2):
"""GetDistance(long R1, long G1, long B1, long R2, long G2, long B2) -> long"""
return _openshot.Color_GetDistance(R1, G1, B1, R2, G2, B2)
GetDistance = staticmethod(GetDistance)
def Json(self):
"""Json(Color self) -> std::string"""
return _openshot.Color_Json(self)
def JsonValue(self):
"""JsonValue(Color self) -> Json::Value"""
return _openshot.Color_JsonValue(self)
def SetJson(self, value):
"""SetJson(Color self, std::string value)"""
return _openshot.Color_SetJson(self, value)
def SetJsonValue(self, root):
"""SetJsonValue(Color self, Json::Value root)"""
return _openshot.Color_SetJsonValue(self, root)
__swig_destroy__ = _openshot.delete_Color
__del__ = lambda self: None
Color_swigregister = _openshot.Color_swigregister
Color_swigregister(Color)
def Color_GetDistance(R1, G1, B1, R2, G2, B2):
"""Color_GetDistance(long R1, long G1, long B1, long R2, long G2, long B2) -> long"""
return _openshot.Color_GetDistance(R1, G1, B1, R2, G2, B2)
class DummyReader(ReaderBase):
"""Proxy of C++ openshot::DummyReader class."""
__swig_setmethods__ = {}
for _s in [ReaderBase]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, DummyReader, name, value)
__swig_getmethods__ = {}
for _s in [ReaderBase]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, DummyReader, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(openshot::DummyReader self) -> DummyReader
__init__(openshot::DummyReader self, Fraction fps, int width, int height, int sample_rate, int channels, float duration) -> DummyReader
"""
this = _openshot.new_DummyReader(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def Close(self):
"""Close(DummyReader self)"""
return _openshot.DummyReader_Close(self)
def GetCache(self):
"""GetCache(DummyReader self) -> CacheMemory"""
return _openshot.DummyReader_GetCache(self)
def GetFrame(self, requested_frame):
"""GetFrame(DummyReader self, int64_t requested_frame) -> std::shared_ptr< openshot::Frame >"""
return _openshot.DummyReader_GetFrame(self, requested_frame)
def IsOpen(self):
"""IsOpen(DummyReader self) -> bool"""
return _openshot.DummyReader_IsOpen(self)
def Name(self):
"""Name(DummyReader self) -> std::string"""
return _openshot.DummyReader_Name(self)
def Json(self):
"""Json(DummyReader self) -> std::string"""
return _openshot.DummyReader_Json(self)
def SetJson(self, value):
"""SetJson(DummyReader self, std::string value)"""
return _openshot.DummyReader_SetJson(self, value)
def JsonValue(self):
"""JsonValue(DummyReader self) -> Json::Value"""
return _openshot.DummyReader_JsonValue(self)
def SetJsonValue(self, root):
"""SetJsonValue(DummyReader self, Json::Value root)"""
return _openshot.DummyReader_SetJsonValue(self, root)
def Open(self):
"""Open(DummyReader self)"""
return _openshot.DummyReader_Open(self)
__swig_destroy__ = _openshot.delete_DummyReader
__del__ = lambda self: None
DummyReader_swigregister = _openshot.DummyReader_swigregister
DummyReader_swigregister(DummyReader)
class EffectInfoStruct(_object):
"""Proxy of C++ openshot::EffectInfoStruct class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, EffectInfoStruct, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, EffectInfoStruct, name)
__repr__ = _swig_repr
__swig_setmethods__["class_name"] = _openshot.EffectInfoStruct_class_name_set
__swig_getmethods__["class_name"] = _openshot.EffectInfoStruct_class_name_get
if _newclass:
class_name = _swig_property(_openshot.EffectInfoStruct_class_name_get, _openshot.EffectInfoStruct_class_name_set)
__swig_setmethods__["short_name"] = _openshot.EffectInfoStruct_short_name_set
__swig_getmethods__["short_name"] = _openshot.EffectInfoStruct_short_name_get
if _newclass:
short_name = _swig_property(_openshot.EffectInfoStruct_short_name_get, _openshot.EffectInfoStruct_short_name_set)
__swig_setmethods__["name"] = _openshot.EffectInfoStruct_name_set
__swig_getmethods__["name"] = _openshot.EffectInfoStruct_name_get
if _newclass:
name = _swig_property(_openshot.EffectInfoStruct_name_get, _openshot.EffectInfoStruct_name_set)
__swig_setmethods__["description"] = _openshot.EffectInfoStruct_description_set
__swig_getmethods__["description"] = _openshot.EffectInfoStruct_description_get
if _newclass:
description = _swig_property(_openshot.EffectInfoStruct_description_get, _openshot.EffectInfoStruct_description_set)
__swig_setmethods__["has_video"] = _openshot.EffectInfoStruct_has_video_set
__swig_getmethods__["has_video"] = _openshot.EffectInfoStruct_has_video_get
if _newclass:
has_video = _swig_property(_openshot.EffectInfoStruct_has_video_get, _openshot.EffectInfoStruct_has_video_set)
__swig_setmethods__["has_audio"] = _openshot.EffectInfoStruct_has_audio_set
__swig_getmethods__["has_audio"] = _openshot.EffectInfoStruct_has_audio_get
if _newclass:
has_audio = _swig_property(_openshot.EffectInfoStruct_has_audio_get, _openshot.EffectInfoStruct_has_audio_set)
def __init__(self):
"""__init__(openshot::EffectInfoStruct self) -> EffectInfoStruct"""
this = _openshot.new_EffectInfoStruct()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_EffectInfoStruct
__del__ = lambda self: None
EffectInfoStruct_swigregister = _openshot.EffectInfoStruct_swigregister
EffectInfoStruct_swigregister(EffectInfoStruct)
class EffectBase(ClipBase):
"""Proxy of C++ openshot::EffectBase class."""
__swig_setmethods__ = {}
for _s in [ClipBase]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, EffectBase, name, value)
__swig_getmethods__ = {}
for _s in [ClipBase]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, EffectBase, name)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_setmethods__["info"] = _openshot.EffectBase_info_set
__swig_getmethods__["info"] = _openshot.EffectBase_info_get
if _newclass:
info = _swig_property(_openshot.EffectBase_info_get, _openshot.EffectBase_info_set)
def DisplayInfo(self):
"""DisplayInfo(EffectBase self)"""
return _openshot.EffectBase_DisplayInfo(self)
def GetFrame(self, frame, frame_number):
"""GetFrame(EffectBase self, std::shared_ptr< openshot::Frame > frame, int64_t frame_number) -> std::shared_ptr< openshot::Frame >"""
return _openshot.EffectBase_GetFrame(self, frame, frame_number)
def InitEffectInfo(self):
"""InitEffectInfo(EffectBase self)"""
return _openshot.EffectBase_InitEffectInfo(self)
def Json(self):
"""Json(EffectBase self) -> std::string"""
return _openshot.EffectBase_Json(self)
def SetJson(self, value):
"""SetJson(EffectBase self, std::string value)"""
return _openshot.EffectBase_SetJson(self, value)
def JsonValue(self):
"""JsonValue(EffectBase self) -> Json::Value"""
return _openshot.EffectBase_JsonValue(self)
def SetJsonValue(self, root):
"""SetJsonValue(EffectBase self, Json::Value root)"""
return _openshot.EffectBase_SetJsonValue(self, root)
def JsonInfo(self):
"""JsonInfo(EffectBase self) -> Json::Value"""
return _openshot.EffectBase_JsonInfo(self)
def Order(self, *args):
"""
Order(EffectBase self) -> int
Order(EffectBase self, int new_order)
"""
return _openshot.EffectBase_Order(self, *args)
__swig_destroy__ = _openshot.delete_EffectBase
__del__ = lambda self: None
EffectBase_swigregister = _openshot.EffectBase_swigregister
EffectBase_swigregister(EffectBase)
class EffectInfo(_object):
"""Proxy of C++ openshot::EffectInfo class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, EffectInfo, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, EffectInfo, name)
__repr__ = _swig_repr
def CreateEffect(self, effect_type):
"""CreateEffect(EffectInfo self, std::string effect_type) -> EffectBase"""
return _openshot.EffectInfo_CreateEffect(self, effect_type)
def Json():
"""Json() -> std::string"""
return _openshot.EffectInfo_Json()
Json = staticmethod(Json)
def JsonValue():
"""JsonValue() -> Json::Value"""
return _openshot.EffectInfo_JsonValue()
JsonValue = staticmethod(JsonValue)
def __init__(self):
"""__init__(openshot::EffectInfo self) -> EffectInfo"""
this = _openshot.new_EffectInfo()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_EffectInfo
__del__ = lambda self: None
EffectInfo_swigregister = _openshot.EffectInfo_swigregister
EffectInfo_swigregister(EffectInfo)
def EffectInfo_Json():
"""EffectInfo_Json() -> std::string"""
return _openshot.EffectInfo_Json()
def EffectInfo_JsonValue():
"""EffectInfo_JsonValue() -> Json::Value"""
return _openshot.EffectInfo_JsonValue()
GRAVITY_TOP_LEFT = _openshot.GRAVITY_TOP_LEFT
GRAVITY_TOP = _openshot.GRAVITY_TOP
GRAVITY_TOP_RIGHT = _openshot.GRAVITY_TOP_RIGHT
GRAVITY_LEFT = _openshot.GRAVITY_LEFT
GRAVITY_CENTER = _openshot.GRAVITY_CENTER
GRAVITY_RIGHT = _openshot.GRAVITY_RIGHT
GRAVITY_BOTTOM_LEFT = _openshot.GRAVITY_BOTTOM_LEFT
GRAVITY_BOTTOM = _openshot.GRAVITY_BOTTOM
GRAVITY_BOTTOM_RIGHT = _openshot.GRAVITY_BOTTOM_RIGHT
SCALE_CROP = _openshot.SCALE_CROP
SCALE_FIT = _openshot.SCALE_FIT
SCALE_STRETCH = _openshot.SCALE_STRETCH
SCALE_NONE = _openshot.SCALE_NONE
ANCHOR_CANVAS = _openshot.ANCHOR_CANVAS
ANCHOR_VIEWPORT = _openshot.ANCHOR_VIEWPORT
FRAME_DISPLAY_NONE = _openshot.FRAME_DISPLAY_NONE
FRAME_DISPLAY_CLIP = _openshot.FRAME_DISPLAY_CLIP
FRAME_DISPLAY_TIMELINE = _openshot.FRAME_DISPLAY_TIMELINE
FRAME_DISPLAY_BOTH = _openshot.FRAME_DISPLAY_BOTH
class BaseException(_object):
"""Proxy of C++ openshot::BaseException class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, BaseException, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, BaseException, name)
__repr__ = _swig_repr
def __init__(self, message):
"""__init__(openshot::BaseException self, std::string message) -> BaseException"""
this = _openshot.new_BaseException(message)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_BaseException
__del__ = lambda self: None
def what(self):
"""what(BaseException self) -> char const *"""
return _openshot.BaseException_what(self)
BaseException_swigregister = _openshot.BaseException_swigregister
BaseException_swigregister(BaseException)
class ChunkNotFound(BaseException):
"""Proxy of C++ openshot::ChunkNotFound class."""
__swig_setmethods__ = {}
for _s in [BaseException]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ChunkNotFound, name, value)
__swig_getmethods__ = {}
for _s in [BaseException]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, ChunkNotFound, name)
__repr__ = _swig_repr
__swig_setmethods__["file_path"] = _openshot.ChunkNotFound_file_path_set
__swig_getmethods__["file_path"] = _openshot.ChunkNotFound_file_path_get
if _newclass:
file_path = _swig_property(_openshot.ChunkNotFound_file_path_get, _openshot.ChunkNotFound_file_path_set)
__swig_setmethods__["frame_number"] = _openshot.ChunkNotFound_frame_number_set
__swig_getmethods__["frame_number"] = _openshot.ChunkNotFound_frame_number_get
if _newclass:
frame_number = _swig_property(_openshot.ChunkNotFound_frame_number_get, _openshot.ChunkNotFound_frame_number_set)
__swig_setmethods__["chunk_number"] = _openshot.ChunkNotFound_chunk_number_set
__swig_getmethods__["chunk_number"] = _openshot.ChunkNotFound_chunk_number_get
if _newclass:
chunk_number = _swig_property(_openshot.ChunkNotFound_chunk_number_get, _openshot.ChunkNotFound_chunk_number_set)
__swig_setmethods__["chunk_frame"] = _openshot.ChunkNotFound_chunk_frame_set
__swig_getmethods__["chunk_frame"] = _openshot.ChunkNotFound_chunk_frame_get
if _newclass:
chunk_frame = _swig_property(_openshot.ChunkNotFound_chunk_frame_get, _openshot.ChunkNotFound_chunk_frame_set)
def __init__(self, message, frame_number, chunk_number, chunk_frame):
"""__init__(openshot::ChunkNotFound self, std::string message, int64_t frame_number, int64_t chunk_number, int64_t chunk_frame) -> ChunkNotFound"""
this = _openshot.new_ChunkNotFound(message, frame_number, chunk_number, chunk_frame)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_ChunkNotFound
__del__ = lambda self: None
ChunkNotFound_swigregister = _openshot.ChunkNotFound_swigregister
ChunkNotFound_swigregister(ChunkNotFound)
class DecklinkError(BaseException):
"""Proxy of C++ openshot::DecklinkError class."""
__swig_setmethods__ = {}
for _s in [BaseException]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, DecklinkError, name, value)
__swig_getmethods__ = {}
for _s in [BaseException]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, DecklinkError, name)
__repr__ = _swig_repr
def __init__(self, message):
"""__init__(openshot::DecklinkError self, std::string message) -> DecklinkError"""
this = _openshot.new_DecklinkError(message)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_DecklinkError
__del__ = lambda self: None
DecklinkError_swigregister = _openshot.DecklinkError_swigregister
DecklinkError_swigregister(DecklinkError)
class ErrorDecodingAudio(BaseException):
"""Proxy of C++ openshot::ErrorDecodingAudio class."""
__swig_setmethods__ = {}
for _s in [BaseException]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ErrorDecodingAudio, name, value)
__swig_getmethods__ = {}
for _s in [BaseException]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, ErrorDecodingAudio, name)
__repr__ = _swig_repr
__swig_setmethods__["file_path"] = _openshot.ErrorDecodingAudio_file_path_set
__swig_getmethods__["file_path"] = _openshot.ErrorDecodingAudio_file_path_get
if _newclass:
file_path = _swig_property(_openshot.ErrorDecodingAudio_file_path_get, _openshot.ErrorDecodingAudio_file_path_set)
__swig_setmethods__["frame_number"] = _openshot.ErrorDecodingAudio_frame_number_set
__swig_getmethods__["frame_number"] = _openshot.ErrorDecodingAudio_frame_number_get
if _newclass:
frame_number = _swig_property(_openshot.ErrorDecodingAudio_frame_number_get, _openshot.ErrorDecodingAudio_frame_number_set)
def __init__(self, message, frame_number):
"""__init__(openshot::ErrorDecodingAudio self, std::string message, int64_t frame_number) -> ErrorDecodingAudio"""
this = _openshot.new_ErrorDecodingAudio(message, frame_number)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_ErrorDecodingAudio
__del__ = lambda self: None
ErrorDecodingAudio_swigregister = _openshot.ErrorDecodingAudio_swigregister
ErrorDecodingAudio_swigregister(ErrorDecodingAudio)
class ErrorEncodingAudio(BaseException):
"""Proxy of C++ openshot::ErrorEncodingAudio class."""
__swig_setmethods__ = {}
for _s in [BaseException]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ErrorEncodingAudio, name, value)
__swig_getmethods__ = {}
for _s in [BaseException]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, ErrorEncodingAudio, name)
__repr__ = _swig_repr
__swig_setmethods__["file_path"] = _openshot.ErrorEncodingAudio_file_path_set
__swig_getmethods__["file_path"] = _openshot.ErrorEncodingAudio_file_path_get
if _newclass:
file_path = _swig_property(_openshot.ErrorEncodingAudio_file_path_get, _openshot.ErrorEncodingAudio_file_path_set)
__swig_setmethods__["frame_number"] = _openshot.ErrorEncodingAudio_frame_number_set
__swig_getmethods__["frame_number"] = _openshot.ErrorEncodingAudio_frame_number_get
if _newclass:
frame_number = _swig_property(_openshot.ErrorEncodingAudio_frame_number_get, _openshot.ErrorEncodingAudio_frame_number_set)
def __init__(self, message, frame_number):
"""__init__(openshot::ErrorEncodingAudio self, std::string message, int64_t frame_number) -> ErrorEncodingAudio"""
this = _openshot.new_ErrorEncodingAudio(message, frame_number)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_ErrorEncodingAudio
__del__ = lambda self: None
ErrorEncodingAudio_swigregister = _openshot.ErrorEncodingAudio_swigregister
ErrorEncodingAudio_swigregister(ErrorEncodingAudio)
class ErrorEncodingVideo(BaseException):
"""Proxy of C++ openshot::ErrorEncodingVideo class."""
__swig_setmethods__ = {}
for _s in [BaseException]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ErrorEncodingVideo, name, value)
__swig_getmethods__ = {}
for _s in [BaseException]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, ErrorEncodingVideo, name)
__repr__ = _swig_repr
__swig_setmethods__["file_path"] = _openshot.ErrorEncodingVideo_file_path_set
__swig_getmethods__["file_path"] = _openshot.ErrorEncodingVideo_file_path_get
if _newclass:
file_path = _swig_property(_openshot.ErrorEncodingVideo_file_path_get, _openshot.ErrorEncodingVideo_file_path_set)
__swig_setmethods__["frame_number"] = _openshot.ErrorEncodingVideo_frame_number_set
__swig_getmethods__["frame_number"] = _openshot.ErrorEncodingVideo_frame_number_get
if _newclass:
frame_number = _swig_property(_openshot.ErrorEncodingVideo_frame_number_get, _openshot.ErrorEncodingVideo_frame_number_set)
def __init__(self, message, frame_number):
"""__init__(openshot::ErrorEncodingVideo self, std::string message, int64_t frame_number) -> ErrorEncodingVideo"""
this = _openshot.new_ErrorEncodingVideo(message, frame_number)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_ErrorEncodingVideo
__del__ = lambda self: None
ErrorEncodingVideo_swigregister = _openshot.ErrorEncodingVideo_swigregister
ErrorEncodingVideo_swigregister(ErrorEncodingVideo)
class InvalidChannels(BaseException):
"""Proxy of C++ openshot::InvalidChannels class."""
__swig_setmethods__ = {}
for _s in [BaseException]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, InvalidChannels, name, value)
__swig_getmethods__ = {}
for _s in [BaseException]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, InvalidChannels, name)
__repr__ = _swig_repr
__swig_setmethods__["file_path"] = _openshot.InvalidChannels_file_path_set
__swig_getmethods__["file_path"] = _openshot.InvalidChannels_file_path_get
if _newclass:
file_path = _swig_property(_openshot.InvalidChannels_file_path_get, _openshot.InvalidChannels_file_path_set)
def __init__(self, message, file_path):
"""__init__(openshot::InvalidChannels self, std::string message, std::string file_path) -> InvalidChannels"""
this = _openshot.new_InvalidChannels(message, file_path)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_InvalidChannels
__del__ = lambda self: None
InvalidChannels_swigregister = _openshot.InvalidChannels_swigregister
InvalidChannels_swigregister(InvalidChannels)
class InvalidCodec(BaseException):
"""Proxy of C++ openshot::InvalidCodec class."""
__swig_setmethods__ = {}
for _s in [BaseException]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, InvalidCodec, name, value)
__swig_getmethods__ = {}
for _s in [BaseException]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, InvalidCodec, name)
__repr__ = _swig_repr
__swig_setmethods__["file_path"] = _openshot.InvalidCodec_file_path_set
__swig_getmethods__["file_path"] = _openshot.InvalidCodec_file_path_get
if _newclass:
file_path = _swig_property(_openshot.InvalidCodec_file_path_get, _openshot.InvalidCodec_file_path_set)
def __init__(self, message, file_path):
"""__init__(openshot::InvalidCodec self, std::string message, std::string file_path) -> InvalidCodec"""
this = _openshot.new_InvalidCodec(message, file_path)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_InvalidCodec
__del__ = lambda self: None
InvalidCodec_swigregister = _openshot.InvalidCodec_swigregister
InvalidCodec_swigregister(InvalidCodec)
class InvalidFile(BaseException):
"""Proxy of C++ openshot::InvalidFile class."""
__swig_setmethods__ = {}
for _s in [BaseException]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, InvalidFile, name, value)
__swig_getmethods__ = {}
for _s in [BaseException]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, InvalidFile, name)
__repr__ = _swig_repr
__swig_setmethods__["file_path"] = _openshot.InvalidFile_file_path_set
__swig_getmethods__["file_path"] = _openshot.InvalidFile_file_path_get
if _newclass:
file_path = _swig_property(_openshot.InvalidFile_file_path_get, _openshot.InvalidFile_file_path_set)
def __init__(self, message, file_path):
"""__init__(openshot::InvalidFile self, std::string message, std::string file_path) -> InvalidFile"""
this = _openshot.new_InvalidFile(message, file_path)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_InvalidFile
__del__ = lambda self: None
InvalidFile_swigregister = _openshot.InvalidFile_swigregister
InvalidFile_swigregister(InvalidFile)
class InvalidFormat(BaseException):
"""Proxy of C++ openshot::InvalidFormat class."""
__swig_setmethods__ = {}
for _s in [BaseException]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, InvalidFormat, name, value)
__swig_getmethods__ = {}
for _s in [BaseException]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, InvalidFormat, name)
__repr__ = _swig_repr
__swig_setmethods__["file_path"] = _openshot.InvalidFormat_file_path_set
__swig_getmethods__["file_path"] = _openshot.InvalidFormat_file_path_get
if _newclass:
file_path = _swig_property(_openshot.InvalidFormat_file_path_get, _openshot.InvalidFormat_file_path_set)
def __init__(self, message, file_path):
"""__init__(openshot::InvalidFormat self, std::string message, std::string file_path) -> InvalidFormat"""
this = _openshot.new_InvalidFormat(message, file_path)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_InvalidFormat
__del__ = lambda self: None
InvalidFormat_swigregister = _openshot.InvalidFormat_swigregister
InvalidFormat_swigregister(InvalidFormat)
class InvalidJSON(BaseException):
"""Proxy of C++ openshot::InvalidJSON class."""
__swig_setmethods__ = {}
for _s in [BaseException]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, InvalidJSON, name, value)
__swig_getmethods__ = {}
for _s in [BaseException]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, InvalidJSON, name)
__repr__ = _swig_repr
__swig_setmethods__["file_path"] = _openshot.InvalidJSON_file_path_set
__swig_getmethods__["file_path"] = _openshot.InvalidJSON_file_path_get
if _newclass:
file_path = _swig_property(_openshot.InvalidJSON_file_path_get, _openshot.InvalidJSON_file_path_set)
def __init__(self, message, file_path):
"""__init__(openshot::InvalidJSON self, std::string message, std::string file_path) -> InvalidJSON"""
this = _openshot.new_InvalidJSON(message, file_path)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_InvalidJSON
__del__ = lambda self: None
InvalidJSON_swigregister = _openshot.InvalidJSON_swigregister
InvalidJSON_swigregister(InvalidJSON)
class InvalidOptions(BaseException):
"""Proxy of C++ openshot::InvalidOptions class."""
__swig_setmethods__ = {}
for _s in [BaseException]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, InvalidOptions, name, value)
__swig_getmethods__ = {}
for _s in [BaseException]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, InvalidOptions, name)
__repr__ = _swig_repr
__swig_setmethods__["file_path"] = _openshot.InvalidOptions_file_path_set
__swig_getmethods__["file_path"] = _openshot.InvalidOptions_file_path_get
if _newclass:
file_path = _swig_property(_openshot.InvalidOptions_file_path_get, _openshot.InvalidOptions_file_path_set)
def __init__(self, message, file_path):
"""__init__(openshot::InvalidOptions self, std::string message, std::string file_path) -> InvalidOptions"""
this = _openshot.new_InvalidOptions(message, file_path)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_InvalidOptions
__del__ = lambda self: None
InvalidOptions_swigregister = _openshot.InvalidOptions_swigregister
InvalidOptions_swigregister(InvalidOptions)
class InvalidSampleRate(BaseException):
"""Proxy of C++ openshot::InvalidSampleRate class."""
__swig_setmethods__ = {}
for _s in [BaseException]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, InvalidSampleRate, name, value)
__swig_getmethods__ = {}
for _s in [BaseException]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, InvalidSampleRate, name)
__repr__ = _swig_repr
__swig_setmethods__["file_path"] = _openshot.InvalidSampleRate_file_path_set
__swig_getmethods__["file_path"] = _openshot.InvalidSampleRate_file_path_get
if _newclass:
file_path = _swig_property(_openshot.InvalidSampleRate_file_path_get, _openshot.InvalidSampleRate_file_path_set)
def __init__(self, message, file_path):
"""__init__(openshot::InvalidSampleRate self, std::string message, std::string file_path) -> InvalidSampleRate"""
this = _openshot.new_InvalidSampleRate(message, file_path)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_InvalidSampleRate
__del__ = lambda self: None
InvalidSampleRate_swigregister = _openshot.InvalidSampleRate_swigregister
InvalidSampleRate_swigregister(InvalidSampleRate)
class InvalidJSONKey(BaseException):
"""Proxy of C++ openshot::InvalidJSONKey class."""
__swig_setmethods__ = {}
for _s in [BaseException]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, InvalidJSONKey, name, value)
__swig_getmethods__ = {}
for _s in [BaseException]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, InvalidJSONKey, name)
__repr__ = _swig_repr
__swig_setmethods__["json"] = _openshot.InvalidJSONKey_json_set
__swig_getmethods__["json"] = _openshot.InvalidJSONKey_json_get
if _newclass:
json = _swig_property(_openshot.InvalidJSONKey_json_get, _openshot.InvalidJSONKey_json_set)
def __init__(self, message, json):
"""__init__(openshot::InvalidJSONKey self, std::string message, std::string json) -> InvalidJSONKey"""
this = _openshot.new_InvalidJSONKey(message, json)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_InvalidJSONKey
__del__ = lambda self: None
InvalidJSONKey_swigregister = _openshot.InvalidJSONKey_swigregister
InvalidJSONKey_swigregister(InvalidJSONKey)
class NoStreamsFound(BaseException):
"""Proxy of C++ openshot::NoStreamsFound class."""
__swig_setmethods__ = {}
for _s in [BaseException]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, NoStreamsFound, name, value)
__swig_getmethods__ = {}
for _s in [BaseException]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, NoStreamsFound, name)
__repr__ = _swig_repr
__swig_setmethods__["file_path"] = _openshot.NoStreamsFound_file_path_set
__swig_getmethods__["file_path"] = _openshot.NoStreamsFound_file_path_get
if _newclass:
file_path = _swig_property(_openshot.NoStreamsFound_file_path_get, _openshot.NoStreamsFound_file_path_set)
def __init__(self, message, file_path):
"""__init__(openshot::NoStreamsFound self, std::string message, std::string file_path) -> NoStreamsFound"""
this = _openshot.new_NoStreamsFound(message, file_path)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_NoStreamsFound
__del__ = lambda self: None
NoStreamsFound_swigregister = _openshot.NoStreamsFound_swigregister
NoStreamsFound_swigregister(NoStreamsFound)
class OutOfBoundsFrame(BaseException):
"""Proxy of C++ openshot::OutOfBoundsFrame class."""
__swig_setmethods__ = {}
for _s in [BaseException]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, OutOfBoundsFrame, name, value)
__swig_getmethods__ = {}
for _s in [BaseException]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, OutOfBoundsFrame, name)
__repr__ = _swig_repr
__swig_setmethods__["FrameRequested"] = _openshot.OutOfBoundsFrame_FrameRequested_set
__swig_getmethods__["FrameRequested"] = _openshot.OutOfBoundsFrame_FrameRequested_get
if _newclass:
FrameRequested = _swig_property(_openshot.OutOfBoundsFrame_FrameRequested_get, _openshot.OutOfBoundsFrame_FrameRequested_set)
__swig_setmethods__["MaxFrames"] = _openshot.OutOfBoundsFrame_MaxFrames_set
__swig_getmethods__["MaxFrames"] = _openshot.OutOfBoundsFrame_MaxFrames_get
if _newclass:
MaxFrames = _swig_property(_openshot.OutOfBoundsFrame_MaxFrames_get, _openshot.OutOfBoundsFrame_MaxFrames_set)
def __init__(self, message, frame_requested, max_frames):
"""__init__(openshot::OutOfBoundsFrame self, std::string message, int64_t frame_requested, int64_t max_frames) -> OutOfBoundsFrame"""
this = _openshot.new_OutOfBoundsFrame(message, frame_requested, max_frames)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_OutOfBoundsFrame
__del__ = lambda self: None
OutOfBoundsFrame_swigregister = _openshot.OutOfBoundsFrame_swigregister
OutOfBoundsFrame_swigregister(OutOfBoundsFrame)
class OutOfBoundsPoint(BaseException):
"""Proxy of C++ openshot::OutOfBoundsPoint class."""
__swig_setmethods__ = {}
for _s in [BaseException]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, OutOfBoundsPoint, name, value)
__swig_getmethods__ = {}
for _s in [BaseException]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, OutOfBoundsPoint, name)
__repr__ = _swig_repr
__swig_setmethods__["PointRequested"] = _openshot.OutOfBoundsPoint_PointRequested_set
__swig_getmethods__["PointRequested"] = _openshot.OutOfBoundsPoint_PointRequested_get
if _newclass:
PointRequested = _swig_property(_openshot.OutOfBoundsPoint_PointRequested_get, _openshot.OutOfBoundsPoint_PointRequested_set)
__swig_setmethods__["MaxPoints"] = _openshot.OutOfBoundsPoint_MaxPoints_set
__swig_getmethods__["MaxPoints"] = _openshot.OutOfBoundsPoint_MaxPoints_get
if _newclass:
MaxPoints = _swig_property(_openshot.OutOfBoundsPoint_MaxPoints_get, _openshot.OutOfBoundsPoint_MaxPoints_set)
def __init__(self, message, point_requested, max_points):
"""__init__(openshot::OutOfBoundsPoint self, std::string message, int point_requested, int max_points) -> OutOfBoundsPoint"""
this = _openshot.new_OutOfBoundsPoint(message, point_requested, max_points)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_OutOfBoundsPoint
__del__ = lambda self: None
OutOfBoundsPoint_swigregister = _openshot.OutOfBoundsPoint_swigregister
OutOfBoundsPoint_swigregister(OutOfBoundsPoint)
class OutOfMemory(BaseException):
"""Proxy of C++ openshot::OutOfMemory class."""
__swig_setmethods__ = {}
for _s in [BaseException]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, OutOfMemory, name, value)
__swig_getmethods__ = {}
for _s in [BaseException]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, OutOfMemory, name)
__repr__ = _swig_repr
__swig_setmethods__["file_path"] = _openshot.OutOfMemory_file_path_set
__swig_getmethods__["file_path"] = _openshot.OutOfMemory_file_path_get
if _newclass:
file_path = _swig_property(_openshot.OutOfMemory_file_path_get, _openshot.OutOfMemory_file_path_set)
def __init__(self, message, file_path):
"""__init__(openshot::OutOfMemory self, std::string message, std::string file_path) -> OutOfMemory"""
this = _openshot.new_OutOfMemory(message, file_path)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_OutOfMemory
__del__ = lambda self: None
OutOfMemory_swigregister = _openshot.OutOfMemory_swigregister
OutOfMemory_swigregister(OutOfMemory)
class ReaderClosed(BaseException):
"""Proxy of C++ openshot::ReaderClosed class."""
__swig_setmethods__ = {}
for _s in [BaseException]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ReaderClosed, name, value)
__swig_getmethods__ = {}
for _s in [BaseException]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, ReaderClosed, name)
__repr__ = _swig_repr
__swig_setmethods__["file_path"] = _openshot.ReaderClosed_file_path_set
__swig_getmethods__["file_path"] = _openshot.ReaderClosed_file_path_get
if _newclass:
file_path = _swig_property(_openshot.ReaderClosed_file_path_get, _openshot.ReaderClosed_file_path_set)
def __init__(self, message, file_path):
"""__init__(openshot::ReaderClosed self, std::string message, std::string file_path) -> ReaderClosed"""
this = _openshot.new_ReaderClosed(message, file_path)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_ReaderClosed
__del__ = lambda self: None
ReaderClosed_swigregister = _openshot.ReaderClosed_swigregister
ReaderClosed_swigregister(ReaderClosed)
class ResampleError(BaseException):
"""Proxy of C++ openshot::ResampleError class."""
__swig_setmethods__ = {}
for _s in [BaseException]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ResampleError, name, value)
__swig_getmethods__ = {}
for _s in [BaseException]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, ResampleError, name)
__repr__ = _swig_repr
__swig_setmethods__["file_path"] = _openshot.ResampleError_file_path_set
__swig_getmethods__["file_path"] = _openshot.ResampleError_file_path_get
if _newclass:
file_path = _swig_property(_openshot.ResampleError_file_path_get, _openshot.ResampleError_file_path_set)
def __init__(self, message, file_path):
"""__init__(openshot::ResampleError self, std::string message, std::string file_path) -> ResampleError"""
this = _openshot.new_ResampleError(message, file_path)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_ResampleError
__del__ = lambda self: None
ResampleError_swigregister = _openshot.ResampleError_swigregister
ResampleError_swigregister(ResampleError)
class TooManySeeks(BaseException):
"""Proxy of C++ openshot::TooManySeeks class."""
__swig_setmethods__ = {}
for _s in [BaseException]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, TooManySeeks, name, value)
__swig_getmethods__ = {}
for _s in [BaseException]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, TooManySeeks, name)
__repr__ = _swig_repr
__swig_setmethods__["file_path"] = _openshot.TooManySeeks_file_path_set
__swig_getmethods__["file_path"] = _openshot.TooManySeeks_file_path_get
if _newclass:
file_path = _swig_property(_openshot.TooManySeeks_file_path_get, _openshot.TooManySeeks_file_path_set)
def __init__(self, message, file_path):
"""__init__(openshot::TooManySeeks self, std::string message, std::string file_path) -> TooManySeeks"""
this = _openshot.new_TooManySeeks(message, file_path)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_TooManySeeks
__del__ = lambda self: None
TooManySeeks_swigregister = _openshot.TooManySeeks_swigregister
TooManySeeks_swigregister(TooManySeeks)
class WriterClosed(BaseException):
"""Proxy of C++ openshot::WriterClosed class."""
__swig_setmethods__ = {}
for _s in [BaseException]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, WriterClosed, name, value)
__swig_getmethods__ = {}
for _s in [BaseException]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, WriterClosed, name)
__repr__ = _swig_repr
__swig_setmethods__["file_path"] = _openshot.WriterClosed_file_path_set
__swig_getmethods__["file_path"] = _openshot.WriterClosed_file_path_get
if _newclass:
file_path = _swig_property(_openshot.WriterClosed_file_path_get, _openshot.WriterClosed_file_path_set)
def __init__(self, message, file_path):
"""__init__(openshot::WriterClosed self, std::string message, std::string file_path) -> WriterClosed"""
this = _openshot.new_WriterClosed(message, file_path)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_WriterClosed
__del__ = lambda self: None
WriterClosed_swigregister = _openshot.WriterClosed_swigregister
WriterClosed_swigregister(WriterClosed)
class AudioLocation(_object):
"""Proxy of C++ openshot::AudioLocation class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, AudioLocation, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, AudioLocation, name)
__repr__ = _swig_repr
__swig_setmethods__["frame"] = _openshot.AudioLocation_frame_set
__swig_getmethods__["frame"] = _openshot.AudioLocation_frame_get
if _newclass:
frame = _swig_property(_openshot.AudioLocation_frame_get, _openshot.AudioLocation_frame_set)
__swig_setmethods__["sample_start"] = _openshot.AudioLocation_sample_start_set
__swig_getmethods__["sample_start"] = _openshot.AudioLocation_sample_start_get
if _newclass:
sample_start = _swig_property(_openshot.AudioLocation_sample_start_get, _openshot.AudioLocation_sample_start_set)
def is_near(self, location, samples_per_frame, amount):
"""is_near(AudioLocation self, AudioLocation location, int samples_per_frame, int64_t amount) -> bool"""
return _openshot.AudioLocation_is_near(self, location, samples_per_frame, amount)
def __init__(self):
"""__init__(openshot::AudioLocation self) -> AudioLocation"""
this = _openshot.new_AudioLocation()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_AudioLocation
__del__ = lambda self: None
AudioLocation_swigregister = _openshot.AudioLocation_swigregister
AudioLocation_swigregister(AudioLocation)
class FFmpegReader(ReaderBase):
"""Proxy of C++ openshot::FFmpegReader class."""
__swig_setmethods__ = {}
for _s in [ReaderBase]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, FFmpegReader, name, value)
__swig_getmethods__ = {}
for _s in [ReaderBase]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, FFmpegReader, name)
__repr__ = _swig_repr
__swig_setmethods__["final_cache"] = _openshot.FFmpegReader_final_cache_set
__swig_getmethods__["final_cache"] = _openshot.FFmpegReader_final_cache_get
if _newclass:
final_cache = _swig_property(_openshot.FFmpegReader_final_cache_get, _openshot.FFmpegReader_final_cache_set)
__swig_setmethods__["enable_seek"] = _openshot.FFmpegReader_enable_seek_set
__swig_getmethods__["enable_seek"] = _openshot.FFmpegReader_enable_seek_get
if _newclass:
enable_seek = _swig_property(_openshot.FFmpegReader_enable_seek_get, _openshot.FFmpegReader_enable_seek_set)
def __init__(self, *args):
"""
__init__(openshot::FFmpegReader self, std::string path) -> FFmpegReader
__init__(openshot::FFmpegReader self, std::string path, bool inspect_reader) -> FFmpegReader
"""
this = _openshot.new_FFmpegReader(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_FFmpegReader
__del__ = lambda self: None
def Close(self):
"""Close(FFmpegReader self)"""
return _openshot.FFmpegReader_Close(self)
def GetCache(self):
"""GetCache(FFmpegReader self) -> CacheMemory"""
return _openshot.FFmpegReader_GetCache(self)
def GetFrame(self, requested_frame):
"""GetFrame(FFmpegReader self, int64_t requested_frame) -> std::shared_ptr< openshot::Frame >"""
return _openshot.FFmpegReader_GetFrame(self, requested_frame)
def IsOpen(self):
"""IsOpen(FFmpegReader self) -> bool"""
return _openshot.FFmpegReader_IsOpen(self)
def Name(self):
"""Name(FFmpegReader self) -> std::string"""
return _openshot.FFmpegReader_Name(self)
def Json(self):
"""Json(FFmpegReader self) -> std::string"""
return _openshot.FFmpegReader_Json(self)
def SetJson(self, value):
"""SetJson(FFmpegReader self, std::string value)"""
return _openshot.FFmpegReader_SetJson(self, value)
def JsonValue(self):
"""JsonValue(FFmpegReader self) -> Json::Value"""
return _openshot.FFmpegReader_JsonValue(self)
def SetJsonValue(self, root):
"""SetJsonValue(FFmpegReader self, Json::Value root)"""
return _openshot.FFmpegReader_SetJsonValue(self, root)
def Open(self):
"""Open(FFmpegReader self)"""
return _openshot.FFmpegReader_Open(self)
FFmpegReader_swigregister = _openshot.FFmpegReader_swigregister
FFmpegReader_swigregister(FFmpegReader)
VIDEO_STREAM = _openshot.VIDEO_STREAM
AUDIO_STREAM = _openshot.AUDIO_STREAM
class FFmpegWriter(WriterBase):
"""Proxy of C++ openshot::FFmpegWriter class."""
__swig_setmethods__ = {}
for _s in [WriterBase]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, FFmpegWriter, name, value)
__swig_getmethods__ = {}
for _s in [WriterBase]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, FFmpegWriter, name)
__repr__ = _swig_repr
def __init__(self, path):
"""__init__(openshot::FFmpegWriter self, std::string path) -> FFmpegWriter"""
this = _openshot.new_FFmpegWriter(path)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def Close(self):
"""Close(FFmpegWriter self)"""
return _openshot.FFmpegWriter_Close(self)
def GetCacheSize(self):
"""GetCacheSize(FFmpegWriter self) -> int"""
return _openshot.FFmpegWriter_GetCacheSize(self)
def IsOpen(self):
"""IsOpen(FFmpegWriter self) -> bool"""
return _openshot.FFmpegWriter_IsOpen(self)
def Open(self):
"""Open(FFmpegWriter self)"""
return _openshot.FFmpegWriter_Open(self)
def OutputStreamInfo(self):
"""OutputStreamInfo(FFmpegWriter self)"""
return _openshot.FFmpegWriter_OutputStreamInfo(self)
def PrepareStreams(self):
"""PrepareStreams(FFmpegWriter self)"""
return _openshot.FFmpegWriter_PrepareStreams(self)
def RemoveScalers(self):
"""RemoveScalers(FFmpegWriter self)"""
return _openshot.FFmpegWriter_RemoveScalers(self)
def ResampleAudio(self, sample_rate, channels):
"""ResampleAudio(FFmpegWriter self, int sample_rate, int channels)"""
return _openshot.FFmpegWriter_ResampleAudio(self, sample_rate, channels)
def SetAudioOptions(self, has_audio, codec, sample_rate, channels, channel_layout, bit_rate):
"""SetAudioOptions(FFmpegWriter self, bool has_audio, std::string codec, int sample_rate, int channels, openshot::ChannelLayout channel_layout, int bit_rate)"""
return _openshot.FFmpegWriter_SetAudioOptions(self, has_audio, codec, sample_rate, channels, channel_layout, bit_rate)
def SetCacheSize(self, new_size):
"""SetCacheSize(FFmpegWriter self, int new_size)"""
return _openshot.FFmpegWriter_SetCacheSize(self, new_size)
def SetVideoOptions(self, has_video, codec, fps, width, height, pixel_ratio, interlaced, top_field_first, bit_rate):
"""SetVideoOptions(FFmpegWriter self, bool has_video, std::string codec, Fraction fps, int width, int height, Fraction pixel_ratio, bool interlaced, bool top_field_first, int bit_rate)"""
return _openshot.FFmpegWriter_SetVideoOptions(self, has_video, codec, fps, width, height, pixel_ratio, interlaced, top_field_first, bit_rate)
def SetOption(self, stream, name, value):
"""SetOption(FFmpegWriter self, openshot::StreamType stream, std::string name, std::string value)"""
return _openshot.FFmpegWriter_SetOption(self, stream, name, value)
def WriteHeader(self):
"""WriteHeader(FFmpegWriter self)"""
return _openshot.FFmpegWriter_WriteHeader(self)
def WriteFrame(self, *args):
"""
WriteFrame(FFmpegWriter self, std::shared_ptr< openshot::Frame > frame)
WriteFrame(FFmpegWriter self, ReaderBase reader, int64_t start, int64_t length)
"""
return _openshot.FFmpegWriter_WriteFrame(self, *args)
def WriteTrailer(self):
"""WriteTrailer(FFmpegWriter self)"""
return _openshot.FFmpegWriter_WriteTrailer(self)
__swig_destroy__ = _openshot.delete_FFmpegWriter
__del__ = lambda self: None
FFmpegWriter_swigregister = _openshot.FFmpegWriter_swigregister
FFmpegWriter_swigregister(FFmpegWriter)
class Fraction(_object):
"""Proxy of C++ openshot::Fraction class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Fraction, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Fraction, name)
__repr__ = _swig_repr
__swig_setmethods__["num"] = _openshot.Fraction_num_set
__swig_getmethods__["num"] = _openshot.Fraction_num_get
if _newclass:
num = _swig_property(_openshot.Fraction_num_get, _openshot.Fraction_num_set)
__swig_setmethods__["den"] = _openshot.Fraction_den_set
__swig_getmethods__["den"] = _openshot.Fraction_den_get
if _newclass:
den = _swig_property(_openshot.Fraction_den_get, _openshot.Fraction_den_set)
def __init__(self, *args):
"""
__init__(openshot::Fraction self) -> Fraction
__init__(openshot::Fraction self, int num, int den) -> Fraction
"""
this = _openshot.new_Fraction(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def GreatestCommonDenominator(self):
"""GreatestCommonDenominator(Fraction self) -> int"""
return _openshot.Fraction_GreatestCommonDenominator(self)
def Reduce(self):
"""Reduce(Fraction self)"""
return _openshot.Fraction_Reduce(self)
def ToFloat(self):
"""ToFloat(Fraction self) -> float"""
return _openshot.Fraction_ToFloat(self)
def ToDouble(self):
"""ToDouble(Fraction self) -> double"""
return _openshot.Fraction_ToDouble(self)
def ToInt(self):
"""ToInt(Fraction self) -> int"""
return _openshot.Fraction_ToInt(self)
def Reciprocal(self):
"""Reciprocal(Fraction self) -> Fraction"""
return _openshot.Fraction_Reciprocal(self)
__swig_destroy__ = _openshot.delete_Fraction
__del__ = lambda self: None
Fraction_swigregister = _openshot.Fraction_swigregister
Fraction_swigregister(Fraction)
class Frame(_object):
"""Proxy of C++ openshot::Frame class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Frame, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Frame, name)
__repr__ = _swig_repr
__swig_setmethods__["number"] = _openshot.Frame_number_set
__swig_getmethods__["number"] = _openshot.Frame_number_get
if _newclass:
number = _swig_property(_openshot.Frame_number_get, _openshot.Frame_number_set)
__swig_setmethods__["has_audio_data"] = _openshot.Frame_has_audio_data_set
__swig_getmethods__["has_audio_data"] = _openshot.Frame_has_audio_data_get
if _newclass:
has_audio_data = _swig_property(_openshot.Frame_has_audio_data_get, _openshot.Frame_has_audio_data_set)
__swig_setmethods__["has_image_data"] = _openshot.Frame_has_image_data_set
__swig_getmethods__["has_image_data"] = _openshot.Frame_has_image_data_get
if _newclass:
has_image_data = _swig_property(_openshot.Frame_has_image_data_get, _openshot.Frame_has_image_data_set)
def __init__(self, *args):
"""
__init__(openshot::Frame self) -> Frame
__init__(openshot::Frame self, int64_t number, int width, int height, std::string color) -> Frame
__init__(openshot::Frame self, int64_t number, int samples, int channels) -> Frame
__init__(openshot::Frame self, int64_t number, int width, int height, std::string color, int samples, int channels) -> Frame
__init__(openshot::Frame self, Frame other) -> Frame
"""
this = _openshot.new_Frame(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_Frame
__del__ = lambda self: None
def AddColor(self, new_width, new_height, color):
"""AddColor(Frame self, int new_width, int new_height, std::string color)"""
return _openshot.Frame_AddColor(self, new_width, new_height, color)
def AddImage(self, *args):
"""
AddImage(Frame self, int new_width, int new_height, int bytes_per_pixel, QImage::Format type, unsigned char const * pixels_)
AddImage(Frame self, std::shared_ptr< QImage > new_image)
AddImage(Frame self, std::shared_ptr< QImage > new_image, bool only_odd_lines)
"""
return _openshot.Frame_AddImage(self, *args)
def AddAudio(self, replaceSamples, destChannel, destStartSample, source, numSamples, gainToApplyToSource):
"""AddAudio(Frame self, bool replaceSamples, int destChannel, int destStartSample, float const * source, int numSamples, float gainToApplyToSource)"""
return _openshot.Frame_AddAudio(self, replaceSamples, destChannel, destStartSample, source, numSamples, gainToApplyToSource)
def AddAudioSilence(self, numSamples):
"""AddAudioSilence(Frame self, int numSamples)"""
return _openshot.Frame_AddAudioSilence(self, numSamples)
def ApplyGainRamp(self, destChannel, destStartSample, numSamples, initial_gain, final_gain):
"""ApplyGainRamp(Frame self, int destChannel, int destStartSample, int numSamples, float initial_gain, float final_gain)"""
return _openshot.Frame_ApplyGainRamp(self, destChannel, destStartSample, numSamples, initial_gain, final_gain)
def ChannelsLayout(self, *args):
"""
ChannelsLayout(Frame self) -> openshot::ChannelLayout
ChannelsLayout(Frame self, openshot::ChannelLayout new_channel_layout)
"""
return _openshot.Frame_ChannelsLayout(self, *args)
def cleanUpBuffer(info):
"""cleanUpBuffer(void * info)"""
return _openshot.Frame_cleanUpBuffer(info)
cleanUpBuffer = staticmethod(cleanUpBuffer)
def ClearWaveform(self):
"""ClearWaveform(Frame self)"""
return _openshot.Frame_ClearWaveform(self)
def DeepCopy(self, other):
"""DeepCopy(Frame self, Frame other)"""
return _openshot.Frame_DeepCopy(self, other)
def Display(self):
"""Display(Frame self)"""
return _openshot.Frame_Display(self)
def DisplayWaveform(self):
"""DisplayWaveform(Frame self)"""
return _openshot.Frame_DisplayWaveform(self)
def GetAudioSample(self, channel, sample, magnitude_range):
"""GetAudioSample(Frame self, int channel, int sample, int magnitude_range) -> float"""
return _openshot.Frame_GetAudioSample(self, channel, sample, magnitude_range)
def GetAudioSamples(self, channel):
"""GetAudioSamples(Frame self, int channel) -> float *"""
return _openshot.Frame_GetAudioSamples(self, channel)
def GetInterleavedAudioSamples(self, new_sample_rate, resampler, sample_count):
"""GetInterleavedAudioSamples(Frame self, int new_sample_rate, AudioResampler * resampler, int * sample_count) -> float *"""
return _openshot.Frame_GetInterleavedAudioSamples(self, new_sample_rate, resampler, sample_count)
def GetPlanarAudioSamples(self, new_sample_rate, resampler, sample_count):
"""GetPlanarAudioSamples(Frame self, int new_sample_rate, AudioResampler * resampler, int * sample_count) -> float *"""
return _openshot.Frame_GetPlanarAudioSamples(self, new_sample_rate, resampler, sample_count)
def GetAudioChannelsCount(self):
"""GetAudioChannelsCount(Frame self) -> int"""
return _openshot.Frame_GetAudioChannelsCount(self)
def GetAudioSamplesCount(self):
"""GetAudioSamplesCount(Frame self) -> int"""
return _openshot.Frame_GetAudioSamplesCount(self)
def GetAudioSampleBuffer(self):
"""GetAudioSampleBuffer(Frame self) -> juce::AudioSampleBuffer *"""
return _openshot.Frame_GetAudioSampleBuffer(self)
def GetBytes(self):
"""GetBytes(Frame self) -> int64_t"""
return _openshot.Frame_GetBytes(self)
def GetImage(self):
"""GetImage(Frame self) -> std::shared_ptr< QImage >"""
return _openshot.Frame_GetImage(self)
def GetPixelRatio(self):
"""GetPixelRatio(Frame self) -> Fraction"""
return _openshot.Frame_GetPixelRatio(self)
def GetPixels(self, *args):
"""
GetPixels(Frame self) -> unsigned char const
GetPixels(Frame self, int row) -> unsigned char const *
"""
return _openshot.Frame_GetPixels(self, *args)
def GetHeight(self):
"""GetHeight(Frame self) -> int"""
return _openshot.Frame_GetHeight(self)
def GetSamplesPerFrame(*args):
"""
GetSamplesPerFrame(Fraction fps, int sample_rate, int channels) -> int
GetSamplesPerFrame(int64_t frame_number, Fraction fps, int sample_rate, int channels) -> int
"""
return _openshot.Frame_GetSamplesPerFrame(*args)
GetSamplesPerFrame = staticmethod(GetSamplesPerFrame)
def GetWaveform(self, width, height, Red, Green, Blue, Alpha):
"""GetWaveform(Frame self, int width, int height, int Red, int Green, int Blue, int Alpha) -> std::shared_ptr< QImage >"""
return _openshot.Frame_GetWaveform(self, width, height, Red, Green, Blue, Alpha)
def GetWaveformPixels(self, width, height, Red, Green, Blue, Alpha):
"""GetWaveformPixels(Frame self, int width, int height, int Red, int Green, int Blue, int Alpha) -> unsigned char const *"""
return _openshot.Frame_GetWaveformPixels(self, width, height, Red, Green, Blue, Alpha)
def GetWidth(self):
"""GetWidth(Frame self) -> int"""
return _openshot.Frame_GetWidth(self)
def ResizeAudio(self, channels, length, sample_rate, channel_layout):
"""ResizeAudio(Frame self, int channels, int length, int sample_rate, openshot::ChannelLayout channel_layout)"""
return _openshot.Frame_ResizeAudio(self, channels, length, sample_rate, channel_layout)
def SampleRate(self, *args):
"""
SampleRate(Frame self) -> int
SampleRate(Frame self, int orig_sample_rate)
"""
return _openshot.Frame_SampleRate(self, *args)
def Save(self, *args):
"""
Save(Frame self, std::string path, float scale, std::string format, int quality=100)
Save(Frame self, std::string path, float scale, std::string format)
Save(Frame self, std::string path, float scale)
"""
return _openshot.Frame_Save(self, *args)
def SetFrameNumber(self, number):
"""SetFrameNumber(Frame self, int64_t number)"""
return _openshot.Frame_SetFrameNumber(self, number)
def SetPixelRatio(self, num, den):
"""SetPixelRatio(Frame self, int num, int den)"""
return _openshot.Frame_SetPixelRatio(self, num, den)
def Thumbnail(self, *args):
"""
Thumbnail(Frame self, std::string path, int new_width, int new_height, std::string mask_path, std::string overlay_path, std::string background_color, bool ignore_aspect, std::string format, int quality=100)
Thumbnail(Frame self, std::string path, int new_width, int new_height, std::string mask_path, std::string overlay_path, std::string background_color, bool ignore_aspect, std::string format)
Thumbnail(Frame self, std::string path, int new_width, int new_height, std::string mask_path, std::string overlay_path, std::string background_color, bool ignore_aspect)
"""
return _openshot.Frame_Thumbnail(self, *args)
def Play(self):
"""Play(Frame self)"""
return _openshot.Frame_Play(self)
Frame_swigregister = _openshot.Frame_swigregister
Frame_swigregister(Frame)
def Frame_cleanUpBuffer(info):
"""Frame_cleanUpBuffer(void * info)"""
return _openshot.Frame_cleanUpBuffer(info)
def Frame_GetSamplesPerFrame(*args):
"""
GetSamplesPerFrame(Fraction fps, int sample_rate, int channels) -> int
Frame_GetSamplesPerFrame(int64_t frame_number, Fraction fps, int sample_rate, int channels) -> int
"""
return _openshot.Frame_GetSamplesPerFrame(*args)
PULLDOWN_CLASSIC = _openshot.PULLDOWN_CLASSIC
PULLDOWN_ADVANCED = _openshot.PULLDOWN_ADVANCED
PULLDOWN_NONE = _openshot.PULLDOWN_NONE
class Field(_object):
"""Proxy of C++ openshot::Field class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Field, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Field, name)
__repr__ = _swig_repr
__swig_setmethods__["Frame"] = _openshot.Field_Frame_set
__swig_getmethods__["Frame"] = _openshot.Field_Frame_get
if _newclass:
Frame = _swig_property(_openshot.Field_Frame_get, _openshot.Field_Frame_set)
__swig_setmethods__["isOdd"] = _openshot.Field_isOdd_set
__swig_getmethods__["isOdd"] = _openshot.Field_isOdd_get
if _newclass:
isOdd = _swig_property(_openshot.Field_isOdd_get, _openshot.Field_isOdd_set)
def __init__(self, *args):
"""
__init__(openshot::Field self) -> Field
__init__(openshot::Field self, int64_t frame, bool isodd) -> Field
"""
this = _openshot.new_Field(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_Field
__del__ = lambda self: None
Field_swigregister = _openshot.Field_swigregister
Field_swigregister(Field)
class SampleRange(_object):
"""Proxy of C++ openshot::SampleRange class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SampleRange, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SampleRange, name)
__repr__ = _swig_repr
__swig_setmethods__["frame_start"] = _openshot.SampleRange_frame_start_set
__swig_getmethods__["frame_start"] = _openshot.SampleRange_frame_start_get
if _newclass:
frame_start = _swig_property(_openshot.SampleRange_frame_start_get, _openshot.SampleRange_frame_start_set)
__swig_setmethods__["sample_start"] = _openshot.SampleRange_sample_start_set
__swig_getmethods__["sample_start"] = _openshot.SampleRange_sample_start_get
if _newclass:
sample_start = _swig_property(_openshot.SampleRange_sample_start_get, _openshot.SampleRange_sample_start_set)
__swig_setmethods__["frame_end"] = _openshot.SampleRange_frame_end_set
__swig_getmethods__["frame_end"] = _openshot.SampleRange_frame_end_get
if _newclass:
frame_end = _swig_property(_openshot.SampleRange_frame_end_get, _openshot.SampleRange_frame_end_set)
__swig_setmethods__["sample_end"] = _openshot.SampleRange_sample_end_set
__swig_getmethods__["sample_end"] = _openshot.SampleRange_sample_end_get
if _newclass:
sample_end = _swig_property(_openshot.SampleRange_sample_end_get, _openshot.SampleRange_sample_end_set)
__swig_setmethods__["total"] = _openshot.SampleRange_total_set
__swig_getmethods__["total"] = _openshot.SampleRange_total_get
if _newclass:
total = _swig_property(_openshot.SampleRange_total_get, _openshot.SampleRange_total_set)
def __init__(self):
"""__init__(openshot::SampleRange self) -> SampleRange"""
this = _openshot.new_SampleRange()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_SampleRange
__del__ = lambda self: None
SampleRange_swigregister = _openshot.SampleRange_swigregister
SampleRange_swigregister(SampleRange)
class MappedFrame(_object):
"""Proxy of C++ openshot::MappedFrame class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, MappedFrame, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, MappedFrame, name)
__repr__ = _swig_repr
__swig_setmethods__["Odd"] = _openshot.MappedFrame_Odd_set
__swig_getmethods__["Odd"] = _openshot.MappedFrame_Odd_get
if _newclass:
Odd = _swig_property(_openshot.MappedFrame_Odd_get, _openshot.MappedFrame_Odd_set)
__swig_setmethods__["Even"] = _openshot.MappedFrame_Even_set
__swig_getmethods__["Even"] = _openshot.MappedFrame_Even_get
if _newclass:
Even = _swig_property(_openshot.MappedFrame_Even_get, _openshot.MappedFrame_Even_set)
__swig_setmethods__["Samples"] = _openshot.MappedFrame_Samples_set
__swig_getmethods__["Samples"] = _openshot.MappedFrame_Samples_get
if _newclass:
Samples = _swig_property(_openshot.MappedFrame_Samples_get, _openshot.MappedFrame_Samples_set)
def __init__(self):
"""__init__(openshot::MappedFrame self) -> MappedFrame"""
this = _openshot.new_MappedFrame()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_MappedFrame
__del__ = lambda self: None
MappedFrame_swigregister = _openshot.MappedFrame_swigregister
MappedFrame_swigregister(MappedFrame)
class FrameMapper(ReaderBase):
"""Proxy of C++ openshot::FrameMapper class."""
__swig_setmethods__ = {}
for _s in [ReaderBase]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, FrameMapper, name, value)
__swig_getmethods__ = {}
for _s in [ReaderBase]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, FrameMapper, name)
__repr__ = _swig_repr
__swig_setmethods__["fields"] = _openshot.FrameMapper_fields_set
__swig_getmethods__["fields"] = _openshot.FrameMapper_fields_get
if _newclass:
fields = _swig_property(_openshot.FrameMapper_fields_get, _openshot.FrameMapper_fields_set)
__swig_setmethods__["frames"] = _openshot.FrameMapper_frames_set
__swig_getmethods__["frames"] = _openshot.FrameMapper_frames_get
if _newclass:
frames = _swig_property(_openshot.FrameMapper_frames_get, _openshot.FrameMapper_frames_set)
def __init__(self, reader, target_fps, target_pulldown, target_sample_rate, target_channels, target_channel_layout):
"""__init__(openshot::FrameMapper self, ReaderBase reader, Fraction target_fps, openshot::PulldownType target_pulldown, int target_sample_rate, int target_channels, openshot::ChannelLayout target_channel_layout) -> FrameMapper"""
this = _openshot.new_FrameMapper(reader, target_fps, target_pulldown, target_sample_rate, target_channels, target_channel_layout)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_FrameMapper
__del__ = lambda self: None
def ChangeMapping(self, target_fps, pulldown, target_sample_rate, target_channels, target_channel_layout):
"""ChangeMapping(FrameMapper self, Fraction target_fps, openshot::PulldownType pulldown, int target_sample_rate, int target_channels, openshot::ChannelLayout target_channel_layout)"""
return _openshot.FrameMapper_ChangeMapping(self, target_fps, pulldown, target_sample_rate, target_channels, target_channel_layout)
def SetTimelineFrameOffset(self, offset):
"""SetTimelineFrameOffset(FrameMapper self, int64_t offset)"""
return _openshot.FrameMapper_SetTimelineFrameOffset(self, offset)
def Close(self):
"""Close(FrameMapper self)"""
return _openshot.FrameMapper_Close(self)
def GetMappedFrame(self, TargetFrameNumber):
"""GetMappedFrame(FrameMapper self, int64_t TargetFrameNumber) -> MappedFrame"""
return _openshot.FrameMapper_GetMappedFrame(self, TargetFrameNumber)
def GetCache(self):
"""GetCache(FrameMapper self) -> CacheMemory"""
return _openshot.FrameMapper_GetCache(self)
def GetFrame(self, requested_frame):
"""GetFrame(FrameMapper self, int64_t requested_frame) -> std::shared_ptr< openshot::Frame >"""
return _openshot.FrameMapper_GetFrame(self, requested_frame)
def IsOpen(self):
"""IsOpen(FrameMapper self) -> bool"""
return _openshot.FrameMapper_IsOpen(self)
def Name(self):
"""Name(FrameMapper self) -> std::string"""
return _openshot.FrameMapper_Name(self)
def Json(self):
"""Json(FrameMapper self) -> std::string"""
return _openshot.FrameMapper_Json(self)
def SetJson(self, value):
"""SetJson(FrameMapper self, std::string value)"""
return _openshot.FrameMapper_SetJson(self, value)
def JsonValue(self):
"""JsonValue(FrameMapper self) -> Json::Value"""
return _openshot.FrameMapper_JsonValue(self)
def SetJsonValue(self, root):
"""SetJsonValue(FrameMapper self, Json::Value root)"""
return _openshot.FrameMapper_SetJsonValue(self, root)
def Open(self):
"""Open(FrameMapper self)"""
return _openshot.FrameMapper_Open(self)
def PrintMapping(self):
"""PrintMapping(FrameMapper self)"""
return _openshot.FrameMapper_PrintMapping(self)
def Reader(self):
"""Reader(FrameMapper self) -> ReaderBase"""
return _openshot.FrameMapper_Reader(self)
def ResampleMappedAudio(self, frame, original_frame_number):
"""ResampleMappedAudio(FrameMapper self, std::shared_ptr< openshot::Frame > frame, int64_t original_frame_number)"""
return _openshot.FrameMapper_ResampleMappedAudio(self, frame, original_frame_number)
FrameMapper_swigregister = _openshot.FrameMapper_swigregister
FrameMapper_swigregister(FrameMapper)
PLAYBACK_PLAY = _openshot.PLAYBACK_PLAY
PLAYBACK_PAUSED = _openshot.PLAYBACK_PAUSED
PLAYBACK_LOADING = _openshot.PLAYBACK_LOADING
PLAYBACK_STOPPED = _openshot.PLAYBACK_STOPPED
class PlayerBase(_object):
"""Proxy of C++ openshot::PlayerBase class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, PlayerBase, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, PlayerBase, name)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
def Loading(self):
"""Loading(PlayerBase self)"""
return _openshot.PlayerBase_Loading(self)
def Mode(self):
"""Mode(PlayerBase self) -> openshot::PlaybackMode"""
return _openshot.PlayerBase_Mode(self)
def Play(self):
"""Play(PlayerBase self)"""
return _openshot.PlayerBase_Play(self)
def Pause(self):
"""Pause(PlayerBase self)"""
return _openshot.PlayerBase_Pause(self)
def Position(self):
"""Position(PlayerBase self) -> int"""
return _openshot.PlayerBase_Position(self)
def Seek(self, new_frame):
"""Seek(PlayerBase self, int64_t new_frame)"""
return _openshot.PlayerBase_Seek(self, new_frame)
def Speed(self, *args):
"""
Speed(PlayerBase self) -> float
Speed(PlayerBase self, float new_speed)
"""
return _openshot.PlayerBase_Speed(self, *args)
def Stop(self):
"""Stop(PlayerBase self)"""
return _openshot.PlayerBase_Stop(self)
def Reader(self, *args):
"""
Reader(PlayerBase self) -> ReaderBase
Reader(PlayerBase self, ReaderBase new_reader)
"""
return _openshot.PlayerBase_Reader(self, *args)
def Volume(self, *args):
"""
Volume(PlayerBase self) -> float
Volume(PlayerBase self, float new_volume)
"""
return _openshot.PlayerBase_Volume(self, *args)
__swig_destroy__ = _openshot.delete_PlayerBase
__del__ = lambda self: None
PlayerBase_swigregister = _openshot.PlayerBase_swigregister
PlayerBase_swigregister(PlayerBase)
BEZIER = _openshot.BEZIER
LINEAR = _openshot.LINEAR
CONSTANT = _openshot.CONSTANT
AUTO = _openshot.AUTO
MANUAL = _openshot.MANUAL
class Point(_object):
"""Proxy of C++ openshot::Point class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Point, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Point, name)
__repr__ = _swig_repr
__swig_setmethods__["co"] = _openshot.Point_co_set
__swig_getmethods__["co"] = _openshot.Point_co_get
if _newclass:
co = _swig_property(_openshot.Point_co_get, _openshot.Point_co_set)
__swig_setmethods__["handle_left"] = _openshot.Point_handle_left_set
__swig_getmethods__["handle_left"] = _openshot.Point_handle_left_get
if _newclass:
handle_left = _swig_property(_openshot.Point_handle_left_get, _openshot.Point_handle_left_set)
__swig_setmethods__["handle_right"] = _openshot.Point_handle_right_set
__swig_getmethods__["handle_right"] = _openshot.Point_handle_right_get
if _newclass:
handle_right = _swig_property(_openshot.Point_handle_right_get, _openshot.Point_handle_right_set)
__swig_setmethods__["interpolation"] = _openshot.Point_interpolation_set
__swig_getmethods__["interpolation"] = _openshot.Point_interpolation_get
if _newclass:
interpolation = _swig_property(_openshot.Point_interpolation_get, _openshot.Point_interpolation_set)
__swig_setmethods__["handle_type"] = _openshot.Point_handle_type_set
__swig_getmethods__["handle_type"] = _openshot.Point_handle_type_get
if _newclass:
handle_type = _swig_property(_openshot.Point_handle_type_get, _openshot.Point_handle_type_set)
def __init__(self, *args):
"""
__init__(openshot::Point self) -> Point
__init__(openshot::Point self, float y) -> Point
__init__(openshot::Point self, float x, float y) -> Point
__init__(openshot::Point self, float x, float y, openshot::InterpolationType interpolation) -> Point
__init__(openshot::Point self, Coordinate co) -> Point
__init__(openshot::Point self, Coordinate co, openshot::InterpolationType interpolation) -> Point
__init__(openshot::Point self, Coordinate co, openshot::InterpolationType interpolation, openshot::HandleType handle_type) -> Point
"""
this = _openshot.new_Point(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def Initialize_Handles(self):
"""Initialize_Handles(Point self)"""
return _openshot.Point_Initialize_Handles(self)
def Initialize_LeftHandle(self, x, y):
"""Initialize_LeftHandle(Point self, float x, float y)"""
return _openshot.Point_Initialize_LeftHandle(self, x, y)
def Initialize_RightHandle(self, x, y):
"""Initialize_RightHandle(Point self, float x, float y)"""
return _openshot.Point_Initialize_RightHandle(self, x, y)
def Json(self):
"""Json(Point self) -> std::string"""
return _openshot.Point_Json(self)
def JsonValue(self):
"""JsonValue(Point self) -> Json::Value"""
return _openshot.Point_JsonValue(self)
def SetJson(self, value):
"""SetJson(Point self, std::string value)"""
return _openshot.Point_SetJson(self, value)
def SetJsonValue(self, root):
"""SetJsonValue(Point self, Json::Value root)"""
return _openshot.Point_SetJsonValue(self, root)
__swig_destroy__ = _openshot.delete_Point
__del__ = lambda self: None
Point_swigregister = _openshot.Point_swigregister
Point_swigregister(Point)
class ProfileInfo(_object):
"""Proxy of C++ openshot::ProfileInfo class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ProfileInfo, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ProfileInfo, name)
__repr__ = _swig_repr
__swig_setmethods__["description"] = _openshot.ProfileInfo_description_set
__swig_getmethods__["description"] = _openshot.ProfileInfo_description_get
if _newclass:
description = _swig_property(_openshot.ProfileInfo_description_get, _openshot.ProfileInfo_description_set)
__swig_setmethods__["height"] = _openshot.ProfileInfo_height_set
__swig_getmethods__["height"] = _openshot.ProfileInfo_height_get
if _newclass:
height = _swig_property(_openshot.ProfileInfo_height_get, _openshot.ProfileInfo_height_set)
__swig_setmethods__["width"] = _openshot.ProfileInfo_width_set
__swig_getmethods__["width"] = _openshot.ProfileInfo_width_get
if _newclass:
width = _swig_property(_openshot.ProfileInfo_width_get, _openshot.ProfileInfo_width_set)
__swig_setmethods__["pixel_format"] = _openshot.ProfileInfo_pixel_format_set
__swig_getmethods__["pixel_format"] = _openshot.ProfileInfo_pixel_format_get
if _newclass:
pixel_format = _swig_property(_openshot.ProfileInfo_pixel_format_get, _openshot.ProfileInfo_pixel_format_set)
__swig_setmethods__["fps"] = _openshot.ProfileInfo_fps_set
__swig_getmethods__["fps"] = _openshot.ProfileInfo_fps_get
if _newclass:
fps = _swig_property(_openshot.ProfileInfo_fps_get, _openshot.ProfileInfo_fps_set)
__swig_setmethods__["pixel_ratio"] = _openshot.ProfileInfo_pixel_ratio_set
__swig_getmethods__["pixel_ratio"] = _openshot.ProfileInfo_pixel_ratio_get
if _newclass:
pixel_ratio = _swig_property(_openshot.ProfileInfo_pixel_ratio_get, _openshot.ProfileInfo_pixel_ratio_set)
__swig_setmethods__["display_ratio"] = _openshot.ProfileInfo_display_ratio_set
__swig_getmethods__["display_ratio"] = _openshot.ProfileInfo_display_ratio_get
if _newclass:
display_ratio = _swig_property(_openshot.ProfileInfo_display_ratio_get, _openshot.ProfileInfo_display_ratio_set)
__swig_setmethods__["interlaced_frame"] = _openshot.ProfileInfo_interlaced_frame_set
__swig_getmethods__["interlaced_frame"] = _openshot.ProfileInfo_interlaced_frame_get
if _newclass:
interlaced_frame = _swig_property(_openshot.ProfileInfo_interlaced_frame_get, _openshot.ProfileInfo_interlaced_frame_set)
def __init__(self):
"""__init__(openshot::ProfileInfo self) -> ProfileInfo"""
this = _openshot.new_ProfileInfo()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_ProfileInfo
__del__ = lambda self: None
ProfileInfo_swigregister = _openshot.ProfileInfo_swigregister
ProfileInfo_swigregister(ProfileInfo)
class Profile(_object):
"""Proxy of C++ openshot::Profile class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Profile, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Profile, name)
__repr__ = _swig_repr
__swig_setmethods__["info"] = _openshot.Profile_info_set
__swig_getmethods__["info"] = _openshot.Profile_info_get
if _newclass:
info = _swig_property(_openshot.Profile_info_get, _openshot.Profile_info_set)
def __init__(self, path):
"""__init__(openshot::Profile self, std::string path) -> Profile"""
this = _openshot.new_Profile(path)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def Json(self):
"""Json(Profile self) -> std::string"""
return _openshot.Profile_Json(self)
def JsonValue(self):
"""JsonValue(Profile self) -> Json::Value"""
return _openshot.Profile_JsonValue(self)
def SetJson(self, value):
"""SetJson(Profile self, std::string value)"""
return _openshot.Profile_SetJson(self, value)
def SetJsonValue(self, root):
"""SetJsonValue(Profile self, Json::Value root)"""
return _openshot.Profile_SetJsonValue(self, root)
__swig_destroy__ = _openshot.delete_Profile
__del__ = lambda self: None
Profile_swigregister = _openshot.Profile_swigregister
Profile_swigregister(Profile)
class QtImageReader(ReaderBase):
"""Proxy of C++ openshot::QtImageReader class."""
__swig_setmethods__ = {}
for _s in [ReaderBase]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, QtImageReader, name, value)
__swig_getmethods__ = {}
for _s in [ReaderBase]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, QtImageReader, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(openshot::QtImageReader self, std::string path) -> QtImageReader
__init__(openshot::QtImageReader self, std::string path, bool inspect_reader) -> QtImageReader
"""
this = _openshot.new_QtImageReader(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def Close(self):
"""Close(QtImageReader self)"""
return _openshot.QtImageReader_Close(self)
def GetCache(self):
"""GetCache(QtImageReader self) -> CacheMemory"""
return _openshot.QtImageReader_GetCache(self)
def GetFrame(self, requested_frame):
"""GetFrame(QtImageReader self, int64_t requested_frame) -> std::shared_ptr< openshot::Frame >"""
return _openshot.QtImageReader_GetFrame(self, requested_frame)
def IsOpen(self):
"""IsOpen(QtImageReader self) -> bool"""
return _openshot.QtImageReader_IsOpen(self)
def Name(self):
"""Name(QtImageReader self) -> std::string"""
return _openshot.QtImageReader_Name(self)
def Json(self):
"""Json(QtImageReader self) -> std::string"""
return _openshot.QtImageReader_Json(self)
def SetJson(self, value):
"""SetJson(QtImageReader self, std::string value)"""
return _openshot.QtImageReader_SetJson(self, value)
def JsonValue(self):
"""JsonValue(QtImageReader self) -> Json::Value"""
return _openshot.QtImageReader_JsonValue(self)
def SetJsonValue(self, root):
"""SetJsonValue(QtImageReader self, Json::Value root)"""
return _openshot.QtImageReader_SetJsonValue(self, root)
def SetMaxSize(self, width, height):
"""SetMaxSize(QtImageReader self, int width, int height)"""
return _openshot.QtImageReader_SetMaxSize(self, width, height)
def Open(self):
"""Open(QtImageReader self)"""
return _openshot.QtImageReader_Open(self)
__swig_destroy__ = _openshot.delete_QtImageReader
__del__ = lambda self: None
QtImageReader_swigregister = _openshot.QtImageReader_swigregister
QtImageReader_swigregister(QtImageReader)
class QtPlayer(PlayerBase):
"""Proxy of C++ openshot::QtPlayer class."""
__swig_setmethods__ = {}
for _s in [PlayerBase]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, QtPlayer, name, value)
__swig_getmethods__ = {}
for _s in [PlayerBase]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, QtPlayer, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(openshot::QtPlayer self) -> QtPlayer
__init__(openshot::QtPlayer self, RendererBase rb) -> QtPlayer
"""
this = _openshot.new_QtPlayer(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_QtPlayer
__del__ = lambda self: None
def CloseAudioDevice(self):
"""CloseAudioDevice(QtPlayer self)"""
return _openshot.QtPlayer_CloseAudioDevice(self)
def Play(self):
"""Play(QtPlayer self)"""
return _openshot.QtPlayer_Play(self)
def Loading(self):
"""Loading(QtPlayer self)"""
return _openshot.QtPlayer_Loading(self)
def Mode(self):
"""Mode(QtPlayer self) -> openshot::PlaybackMode"""
return _openshot.QtPlayer_Mode(self)
def Pause(self):
"""Pause(QtPlayer self)"""
return _openshot.QtPlayer_Pause(self)
def Position(self):
"""Position(QtPlayer self) -> int"""
return _openshot.QtPlayer_Position(self)
def Seek(self, new_frame):
"""Seek(QtPlayer self, int64_t new_frame)"""
return _openshot.QtPlayer_Seek(self, new_frame)
def SetSource(self, source):
"""SetSource(QtPlayer self, std::string const & source)"""
return _openshot.QtPlayer_SetSource(self, source)
def SetQWidget(self, qwidget_address):
"""SetQWidget(QtPlayer self, int64_t qwidget_address)"""
return _openshot.QtPlayer_SetQWidget(self, qwidget_address)
def GetRendererQObject(self):
"""GetRendererQObject(QtPlayer self) -> int64_t"""
return _openshot.QtPlayer_GetRendererQObject(self)
def Speed(self, *args):
"""
Speed(QtPlayer self) -> float
Speed(QtPlayer self, float new_speed)
"""
return _openshot.QtPlayer_Speed(self, *args)
def Stop(self):
"""Stop(QtPlayer self)"""
return _openshot.QtPlayer_Stop(self)
def Reader(self, *args):
"""
Reader(QtPlayer self, ReaderBase new_reader)
Reader(QtPlayer self) -> ReaderBase
"""
return _openshot.QtPlayer_Reader(self, *args)
def Volume(self, *args):
"""
Volume(QtPlayer self) -> float
Volume(QtPlayer self, float new_volume)
"""
return _openshot.QtPlayer_Volume(self, *args)
QtPlayer_swigregister = _openshot.QtPlayer_swigregister
QtPlayer_swigregister(QtPlayer)
class Keyframe(_object):
"""Proxy of C++ openshot::Keyframe class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Keyframe, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Keyframe, name)
__repr__ = _swig_repr
__swig_setmethods__["Points"] = _openshot.Keyframe_Points_set
__swig_getmethods__["Points"] = _openshot.Keyframe_Points_get
if _newclass:
Points = _swig_property(_openshot.Keyframe_Points_get, _openshot.Keyframe_Points_set)
__swig_setmethods__["Values"] = _openshot.Keyframe_Values_set
__swig_getmethods__["Values"] = _openshot.Keyframe_Values_get
if _newclass:
Values = _swig_property(_openshot.Keyframe_Values_get, _openshot.Keyframe_Values_set)
def __init__(self, *args):
"""
__init__(openshot::Keyframe self) -> Keyframe
__init__(openshot::Keyframe self, double value) -> Keyframe
"""
this = _openshot.new_Keyframe(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def AddPoint(self, *args):
"""
AddPoint(Keyframe self, Point p)
AddPoint(Keyframe self, double x, double y)
AddPoint(Keyframe self, double x, double y, openshot::InterpolationType interpolate)
"""
return _openshot.Keyframe_AddPoint(self, *args)
def Contains(self, p):
"""Contains(Keyframe self, Point p) -> bool"""
return _openshot.Keyframe_Contains(self, p)
def FlipPoints(self):
"""FlipPoints(Keyframe self)"""
return _openshot.Keyframe_FlipPoints(self)
def FindIndex(self, p):
"""FindIndex(Keyframe self, Point p) -> int64_t"""
return _openshot.Keyframe_FindIndex(self, p)
def GetValue(self, index):
"""GetValue(Keyframe self, int64_t index) -> double"""
return _openshot.Keyframe_GetValue(self, index)
def GetInt(self, index):
"""GetInt(Keyframe self, int64_t index) -> int"""
return _openshot.Keyframe_GetInt(self, index)
def GetLong(self, index):
"""GetLong(Keyframe self, int64_t index) -> int64_t"""
return _openshot.Keyframe_GetLong(self, index)
def GetRepeatFraction(self, index):
"""GetRepeatFraction(Keyframe self, int64_t index) -> Fraction"""
return _openshot.Keyframe_GetRepeatFraction(self, index)
def GetDelta(self, index):
"""GetDelta(Keyframe self, int64_t index) -> double"""
return _openshot.Keyframe_GetDelta(self, index)
def GetPoint(self, index):
"""GetPoint(Keyframe self, int64_t index) -> Point"""
return _openshot.Keyframe_GetPoint(self, index)
def GetClosestPoint(self, *args):
"""
GetClosestPoint(Keyframe self, Point p) -> Point
GetClosestPoint(Keyframe self, Point p, bool useLeft) -> Point
"""
return _openshot.Keyframe_GetClosestPoint(self, *args)
def GetPreviousPoint(self, p):
"""GetPreviousPoint(Keyframe self, Point p) -> Point"""
return _openshot.Keyframe_GetPreviousPoint(self, p)
def GetMaxPoint(self):
"""GetMaxPoint(Keyframe self) -> Point"""
return _openshot.Keyframe_GetMaxPoint(self)
def GetLength(self):
"""GetLength(Keyframe self) -> int64_t"""
return _openshot.Keyframe_GetLength(self)
def GetCount(self):
"""GetCount(Keyframe self) -> int64_t"""
return _openshot.Keyframe_GetCount(self)
def IsIncreasing(self, index):
"""IsIncreasing(Keyframe self, int index) -> bool"""
return _openshot.Keyframe_IsIncreasing(self, index)
def Json(self):
"""Json(Keyframe self) -> std::string"""
return _openshot.Keyframe_Json(self)
def JsonValue(self):
"""JsonValue(Keyframe self) -> Json::Value"""
return _openshot.Keyframe_JsonValue(self)
def SetJson(self, value):
"""SetJson(Keyframe self, std::string value)"""
return _openshot.Keyframe_SetJson(self, value)
def SetJsonValue(self, root):
"""SetJsonValue(Keyframe self, Json::Value root)"""
return _openshot.Keyframe_SetJsonValue(self, root)
def Process(self):
"""Process(Keyframe self)"""
return _openshot.Keyframe_Process(self)
def RemovePoint(self, *args):
"""
RemovePoint(Keyframe self, Point p)
RemovePoint(Keyframe self, int64_t index)
"""
return _openshot.Keyframe_RemovePoint(self, *args)
def ScalePoints(self, scale):
"""ScalePoints(Keyframe self, double scale)"""
return _openshot.Keyframe_ScalePoints(self, scale)
def UpdatePoint(self, index, p):
"""UpdatePoint(Keyframe self, int64_t index, Point p)"""
return _openshot.Keyframe_UpdatePoint(self, index, p)
def PrintPoints(self):
"""PrintPoints(Keyframe self)"""
return _openshot.Keyframe_PrintPoints(self)
def PrintValues(self):
"""PrintValues(Keyframe self)"""
return _openshot.Keyframe_PrintValues(self)
__swig_destroy__ = _openshot.delete_Keyframe
__del__ = lambda self: None
Keyframe_swigregister = _openshot.Keyframe_swigregister
Keyframe_swigregister(Keyframe)
class RendererBase(_object):
"""Proxy of C++ openshot::RendererBase class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, RendererBase, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, RendererBase, name)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
def paint(self, frame):
"""paint(RendererBase self, std::shared_ptr< openshot::Frame > const & frame)"""
return _openshot.RendererBase_paint(self, frame)
def OverrideWidget(self, qwidget_address):
"""OverrideWidget(RendererBase self, int64_t qwidget_address)"""
return _openshot.RendererBase_OverrideWidget(self, qwidget_address)
RendererBase_swigregister = _openshot.RendererBase_swigregister
RendererBase_swigregister(RendererBase)
class CompareClips(_object):
"""Proxy of C++ openshot::CompareClips class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, CompareClips, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CompareClips, name)
__repr__ = _swig_repr
def __call__(self, lhs, rhs):
"""__call__(CompareClips self, Clip lhs, Clip rhs) -> bool"""
return _openshot.CompareClips___call__(self, lhs, rhs)
def __init__(self):
"""__init__(openshot::CompareClips self) -> CompareClips"""
this = _openshot.new_CompareClips()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_CompareClips
__del__ = lambda self: None
CompareClips_swigregister = _openshot.CompareClips_swigregister
CompareClips_swigregister(CompareClips)
class CompareEffects(_object):
"""Proxy of C++ openshot::CompareEffects class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, CompareEffects, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CompareEffects, name)
__repr__ = _swig_repr
def __call__(self, lhs, rhs):
"""__call__(CompareEffects self, EffectBase lhs, EffectBase rhs) -> bool"""
return _openshot.CompareEffects___call__(self, lhs, rhs)
def __init__(self):
"""__init__(openshot::CompareEffects self) -> CompareEffects"""
this = _openshot.new_CompareEffects()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
__swig_destroy__ = _openshot.delete_CompareEffects
__del__ = lambda self: None
CompareEffects_swigregister = _openshot.CompareEffects_swigregister
CompareEffects_swigregister(CompareEffects)
class Timeline(ReaderBase):
"""Proxy of C++ openshot::Timeline class."""
__swig_setmethods__ = {}
for _s in [ReaderBase]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, Timeline, name, value)
__swig_getmethods__ = {}
for _s in [ReaderBase]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, Timeline, name)
__repr__ = _swig_repr
def __init__(self, width, height, fps, sample_rate, channels, channel_layout):
"""__init__(openshot::Timeline self, int width, int height, Fraction fps, int sample_rate, int channels, openshot::ChannelLayout channel_layout) -> Timeline"""
this = _openshot.new_Timeline(width, height, fps, sample_rate, channels, channel_layout)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def AddClip(self, clip):
"""AddClip(Timeline self, Clip clip)"""
return _openshot.Timeline_AddClip(self, clip)
def AddEffect(self, effect):
"""AddEffect(Timeline self, EffectBase effect)"""
return _openshot.Timeline_AddEffect(self, effect)
def ApplyMapperToClips(self):
"""ApplyMapperToClips(Timeline self)"""
return _openshot.Timeline_ApplyMapperToClips(self)
def AutoMapClips(self, *args):
"""
AutoMapClips(Timeline self) -> bool
AutoMapClips(Timeline self, bool auto_map)
"""
return _openshot.Timeline_AutoMapClips(self, *args)
def ClearAllCache(self):
"""ClearAllCache(Timeline self)"""
return _openshot.Timeline_ClearAllCache(self)
def Clips(self):
"""Clips(Timeline self) -> ClipList"""
return _openshot.Timeline_Clips(self)
def Close(self):
"""Close(Timeline self)"""
return _openshot.Timeline_Close(self)
def Effects(self):
"""Effects(Timeline self) -> EffectBaseList"""
return _openshot.Timeline_Effects(self)
def GetCache(self):
"""GetCache(Timeline self) -> CacheBase"""
return _openshot.Timeline_GetCache(self)
def SetCache(self, new_cache):
"""SetCache(Timeline self, CacheBase new_cache)"""
return _openshot.Timeline_SetCache(self, new_cache)
def GetFrame(self, requested_frame):
"""GetFrame(Timeline self, int64_t requested_frame) -> std::shared_ptr< openshot::Frame >"""
return _openshot.Timeline_GetFrame(self, requested_frame)
__swig_setmethods__["viewport_scale"] = _openshot.Timeline_viewport_scale_set
__swig_getmethods__["viewport_scale"] = _openshot.Timeline_viewport_scale_get
if _newclass:
viewport_scale = _swig_property(_openshot.Timeline_viewport_scale_get, _openshot.Timeline_viewport_scale_set)
__swig_setmethods__["viewport_x"] = _openshot.Timeline_viewport_x_set
__swig_getmethods__["viewport_x"] = _openshot.Timeline_viewport_x_get
if _newclass:
viewport_x = _swig_property(_openshot.Timeline_viewport_x_get, _openshot.Timeline_viewport_x_set)
__swig_setmethods__["viewport_y"] = _openshot.Timeline_viewport_y_set
__swig_getmethods__["viewport_y"] = _openshot.Timeline_viewport_y_get
if _newclass:
viewport_y = _swig_property(_openshot.Timeline_viewport_y_get, _openshot.Timeline_viewport_y_set)
__swig_setmethods__["color"] = _openshot.Timeline_color_set
__swig_getmethods__["color"] = _openshot.Timeline_color_get
if _newclass:
color = _swig_property(_openshot.Timeline_color_get, _openshot.Timeline_color_set)
def IsOpen(self):
"""IsOpen(Timeline self) -> bool"""
return _openshot.Timeline_IsOpen(self)
def Name(self):
"""Name(Timeline self) -> std::string"""
return _openshot.Timeline_Name(self)
def Json(self):
"""Json(Timeline self) -> std::string"""
return _openshot.Timeline_Json(self)
def SetJson(self, value):
"""SetJson(Timeline self, std::string value)"""
return _openshot.Timeline_SetJson(self, value)
def JsonValue(self):
"""JsonValue(Timeline self) -> Json::Value"""
return _openshot.Timeline_JsonValue(self)
def SetJsonValue(self, root):
"""SetJsonValue(Timeline self, Json::Value root)"""
return _openshot.Timeline_SetJsonValue(self, root)
def ApplyJsonDiff(self, value):
"""ApplyJsonDiff(Timeline self, std::string value)"""
return _openshot.Timeline_ApplyJsonDiff(self, value)
def Open(self):
"""Open(Timeline self)"""
return _openshot.Timeline_Open(self)
def RemoveClip(self, clip):
"""RemoveClip(Timeline self, Clip clip)"""
return _openshot.Timeline_RemoveClip(self, clip)
def RemoveEffect(self, effect):
"""RemoveEffect(Timeline self, EffectBase effect)"""
return _openshot.Timeline_RemoveEffect(self, effect)
__swig_destroy__ = _openshot.delete_Timeline
__del__ = lambda self: None
Timeline_swigregister = _openshot.Timeline_swigregister
Timeline_swigregister(Timeline)
class ZmqLogger(_object):
"""Proxy of C++ openshot::ZmqLogger class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ZmqLogger, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ZmqLogger, name)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def Instance():
"""Instance() -> ZmqLogger"""
return _openshot.ZmqLogger_Instance()
Instance = staticmethod(Instance)
def AppendDebugMethod(self, method_name, arg1_name, arg1_value, arg2_name, arg2_value, arg3_name, arg3_value, arg4_name, arg4_value, arg5_name, arg5_value, arg6_name, arg6_value):
"""AppendDebugMethod(ZmqLogger self, std::string method_name, std::string arg1_name, float arg1_value, std::string arg2_name, float arg2_value, std::string arg3_name, float arg3_value, std::string arg4_name, float arg4_value, std::string arg5_name, float arg5_value, std::string arg6_name, float arg6_value)"""
return _openshot.ZmqLogger_AppendDebugMethod(self, method_name, arg1_name, arg1_value, arg2_name, arg2_value, arg3_name, arg3_value, arg4_name, arg4_value, arg5_name, arg5_value, arg6_name, arg6_value)
def Close(self):
"""Close(ZmqLogger self)"""
return _openshot.ZmqLogger_Close(self)
def Connection(self, new_connection):
"""Connection(ZmqLogger self, std::string new_connection)"""
return _openshot.ZmqLogger_Connection(self, new_connection)
def Enable(self, is_enabled):
"""Enable(ZmqLogger self, bool is_enabled)"""
return _openshot.ZmqLogger_Enable(self, is_enabled)
def Path(self, new_path):
"""Path(ZmqLogger self, std::string new_path)"""
return _openshot.ZmqLogger_Path(self, new_path)
def Log(self, message):
"""Log(ZmqLogger self, std::string message)"""
return _openshot.ZmqLogger_Log(self, message)
def LogToFile(self, message):
"""LogToFile(ZmqLogger self, std::string message)"""
return _openshot.ZmqLogger_LogToFile(self, message)
__swig_destroy__ = _openshot.delete_ZmqLogger
__del__ = lambda self: None
ZmqLogger_swigregister = _openshot.ZmqLogger_swigregister
ZmqLogger_swigregister(ZmqLogger)
def ZmqLogger_Instance():
"""ZmqLogger_Instance() -> ZmqLogger"""
return _openshot.ZmqLogger_Instance()
class Blur(EffectBase):
"""Proxy of C++ openshot::Blur class."""
__swig_setmethods__ = {}
for _s in [EffectBase]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, Blur, name, value)
__swig_getmethods__ = {}
for _s in [EffectBase]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, Blur, name)
__repr__ = _swig_repr
__swig_setmethods__["horizontal_radius"] = _openshot.Blur_horizontal_radius_set
__swig_getmethods__["horizontal_radius"] = _openshot.Blur_horizontal_radius_get
if _newclass:
horizontal_radius = _swig_property(_openshot.Blur_horizontal_radius_get, _openshot.Blur_horizontal_radius_set)
__swig_setmethods__["vertical_radius"] = _openshot.Blur_vertical_radius_set
__swig_getmethods__["vertical_radius"] = _openshot.Blur_vertical_radius_get
if _newclass:
vertical_radius = _swig_property(_openshot.Blur_vertical_radius_get, _openshot.Blur_vertical_radius_set)
__swig_setmethods__["sigma"] = _openshot.Blur_sigma_set
__swig_getmethods__["sigma"] = _openshot.Blur_sigma_get
if _newclass:
sigma = _swig_property(_openshot.Blur_sigma_get, _openshot.Blur_sigma_set)
__swig_setmethods__["iterations"] = _openshot.Blur_iterations_set
__swig_getmethods__["iterations"] = _openshot.Blur_iterations_get
if _newclass:
iterations = _swig_property(_openshot.Blur_iterations_get, _openshot.Blur_iterations_set)
def __init__(self, *args):
"""
__init__(openshot::Blur self) -> Blur
__init__(openshot::Blur self, Keyframe new_horizontal_radius, Keyframe new_vertical_radius, Keyframe new_sigma, Keyframe new_iterations) -> Blur
"""
this = _openshot.new_Blur(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def GetFrame(self, frame, frame_number):
"""GetFrame(Blur self, std::shared_ptr< openshot::Frame > frame, int64_t frame_number) -> std::shared_ptr< openshot::Frame >"""
return _openshot.Blur_GetFrame(self, frame, frame_number)
def Json(self):
"""Json(Blur self) -> std::string"""
return _openshot.Blur_Json(self)
def SetJson(self, value):
"""SetJson(Blur self, std::string value)"""
return _openshot.Blur_SetJson(self, value)
def JsonValue(self):
"""JsonValue(Blur self) -> Json::Value"""
return _openshot.Blur_JsonValue(self)
def SetJsonValue(self, root):
"""SetJsonValue(Blur self, Json::Value root)"""
return _openshot.Blur_SetJsonValue(self, root)
def PropertiesJSON(self, requested_frame):
"""PropertiesJSON(Blur self, int64_t requested_frame) -> std::string"""
return _openshot.Blur_PropertiesJSON(self, requested_frame)
__swig_destroy__ = _openshot.delete_Blur
__del__ = lambda self: None
Blur_swigregister = _openshot.Blur_swigregister
Blur_swigregister(Blur)
class Brightness(EffectBase):
"""Proxy of C++ openshot::Brightness class."""
__swig_setmethods__ = {}
for _s in [EffectBase]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, Brightness, name, value)
__swig_getmethods__ = {}
for _s in [EffectBase]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, Brightness, name)
__repr__ = _swig_repr
__swig_setmethods__["brightness"] = _openshot.Brightness_brightness_set
__swig_getmethods__["brightness"] = _openshot.Brightness_brightness_get
if _newclass:
brightness = _swig_property(_openshot.Brightness_brightness_get, _openshot.Brightness_brightness_set)
__swig_setmethods__["contrast"] = _openshot.Brightness_contrast_set
__swig_getmethods__["contrast"] = _openshot.Brightness_contrast_get
if _newclass:
contrast = _swig_property(_openshot.Brightness_contrast_get, _openshot.Brightness_contrast_set)
def __init__(self, *args):
"""
__init__(openshot::Brightness self) -> Brightness
__init__(openshot::Brightness self, Keyframe new_brightness, Keyframe new_contrast) -> Brightness
"""
this = _openshot.new_Brightness(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def GetFrame(self, frame, frame_number):
"""GetFrame(Brightness self, std::shared_ptr< openshot::Frame > frame, int64_t frame_number) -> std::shared_ptr< openshot::Frame >"""
return _openshot.Brightness_GetFrame(self, frame, frame_number)
def Json(self):
"""Json(Brightness self) -> std::string"""
return _openshot.Brightness_Json(self)
def SetJson(self, value):
"""SetJson(Brightness self, std::string value)"""
return _openshot.Brightness_SetJson(self, value)
def JsonValue(self):
"""JsonValue(Brightness self) -> Json::Value"""
return _openshot.Brightness_JsonValue(self)
def SetJsonValue(self, root):
"""SetJsonValue(Brightness self, Json::Value root)"""
return _openshot.Brightness_SetJsonValue(self, root)
def PropertiesJSON(self, requested_frame):
"""PropertiesJSON(Brightness self, int64_t requested_frame) -> std::string"""
return _openshot.Brightness_PropertiesJSON(self, requested_frame)
__swig_destroy__ = _openshot.delete_Brightness
__del__ = lambda self: None
Brightness_swigregister = _openshot.Brightness_swigregister
Brightness_swigregister(Brightness)
class ChromaKey(EffectBase):
"""Proxy of C++ openshot::ChromaKey class."""
__swig_setmethods__ = {}
for _s in [EffectBase]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ChromaKey, name, value)
__swig_getmethods__ = {}
for _s in [EffectBase]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, ChromaKey, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(openshot::ChromaKey self) -> ChromaKey
__init__(openshot::ChromaKey self, Color color, Keyframe fuzz) -> ChromaKey
"""
this = _openshot.new_ChromaKey(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def GetFrame(self, frame, frame_number):
"""GetFrame(ChromaKey self, std::shared_ptr< openshot::Frame > frame, int64_t frame_number) -> std::shared_ptr< openshot::Frame >"""
return _openshot.ChromaKey_GetFrame(self, frame, frame_number)
def Json(self):
"""Json(ChromaKey self) -> std::string"""
return _openshot.ChromaKey_Json(self)
def SetJson(self, value):
"""SetJson(ChromaKey self, std::string value)"""
return _openshot.ChromaKey_SetJson(self, value)
def JsonValue(self):
"""JsonValue(ChromaKey self) -> Json::Value"""
return _openshot.ChromaKey_JsonValue(self)
def SetJsonValue(self, root):
"""SetJsonValue(ChromaKey self, Json::Value root)"""
return _openshot.ChromaKey_SetJsonValue(self, root)
def PropertiesJSON(self, requested_frame):
"""PropertiesJSON(ChromaKey self, int64_t requested_frame) -> std::string"""
return _openshot.ChromaKey_PropertiesJSON(self, requested_frame)
__swig_destroy__ = _openshot.delete_ChromaKey
__del__ = lambda self: None
ChromaKey_swigregister = _openshot.ChromaKey_swigregister
ChromaKey_swigregister(ChromaKey)
class Deinterlace(EffectBase):
"""Proxy of C++ openshot::Deinterlace class."""
__swig_setmethods__ = {}
for _s in [EffectBase]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, Deinterlace, name, value)
__swig_getmethods__ = {}
for _s in [EffectBase]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, Deinterlace, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(openshot::Deinterlace self) -> Deinterlace
__init__(openshot::Deinterlace self, bool isOdd) -> Deinterlace
"""
this = _openshot.new_Deinterlace(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def GetFrame(self, frame, frame_number):
"""GetFrame(Deinterlace self, std::shared_ptr< openshot::Frame > frame, int64_t frame_number) -> std::shared_ptr< openshot::Frame >"""
return _openshot.Deinterlace_GetFrame(self, frame, frame_number)
def Json(self):
"""Json(Deinterlace self) -> std::string"""
return _openshot.Deinterlace_Json(self)
def SetJson(self, value):
"""SetJson(Deinterlace self, std::string value)"""
return _openshot.Deinterlace_SetJson(self, value)
def JsonValue(self):
"""JsonValue(Deinterlace self) -> Json::Value"""
return _openshot.Deinterlace_JsonValue(self)
def SetJsonValue(self, root):
"""SetJsonValue(Deinterlace self, Json::Value root)"""
return _openshot.Deinterlace_SetJsonValue(self, root)
def PropertiesJSON(self, requested_frame):
"""PropertiesJSON(Deinterlace self, int64_t requested_frame) -> std::string"""
return _openshot.Deinterlace_PropertiesJSON(self, requested_frame)
__swig_destroy__ = _openshot.delete_Deinterlace
__del__ = lambda self: None
Deinterlace_swigregister = _openshot.Deinterlace_swigregister
Deinterlace_swigregister(Deinterlace)
class Mask(EffectBase):
"""Proxy of C++ openshot::Mask class."""
__swig_setmethods__ = {}
for _s in [EffectBase]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, Mask, name, value)
__swig_getmethods__ = {}
for _s in [EffectBase]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, Mask, name)
__repr__ = _swig_repr
__swig_setmethods__["replace_image"] = _openshot.Mask_replace_image_set
__swig_getmethods__["replace_image"] = _openshot.Mask_replace_image_get
if _newclass:
replace_image = _swig_property(_openshot.Mask_replace_image_get, _openshot.Mask_replace_image_set)
__swig_setmethods__["brightness"] = _openshot.Mask_brightness_set
__swig_getmethods__["brightness"] = _openshot.Mask_brightness_get
if _newclass:
brightness = _swig_property(_openshot.Mask_brightness_get, _openshot.Mask_brightness_set)
__swig_setmethods__["contrast"] = _openshot.Mask_contrast_set
__swig_getmethods__["contrast"] = _openshot.Mask_contrast_get
if _newclass:
contrast = _swig_property(_openshot.Mask_contrast_get, _openshot.Mask_contrast_set)
def __init__(self, *args):
"""
__init__(openshot::Mask self) -> Mask
__init__(openshot::Mask self, ReaderBase mask_reader, Keyframe mask_brightness, Keyframe mask_contrast) -> Mask
"""
this = _openshot.new_Mask(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def GetFrame(self, frame, frame_number):
"""GetFrame(Mask self, std::shared_ptr< openshot::Frame > frame, int64_t frame_number) -> std::shared_ptr< openshot::Frame >"""
return _openshot.Mask_GetFrame(self, frame, frame_number)
def Json(self):
"""Json(Mask self) -> std::string"""
return _openshot.Mask_Json(self)
def SetJson(self, value):
"""SetJson(Mask self, std::string value)"""
return _openshot.Mask_SetJson(self, value)
def JsonValue(self):
"""JsonValue(Mask self) -> Json::Value"""
return _openshot.Mask_JsonValue(self)
def SetJsonValue(self, root):
"""SetJsonValue(Mask self, Json::Value root)"""
return _openshot.Mask_SetJsonValue(self, root)
def PropertiesJSON(self, requested_frame):
"""PropertiesJSON(Mask self, int64_t requested_frame) -> std::string"""
return _openshot.Mask_PropertiesJSON(self, requested_frame)
def Reader(self, *args):
"""
Reader(Mask self) -> ReaderBase
Reader(Mask self, ReaderBase new_reader)
"""
return _openshot.Mask_Reader(self, *args)
__swig_destroy__ = _openshot.delete_Mask
__del__ = lambda self: None
Mask_swigregister = _openshot.Mask_swigregister
Mask_swigregister(Mask)
class Negate(EffectBase):
"""Proxy of C++ openshot::Negate class."""
__swig_setmethods__ = {}
for _s in [EffectBase]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, Negate, name, value)
__swig_getmethods__ = {}
for _s in [EffectBase]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, Negate, name)
__repr__ = _swig_repr
def __init__(self):
"""__init__(openshot::Negate self) -> Negate"""
this = _openshot.new_Negate()
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def GetFrame(self, frame, frame_number):
"""GetFrame(Negate self, std::shared_ptr< openshot::Frame > frame, int64_t frame_number) -> std::shared_ptr< openshot::Frame >"""
return _openshot.Negate_GetFrame(self, frame, frame_number)
def Json(self):
"""Json(Negate self) -> std::string"""
return _openshot.Negate_Json(self)
def SetJson(self, value):
"""SetJson(Negate self, std::string value)"""
return _openshot.Negate_SetJson(self, value)
def JsonValue(self):
"""JsonValue(Negate self) -> Json::Value"""
return _openshot.Negate_JsonValue(self)
def SetJsonValue(self, root):
"""SetJsonValue(Negate self, Json::Value root)"""
return _openshot.Negate_SetJsonValue(self, root)
def PropertiesJSON(self, requested_frame):
"""PropertiesJSON(Negate self, int64_t requested_frame) -> std::string"""
return _openshot.Negate_PropertiesJSON(self, requested_frame)
__swig_destroy__ = _openshot.delete_Negate
__del__ = lambda self: None
Negate_swigregister = _openshot.Negate_swigregister
Negate_swigregister(Negate)
class Saturation(EffectBase):
"""Proxy of C++ openshot::Saturation class."""
__swig_setmethods__ = {}
for _s in [EffectBase]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, Saturation, name, value)
__swig_getmethods__ = {}
for _s in [EffectBase]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, Saturation, name)
__repr__ = _swig_repr
__swig_setmethods__["saturation"] = _openshot.Saturation_saturation_set
__swig_getmethods__["saturation"] = _openshot.Saturation_saturation_get
if _newclass:
saturation = _swig_property(_openshot.Saturation_saturation_get, _openshot.Saturation_saturation_set)
def __init__(self, *args):
"""
__init__(openshot::Saturation self) -> Saturation
__init__(openshot::Saturation self, Keyframe new_saturation) -> Saturation
"""
this = _openshot.new_Saturation(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def GetFrame(self, frame, frame_number):
"""GetFrame(Saturation self, std::shared_ptr< openshot::Frame > frame, int64_t frame_number) -> std::shared_ptr< openshot::Frame >"""
return _openshot.Saturation_GetFrame(self, frame, frame_number)
def Json(self):
"""Json(Saturation self) -> std::string"""
return _openshot.Saturation_Json(self)
def SetJson(self, value):
"""SetJson(Saturation self, std::string value)"""
return _openshot.Saturation_SetJson(self, value)
def JsonValue(self):
"""JsonValue(Saturation self) -> Json::Value"""
return _openshot.Saturation_JsonValue(self)
def SetJsonValue(self, root):
"""SetJsonValue(Saturation self, Json::Value root)"""
return _openshot.Saturation_SetJsonValue(self, root)
def PropertiesJSON(self, requested_frame):
"""PropertiesJSON(Saturation self, int64_t requested_frame) -> std::string"""
return _openshot.Saturation_PropertiesJSON(self, requested_frame)
__swig_destroy__ = _openshot.delete_Saturation
__del__ = lambda self: None
Saturation_swigregister = _openshot.Saturation_swigregister
Saturation_swigregister(Saturation)
class ClipList(_object):
"""Proxy of C++ std::list<(p.openshot::Clip)> class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ClipList, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ClipList, name)
__repr__ = _swig_repr
def iterator(self):
"""iterator(ClipList self) -> SwigPyIterator"""
return _openshot.ClipList_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
"""__nonzero__(ClipList self) -> bool"""
return _openshot.ClipList___nonzero__(self)
def __bool__(self):
"""__bool__(ClipList self) -> bool"""
return _openshot.ClipList___bool__(self)
def __len__(self):
"""__len__(ClipList self) -> std::list< openshot::Clip * >::size_type"""
return _openshot.ClipList___len__(self)
def __getslice__(self, i, j):
"""__getslice__(ClipList self, std::list< openshot::Clip * >::difference_type i, std::list< openshot::Clip * >::difference_type j) -> ClipList"""
return _openshot.ClipList___getslice__(self, i, j)
def __setslice__(self, *args):
"""
__setslice__(ClipList self, std::list< openshot::Clip * >::difference_type i, std::list< openshot::Clip * >::difference_type j)
__setslice__(ClipList self, std::list< openshot::Clip * >::difference_type i, std::list< openshot::Clip * >::difference_type j, ClipList v)
"""
return _openshot.ClipList___setslice__(self, *args)
def __delslice__(self, i, j):
"""__delslice__(ClipList self, std::list< openshot::Clip * >::difference_type i, std::list< openshot::Clip * >::difference_type j)"""
return _openshot.ClipList___delslice__(self, i, j)
def __delitem__(self, *args):
"""
__delitem__(ClipList self, std::list< openshot::Clip * >::difference_type i)
__delitem__(ClipList self, PySliceObject * slice)
"""
return _openshot.ClipList___delitem__(self, *args)
def __getitem__(self, *args):
"""
__getitem__(ClipList self, PySliceObject * slice) -> ClipList
__getitem__(ClipList self, std::list< openshot::Clip * >::difference_type i) -> Clip
"""
return _openshot.ClipList___getitem__(self, *args)
def __setitem__(self, *args):
"""
__setitem__(ClipList self, PySliceObject * slice, ClipList v)
__setitem__(ClipList self, PySliceObject * slice)
__setitem__(ClipList self, std::list< openshot::Clip * >::difference_type i, Clip x)
"""
return _openshot.ClipList___setitem__(self, *args)
def pop(self):
"""pop(ClipList self) -> Clip"""
return _openshot.ClipList_pop(self)
def append(self, x):
"""append(ClipList self, Clip x)"""
return _openshot.ClipList_append(self, x)
def empty(self):
"""empty(ClipList self) -> bool"""
return _openshot.ClipList_empty(self)
def size(self):
"""size(ClipList self) -> std::list< openshot::Clip * >::size_type"""
return _openshot.ClipList_size(self)
def swap(self, v):
"""swap(ClipList self, ClipList v)"""
return _openshot.ClipList_swap(self, v)
def begin(self):
"""begin(ClipList self) -> std::list< openshot::Clip * >::iterator"""
return _openshot.ClipList_begin(self)
def end(self):
"""end(ClipList self) -> std::list< openshot::Clip * >::iterator"""
return _openshot.ClipList_end(self)
def rbegin(self):
"""rbegin(ClipList self) -> std::list< openshot::Clip * >::reverse_iterator"""
return _openshot.ClipList_rbegin(self)
def rend(self):
"""rend(ClipList self) -> std::list< openshot::Clip * >::reverse_iterator"""
return _openshot.ClipList_rend(self)
def clear(self):
"""clear(ClipList self)"""
return _openshot.ClipList_clear(self)
def get_allocator(self):
"""get_allocator(ClipList self) -> std::list< openshot::Clip * >::allocator_type"""
return _openshot.ClipList_get_allocator(self)
def pop_back(self):
"""pop_back(ClipList self)"""
return _openshot.ClipList_pop_back(self)
def erase(self, *args):
"""
erase(ClipList self, std::list< openshot::Clip * >::iterator pos) -> std::list< openshot::Clip * >::iterator
erase(ClipList self, std::list< openshot::Clip * >::iterator first, std::list< openshot::Clip * >::iterator last) -> std::list< openshot::Clip * >::iterator
"""
return _openshot.ClipList_erase(self, *args)
def __init__(self, *args):
"""
__init__(std::list<(p.openshot::Clip)> self) -> ClipList
__init__(std::list<(p.openshot::Clip)> self, ClipList arg2) -> ClipList
__init__(std::list<(p.openshot::Clip)> self, std::list< openshot::Clip * >::size_type size) -> ClipList
__init__(std::list<(p.openshot::Clip)> self, std::list< openshot::Clip * >::size_type size, Clip value) -> ClipList
"""
this = _openshot.new_ClipList(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def push_back(self, x):
"""push_back(ClipList self, Clip x)"""
return _openshot.ClipList_push_back(self, x)
def front(self):
"""front(ClipList self) -> Clip"""
return _openshot.ClipList_front(self)
def back(self):
"""back(ClipList self) -> Clip"""
return _openshot.ClipList_back(self)
def assign(self, n, x):
"""assign(ClipList self, std::list< openshot::Clip * >::size_type n, Clip x)"""
return _openshot.ClipList_assign(self, n, x)
def resize(self, *args):
"""
resize(ClipList self, std::list< openshot::Clip * >::size_type new_size)
resize(ClipList self, std::list< openshot::Clip * >::size_type new_size, Clip x)
"""
return _openshot.ClipList_resize(self, *args)
def insert(self, *args):
"""
insert(ClipList self, std::list< openshot::Clip * >::iterator pos, Clip x) -> std::list< openshot::Clip * >::iterator
insert(ClipList self, std::list< openshot::Clip * >::iterator pos, std::list< openshot::Clip * >::size_type n, Clip x)
"""
return _openshot.ClipList_insert(self, *args)
def pop_front(self):
"""pop_front(ClipList self)"""
return _openshot.ClipList_pop_front(self)
def push_front(self, x):
"""push_front(ClipList self, Clip x)"""
return _openshot.ClipList_push_front(self, x)
def remove(self, x):
"""remove(ClipList self, Clip x)"""
return _openshot.ClipList_remove(self, x)
def unique(self):
"""unique(ClipList self)"""
return _openshot.ClipList_unique(self)
def reverse(self):
"""reverse(ClipList self)"""
return _openshot.ClipList_reverse(self)
def sort(self):
"""sort(ClipList self)"""
return _openshot.ClipList_sort(self)
def merge(self, x):
"""merge(ClipList self, ClipList x)"""
return _openshot.ClipList_merge(self, x)
__swig_destroy__ = _openshot.delete_ClipList
__del__ = lambda self: None
ClipList_swigregister = _openshot.ClipList_swigregister
ClipList_swigregister(ClipList)
class EffectBaseList(_object):
"""Proxy of C++ std::list<(p.openshot::EffectBase)> class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, EffectBaseList, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, EffectBaseList, name)
__repr__ = _swig_repr
def iterator(self):
"""iterator(EffectBaseList self) -> SwigPyIterator"""
return _openshot.EffectBaseList_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
"""__nonzero__(EffectBaseList self) -> bool"""
return _openshot.EffectBaseList___nonzero__(self)
def __bool__(self):
"""__bool__(EffectBaseList self) -> bool"""
return _openshot.EffectBaseList___bool__(self)
def __len__(self):
"""__len__(EffectBaseList self) -> std::list< openshot::EffectBase * >::size_type"""
return _openshot.EffectBaseList___len__(self)
def __getslice__(self, i, j):
"""__getslice__(EffectBaseList self, std::list< openshot::EffectBase * >::difference_type i, std::list< openshot::EffectBase * >::difference_type j) -> EffectBaseList"""
return _openshot.EffectBaseList___getslice__(self, i, j)
def __setslice__(self, *args):
"""
__setslice__(EffectBaseList self, std::list< openshot::EffectBase * >::difference_type i, std::list< openshot::EffectBase * >::difference_type j)
__setslice__(EffectBaseList self, std::list< openshot::EffectBase * >::difference_type i, std::list< openshot::EffectBase * >::difference_type j, EffectBaseList v)
"""
return _openshot.EffectBaseList___setslice__(self, *args)
def __delslice__(self, i, j):
"""__delslice__(EffectBaseList self, std::list< openshot::EffectBase * >::difference_type i, std::list< openshot::EffectBase * >::difference_type j)"""
return _openshot.EffectBaseList___delslice__(self, i, j)
def __delitem__(self, *args):
"""
__delitem__(EffectBaseList self, std::list< openshot::EffectBase * >::difference_type i)
__delitem__(EffectBaseList self, PySliceObject * slice)
"""
return _openshot.EffectBaseList___delitem__(self, *args)
def __getitem__(self, *args):
"""
__getitem__(EffectBaseList self, PySliceObject * slice) -> EffectBaseList
__getitem__(EffectBaseList self, std::list< openshot::EffectBase * >::difference_type i) -> EffectBase
"""
return _openshot.EffectBaseList___getitem__(self, *args)
def __setitem__(self, *args):
"""
__setitem__(EffectBaseList self, PySliceObject * slice, EffectBaseList v)
__setitem__(EffectBaseList self, PySliceObject * slice)
__setitem__(EffectBaseList self, std::list< openshot::EffectBase * >::difference_type i, EffectBase x)
"""
return _openshot.EffectBaseList___setitem__(self, *args)
def pop(self):
"""pop(EffectBaseList self) -> EffectBase"""
return _openshot.EffectBaseList_pop(self)
def append(self, x):
"""append(EffectBaseList self, EffectBase x)"""
return _openshot.EffectBaseList_append(self, x)
def empty(self):
"""empty(EffectBaseList self) -> bool"""
return _openshot.EffectBaseList_empty(self)
def size(self):
"""size(EffectBaseList self) -> std::list< openshot::EffectBase * >::size_type"""
return _openshot.EffectBaseList_size(self)
def swap(self, v):
"""swap(EffectBaseList self, EffectBaseList v)"""
return _openshot.EffectBaseList_swap(self, v)
def begin(self):
"""begin(EffectBaseList self) -> std::list< openshot::EffectBase * >::iterator"""
return _openshot.EffectBaseList_begin(self)
def end(self):
"""end(EffectBaseList self) -> std::list< openshot::EffectBase * >::iterator"""
return _openshot.EffectBaseList_end(self)
def rbegin(self):
"""rbegin(EffectBaseList self) -> std::list< openshot::EffectBase * >::reverse_iterator"""
return _openshot.EffectBaseList_rbegin(self)
def rend(self):
"""rend(EffectBaseList self) -> std::list< openshot::EffectBase * >::reverse_iterator"""
return _openshot.EffectBaseList_rend(self)
def clear(self):
"""clear(EffectBaseList self)"""
return _openshot.EffectBaseList_clear(self)
def get_allocator(self):
"""get_allocator(EffectBaseList self) -> std::list< openshot::EffectBase * >::allocator_type"""
return _openshot.EffectBaseList_get_allocator(self)
def pop_back(self):
"""pop_back(EffectBaseList self)"""
return _openshot.EffectBaseList_pop_back(self)
def erase(self, *args):
"""
erase(EffectBaseList self, std::list< openshot::EffectBase * >::iterator pos) -> std::list< openshot::EffectBase * >::iterator
erase(EffectBaseList self, std::list< openshot::EffectBase * >::iterator first, std::list< openshot::EffectBase * >::iterator last) -> std::list< openshot::EffectBase * >::iterator
"""
return _openshot.EffectBaseList_erase(self, *args)
def __init__(self, *args):
"""
__init__(std::list<(p.openshot::EffectBase)> self) -> EffectBaseList
__init__(std::list<(p.openshot::EffectBase)> self, EffectBaseList arg2) -> EffectBaseList
__init__(std::list<(p.openshot::EffectBase)> self, std::list< openshot::EffectBase * >::size_type size) -> EffectBaseList
__init__(std::list<(p.openshot::EffectBase)> self, std::list< openshot::EffectBase * >::size_type size, EffectBase value) -> EffectBaseList
"""
this = _openshot.new_EffectBaseList(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def push_back(self, x):
"""push_back(EffectBaseList self, EffectBase x)"""
return _openshot.EffectBaseList_push_back(self, x)
def front(self):
"""front(EffectBaseList self) -> EffectBase"""
return _openshot.EffectBaseList_front(self)
def back(self):
"""back(EffectBaseList self) -> EffectBase"""
return _openshot.EffectBaseList_back(self)
def assign(self, n, x):
"""assign(EffectBaseList self, std::list< openshot::EffectBase * >::size_type n, EffectBase x)"""
return _openshot.EffectBaseList_assign(self, n, x)
def resize(self, *args):
"""
resize(EffectBaseList self, std::list< openshot::EffectBase * >::size_type new_size)
resize(EffectBaseList self, std::list< openshot::EffectBase * >::size_type new_size, EffectBase x)
"""
return _openshot.EffectBaseList_resize(self, *args)
def insert(self, *args):
"""
insert(EffectBaseList self, std::list< openshot::EffectBase * >::iterator pos, EffectBase x) -> std::list< openshot::EffectBase * >::iterator
insert(EffectBaseList self, std::list< openshot::EffectBase * >::iterator pos, std::list< openshot::EffectBase * >::size_type n, EffectBase x)
"""
return _openshot.EffectBaseList_insert(self, *args)
def pop_front(self):
"""pop_front(EffectBaseList self)"""
return _openshot.EffectBaseList_pop_front(self)
def push_front(self, x):
"""push_front(EffectBaseList self, EffectBase x)"""
return _openshot.EffectBaseList_push_front(self, x)
def remove(self, x):
"""remove(EffectBaseList self, EffectBase x)"""
return _openshot.EffectBaseList_remove(self, x)
def unique(self):
"""unique(EffectBaseList self)"""
return _openshot.EffectBaseList_unique(self)
def reverse(self):
"""reverse(EffectBaseList self)"""
return _openshot.EffectBaseList_reverse(self)
def sort(self):
"""sort(EffectBaseList self)"""
return _openshot.EffectBaseList_sort(self)
def merge(self, x):
"""merge(EffectBaseList self, EffectBaseList x)"""
return _openshot.EffectBaseList_merge(self, x)
__swig_destroy__ = _openshot.delete_EffectBaseList
__del__ = lambda self: None
EffectBaseList_swigregister = _openshot.EffectBaseList_swigregister
EffectBaseList_swigregister(EffectBaseList)
class CoordinateVector(_object):
"""Proxy of C++ std::vector<(openshot::Coordinate)> class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, CoordinateVector, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CoordinateVector, name)
__repr__ = _swig_repr
def iterator(self):
"""iterator(CoordinateVector self) -> SwigPyIterator"""
return _openshot.CoordinateVector_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
"""__nonzero__(CoordinateVector self) -> bool"""
return _openshot.CoordinateVector___nonzero__(self)
def __bool__(self):
"""__bool__(CoordinateVector self) -> bool"""
return _openshot.CoordinateVector___bool__(self)
def __len__(self):
"""__len__(CoordinateVector self) -> std::vector< openshot::Coordinate >::size_type"""
return _openshot.CoordinateVector___len__(self)
def __getslice__(self, i, j):
"""__getslice__(CoordinateVector self, std::vector< openshot::Coordinate >::difference_type i, std::vector< openshot::Coordinate >::difference_type j) -> CoordinateVector"""
return _openshot.CoordinateVector___getslice__(self, i, j)
def __setslice__(self, *args):
"""
__setslice__(CoordinateVector self, std::vector< openshot::Coordinate >::difference_type i, std::vector< openshot::Coordinate >::difference_type j)
__setslice__(CoordinateVector self, std::vector< openshot::Coordinate >::difference_type i, std::vector< openshot::Coordinate >::difference_type j, CoordinateVector v)
"""
return _openshot.CoordinateVector___setslice__(self, *args)
def __delslice__(self, i, j):
"""__delslice__(CoordinateVector self, std::vector< openshot::Coordinate >::difference_type i, std::vector< openshot::Coordinate >::difference_type j)"""
return _openshot.CoordinateVector___delslice__(self, i, j)
def __delitem__(self, *args):
"""
__delitem__(CoordinateVector self, std::vector< openshot::Coordinate >::difference_type i)
__delitem__(CoordinateVector self, PySliceObject * slice)
"""
return _openshot.CoordinateVector___delitem__(self, *args)
def __getitem__(self, *args):
"""
__getitem__(CoordinateVector self, PySliceObject * slice) -> CoordinateVector
__getitem__(CoordinateVector self, std::vector< openshot::Coordinate >::difference_type i) -> Coordinate
"""
return _openshot.CoordinateVector___getitem__(self, *args)
def __setitem__(self, *args):
"""
__setitem__(CoordinateVector self, PySliceObject * slice, CoordinateVector v)
__setitem__(CoordinateVector self, PySliceObject * slice)
__setitem__(CoordinateVector self, std::vector< openshot::Coordinate >::difference_type i, Coordinate x)
"""
return _openshot.CoordinateVector___setitem__(self, *args)
def pop(self):
"""pop(CoordinateVector self) -> Coordinate"""
return _openshot.CoordinateVector_pop(self)
def append(self, x):
"""append(CoordinateVector self, Coordinate x)"""
return _openshot.CoordinateVector_append(self, x)
def empty(self):
"""empty(CoordinateVector self) -> bool"""
return _openshot.CoordinateVector_empty(self)
def size(self):
"""size(CoordinateVector self) -> std::vector< openshot::Coordinate >::size_type"""
return _openshot.CoordinateVector_size(self)
def swap(self, v):
"""swap(CoordinateVector self, CoordinateVector v)"""
return _openshot.CoordinateVector_swap(self, v)
def begin(self):
"""begin(CoordinateVector self) -> std::vector< openshot::Coordinate >::iterator"""
return _openshot.CoordinateVector_begin(self)
def end(self):
"""end(CoordinateVector self) -> std::vector< openshot::Coordinate >::iterator"""
return _openshot.CoordinateVector_end(self)
def rbegin(self):
"""rbegin(CoordinateVector self) -> std::vector< openshot::Coordinate >::reverse_iterator"""
return _openshot.CoordinateVector_rbegin(self)
def rend(self):
"""rend(CoordinateVector self) -> std::vector< openshot::Coordinate >::reverse_iterator"""
return _openshot.CoordinateVector_rend(self)
def clear(self):
"""clear(CoordinateVector self)"""
return _openshot.CoordinateVector_clear(self)
def get_allocator(self):
"""get_allocator(CoordinateVector self) -> std::vector< openshot::Coordinate >::allocator_type"""
return _openshot.CoordinateVector_get_allocator(self)
def pop_back(self):
"""pop_back(CoordinateVector self)"""
return _openshot.CoordinateVector_pop_back(self)
def erase(self, *args):
"""
erase(CoordinateVector self, std::vector< openshot::Coordinate >::iterator pos) -> std::vector< openshot::Coordinate >::iterator
erase(CoordinateVector self, std::vector< openshot::Coordinate >::iterator first, std::vector< openshot::Coordinate >::iterator last) -> std::vector< openshot::Coordinate >::iterator
"""
return _openshot.CoordinateVector_erase(self, *args)
def __init__(self, *args):
"""
__init__(std::vector<(openshot::Coordinate)> self) -> CoordinateVector
__init__(std::vector<(openshot::Coordinate)> self, CoordinateVector arg2) -> CoordinateVector
__init__(std::vector<(openshot::Coordinate)> self, std::vector< openshot::Coordinate >::size_type size) -> CoordinateVector
__init__(std::vector<(openshot::Coordinate)> self, std::vector< openshot::Coordinate >::size_type size, Coordinate value) -> CoordinateVector
"""
this = _openshot.new_CoordinateVector(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def push_back(self, x):
"""push_back(CoordinateVector self, Coordinate x)"""
return _openshot.CoordinateVector_push_back(self, x)
def front(self):
"""front(CoordinateVector self) -> Coordinate"""
return _openshot.CoordinateVector_front(self)
def back(self):
"""back(CoordinateVector self) -> Coordinate"""
return _openshot.CoordinateVector_back(self)
def assign(self, n, x):
"""assign(CoordinateVector self, std::vector< openshot::Coordinate >::size_type n, Coordinate x)"""
return _openshot.CoordinateVector_assign(self, n, x)
def resize(self, *args):
"""
resize(CoordinateVector self, std::vector< openshot::Coordinate >::size_type new_size)
resize(CoordinateVector self, std::vector< openshot::Coordinate >::size_type new_size, Coordinate x)
"""
return _openshot.CoordinateVector_resize(self, *args)
def insert(self, *args):
"""
insert(CoordinateVector self, std::vector< openshot::Coordinate >::iterator pos, Coordinate x) -> std::vector< openshot::Coordinate >::iterator
insert(CoordinateVector self, std::vector< openshot::Coordinate >::iterator pos, std::vector< openshot::Coordinate >::size_type n, Coordinate x)
"""
return _openshot.CoordinateVector_insert(self, *args)
def reserve(self, n):
"""reserve(CoordinateVector self, std::vector< openshot::Coordinate >::size_type n)"""
return _openshot.CoordinateVector_reserve(self, n)
def capacity(self):
"""capacity(CoordinateVector self) -> std::vector< openshot::Coordinate >::size_type"""
return _openshot.CoordinateVector_capacity(self)
__swig_destroy__ = _openshot.delete_CoordinateVector
__del__ = lambda self: None
CoordinateVector_swigregister = _openshot.CoordinateVector_swigregister
CoordinateVector_swigregister(CoordinateVector)
class PointsVector(_object):
"""Proxy of C++ std::vector<(openshot::Point)> class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, PointsVector, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, PointsVector, name)
__repr__ = _swig_repr
def iterator(self):
"""iterator(PointsVector self) -> SwigPyIterator"""
return _openshot.PointsVector_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
"""__nonzero__(PointsVector self) -> bool"""
return _openshot.PointsVector___nonzero__(self)
def __bool__(self):
"""__bool__(PointsVector self) -> bool"""
return _openshot.PointsVector___bool__(self)
def __len__(self):
"""__len__(PointsVector self) -> std::vector< openshot::Point >::size_type"""
return _openshot.PointsVector___len__(self)
def __getslice__(self, i, j):
"""__getslice__(PointsVector self, std::vector< openshot::Point >::difference_type i, std::vector< openshot::Point >::difference_type j) -> PointsVector"""
return _openshot.PointsVector___getslice__(self, i, j)
def __setslice__(self, *args):
"""
__setslice__(PointsVector self, std::vector< openshot::Point >::difference_type i, std::vector< openshot::Point >::difference_type j)
__setslice__(PointsVector self, std::vector< openshot::Point >::difference_type i, std::vector< openshot::Point >::difference_type j, PointsVector v)
"""
return _openshot.PointsVector___setslice__(self, *args)
def __delslice__(self, i, j):
"""__delslice__(PointsVector self, std::vector< openshot::Point >::difference_type i, std::vector< openshot::Point >::difference_type j)"""
return _openshot.PointsVector___delslice__(self, i, j)
def __delitem__(self, *args):
"""
__delitem__(PointsVector self, std::vector< openshot::Point >::difference_type i)
__delitem__(PointsVector self, PySliceObject * slice)
"""
return _openshot.PointsVector___delitem__(self, *args)
def __getitem__(self, *args):
"""
__getitem__(PointsVector self, PySliceObject * slice) -> PointsVector
__getitem__(PointsVector self, std::vector< openshot::Point >::difference_type i) -> Point
"""
return _openshot.PointsVector___getitem__(self, *args)
def __setitem__(self, *args):
"""
__setitem__(PointsVector self, PySliceObject * slice, PointsVector v)
__setitem__(PointsVector self, PySliceObject * slice)
__setitem__(PointsVector self, std::vector< openshot::Point >::difference_type i, Point x)
"""
return _openshot.PointsVector___setitem__(self, *args)
def pop(self):
"""pop(PointsVector self) -> Point"""
return _openshot.PointsVector_pop(self)
def append(self, x):
"""append(PointsVector self, Point x)"""
return _openshot.PointsVector_append(self, x)
def empty(self):
"""empty(PointsVector self) -> bool"""
return _openshot.PointsVector_empty(self)
def size(self):
"""size(PointsVector self) -> std::vector< openshot::Point >::size_type"""
return _openshot.PointsVector_size(self)
def swap(self, v):
"""swap(PointsVector self, PointsVector v)"""
return _openshot.PointsVector_swap(self, v)
def begin(self):
"""begin(PointsVector self) -> std::vector< openshot::Point >::iterator"""
return _openshot.PointsVector_begin(self)
def end(self):
"""end(PointsVector self) -> std::vector< openshot::Point >::iterator"""
return _openshot.PointsVector_end(self)
def rbegin(self):
"""rbegin(PointsVector self) -> std::vector< openshot::Point >::reverse_iterator"""
return _openshot.PointsVector_rbegin(self)
def rend(self):
"""rend(PointsVector self) -> std::vector< openshot::Point >::reverse_iterator"""
return _openshot.PointsVector_rend(self)
def clear(self):
"""clear(PointsVector self)"""
return _openshot.PointsVector_clear(self)
def get_allocator(self):
"""get_allocator(PointsVector self) -> std::vector< openshot::Point >::allocator_type"""
return _openshot.PointsVector_get_allocator(self)
def pop_back(self):
"""pop_back(PointsVector self)"""
return _openshot.PointsVector_pop_back(self)
def erase(self, *args):
"""
erase(PointsVector self, std::vector< openshot::Point >::iterator pos) -> std::vector< openshot::Point >::iterator
erase(PointsVector self, std::vector< openshot::Point >::iterator first, std::vector< openshot::Point >::iterator last) -> std::vector< openshot::Point >::iterator
"""
return _openshot.PointsVector_erase(self, *args)
def __init__(self, *args):
"""
__init__(std::vector<(openshot::Point)> self) -> PointsVector
__init__(std::vector<(openshot::Point)> self, PointsVector arg2) -> PointsVector
__init__(std::vector<(openshot::Point)> self, std::vector< openshot::Point >::size_type size) -> PointsVector
__init__(std::vector<(openshot::Point)> self, std::vector< openshot::Point >::size_type size, Point value) -> PointsVector
"""
this = _openshot.new_PointsVector(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def push_back(self, x):
"""push_back(PointsVector self, Point x)"""
return _openshot.PointsVector_push_back(self, x)
def front(self):
"""front(PointsVector self) -> Point"""
return _openshot.PointsVector_front(self)
def back(self):
"""back(PointsVector self) -> Point"""
return _openshot.PointsVector_back(self)
def assign(self, n, x):
"""assign(PointsVector self, std::vector< openshot::Point >::size_type n, Point x)"""
return _openshot.PointsVector_assign(self, n, x)
def resize(self, *args):
"""
resize(PointsVector self, std::vector< openshot::Point >::size_type new_size)
resize(PointsVector self, std::vector< openshot::Point >::size_type new_size, Point x)
"""
return _openshot.PointsVector_resize(self, *args)
def insert(self, *args):
"""
insert(PointsVector self, std::vector< openshot::Point >::iterator pos, Point x) -> std::vector< openshot::Point >::iterator
insert(PointsVector self, std::vector< openshot::Point >::iterator pos, std::vector< openshot::Point >::size_type n, Point x)
"""
return _openshot.PointsVector_insert(self, *args)
def reserve(self, n):
"""reserve(PointsVector self, std::vector< openshot::Point >::size_type n)"""
return _openshot.PointsVector_reserve(self, n)
def capacity(self):
"""capacity(PointsVector self) -> std::vector< openshot::Point >::size_type"""
return _openshot.PointsVector_capacity(self)
__swig_destroy__ = _openshot.delete_PointsVector
__del__ = lambda self: None
PointsVector_swigregister = _openshot.PointsVector_swigregister
PointsVector_swigregister(PointsVector)
class FieldVector(_object):
"""Proxy of C++ std::vector<(openshot::Field)> class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, FieldVector, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, FieldVector, name)
__repr__ = _swig_repr
def iterator(self):
"""iterator(FieldVector self) -> SwigPyIterator"""
return _openshot.FieldVector_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
"""__nonzero__(FieldVector self) -> bool"""
return _openshot.FieldVector___nonzero__(self)
def __bool__(self):
"""__bool__(FieldVector self) -> bool"""
return _openshot.FieldVector___bool__(self)
def __len__(self):
"""__len__(FieldVector self) -> std::vector< openshot::Field >::size_type"""
return _openshot.FieldVector___len__(self)
def __getslice__(self, i, j):
"""__getslice__(FieldVector self, std::vector< openshot::Field >::difference_type i, std::vector< openshot::Field >::difference_type j) -> FieldVector"""
return _openshot.FieldVector___getslice__(self, i, j)
def __setslice__(self, *args):
"""
__setslice__(FieldVector self, std::vector< openshot::Field >::difference_type i, std::vector< openshot::Field >::difference_type j)
__setslice__(FieldVector self, std::vector< openshot::Field >::difference_type i, std::vector< openshot::Field >::difference_type j, FieldVector v)
"""
return _openshot.FieldVector___setslice__(self, *args)
def __delslice__(self, i, j):
"""__delslice__(FieldVector self, std::vector< openshot::Field >::difference_type i, std::vector< openshot::Field >::difference_type j)"""
return _openshot.FieldVector___delslice__(self, i, j)
def __delitem__(self, *args):
"""
__delitem__(FieldVector self, std::vector< openshot::Field >::difference_type i)
__delitem__(FieldVector self, PySliceObject * slice)
"""
return _openshot.FieldVector___delitem__(self, *args)
def __getitem__(self, *args):
"""
__getitem__(FieldVector self, PySliceObject * slice) -> FieldVector
__getitem__(FieldVector self, std::vector< openshot::Field >::difference_type i) -> Field
"""
return _openshot.FieldVector___getitem__(self, *args)
def __setitem__(self, *args):
"""
__setitem__(FieldVector self, PySliceObject * slice, FieldVector v)
__setitem__(FieldVector self, PySliceObject * slice)
__setitem__(FieldVector self, std::vector< openshot::Field >::difference_type i, Field x)
"""
return _openshot.FieldVector___setitem__(self, *args)
def pop(self):
"""pop(FieldVector self) -> Field"""
return _openshot.FieldVector_pop(self)
def append(self, x):
"""append(FieldVector self, Field x)"""
return _openshot.FieldVector_append(self, x)
def empty(self):
"""empty(FieldVector self) -> bool"""
return _openshot.FieldVector_empty(self)
def size(self):
"""size(FieldVector self) -> std::vector< openshot::Field >::size_type"""
return _openshot.FieldVector_size(self)
def swap(self, v):
"""swap(FieldVector self, FieldVector v)"""
return _openshot.FieldVector_swap(self, v)
def begin(self):
"""begin(FieldVector self) -> std::vector< openshot::Field >::iterator"""
return _openshot.FieldVector_begin(self)
def end(self):
"""end(FieldVector self) -> std::vector< openshot::Field >::iterator"""
return _openshot.FieldVector_end(self)
def rbegin(self):
"""rbegin(FieldVector self) -> std::vector< openshot::Field >::reverse_iterator"""
return _openshot.FieldVector_rbegin(self)
def rend(self):
"""rend(FieldVector self) -> std::vector< openshot::Field >::reverse_iterator"""
return _openshot.FieldVector_rend(self)
def clear(self):
"""clear(FieldVector self)"""
return _openshot.FieldVector_clear(self)
def get_allocator(self):
"""get_allocator(FieldVector self) -> std::vector< openshot::Field >::allocator_type"""
return _openshot.FieldVector_get_allocator(self)
def pop_back(self):
"""pop_back(FieldVector self)"""
return _openshot.FieldVector_pop_back(self)
def erase(self, *args):
"""
erase(FieldVector self, std::vector< openshot::Field >::iterator pos) -> std::vector< openshot::Field >::iterator
erase(FieldVector self, std::vector< openshot::Field >::iterator first, std::vector< openshot::Field >::iterator last) -> std::vector< openshot::Field >::iterator
"""
return _openshot.FieldVector_erase(self, *args)
def __init__(self, *args):
"""
__init__(std::vector<(openshot::Field)> self) -> FieldVector
__init__(std::vector<(openshot::Field)> self, FieldVector arg2) -> FieldVector
__init__(std::vector<(openshot::Field)> self, std::vector< openshot::Field >::size_type size) -> FieldVector
__init__(std::vector<(openshot::Field)> self, std::vector< openshot::Field >::size_type size, Field value) -> FieldVector
"""
this = _openshot.new_FieldVector(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def push_back(self, x):
"""push_back(FieldVector self, Field x)"""
return _openshot.FieldVector_push_back(self, x)
def front(self):
"""front(FieldVector self) -> Field"""
return _openshot.FieldVector_front(self)
def back(self):
"""back(FieldVector self) -> Field"""
return _openshot.FieldVector_back(self)
def assign(self, n, x):
"""assign(FieldVector self, std::vector< openshot::Field >::size_type n, Field x)"""
return _openshot.FieldVector_assign(self, n, x)
def resize(self, *args):
"""
resize(FieldVector self, std::vector< openshot::Field >::size_type new_size)
resize(FieldVector self, std::vector< openshot::Field >::size_type new_size, Field x)
"""
return _openshot.FieldVector_resize(self, *args)
def insert(self, *args):
"""
insert(FieldVector self, std::vector< openshot::Field >::iterator pos, Field x) -> std::vector< openshot::Field >::iterator
insert(FieldVector self, std::vector< openshot::Field >::iterator pos, std::vector< openshot::Field >::size_type n, Field x)
"""
return _openshot.FieldVector_insert(self, *args)
def reserve(self, n):
"""reserve(FieldVector self, std::vector< openshot::Field >::size_type n)"""
return _openshot.FieldVector_reserve(self, n)
def capacity(self):
"""capacity(FieldVector self) -> std::vector< openshot::Field >::size_type"""
return _openshot.FieldVector_capacity(self)
__swig_destroy__ = _openshot.delete_FieldVector
__del__ = lambda self: None
FieldVector_swigregister = _openshot.FieldVector_swigregister
FieldVector_swigregister(FieldVector)
class MappedFrameVector(_object):
"""Proxy of C++ std::vector<(openshot::MappedFrame)> class."""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, MappedFrameVector, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, MappedFrameVector, name)
__repr__ = _swig_repr
def iterator(self):
"""iterator(MappedFrameVector self) -> SwigPyIterator"""
return _openshot.MappedFrameVector_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
"""__nonzero__(MappedFrameVector self) -> bool"""
return _openshot.MappedFrameVector___nonzero__(self)
def __bool__(self):
"""__bool__(MappedFrameVector self) -> bool"""
return _openshot.MappedFrameVector___bool__(self)
def __len__(self):
"""__len__(MappedFrameVector self) -> std::vector< openshot::MappedFrame >::size_type"""
return _openshot.MappedFrameVector___len__(self)
def __getslice__(self, i, j):
"""__getslice__(MappedFrameVector self, std::vector< openshot::MappedFrame >::difference_type i, std::vector< openshot::MappedFrame >::difference_type j) -> MappedFrameVector"""
return _openshot.MappedFrameVector___getslice__(self, i, j)
def __setslice__(self, *args):
"""
__setslice__(MappedFrameVector self, std::vector< openshot::MappedFrame >::difference_type i, std::vector< openshot::MappedFrame >::difference_type j)
__setslice__(MappedFrameVector self, std::vector< openshot::MappedFrame >::difference_type i, std::vector< openshot::MappedFrame >::difference_type j, MappedFrameVector v)
"""
return _openshot.MappedFrameVector___setslice__(self, *args)
def __delslice__(self, i, j):
"""__delslice__(MappedFrameVector self, std::vector< openshot::MappedFrame >::difference_type i, std::vector< openshot::MappedFrame >::difference_type j)"""
return _openshot.MappedFrameVector___delslice__(self, i, j)
def __delitem__(self, *args):
"""
__delitem__(MappedFrameVector self, std::vector< openshot::MappedFrame >::difference_type i)
__delitem__(MappedFrameVector self, PySliceObject * slice)
"""
return _openshot.MappedFrameVector___delitem__(self, *args)
def __getitem__(self, *args):
"""
__getitem__(MappedFrameVector self, PySliceObject * slice) -> MappedFrameVector
__getitem__(MappedFrameVector self, std::vector< openshot::MappedFrame >::difference_type i) -> MappedFrame
"""
return _openshot.MappedFrameVector___getitem__(self, *args)
def __setitem__(self, *args):
"""
__setitem__(MappedFrameVector self, PySliceObject * slice, MappedFrameVector v)
__setitem__(MappedFrameVector self, PySliceObject * slice)
__setitem__(MappedFrameVector self, std::vector< openshot::MappedFrame >::difference_type i, MappedFrame x)
"""
return _openshot.MappedFrameVector___setitem__(self, *args)
def pop(self):
"""pop(MappedFrameVector self) -> MappedFrame"""
return _openshot.MappedFrameVector_pop(self)
def append(self, x):
"""append(MappedFrameVector self, MappedFrame x)"""
return _openshot.MappedFrameVector_append(self, x)
def empty(self):
"""empty(MappedFrameVector self) -> bool"""
return _openshot.MappedFrameVector_empty(self)
def size(self):
"""size(MappedFrameVector self) -> std::vector< openshot::MappedFrame >::size_type"""
return _openshot.MappedFrameVector_size(self)
def swap(self, v):
"""swap(MappedFrameVector self, MappedFrameVector v)"""
return _openshot.MappedFrameVector_swap(self, v)
def begin(self):
"""begin(MappedFrameVector self) -> std::vector< openshot::MappedFrame >::iterator"""
return _openshot.MappedFrameVector_begin(self)
def end(self):
"""end(MappedFrameVector self) -> std::vector< openshot::MappedFrame >::iterator"""
return _openshot.MappedFrameVector_end(self)
def rbegin(self):
"""rbegin(MappedFrameVector self) -> std::vector< openshot::MappedFrame >::reverse_iterator"""
return _openshot.MappedFrameVector_rbegin(self)
def rend(self):
"""rend(MappedFrameVector self) -> std::vector< openshot::MappedFrame >::reverse_iterator"""
return _openshot.MappedFrameVector_rend(self)
def clear(self):
"""clear(MappedFrameVector self)"""
return _openshot.MappedFrameVector_clear(self)
def get_allocator(self):
"""get_allocator(MappedFrameVector self) -> std::vector< openshot::MappedFrame >::allocator_type"""
return _openshot.MappedFrameVector_get_allocator(self)
def pop_back(self):
"""pop_back(MappedFrameVector self)"""
return _openshot.MappedFrameVector_pop_back(self)
def erase(self, *args):
"""
erase(MappedFrameVector self, std::vector< openshot::MappedFrame >::iterator pos) -> std::vector< openshot::MappedFrame >::iterator
erase(MappedFrameVector self, std::vector< openshot::MappedFrame >::iterator first, std::vector< openshot::MappedFrame >::iterator last) -> std::vector< openshot::MappedFrame >::iterator
"""
return _openshot.MappedFrameVector_erase(self, *args)
def __init__(self, *args):
"""
__init__(std::vector<(openshot::MappedFrame)> self) -> MappedFrameVector
__init__(std::vector<(openshot::MappedFrame)> self, MappedFrameVector arg2) -> MappedFrameVector
__init__(std::vector<(openshot::MappedFrame)> self, std::vector< openshot::MappedFrame >::size_type size) -> MappedFrameVector
__init__(std::vector<(openshot::MappedFrame)> self, std::vector< openshot::MappedFrame >::size_type size, MappedFrame value) -> MappedFrameVector
"""
this = _openshot.new_MappedFrameVector(*args)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
def push_back(self, x):
"""push_back(MappedFrameVector self, MappedFrame x)"""
return _openshot.MappedFrameVector_push_back(self, x)
def front(self):
"""front(MappedFrameVector self) -> MappedFrame"""
return _openshot.MappedFrameVector_front(self)
def back(self):
"""back(MappedFrameVector self) -> MappedFrame"""
return _openshot.MappedFrameVector_back(self)
def assign(self, n, x):
"""assign(MappedFrameVector self, std::vector< openshot::MappedFrame >::size_type n, MappedFrame x)"""
return _openshot.MappedFrameVector_assign(self, n, x)
def resize(self, *args):
"""
resize(MappedFrameVector self, std::vector< openshot::MappedFrame >::size_type new_size)
resize(MappedFrameVector self, std::vector< openshot::MappedFrame >::size_type new_size, MappedFrame x)
"""
return _openshot.MappedFrameVector_resize(self, *args)
def insert(self, *args):
"""
insert(MappedFrameVector self, std::vector< openshot::MappedFrame >::iterator pos, MappedFrame x) -> std::vector< openshot::MappedFrame >::iterator
insert(MappedFrameVector self, std::vector< openshot::MappedFrame >::iterator pos, std::vector< openshot::MappedFrame >::size_type n, MappedFrame x)
"""
return _openshot.MappedFrameVector_insert(self, *args)
def reserve(self, n):
"""reserve(MappedFrameVector self, std::vector< openshot::MappedFrame >::size_type n)"""
return _openshot.MappedFrameVector_reserve(self, n)
def capacity(self):
"""capacity(MappedFrameVector self) -> std::vector< openshot::MappedFrame >::size_type"""
return _openshot.MappedFrameVector_capacity(self)
__swig_destroy__ = _openshot.delete_MappedFrameVector
__del__ = lambda self: None
MappedFrameVector_swigregister = _openshot.MappedFrameVector_swigregister
MappedFrameVector_swigregister(MappedFrameVector)
# This file is compatible with both classic and new-style classes.
|