[pitivi] proxy: Use opus as default audio format instead of FLAC
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] proxy: Use opus as default audio format instead of FLAC
- Date: Mon, 23 May 2016 15:07:24 +0000 (UTC)
commit 9d426ebbed5707e6f00a87c8b495ec130c750040
Author: Thibault Saunier <tsaunier gnome org>
Date: Mon May 16 10:46:13 2016 -0400
proxy: Use opus as default audio format instead of FLAC
GStreamer support is better
Differential Revision: https://phabricator.freedesktop.org/D1009
data/gstpresets/jpeg-opus-in-matroska.gep | 25 +++++++++++++++++++++++++
data/gstpresets/prores-opus-in-matroska.gep | 24 ++++++++++++++++++++++++
pitivi/utils/proxy.py | 4 ++--
3 files changed, 51 insertions(+), 2 deletions(-)
---
diff --git a/data/gstpresets/jpeg-opus-in-matroska.gep b/data/gstpresets/jpeg-opus-in-matroska.gep
new file mode 100644
index 0000000..da764ca
--- /dev/null
+++ b/data/gstpresets/jpeg-opus-in-matroska.gep
@@ -0,0 +1,25 @@
+[GStreamer Encoding Target]
+name=matroska
+category=device
+description=Standard config for jpeg and opus in matroska
+
+[profile-default]
+name=default
+type=container
+description[c]=Matroska muxer with default configs
+format=video/x-matroska
+
+[streamprofile-opus]
+parent=default
+type=audio
+format=audio/x-opus
+presence=0
+
+[streamprofile-jpeg]
+parent=default
+type=video
+format=image/jpeg
+presence=0
+pass=0
+variableframerate=false
+preset=Quality High
diff --git a/data/gstpresets/prores-opus-in-matroska.gep b/data/gstpresets/prores-opus-in-matroska.gep
new file mode 100644
index 0000000..1d0a26e
--- /dev/null
+++ b/data/gstpresets/prores-opus-in-matroska.gep
@@ -0,0 +1,24 @@
+[GStreamer Encoding Target]
+name=matroskaproresflac
+category=device
+description=Standard config for prores and opus in matroska
+
+[profile-default]
+name=default
+type=container
+description[c]=Matroska muxer with default configs
+format=video/x-matroska
+
+[streamprofile-opus]
+parent=default
+type=audio
+format=audio/x-opus
+presence=0
+
+[streamprofile-prores]
+parent=default
+type=video
+format=video/x-prores
+presence=0
+pass=0
+variableframerate=false
diff --git a/pitivi/utils/proxy.py b/pitivi/utils/proxy.py
index 9b51cde..941433d 100644
--- a/pitivi/utils/proxy.py
+++ b/pitivi/utils/proxy.py
@@ -54,8 +54,8 @@ GlobalSettings.addConfigOption('numTranscodingJobs',
default=4)
-ENCODING_FORMAT_PRORES = "prores-flac-in-matroska.gep"
-ENCODING_FORMAT_JPEG = "jpeg-flac-in-matroska.gep"
+ENCODING_FORMAT_PRORES = "prores-opus-in-matroska.gep"
+ENCODING_FORMAT_JPEG = "jpeg-opus-in-matroska.gep"
def createEncodingProfileSimple(container_caps, audio_caps, video_caps):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]