I just got some matroska files with multiple input audio streams that crashes
ffmpeg unless I specifically select which streams to encode. Add a patch to "-map" the right streams.
This commit is contained in:
parent
a38b4de661
commit
c3e345e876
@ -1,9 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2007/11/19 21:10:40 ckuethe Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2007/11/20 19:12:12 ckuethe Exp $
|
||||
|
||||
COMMENT= Video converter for the Playstation Portable
|
||||
|
||||
V= 0.3
|
||||
DISTNAME= pspvc-${V}
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
DISTFILES= pspvc-install-${V}.tar.gz
|
||||
CATEGORIES= multimedia
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- src/callbacks.c.orig Tue Mar 13 05:02:00 2007
|
||||
+++ src/callbacks.c Wed Nov 7 15:06:34 2007
|
||||
+++ src/callbacks.c Mon Nov 19 17:37:33 2007
|
||||
@@ -379,9 +379,9 @@ void launchffmpeg_video(struct convparam *param,gint p
|
||||
|
||||
|
||||
@ -12,9 +12,16 @@
|
||||
if(nb_threads>1)
|
||||
{
|
||||
args[argc++]=g_strdup("-threads");
|
||||
@@ -391,14 +391,14 @@ void launchffmpeg_video(struct convparam *param,gint p
|
||||
@@ -390,15 +390,21 @@ void launchffmpeg_video(struct convparam *param,gint p
|
||||
args[argc++]=g_strdup("-y");
|
||||
args[argc++]=g_strdup("-i");
|
||||
args[argc++]=g_strdup_printf("%s",cparam->filename);
|
||||
+ args[argc++]=g_strdup("-map");
|
||||
+ args[argc++]=g_strdup("-0.0:0.0");
|
||||
+ args[argc++]=g_strdup("-map");
|
||||
+ args[argc++]=g_strdup("-0.1:0.1");
|
||||
+ args[argc++]=g_strdup("-ac");
|
||||
+ args[argc++]=g_strdup("2");
|
||||
args[argc++]=g_strdup("-acodec");
|
||||
- args[argc++]=g_strdup("aac");
|
||||
+ args[argc++]=g_strdup("libfaac");
|
||||
@ -29,7 +36,7 @@
|
||||
else
|
||||
args[argc++]=g_strdup("mpeg4");
|
||||
args[argc++]=g_strdup("-b");
|
||||
@@ -549,7 +549,7 @@ void launchffmpeg_thumbnail(struct convparam *param,gi
|
||||
@@ -549,7 +555,7 @@ void launchffmpeg_thumbnail(struct convparam *param,gi
|
||||
// command=g_strdup_printf("ffmpeg -y -i \"%s\" -title \"%s\" -f singlejpeg -ss 5 -vframes 1 -s %s -padtop %d -padbottom %d -an M4V%05d.THM 2>&1"
|
||||
//,shm_param->filename,shm_param->title,thmsize,cf,cf,shm_param->pspnum);
|
||||
argc=0;
|
||||
|
Loading…
Reference in New Issue
Block a user