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.
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.
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. 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. If anyone has some
pointers on narrowing this down, I can report this to the appropriate place.
Shawn