Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Setting Video Quality Crashes The Program
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
commie
Posted: Nov 3 2011, 12:24 PM


Newbie


Group: Members
Posts: 4
Member No.: 33516
Joined: 3-November 11



Hi,

When I set viseo quality in xvid codec configuration - program crashes at start of processing. If I leave the field Profile @ Level blank it works but the quality is terrible. Reinstalling the Xvid codec (latest version) didn't help. How can I fix it? I have screenshots and crash report but can't attach them to this message.
 
     Top
evropej
Posted: Nov 3 2011, 01:51 PM


Advanced Member


Group: Members
Posts: 514
Member No.: 26523
Joined: 28-November 09



Try changing just the quantizer to 1 and see if it still crashes. Some profiles require certain aspect ratio, pixel dimensions which might cause the crash. I typically just set the quantizer to the quality I like.
 
     Top
commie
Posted: Nov 3 2011, 03:21 PM


Newbie


Group: Members
Posts: 4
Member No.: 33516
Joined: 3-November 11



Where do I change it? It's not in 1st pass or 2nd pass menu... Setting it to 1 in single pass didn't help either.
 
     Top
dloneranger
Posted: Nov 3 2011, 05:08 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



Have you tried the 'load defaults' button in the xvid config dialog?
If you've updated xvid , it may have some old settings hanging around


--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
commie
Posted: Nov 3 2011, 07:45 PM


Newbie


Group: Members
Posts: 4
Member No.: 33516
Joined: 3-November 11



Defaults limit me to one pass only, though program doesn't crash with them. 2 pass gives smaller file size, that's what I was trying to achieve...
 
     Top
dloneranger
Posted: Nov 3 2011, 07:55 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



The load defaults button resets all the settings (overwriting any possible errors in the settings), you can then change them to however you want
If it still crashes after loading the defaults and then altering the settings, you'd have to post a crash dump for anyone to have the faintest idea why it's crashing
Otherwise it'd just be a guessing game

When posting bug reports and crashes, too much info is better than none
Cpu, version of xvid, the log of the crash, version of virtualdub, etc etc

Assuming you want to do 2 pass encoding, you are actually doing first pass, and then second pass?
Not just second pass all by itself?
You could also try deleting the stats file, in case that has been corrupted somehow

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
evropej
Posted: Nov 3 2011, 09:42 PM


Advanced Member


Group: Members
Posts: 514
Member No.: 26523
Joined: 28-November 09



I hate doing this but I cant seem to resist, try freemake video converter and take the headache out of the compressing videos. Its free, its fast, its user friendly.
 
     Top
commie
Posted: Nov 4 2011, 01:25 AM


Newbie


Group: Members
Posts: 4
Member No.: 33516
Joined: 3-November 11



QUOTE (evropej @ Nov 3 2011, 09:42 PM)
I hate doing this but I cant seem to resist, try freemake video converter and take the headache out of the compressing videos. Its free, its fast, its user friendly.

LOL thanks for advice wink.gif

PS Setting Xvid settings to default and then changing them for 2 pass mode didn't solve the problem.
 
     Top
levicki
Posted: Nov 4 2011, 12:15 PM


Advanced Member


Group: Members
Posts: 167
Member No.: 22605
Joined: 13-December 07



How about getting rid of XVID and using x264 which gives higher quality with same or smaller file size like the rest of the world does?
 
      Top
mayhem
Posted: Nov 5 2011, 07:42 PM


Advanced Member


Group: Members
Posts: 62
Member No.: 24668
Joined: 13-December 08



Hmm, can't speak for the guy but in my case theres a few reasons:

1) x264 is painstakingly slow render rate compared to xvid, unless you
have a bleeding edge i7 3+Ghz or something its going to take forever.
It may be a case of me not entirely giving it a thorough chance, but at
a glance, I did a test vid on my core2quad that was 720x540
(pal source, presumably) from a lick library guitar dvd and with similar
bitrate and visually perceptible quality the XVID version rendered at
140fps compared to 77fps for x264. Thats like 45% slower at least.

Though admittedly, I havent spent much time digging around in
x264's settings to see if theres a way to optimize for speed without
sacrificing quality.

2) Cross-platform interoperability. I can take XVID encoded material
and plop it onto a USB flash drive or DVD-R and get seamless playback
on my HDTV with my upconverting DVD player thats divx certified and
has a USB port. So the ability to watch content created on computer,
or downloaded from the internet, even when the computer is off is
a significant advantage. Its plausible theres some x264-compliant
DVD/Bluray player out there, but I havent come across one yet.

3) In the era of routine 1-2TB hard drives, the modest disk space
savings of x264 are not of substantial concern.

 
     Top
mayhem
Posted: Nov 5 2011, 07:55 PM


Advanced Member


Group: Members
Posts: 62
Member No.: 24668
Joined: 13-December 08



As for the xvid settings problem, I've never seen that.
The only time I had something similar was when somehow a
ton of odd numbers got inputted into the Zones section somehow
and I had to manually highlight and click "remove" for each
one to clear them.

I usually just use (unrestricted) under profile and set things
via bitrate or quantizer, could be a muddled up profile.

Try unresticted profile, press the quantizer button to switch it
to bitrate and input a decent bitrate for the material you're
encoding.

Select single-pass for starters. Might also want to check
whats in the other settings like under quality preset
and other options, depending on what version of xvid
you're using of course.

