On Tue, Jan 01, 2013 at 11:14:36AM -0500, Baho Utot wrote:
> On 01/01/2013 08:48 AM, Baho Utot wrote:
> 
> I have compiled and run k3b, ffmpeg and transcode here is the result:
> 

> [export_ffmpeg.so] Parsing ffmpeg preset 'medium'
> File for preset 'medium' not found
> *** glibc detected *** /usr/bin/transcode: munmap_chunk(): invalid pointer: 
> 0x00007f2de6e9b065 ***

 Hi, I've had mail problems here after a brief power cut, but it
looks like my outgoing mail is now working after I bounced postfix,
so ...

 This problem is common to all recent releases of ffmpeg (even the
lastest 0.7) - they dropped the 'medium' preset.  There are two
fixes:

(i.) The arch way - create ~/.ffmpeg/medium.ffpreset containing only
a comment line (with '#' as the first character).  Ffmpeg still puts
some presets in /usr/share/ffmpeg so it is _possible_ that you could
do the same thing there.

(ii.) Patch transcode.  The patch from debian (attached here) appears
to solve the problem [ gentoo have a different patch, which for me
prevented a segfault but did not help ].

 You might also need to build libmpeg2 [ 0.5.1 is in the book ] and
then rebuild transcode adding --enable-libmpeg2
--enable-libmpeg2convert to the configure options.  For me, using
libmpeg2 didn't seem to help in any of my tests, but YMMV.

ĸ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