Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Presets: Add MKV (h.264) sw/hw presets #4637

Merged
merged 1 commit into from
Feb 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions src/presets/format_mkv_x264.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE openshot-export-option>
<export-option>
<type translatable="True">All Formats</type>
<title translatable="True">MKV (h.264)</title>
<videoformat>mkv</videoformat>
<videocodec>libx264</videocodec>
<audiocodec>aac</audiocodec>
<audiochannels>2</audiochannels>
<audiochannellayout>3</audiochannellayout>
<videobitrate
low="384 kb/s"
med="5 Mb/s"
high="15.00 Mb/s"></videobitrate>
<audiobitrate
low="96 kb/s"
med="128 kb/s"
high="192 kb/s"></audiobitrate>
<samplerate>48000</samplerate>
</export-option>
20 changes: 20 additions & 0 deletions src/presets/format_mkv_x264_dx.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE openshot-export-option>
<export-option>
<type translatable="True">All Formats</type>
<title translatable="True">MKV (h.264 dx)</title>
<videoformat>mkv</videoformat>
<videocodec>h264_dxva2</videocodec>
<audiocodec>aac</audiocodec>
<audiochannels>2</audiochannels>
<audiochannellayout>3</audiochannellayout>
<videobitrate
low="384 kb/s"
med="5 Mb/s"
high="15.00 Mb/s"></videobitrate>
<audiobitrate
low="96 kb/s"
med="128 kb/s"
high="192 kb/s"></audiobitrate>
<samplerate>48000</samplerate>
</export-option>
20 changes: 20 additions & 0 deletions src/presets/format_mkv_x264_hw.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE openshot-export-option>
<export-option>
<type translatable="True">All Formats</type>
<title translatable="True">MP4 (h.264 va)</title>
<videoformat>mkv</videoformat>
<videocodec>h264_vaapi</videocodec>
<audiocodec>aac</audiocodec>
<audiochannels>2</audiochannels>
<audiochannellayout>3</audiochannellayout>
<videobitrate
low="384 kb/s"
med="5 Mb/s"
high="15.00 Mb/s"></videobitrate>
<audiobitrate
low="96 kb/s"
med="128 kb/s"
high="192 kb/s"></audiobitrate>
<samplerate>48000</samplerate>
</export-option>
20 changes: 20 additions & 0 deletions src/presets/format_mkv_x264_nv.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE openshot-export-option>
<export-option>
<type translatable="True">All Formats</type>
<title translatable="True">MKV (h.264 nv)</title>
<videoformat>mkv</videoformat>
<videocodec>h264_nvenc</videocodec>
<audiocodec>aac</audiocodec>
<audiochannels>2</audiochannels>
<audiochannellayout>3</audiochannellayout>
<videobitrate
low="384 kb/s"
med="5 Mb/s"
high="15.00 Mb/s"></videobitrate>
<audiobitrate
low="96 kb/s"
med="128 kb/s"
high="192 kb/s"></audiobitrate>
<samplerate>48000</samplerate>
</export-option>
20 changes: 20 additions & 0 deletions src/presets/format_mkv_x264_qsv.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE openshot-export-option>
<export-option>
<type translatable="True">All Formats</type>
<title translatable="True">MKV (h.264 qsv)</title>
<videoformat>mkv</videoformat>
<videocodec>h264_qsv</videocodec>
<audiocodec>aac</audiocodec>
<audiochannels>2</audiochannels>
<audiochannellayout>3</audiochannellayout>
<videobitrate
low="384 kb/s"
med="5 Mb/s"
high="15.00 Mb/s"></videobitrate>
<audiobitrate
low="96 kb/s"
med="128 kb/s"
high="192 kb/s"></audiobitrate>
<samplerate>48000</samplerate>
</export-option>
20 changes: 20 additions & 0 deletions src/presets/format_mkv_x264_vtb.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE openshot-export-option>
<export-option>
<type translatable="True">All Formats</type>
<title translatable="True">MKV (h.264 videotoolbox)</title>
<videoformat>mkv</videoformat>
<videocodec>h264_videotoolbox</videocodec>
<audiocodec>aac</audiocodec>
<audiochannels>2</audiochannels>
<audiochannellayout>3</audiochannellayout>
<videobitrate
low="384 kb/s"
med="5 Mb/s"
high="15.00 Mb/s"></videobitrate>
<audiobitrate
low="96 kb/s"
med="128 kb/s"
high="192 kb/s"></audiobitrate>
<samplerate>48000</samplerate>
</export-option>