OpenShot Video Editor
2.0.0
|
This file tests exporting a video in a specific format/codec. More...
Go to the source code of this file.
Namespaces | |
export_test | |
Variables | |
export_test.audio_bitrate = int(sys.argv[14]) | |
export_test.audio_codec = sys.argv[10] | |
export_test.bitrate = int(sys.argv[9]) | |
export_test.channel_layout = int(sys.argv[13]) | |
export_test.channels = int(sys.argv[12]) | |
export_test.codec = sys.argv[2] | |
export_test.export_file_path = os.path.join(EXPORT_TESTS, "test.%s" % format) | |
export_test.EXPORT_TESTS = os.path.join(os.path.expanduser("~"), ".openshot_qt", "tests") | |
export_test.f = openshot.Frame(frame_number, width, height, "#ffffff") | |
export_test.format = sys.argv[1] | |
export_test.fps = openshot.Fraction(int(sys.argv[3]), int(sys.argv[4])) | |
export_test.height = int(sys.argv[6]) | |
export_test.pixel_ratio = openshot.Fraction(int(sys.argv[7]), int(sys.argv[8])) | |
export_test.sample_rate = int(sys.argv[11]) | |
export_test.w = openshot.FFmpegWriter(export_file_path); | |
export_test.width = int(sys.argv[5]) | |
This file tests exporting a video in a specific format/codec.
Copyright (c) 2008-2016 OpenShot Studios, LLC (http://www.openshotstudios.com). This file is part of OpenShot Video Editor (http://www.openshot.org), an open-source project dedicated to delivering high quality video editing and animation solutions to the world.
OpenShot Video Editor is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
OpenShot Video Editor is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with OpenShot Library. If not, see http://www.gnu.org/licenses/.
Definition in file export_test.py.