[MEncoder-users] Mencoder killed when using vfw
Yoann Maheo
offset at galvanet.com
Wed Feb 6 12:11:20 CET 2008
Hi,
I have a problem with mencoder when I try to encode a movie to FLV
format with VP6 for video.
So I use vfw to load vp6vfw.dll library.
The example use a mpg video for the input but a WMV video give the same
result.
Mencoder is killed without any reason, and said nothing.
The encoding don't start.
nobody at nobody ~/encoding $ mencoder "/video/test_1_720x480_2000k.mpg" -o
"/video/test_1_640x427_350k.flv" -ovc vfw -xvfwopts
codec=vp6vfw.dll:compdata=file_encod.mcf -oac mp3lame -lameopts
cbr:br=64 -af lavcresample=22050 -vf yadif,scale=640:427,flip -of lavf
MEncoder 1.0rc2-4.1.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Xeon(R) CPU L5335 @ 2.00GHz (Family: 6, Model:
15, Stepping: 11)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
success: format: 0 data: 0x0 - 0x42cd5804
MPEG-PS file format detected.
VIDEO: MPEG1 720x480 (aspect 1) 25.000 fps 2000.0 kbps (250.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000001 size:720x480 fps:25.00 ftime:=0.0400
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
** MUXER_LAVF
*****************************************************************
REMEMBER: MEncoder's libavformat muxing is presently broken and can generate
INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
*******************************************************************************
OK, exit
Loading codec DLL: 'vp6vfw.dll'
Killed
nobody at nobody ~/encoding $
And the strace last results :
open("/video/test_1_640x427_350k.flv",
O_RDWR|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 4
_llseek(4, 0, [0], SEEK_END) = 0
_llseek(4, 0, [0], SEEK_SET) = 0
write(2, "** MUXER_LAVF ******************"..., 80** MUXER_LAVF
*****************************************************************
) = 80
write(2, "REMEMBER: MEncoder\'s libavformat"..., 290REMEMBER: MEncoder's
libavformat muxing is presently broken and can generate
INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
*******************************************************************************
) = 290
brk(0x8b2c000) = 0x8b2c000
write(1, "OK, exit\n", 9OK, exit
) = 9
mmap2(NULL, 2101248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x4f7d7000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x4ffd9000
modify_ldt(1, {entry_number:17, base_addr:0x4ffd9000, limit:1342021631,
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:0,
seg_not_present:0, useable:0}, 16) = 0
write(1, "Loading codec DLL: \'vp6vfw.dll\'\n", 32Loading codec DLL:
'vp6vfw.dll'
) = 32
open("vp6vfw.dll", O_RDONLY|O_LARGEFILE) = 5
_llseek(5, 0, [438272], SEEK_END) = 0
_llseek(5, 0, [0], SEEK_SET) = 0
_llseek(5, 0, [438272], SEEK_END) = 0
_llseek(5, 0, [0], SEEK_SET) = 0
mmap2(NULL, 438272, PROT_READ, MAP_PRIVATE, 5, 0) = 0x4f76c000
mmap2(0x10000000, 565248, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x10000000
mmap2(0x10000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 5, 0) = 0x10000000
mmap2(0x10001000, 299008, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 5, 0x1) = 0x10001000
mmap2(0x1004a000, 20480, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 5, 0x4a) = 0x1004a000
mmap2(0x1004f000, 40960, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 5, 0x4f) = 0x1004f000
mmap2(0x10078000, 20480, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 5, 0x59) = 0x10078000
mmap2(0x1007d000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 5, 0x5e) = 0x1007d000
mmap2(0x1007e000, 36864, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 5, 0x5f) = 0x1007e000
mmap2(0x10087000, 12288, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 5, 0x68) = 0x10087000
munmap(0x4f76c000, 438272) = 0
mmap2(NULL, 19200, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4f7d2000
close(5) = 0
+++ killed by SIGKILL +++
Process 28701 detached
Thanks
More information about the MEncoder-users
mailing list