Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: mase on October 13, 2013, 10:28:15 AM

Title: Xvid ASP - file too small
Post by: mase on October 13, 2013, 10:28:15 AM
Hi!
I am using this codec settings to encode a h264 ts recording from VDR:
adm.videoCodec("xvid4", "params=2PASS=450", "profile=244", "rdMode=3", "motionEstimation=3",
"cqmMode=1","arMode=1", "maxBFrame=2", "maxKeyFrameInterval=200", "nbThreads=99", "qMin=2",
"qMax=25", "rdOnBFrame=True", "hqAcPred=True"

The resulting file should be about 465MB. But it is only about 280MB.
Is that, because ASP Level 5 is missing? It was always fine with 2.5.x.
Title: Re: Xxvid ASP - file too small
Post by: AQUAR on October 13, 2013, 12:32:35 PM
Try Qmin=1
Title: Re: Xxvid ASP - file too small
Post by: mase on October 13, 2013, 12:48:49 PM
But I read on several sites, that qmin of 1 is not recommended.
But I saw, that in 2.5 there was qmin=1 and qmax=31. I will try
these settings.
Title: Re: Xxvid ASP - file too small
Post by: mase on October 13, 2013, 02:32:01 PM
Did not help. The same result.
Title: Re: Xxvid ASP - file too small
Post by: mase on October 13, 2013, 07:05:24 PM
I have to setup a videosize of 800MB to get my prefered filesize of about 465MB.
Title: Re: Xvid ASP - file too small
Post by: mase on October 14, 2013, 02:36:14 PM
Seems, that the undersize issue appears only with h264 input files.
Mpeg2 input files are not undersized.
Both are Linux VDR recordings.
I have set Qmin to 1 with both inputs.
Title: Re: Xvid ASP - file too small
Post by: AQUAR on October 15, 2013, 08:08:02 AM
I also have had undersizing when recoding to Xvid but can't remember if the input was AVC (probably was).
When mean allowed  the quantiser scaling to drop to 1 it produced a much better result (particularly with larger files).

That said, I still prefer to use avisynth with avidemux 2.5.6 when recoding from AVC to Xvid, as it provides a more predicatable result and lots more filters, options etc.
Avidemux 2.6.x would be awesome if it could match that combination.
But AVC is the future and Xvid is dying (not for me!), so I think the effort is mostly focussed on AVC.