On Tue, 2007-10-23 at 01:59 +0930, Shawn Haggett wrote:
> Francesco Romani wrote:
> > On 10/20/07, SIEGERSTEIN <[EMAIL PROTECTED]> wrote:
> >> hi! I can't capture or convert video with x264 encoder.
> > 
> > 
> > Ack. I'll investigate ASAP, now I'm pretty busy.
> > In the meantime, using 1.1.0alpha4, please try using NMS modules (-y
> > x264,lame,avi -N h264,mp3) and report the results.
> > 
> > Bests,
> 
> Thanks for that. For me at least, the above works.

Ok, nice to read.

> 
> Just as a bit more information, I'm using Gentoo (which means this was 
> compiled on my machine), I'm not sure if the Gentoo package missed an 
> option to a configure script or something though.

Can you post the output of the command
$ ffmpeg -formats | grep 264
?

> After digging through the code in CVS a little, it seems the problem is 
> at the line in export_ffmpeg.c:
> /* -- get it -- */
> lavc_venc_codec = avcodec_find_encoder_by_name(codec->name);
> if (!lavc_venc_codec) {
>      tc_log_warn(MOD_NAME, "Could not find a FFMPEG codec for '%s'.",
>              codec->name);
>      return TC_EXPORT_ERROR;
> }
> 
> avcodec_find_encoder_by_name can't find the codec.

That usually means that codec was not enabled at ./configure() time
and/or not registered, but we register all avalaible libavcodec codecs
before to finding the encoder.

> From poking around 
> some more this seems to be defined in <ffmpeg/avcodec.h>. This leads me 
> to wonder if it is a problem in transcode, a problem in ffmpeg or 
> something to do with the way Gentoo has built things.

I'm going to do some tests on my box, but since nobody has changed this
code in a while, I'm pretty confident that it will work (so, I'll bet
this issue is caused by a build/local problem).

Bests,

-- 
Francesco Romani // Ikitt
[ Out of memory. ~ We wish to hold the whole sky, ~ But we never will. ]

Reply via email to