Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 ASP

Reply
 
Thread Tools Search this Thread Display Modes
Old 19th January 2017, 01:44   #1  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 1,048
XviD overshooting target file size

Is there anything, other than user error, that could cause a 2-pass XviD encode to exceed its intended file size? In particular, will it overshoot if the target file size is "too low" for the video's resolution, frame rate, and amount of motion? I just had to set the target amount of video data to 280 mb in order to get the actual amount of data down to ~310 mb (with audio adding another ~40 mb for a total file size of 350 mb).
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.

Last edited by Katie Boundary; 19th January 2017 at 09:27.
Katie Boundary is offline   Reply With Quote
Old 19th January 2017, 10:38   #2  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Dont know, but TmpGenc mpeg used to have a minimum bitrate that it would not go below (and would not tell you that it was going to ignore your settings).
(about 200kb/s I think, for mpeg)
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 20th January 2017, 20:35   #3  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
@Katie Boundary: try setting overflow treatment settings all to 10% instead of the default 5%.
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 14th February 2017, 14:16   #4  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 1,048
Quote:
Originally Posted by Selur View Post
@Katie Boundary: try setting overflow treatment settings all to 10% instead of the default 5%.
That helped somewhat.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.
Katie Boundary is offline   Reply With Quote
Old 15th February 2017, 07:05   #5  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,988
Any particular reason you're still encoding MPEG-4 ASP in 2017?

Mainly I'm just curious
Blue_MiSfit is offline   Reply With Quote
Old 15th February 2017, 22:08   #6  |  Link
fantasmanegro
Registered User
 
Join Date: Dec 2009
Posts: 214
Quote:
Originally Posted by Blue_MiSfit View Post
Any particular reason you're still encoding MPEG-4 ASP in 2017?

Mainly I'm just curious
Old DVD player compatibility as I do?
fantasmanegro is offline   Reply With Quote
Old 17th February 2017, 08:03   #7  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 1,048
Quote:
Originally Posted by Blue_MiSfit View Post
Any particular reason you're still encoding MPEG-4 ASP in 2017?

Mainly I'm just curious
What is ASP?
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.
Katie Boundary is offline   Reply With Quote
Old 17th February 2017, 15:08   #8  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,480
Quote:
Originally Posted by Katie Boundary View Post
What is ASP?
Advanced Simple Profile, of course.

https://en.wikipedia.org/wiki/MPEG-4...file_.28ASP.29
Midzuki is offline   Reply With Quote
Old 18th February 2017, 13:16   #9  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
@Katie Boundary: also make sure qmin=1 and qmax = 51
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 18th February 2017, 17:35   #10  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,480
Quote:
Originally Posted by Selur View Post
@Katie Boundary: also make sure qmin=1 and qmax = 51
I think you meant qmin=2 and qmax=31
Midzuki is offline   Reply With Quote
Old 19th February 2017, 22:49   #11  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 1,048
Quote:
Originally Posted by Midzuki View Post
Advanced Simple Profile, of course.

https://en.wikipedia.org/wiki/MPEG-4...file_.28ASP.29
Oh. No, I don't bother with profiles. I always set the profile to unrestricted.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.
Katie Boundary is offline   Reply With Quote
Old 19th February 2017, 23:13   #12  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by Katie Boundary View Post
Oh. No, I don't bother with profiles. I always set the profile to unrestricted.
So why are you using such an inefficient encoder?
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 20th February 2017, 09:33   #13  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 1,048
Quote:
Originally Posted by Groucho2004 View Post
So why are you using such an inefficient encoder?
If I tell you, would that make it easier for you to figure out why XviD is misbehaving?
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.
Katie Boundary is offline   Reply With Quote
Old 20th February 2017, 10:00   #14  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by Katie Boundary View Post
If I tell you, would that make it easier for you to figure out why XviD is misbehaving?
What makes you think it's misbehaving? When you set all parameters the xvid library exposes correctly it will hit the desired bitrate unless you're trying something silly like encoding a series of black images into a 10Mbps video.

Besides, this question has been asked hundreds of times in the last ~15 years. A simple google search ("xvid undersized site:forum.doom9.org") would have provided the same answers you got in this thread and a lot more suggestions to solve the problem.
__________________
Groucho's Avisynth Stuff

Last edited by Groucho2004; 20th February 2017 at 10:09.
Groucho2004 is offline   Reply With Quote
Old 21st February 2017, 17:37   #15  |  Link
fantasmanegro
Registered User
 
Join Date: Dec 2009
Posts: 214
What gui or software are you using for xvid encoding?...
fantasmanegro is offline   Reply With Quote
Old 28th February 2017, 19:04   #16  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 4,823
Quote:
Originally Posted by fantasmanegro View Post
Old DVD player compatibility as I do?
Yeah, but don't you knock up a quick copy for DVD player viewing with Xvid single pass encoding, or 2 pass encoding if you're really keen, using the x264 encode you ran for archiving as the source?
hello_hello is offline   Reply With Quote
Old 28th February 2017, 22:24   #17  |  Link
fantasmanegro
Registered User
 
Join Date: Dec 2009
Posts: 214
Quote:
Originally Posted by hello_hello View Post
Yeah, but don't you knock up a quick copy for DVD player viewing with Xvid single pass encoding, or 2 pass encoding if you're really keen, using the x264 encode you ran for archiving as the source?
i guess not... if you have an old 26" crt tv at home
fantasmanegro is offline   Reply With Quote
Old 6th March 2017, 09:24   #18  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
Quote:
I think you meant qmin=2 and qmax=31
No, I meant qmin=1 and qmax=31.
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 13th April 2017, 01:59   #19  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 1,048
Quote:
Originally Posted by Groucho2004 View Post
What makes you think it's misbehaving?
The part where I tell it to aim for one bitrate and it gives me a completely different bitrate even though I'm not feeding it pathological content.

Quote:
Originally Posted by fantasmanegro View Post
What gui or software are you using for xvid encoding?...
Virtualdub.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.
Katie Boundary is offline   Reply With Quote
Old 13th April 2017, 09:30   #20  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by Katie Boundary View Post
The part where I tell it to aim for one bitrate and it gives me a completely different bitrate even though I'm not feeding it pathological content.
Read the second paragraph of my post and try the various suggestions. This can't be solved by guessing what might be wrong with your setup, there are too many variables.
You could of course upload your source so one of us could try but that seems rather excessive for such a trivial problem.

p.s. What version of xvid are you using?
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 23:36.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.