[MPlayer-users] Crash of mencoder in demux_ts.c line 2728

Guillaume POIRIER poirierg at gmail.com
Mon Aug 22 21:10:18 CEST 2005


Hi,

On 8/22/05, George Styles <ripnetuk at gmail.com> wrote:
> Hi,
> 
> Ive managed to get a reproducable crash when using mencoder to encode into divx.
> 
> The crash is a seg fault in demux_ts.c line 2728
> 
>         if(!strcmp(dvdsub_lang, ""))
>                 asgn = 1;
> 
> Ive used gdb to get the above info (using --debug-mode=3), but I could
> not get a core dump - gdb didnt write one, and trying to continue in
> gdb gave
> "Continuing.
> Cannot fetch general-purpose registers for thread -1210796352: generic error
> ".
> 
> I dont wanna go there :)
> 
> Im encoding a transport stream (with known errors in - i get dropouts
> when playing, but it does play to the end in (an old) mplayer on
> Win32.
> 
> The command is
> mencoder test.nuv -oac mp3lame -lameopts mode=2:cbr:br=96 -vf
> scale=320:240 -sws 2 -ovc lavc -lavcopts
> vcodec=mpeg4:vhq:vbitrate=256:vpass=1 -ffourcc DIVX -o out.avi
> 
> I am trying to encode from a MPEG Transport stream (ripped using
> MythTV from a DVB-T card). I know the stream includes a video, audio
> (2 audio - anyone know why???) and a subtitle.
> 
> I think its the subtitle bit thats breaking it. The code which crashes
> looks like its trying to parse the subtitle stream, and failing, i
> assume because dvbsub_lang is a invalid pointer, or null.
> 
> Im gonna try commenting out all that code, as I dont even WANT
> subtitles in the output...

Can you upload a short samples (around 5Mb) somewhere so someone in
charge of that part of the code can see for himself?

Guillaume
-- 
Live fast, die old, and make very sure everyone knows you were there.
 -- Alan Cox




More information about the MPlayer-users mailing list