[MEncoder-users] mencoder with mpeg12 decoder crash
Lobster
lobo at lobs.sytes.net
Tue Oct 19 03:44:02 CEST 2010
On 19/10/2010 11:09 a.m., John Ratliff wrote:
> I have been trying to transcode MPEG2/AAC videos into MKV/H264/VORBIS
> vidoes using mencoder.
>
> I am using MEncoder SVN-r32415-snapshot-4.4.3 (snapshot from a week or
> two ago) on Linux x64 (Kubuntu 10.04 if it matters).
> I got vorbis-tools from apt-get and built the most recent snapshot (at
> the time) of x264.
>
> When I run this command line:
>
> nice /usr/local/bin/mencoder input.mpg -o output.avi -nosub -vc mpeg12
> -vf softskip,scale=640:352:0,harddup
> -sws 10 -af volume=10:0 -oac pcm -ovc x264
> -x264encopts crf=25:nointerlaced:force_cfr:frameref=3:mixed_refs:
> bframes=10:b_adapt=1:b_pyramid=normal:weight_b:
> weightp=1:direct_pred=spatial:aq_mode=2:me=hex:subq=5:
> nombtree:chroma_me:trellis=1:cabac:deblock:no8x8dct:
> partitions=p8x8,b8x8,i4x4:nofast_pskip:nodct_decimate:
> threads=auto:ssim:psnr
>
> I get a seg fault.
>
> But remove the -vc mpeg12 line and I get none.
>
> I don't get this on every video, just some. Most 720p TV programs I
> get from my TiVo have this problem.
>
> Thanks for any suggestions,
Are you sure the videos that segfault are actually mpeg2 video?
you shouldn't need to specify the vc anyway, the appropriate decoder is
detected and used.
look at the console output of either MPlayer playing the video or your
MEncoder command and
see what video codec is selected when not using -vc.
More information about the MEncoder-users
mailing list