[MPlayer-users] Problem with MEncoder in h264.c

Remington Vörtmann voertmann at livn.de
Mon Jun 1 20:59:44 CEST 2009

No error here, but the output file is unplayable (just 15 Bytes in size).

Here the MEncoder and GDB Output:

GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-mingw32"...
<=mp2:abitrate=384 -fps 25 -ofps 25 -o REM_20090524_bin.avi 00052.mts
Starting program: C:\msys\1.0\home\Remington\mp/mencoder.exe -oac lavc -ovc lavc
 -aspect 16/9 -noskip -srate 48000 -mc 0 -of lavf -lavfopts format=mpg -vf scale
=1920:1080,harddup -lavcopts vcodec=mpeg2video:vbitrate=24000000:vmax_b_frames=0
:keyint=1:aspect=16/ -lavcopts acodec=mp2:abitrate=384 -fps 25 -ofps 25 -o REM_2
0090524_bin.avi 00052.mts
[New thread 4896.0x1020]
MEncoder SVN-r29328-4.3.0 (C) 2000-2009 MPlayer Team
success: format: 0  data: 0x0 - 0x2df0000
TS file format detected.
VIDEO H264(pid=4113) AUDIO A52(pid=4352) NO SUBS (yet)!  PROGRAM N. 1
[V] filefmt:29  fourcc:0x10000005  size:0x0  fps:0.000  ftime:=0.0000
Input fps will be interpreted as 25.000 instead.
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 256.0 kbit/16.67% (ratio: 32000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
** 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.
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 9921088
Opening video filter: [harddup]
Opening video filter: [scale w=1920 h=1080]
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family

Program received signal SIGSEGV, Segmentation fault.
0x009a47ae in decode_init (avctx=0x6b8c500) at h264.c:1896
1896                }else if(prefix + 1 <= LEVEL_TAB_BITS){

-----Ursprüngliche Nachricht-----
Von: mplayer-users-bounces at mplayerhq.hu [mailto:mplayer-users-bounces at mplayerhq.hu] Im Auftrag von Carl Eugen Hoyos
Gesendet: Dienstag, 26. Mai 2009 18:32
An: mplayer-users at mplayerhq.hu
Betreff: Re: [MPlayer-users] Problem with MEncoder in h264.c

Remington Vörtmann <voertmann <at> livn.de> writes:

> Does anyone have an idea how to solve this? Would be great!

Please post full, uncut output of MEncoder (latest svn!) crashing.
Does it crash as well for MPlayer (and ffmpeg -i yourfile -f crc - )?
Upload your sample to ftp://ffmpeg.org into a new directory issue1121

Carl Eugen

MPlayer-users mailing list
MPlayer-users at mplayerhq.hu

More information about the MPlayer-users mailing list