Author Topic: Xvid ASP - file too small  (Read 3110 times)

mase

  • Newbie
  • *
  • Posts: 16
Xvid ASP - file too small
« on: October 13, 2013, 10:28:15 AM »
Hi!
I am using this codec settings to encode a h264 ts recording from VDR:
Code: [Select]
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.
« Last Edit: October 13, 2013, 07:05:42 PM by mase »

AQUAR

  • Hero Member
  • *****
  • Posts: 1077
Re: Xxvid ASP - file too small
« Reply #1 on: October 13, 2013, 12:32:35 PM »
Try Qmin=1

mase

  • Newbie
  • *
  • Posts: 16
Re: Xxvid ASP - file too small
« Reply #2 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.
« Last Edit: October 13, 2013, 12:55:29 PM by mase »

mase

  • Newbie
  • *
  • Posts: 16
Re: Xxvid ASP - file too small
« Reply #3 on: October 13, 2013, 02:32:01 PM »
Did not help. The same result.

mase

  • Newbie
  • *
  • Posts: 16
Re: Xxvid ASP - file too small
« Reply #4 on: October 13, 2013, 07:05:24 PM »
I have to setup a videosize of 800MB to get my prefered filesize of about 465MB.

mase

  • Newbie
  • *
  • Posts: 16
Re: Xvid ASP - file too small
« Reply #5 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.

AQUAR

  • Hero Member
  • *****
  • Posts: 1077
Re: Xvid ASP - file too small
« Reply #6 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.