public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Nicolas Chauvet <kwizart@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/opencv] opencv5: Add more fourcc
Date: Fri, 28 Aug 2026 13:30:11 GMT	[thread overview]
Message-ID: <178792381169.1.104824313030947387.rpms-opencv-877aad413e34@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/opencv
Branch : opencv5
Commit : 877aad413e3464cb604691d8f11693b2886fa79d
Author : Nicolas Chauvet <kwizart@gmail.com>
Date   : 2013-01-20T22:02:29+01:00
Stats  : +35/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/opencv/c/877aad413e3464cb604691d8f11693b2886fa79d?branch=opencv5

Log:
Add more fourcc

---
diff --git a/OpenCV-2.4.3-codecs.patch b/OpenCV-2.4.3-codecs.patch
new file mode 100644
index 0000000..362fbcf
--- /dev/null
+++ b/OpenCV-2.4.3-codecs.patch
@@ -0,0 +1,27 @@
+diff -up OpenCV-2.4.3/modules/highgui/src/cap_gstreamer.cpp.codecs OpenCV-2.4.3/modules/highgui/src/cap_gstreamer.cpp
+--- OpenCV-2.4.3/modules/highgui/src/cap_gstreamer.cpp.codecs	2012-09-06 00:55:12.000000000 +0200
++++ OpenCV-2.4.3/modules/highgui/src/cap_gstreamer.cpp	2013-01-06 00:14:14.628006270 +0100
+@@ -442,12 +442,19 @@ protected:
+ 
+ void CvVideoWriter_GStreamer::init()
+ {
+-    encs[CV_FOURCC('H','F','Y','U')]=(char*)"ffenc_huffyuv";
+     encs[CV_FOURCC('D','R','A','C')]=(char*)"diracenc";
+-    encs[CV_FOURCC('X','V','I','D')]=(char*)"xvidenc";
+-    encs[CV_FOURCC('X','2','6','4')]=(char*)"x264enc";
++    encs[CV_FOURCC('H','F','Y','U')]=(char*)"ffenc_huffyuv";
++    encs[CV_FOURCC('J','P','E','G')]=(char*)"jpegenc";
++    encs[CV_FOURCC('M','J','P','G')]=(char*)"jpegenc";
+     encs[CV_FOURCC('M','P','1','V')]=(char*)"mpeg2enc";
+-    //encs[CV_FOURCC('M','P','2','V')]=(char*)"mpeg2enc";
++    encs[CV_FOURCC('M','P','2','V')]=(char*)"mpeg2enc";
++    encs[CV_FOURCC('T','H','E','O')]=(char*)"theoraenc";
++    encs[CV_FOURCC('V','P','8','0')]=(char*)"vp8enc";
++    encs[CV_FOURCC('H','2','6','4')]=(char*)"x264enc";
++    encs[CV_FOURCC('X','2','6','4')]=(char*)"x264enc";
++    encs[CV_FOURCC('X','V','I','D')]=(char*)"xvidenc";
++    encs[CV_FOURCC('F','F','Y','U')]=(char*)"y4menc";
++    //encs[CV_FOURCC('H','F','Y','U')]=(char*)"y4menc";
+     pipeline=0;
+     buffer=0;
+ }

diff --git a/opencv.spec b/opencv.spec
index 14b3381..e529c26 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -5,7 +5,7 @@
 
 Name:           opencv
 Version:        2.4.3
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Collection of algorithms for computer vision
 
 Group:          Development/Libraries
@@ -16,7 +16,10 @@ Source0:        http://prdownloads.sourceforge.net/opencvlibrary/%{tar_name}-%{v
 Source1:        opencv-samples-Makefile
 Patch0:         opencv-pkgcmake.patch
 Patch1:         opencv-pkgcmake2.patch
+#http://code.opencv.org/issues/2720
 Patch2:         opencv-pillow.patch
+#http://code.opencv.org/issues/2721
+Patch3:         OpenCV-2.4.3-codecs.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  libtool
@@ -101,6 +104,7 @@ This package contains Python bindings for the OpenCV library.
 %patch0 -p1 -b .pkgcmake
 %patch1 -p1 -b .pkgcmake2
 %patch2 -p1 -b .pillow
+%patch3 -p1 -b .codecs
 
 # fix dos end of lines
 sed -i 's|\r||g'  samples/c/adaptiveskindetector.cpp
@@ -230,6 +234,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sun Jan 20 2013 Nicolas Chauvet <kwizart@gmail.com> - 2.4.3-5
+- Add more FourCC for gstreamer
+
 * Sun Jan 20 2013 Nicolas Chauvet <kwizart@gmail.com> - 2.4.3-4
 - Allow to use python-pillow - rhbz#895767
 

                 reply	other threads:[~2026-08-28 13:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178792381169.1.104824313030947387.rpms-opencv-877aad413e34@fedoraproject.org \
    --to=kwizart@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox