On Mon, Dec 31, 2012 at 10:51:11PM +0100, Armin K. wrote:
> 
> I have added a patch that replaces calls to avcodec_thread_init with 
> correct functions.
> 
> You can get it from LFS Patches Repository at 
> http://www.linuxfromscratch.org/patches/downloads/transcode/transcode-1.1.7-ffmpeg-2.patch
> 
> Please report if it works. I have tested it with FFmpeg 1.0.1, it 
> builds. I don't know how to use it so I haven't tested it at runtime.

 Thanks for finding this!  Oh, and Happy New Year !  I saw this just
before the power went out for a couple of minutes here - my server
has now finished fscking everything, so I'll just note that if
transcode calls to ffmpeg segfault (missing medium preset), the
attached patch from debian might help.

 I think the real question is whether people using k3b, such as
Baho, and anyone using dvd::rip, can get those to successfully use
transcode.  For people using transcode on the command line, I suspect
that transcode commands which use ffmpeg will still be problematic.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
Description: Remove "-vpre medium" from ffmpeg's command-line arguments list.
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681436
From: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681436#25
---
 export/ffmpeg_cfg.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--- transcode.orig/export/ffmpeg_cfg.c
+++ transcode/export/ffmpeg_cfg.c
@@ -126,7 +126,7 @@ int lavc_param_gmc = 0;
 //int lavc_param_atag = 0;
 //int lavc_param_abitrate = 224;
 
-char *lavc_param_video_preset = "medium";
+char *lavc_param_video_preset = NULL;
 char *lavc_param_ffmpeg_datadir = "/usr/share/ffmpeg";
 
 TCConfigEntry lavcopts_conf[]={
@@ -237,7 +237,6 @@ TCConfigEntry lavcopts_conf[]={
     {"skip_top", &lavc_param_skip_top, TCCONF_TYPE_INT, TCCONF_FLAG_RANGE, 0, 
1000},
     {"skip_bottom", &lavc_param_skip_bottom, TCCONF_TYPE_INT, 
TCCONF_FLAG_RANGE, 0, 1000},
     {"fps_code", &lavc_param_fps_code, TCCONF_TYPE_INT, TCCONF_FLAG_RANGE, 0, 
9},
-    {"vpre", &lavc_param_video_preset, TCCONF_TYPE_STRING, 0, 0, 0},
     {"ffmpeg_datadir", &lavc_param_ffmpeg_datadir, TCCONF_TYPE_STRING, 0, 0, 
0},
     {NULL, NULL, 0, 0, 0, 0}
 };
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to