[MEncoder-users] h264/aac segfaults on encode, part of encoding lost when reencode to matroska or MP4

Miroslav Rovis m.rovis at inet.hr
Thu Nov 4 11:49:59 CET 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On -10/01/37 20:59, Miroslav Rovis wrote:
>
> Hi, Andrew!
>> MPEG-TS as input, using -demuxer lavf is a must. It probably
>> won't prevent a segfault, but everything will run much more
>> smoothly.
> How do you mean? Where do I put it in my script? ...[snip]... I'll
> try and guess. Is it this line to add: demuxer=lavf say between
> these two lines in both the scripts for 1st and 2nd pass from my
> first post: ovc=x264=1
> x264encopts=pass=1:slow_firstpass:bitrate=900:bframes=1:trellis=1:qp_step=4:qcomp=0.7:direct_pred=auto:keyint=125
>
>
and making them:
> ovc=x264=1 demuxer=lavf
> x264encopts=pass=1:slow_firstpass:bitrate=900:bframes=1:trellis=1:qp_step=4:qcomp=0.7:direct_pred=auto:keyint=125
>
>
(that is only 1st pass, but similarly for the 2nd pass)
I tried that, and it is even worse.
Anyone knows better? I meand where in the script should I try to put
demuxer=lavf if at all?
But the problem seems to have gone away with the mencoder.
It seems to be mkvmerge program of the mkvtoolnix package problem.
That is, I *can* get good encodes with my script, that I posted in the
first post, but when I encode it to matroska, I get that the file is
not playable with the old versions posted in my first post.
I deduce that it is not a mencoder issue, because I can get playable
matroska reencodes from VIDEO_p2.avi (see the 1st post), if I encode
it with the old mkvmerge version of the program...
Just not to leave the thread incomplete, for posterity, if need be :-)
Cheers!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzSj9MACgkQ5NaGZVDan0qMhwCfaApxXz+6XNl7E9nLBDD3zSlo
RCEAn3eNAYU56xAkhmAlePzR0HnaYwhZ
=XmvS
-----END PGP SIGNATURE-----



More information about the MEncoder-users mailing list