- libavcodec no longer allows registering individual codecs, so register

all codecs (from transcode CVS)
- our libavcodec does not have an encoder named 'h264', but it does have
  'libx264'.  H.264 encoding is now possible.
- bump PKGNAME
This commit is contained in:
jakemsr 2007-09-24 07:57:01 +00:00
parent e7eafae972
commit 40ea6957b0
3 changed files with 28 additions and 2 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.17 2007/09/06 19:15:14 naddy Exp $
# $OpenBSD: Makefile,v 1.18 2007/09/24 07:57:01 jakemsr Exp $
COMMENT= video stream processing tools
DISTNAME= transcode-1.0.3rc2
PKGNAME= ${DISTNAME}p2
PKGNAME= ${DISTNAME}p3
CATEGORIES= multimedia
HOMEPAGE= http://www.transcoding.org/

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-export_aud_aux_c,v 1.1 2007/09/24 07:57:01 jakemsr Exp $
--- export/aud_aux.c.orig Sat Sep 15 21:56:28 2007
+++ export/aud_aux.c Sat Sep 15 21:56:52 2007
@@ -361,8 +361,7 @@ static int audio_init_ffmpeg(vob_t *vob, int o_codec)
pthread_mutex_lock(&init_avcodec_lock);
avcodec_init();
- register_avcodec(&ac3_encoder);
- register_avcodec(&mp2_encoder);
+ avcodec_register_all();
pthread_mutex_unlock(&init_avcodec_lock);
switch (o_codec) {

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-export_export_ffmpeg_c,v 1.1 2007/09/24 07:57:01 jakemsr Exp $
--- export/export_ffmpeg.c.orig Sat Sep 15 23:00:30 2007
+++ export/export_ffmpeg.c Sat Sep 15 23:07:23 2007
@@ -126,8 +126,7 @@ struct ffmpeg_codec ffmpeg_codecs[] = {
{"mpeg2video", "mpg2", "MPEG2 compliant video", 1},
{"h263", "h263", "H263", 0},
{"h263p", "h263", "H263 plus", 1},
- {"h264", "h264", "H264 (avc)", 1},
- {"avc", "h264", "H264 (avc)", 1},
+ {"libx264", "h264", "H264 (libx264)", 1},
{"wmv1", "WMV1", "Windows Media Video v1", 1},
{"wmv2", "WMV2", "Windows Media Video v2", 1},
{"rv10", "RV10", "old RealVideo codec", 1},