For just small-medium videos and general purpose encoding
I use the following:
(unrestricted) profile
single-pass
-input bitrate depending on content-
Under "zone options", chroma optimizer enabled
(User-defined) quality preset-> Ultra-high motion precision, use chroma motion,
max 150 i-frame interval.
And I turn off the display encoding status thing cuz its distracting.

If that crashes then somethings wrong and might need to
do full uninstall/reinstall of xvid, or revert to an earlier build
of it, might be something thats a little too beta or something.



 
     Top
freedomdwarf
Posted: Nov 10 2011, 08:23 AM


Advanced Member


Group: Members
Posts: 119
Member No.: 30166
Joined: 7-March 11



@ evropej -
I have the latest Freemake and it has some major drawbacks.
I have actually managed to use it twice and got the results I wanted; all the other times I couldn't achieve what I wanted due to it's severe limitations and lack of options.
For one thing, you can't choose your output codecs (audio and video) or setup how the codecs are used.
Secondly, Freemake will only ever use the first audio stream and for stuff that has more than one stream where you don't want the first one makes it completely useless.
Thirdly, I have many files that Freemake screws up completely; usually by dropping the audio or inverting the video planes.

It's ok for really bog-standard stuff but anything out of the ordinary it can't handle or isn't configurable enough to get the required results.

--------------------
Sometimes, intelligence means the obvious flies over your head!
 
       Top
evropej
Posted: Nov 10 2011, 05:24 PM


Advanced Member


Group: Members
Posts: 514
Member No.: 26523
Joined: 28-November 09



QUOTE (freedomdwarf @ Nov 10 2011, 08:23 AM)
@ evropej -
I have the latest Freemake and it has some major drawbacks.
I have actually managed to use it twice and got the results I wanted; all the other times I couldn't achieve what I wanted due to it's severe limitations and lack of options.
For one thing, you can't choose your output codecs (audio and video) or setup how the codecs are used.
Secondly, Freemake will only ever use the first audio stream and for stuff that has more than one stream where you don't want the first one makes it completely useless.
Thirdly, I have many files that Freemake screws up completely; usually by dropping the audio or inverting the video planes.

It's ok for really bog-standard stuff but anything out of the ordinary it can't handle or isn't configurable enough to get the required results.

I agree, the tool is not configurable and it has a few settings to adjust.
I prefer this tool when I have a standard file which I need to compress.
For example, I export to RGB from vdub and then use this tool to give me the compressed version.
Its great for applications where you want to specify file size, compression type and very fast performance.

If you want more options in terms of compression and codecs, I would recommend xmedia recode.
This tool will give you all the options you are looking for but its less user friendly.
It also allows for some post processing which I find useful when deinterlacing and deblocking.
However, this tool is much slower at rendering video.

Both are freeware and both have their pros and cons.
But in either case, I get better results doing the compression externally rather than in vdub.
 
     Top
levicki
Posted: Dec 16 2011, 01:58 PM


Advanced Member


Group: Members
Posts: 167
Member No.: 22605
Joined: 13-December 07



QUOTE (mayhem @ Nov 5 2011, 08:42 PM)
Hmm, can't speak for the guy but in my case theres a few reasons:

1) x264 is painstakingly slow render rate compared to xvid, unless you
have a bleeding edge i7 3+Ghz or something its going to take forever.
It may be a case of me not entirely giving it a thorough chance, but at
a glance, I did a test vid on my core2quad that was 720x540
(pal source, presumably) from a lick library guitar dvd and with similar
bitrate and visually perceptible quality the XVID version rendered at
140fps compared to 77fps for x264. Thats like 45% slower at least.

Though admittedly, I havent spent much time digging around in
x264's settings to see if theres a way to optimize for speed without
sacrificing quality.

2) Cross-platform interoperability. I can take XVID encoded material
and plop it onto a USB flash drive or DVD-R and get seamless playback
on my HDTV with my upconverting DVD player thats divx certified and
has a USB port. So the ability to watch content created on computer,
or downloaded from the internet, even when the computer is off is
a significant advantage. Its plausible theres some x264-compliant
DVD/Bluray player out there, but I havent come across one yet.

3) In the era of routine 1-2TB hard drives, the modest disk space
savings of x264 are not of substantial concern.

If you crank everything up, of course x264 is going to be slow.

My point is that with x264 you will get better quality at the same file size, or smaller size with same quality.

Some time ago I performed some tests with DivX (same goes for XviD) where I tried to increase bitrate above 2,500 kbps to preserve detail in fast motion videos. My attempts of pushing bitrate up to 6Mbps and more miserably failed -- there was no change in quality once you go beyond 2,500 Kbps. That is when I gave up on XviD/DivX entirely.

The point about player support may have been an issue long time ago. Now most players support x264 or can be retrofited to support it with firmware upgrade.

The point about cheap HDDs (which are in short supply at the moment with prices hiked more than 40%) is also not valid especially if you take into account mobile devices which not only play x264, but you also benefit from smaller file size both because of limited storage and transfer speeds.
 
      Top
asaleo
Posted: Dec 16 2011, 04:17 PM


Advanced Member


Group: Members
Posts: 70
Member No.: 26562
Joined: 4-December 09



A lot of answer on this thread.
When I had a similar problem I had cropped my video to a size that was not a multiple of 4 or 16.
Which frame size do you have?
Regards
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
14 replies since Nov 3 2011, 12:24 PM Track this topic | Email this topic | Print this topic

<< Back to Testing / Bug Reports