Francesco Romani wrote:
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.
Oh, update on that. It was encoding fine, however it segfaults near the end:
[EMAIL PROTECTED] ~ $ transcode -y x264,lame,avi -N h264,mp3 -i test_in.avi -o
test.avi
transcode v1.1.0-alpha4 (C) 2001-2003 Thomas Oestreich, 2003-2007
Transcode Team
[transcode] V: auto-probing | test_in.avi (OK)
[transcode] V: import format | XviD in RIFF data, AVI (module=ffmpeg)
[transcode] A: auto-probing | test_in.avi (OK)
[transcode] A: import format | MPEG ES Layer 3 in RIFF data, AVI
(module=mp3)
[transcode] V: AV demux/sync | (1) sync AV at initial MPEG sequence
[transcode] V: import frame | 624x352 1.77:1 encoded @ UNKNOWN
[transcode] V: bits/pixel | 0.328
[transcode] V: decoding fps,frc | 25.000,3
[transcode] V: video format | YUV420 (4:2:0) aka I420
[transcode] A: import format | 0x55 MPEG ES Layer 3 [48000,16,2]
133 kbps
[transcode] A: export format | 0x55 MPEG ES Layer 3 [48000,16,2]
128 kbps
[transcode] V: export format | h264
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: bytes per frame | 7680 (7680.000000)
[transcode] A: adjustment | [EMAIL PROTECTED]
[transcode] V: IA32/AMD64 accel | sse3 sse2 sse mmx cmove asm
[transcode] V: video buffer | 10 @ 624x352 [0x2]
[transcode] A: audio buffer | 10 @ 48000x2x16
[import_mp3.so] v0.1.4 (2003-08-04) (audio) MPEG
[import_ffmpeg.so] v0.1.13 (2005-11-26) (video) ffmpeg: MS
MPEG4v1-3/MPEG4/MJPEG
[encode_lame.so] v1.1 (2006-11-01) Encodes audio to MP3 using LAME
[encode_lame.so] Using LAME 3.97
[encode_x264.so] v0.2.1 (2006-01-27) x264 encoder
[multiplex_avi.so] v0.0.2 (2005-12-29) create an AVI stream using avilib
[import_mp3.so] MP3->PCM
[import_mp3.so] tcextract -a 0 -i "test_in.avi" -x mp3 -d 0 | tcdecode
-x mp3 -d 0 -z 48000
[encode_x264.so] warning: Error opening configuration file ./x264.cfg:
No such file or directory
[encode_x264.so] set display aspect ratio to input
[encode_x264.so] using SAR=1/1
[encode_x264.so] using cpu capabilities MMX MMXEXT SSE SSE2 3DNow!
Segmentation fault-4974], 16.59 fps, CFT: 0:03:18, ( 0| 0| 2)
[EMAIL PROTECTED] ~ $
It seems to have died at frame 4974, however there are 4976 frames in
this video file. The output file is mostly complete, although gspot
reports that the file is truncated and missing nearly 4GB of data (the
original file was 25.4MB and the output file was 44.3MB). Using media
player classic I can play the file, although it does appear to be just a
tiny bit shorter then the original.
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
?
[EMAIL PROTECTED] ~ $ ffmpeg -formats | grep 264
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib
--mandir=/usr/share/man --enable-static --enable-shared
--cc=i686-pc-linux-gnu-gcc --disable-altivec --disable-debug
--disable-v4l --disable-v4l2 --disable-opts --enable-libmp3lame
--enable-libvorbis --enable-libogg --enable-libtheora --enable-libogg
--enable-liba52 --enable-dc1394 --enable-pthreads --enable-libxvid
--enable-x11grab --enable-libogg --enable-libx264 --enable-libfaad
--enable-libfaac --enable-libamr-nb --enable-libamr-wb --enable-gpl
--enable-pp --disable-strip
libavutil version: 49.4.0
libavcodec version: 51.40.4
libavformat version: 51.12.1
built on Oct 22 2007 21:59:04, gcc: 4.1.2 (Gentoo 4.1.2 p1.0.1)
DE h264 raw H264 video format
D V DT h264
EV libx264
[EMAIL PROTECTED] ~ $