[packages/openshot] - rel 8; try to use CRF 18 - https://trac.ffmpeg.org/wiki/Encode/YouTube

arekm arekm at pld-linux.org
Mon Sep 1 08:52:53 CEST 2014


commit f9c18570eccb519553debc22dfb05c5746e4f772
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Sep 1 08:52:49 2014 +0200

    - rel 8; try to use CRF 18 - https://trac.ffmpeg.org/wiki/Encode/YouTube

 openshot-crf.patch | 10 ++++++++++
 openshot.spec      |  4 +++-
 2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/openshot.spec b/openshot.spec
index 1e0f738..fc95ab4 100644
--- a/openshot.spec
+++ b/openshot.spec
@@ -1,7 +1,7 @@
 Summary:	OpenShot - Non-Linear Video Editor for Linux
 Name:		openshot
 Version:	1.4.3
-Release:	7
+Release:	8
 License:	GPL v3
 Group:		X11/Applications
 Source0:	http://launchpad.net/openshot/1.4/%{version}/+download/%{name}-%{version}.tar.gz
@@ -9,6 +9,7 @@ Source0:	http://launchpad.net/openshot/1.4/%{version}/+download/%{name}-%{versio
 Patch0:		%{name}-locale_dir.patch
 Patch1:		openshot-bug-722285.patch
 Patch2:		openshot-r741.patch
+Patch3:		openshot-crf.patch
 URL:		http://www.openshot.org/
 BuildRequires:	python-devel
 BuildRequires:	rpm-pythonprov
@@ -41,6 +42,7 @@ Features include:
 %patch0 -p1
 %patch1 -p1
 %patch2 -p0
+%patch3 -p1
 
 %build
 %{__python} setup.py build
diff --git a/openshot-crf.patch b/openshot-crf.patch
new file mode 100644
index 0000000..27498b1
--- /dev/null
+++ b/openshot-crf.patch
@@ -0,0 +1,10 @@
+--- openshot-1.4.3/openshot/classes/video.py~	2012-09-30 22:33:29.000000000 +0200
++++ openshot-1.4.3/openshot/classes/video.py	2014-09-01 08:43:10.601932534 +0200
+@@ -154,6 +154,7 @@
+ 					self.c.set("subcmp", "2")
+ 					self.c.set("cmp", "2")
+ 					self.c.set("coder", "1")
++					self.c.set("crf", "18")
+ 					self.c.set("flags", "+loop")
+ 					self.c.set("flags2", "dct8x8")
+ 					self.c.set("qmax", "51")
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openshot.git/commitdiff/f9c18570eccb519553debc22dfb05c5746e4f772



More information about the pld-cvs-commit mailing list