Understand Divx encoder settings (5.2.0)?
DVD-Software.info Forum Index DVD-Software.info
Your one stop source for DVD Software
 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Understand Divx encoder settings (5.2.0)?
Goto page 1, 2  Next  
Post new topic   Reply to topic    DVD-Software.info Forum Index -> DivX
Author Message
Franklin
Guest





Posted: Thu Oct 14, 2004 6:46 pm    Post subject: Understand Divx encoder settings (5.2.0)? Reply with quote

greets all,

Having a few problems encoding Divx video. I've been in video for a while but am
relatively new at using Divx.

First, I'm exporting out of Premiere pro 1.5. Am using Divx version 5.2.0 encoder.

When I export using the 1-pass encoding method, I get pretty nice looking Divx
compositions. No problems there.

It changes when I go to Multipass, 1st pass or Multipass, Nth pass.

When trying to encode using Multipass, 1st pass, I'll get an output video .avi,
however, it won't play and causes an error with my player, causing the player to shut
down (I'm using WMP 10).

The same happens when trying to use Multipass, Nth pass. Get an output file but it
doesn't want to play and crashes the player.

Any ideas of what might be going on? Thanks

Franklin

Back to top
Billy Joe
Guest





Posted: Thu Oct 14, 2004 6:46 pm    Post subject: Re: Understand Divx encoder settings (5.2.0)? Reply with quote

Franklin wrote:
Quote:
greets all,

Having a few problems encoding Divx video. I've been in video
for a while but am relatively new at using Divx.

First, I'm exporting out of Premiere pro 1.5. Am using Divx
version 5.2.0 encoder.

When I export using the 1-pass encoding method, I get pretty
nice looking Divx compositions. No problems there.

It changes when I go to Multipass, 1st pass or Multipass, Nth
pass.

When trying to encode using Multipass, 1st pass, I'll get an
output video .avi, however, it won't play and causes an error
with my player, causing the player to shut down (I'm using
WMP 10).

The same happens when trying to use Multipass, Nth pass. Get
an output file but it doesn't want to play and crashes the
player.

Any ideas of what might be going on? Thanks

Franklin

The multi-pass option produces no video on the fist pass, rather it
produces an analysis of the video which makes the second (and
subsequent) passes more effective. When you use these options they
need to be in concert with a server program (D. Divx, FlaskMPEG,
VirtualDub, GordianKnot, etc.) which will feed the source material to
the Divx codec multiple times (usually twice).

The subsequent passes each depend upon the analysis of the previous
pass to set bit rates for each video frame set.

Presumably Premiere pro 1.5 can do this too, or PRO is an
inappropriate word in its title ;-0)

Also, when you're setting up the 1st pass and nth pass criteria for
Divx 5.2.0 you'll want to indicate a high bit rate for pass 1 and your
target bit rate for the nth pass. Near the bottom of the Divx setup
page is a check box to save the analysis "Update log file" (this is
grayed out in 1st pass), subsequently turning it off indicates the
last of n passes.

BJ
Back to top
Billy Joe
Guest





Posted: Thu Oct 14, 2004 6:46 pm    Post subject: Re: Understand Divx encoder settings (5.2.0)? Reply with quote

Franklin wrote:
Quote:
On Wed, 13 Oct 2004 08:44:51 -0700, "Billy Joe"
see.sig@invalid.org> wrote:

The multi-pass option produces no video on the fist pass,
rather it
produces an analysis of the video which makes the second (and
subsequent) passes more effective. When you use these
options they
need to be in concert with a server program (D. Divx,
FlaskMPEG,
VirtualDub, GordianKnot, etc.) which will feed the source
material to
the Divx codec multiple times (usually twice).

So is then all done by an automated process? Or do I have to
do something with the divx.log file after the first pass?

Divx will read the log in the second pass, along with the video
stream.

But it only does this when invoked by the program that called it for
the first pass and before it's shut down. At least I've never found a
resume in pass two option (which would be really handy) in any of the
programs I've tried.

Quote:
I
can only say that Premiere pro 1.5 will begin exporting the
Divx file with the settings I choose (in the Divx encoder
settings).

Some of the programs specifically have pass 1 / pass 2 setup options
for either Divx or Xvid. Some do not and require that you know how to
use their job control to navigate from pass 1 to pass 2.

Quote:
When I have selected Multipass of any kind, I do
not notice Premiere pro rendering the output twice. It just
goes through it's normal render routine (just as if exporting
1-pass) and produces an avi file. That file won't play on
anything and almost always crashes the player.


Yes, expect this - neither pass all by itself produces anything
usable.

Quote:
The subsequent passes each depend upon the analysis of the
previous
pass to set bit rates for each video frame set.

Presumably Premiere pro 1.5 can do this too, or PRO is an
inappropriate word in its title ;-0)

Perhaps Premiere pro doesn't have this capability? I wonder
what I would be seeing as a Multipass file was rendering out
properly.

Also, when you're setting up the 1st pass and nth pass
criteria for
Divx 5.2.0 you'll want to indicate a high bit rate for pass
1 and your
target bit rate for the nth pass. Near the bottom of the
Divx setup
page is a check box to save the analysis "Update log file"
(this is
grayed out in 1st pass), subsequently turning it off
indicates the
last of n passes

Let's say that I export a DV avi clip from Premiere pro and
want to convert it to DivX. What would be the most reliable
programs to accomplish this? It seems like PP should be able
to do this fine, but if I have to go to another app, I will.

Another thing that concerns me is cross-platform
compatibility. For example, a DivX file that I create and
export on my primary machine plays perfectly fine on that
machine. But if I port it over to another machine (which has
the DivX codec installed), I get very unpredictable results.
Sometimes the screen in garbled with "colored noise."
Sometimes there's no sound ... or there' good sound but the
picture freezes or lags severely.

Take this in contrast with the fact that I have downloaded a
number of DivX "control" movies from the internet that play
absolutely fine in any machine I might play them on. What
going on?

Franklin

I've never used, or even seen, Premiere pro - so I can't answer your
question directly. Some programs handle multi-pass rather obscurely,
VDub is an example. Never-the-less, when you find out how to invoke
multiple passes, all that I've used do an equally good job.

Perhaps there is a forum, how-to, or help page that addresses PP and
will steer you in the right direction. Apparently no one else who
uses it is reading here right now and ready to jump in and help:-(

Also, it's possible that the PP version you have is crippled. Did it
come with something, like a burner for example?

I don't know what kind of source material you're trying to convert to
Divx/AVI.

My personal experience is conversion of TV capture MPEG2/MP2 or
DVD-VOB files to Divx/AVI with either AC3 or MP3 sound. The programs
which I use are VirtualDub-MPEG2 for the former and FlaskMPEG for the
latter.

I sometimes use the xvid codec, but generally prefer Divx.

VDub does multi-pass thru its job control (so this is very UN-obvious
without guidance). FlaskMPEG is more straight forward, in that it has
specific setup options for first and second pass and does not do N
pass.

Try copy and paste these words into a Google search:
premiere pro multi pass divx encoding

Visit some of the pages that come up.

BJ
Back to top
Penster
Guest





Posted: Thu Oct 14, 2004 6:46 pm    Post subject: Re: Understand Divx encoder settings (5.2.0)? Reply with quote

Billy Joe
I encode Divx for the palm handheld which needs a low bitrate (250kbps). I
use 2 pass.
I should encode with the highest possible bitrate for the first pass then
250 for the second pass? I should also uncheck update log file on the second
pass?
I'm not doing either of these at the moment, I am using Virtualdub, encoding
both at 250 and not unchecking on the 2nd pass.
Any advice to improve the quality is very helpful.
Mick

"Billy Joe" <see.id.line@invalid.org> wrote in message
news:6c2dnV4hJ_Pu5fDcRVn-tg@adelphia.com...
Quote:
Franklin wrote:
On Wed, 13 Oct 2004 08:44:51 -0700, "Billy Joe"
see.sig@invalid.org> wrote:

The multi-pass option produces no video on the fist pass,
rather it
produces an analysis of the video which makes the second (and
subsequent) passes more effective. When you use these
options they
need to be in concert with a server program (D. Divx,
FlaskMPEG,
VirtualDub, GordianKnot, etc.) which will feed the source
material to
the Divx codec multiple times (usually twice).

So is then all done by an automated process? Or do I have to
do something with the divx.log file after the first pass?

Divx will read the log in the second pass, along with the video
stream.

But it only does this when invoked by the program that called it for
the first pass and before it's shut down. At least I've never found a
resume in pass two option (which would be really handy) in any of the
programs I've tried.

I
can only say that Premiere pro 1.5 will begin exporting the
Divx file with the settings I choose (in the Divx encoder
settings).

Some of the programs specifically have pass 1 / pass 2 setup options
for either Divx or Xvid. Some do not and require that you know how to
use their job control to navigate from pass 1 to pass 2.

When I have selected Multipass of any kind, I do
not notice Premiere pro rendering the output twice. It just
goes through it's normal render routine (just as if exporting
1-pass) and produces an avi file. That file won't play on
anything and almost always crashes the player.


Yes, expect this - neither pass all by itself produces anything
usable.

The subsequent passes each depend upon the analysis of the
previous
pass to set bit rates for each video frame set.

Presumably Premiere pro 1.5 can do this too, or PRO is an
inappropriate word in its title ;-0)

Perhaps Premiere pro doesn't have this capability? I wonder
what I would be seeing as a Multipass file was rendering out
properly.

Also, when you're setting up the 1st pass and nth pass
criteria for
Divx 5.2.0 you'll want to indicate a high bit rate for pass
1 and your
target bit rate for the nth pass. Near the bottom of the
Divx setup
page is a check box to save the analysis "Update log file"
(this is
grayed out in 1st pass), subsequently turning it off
indicates the
last of n passes

Let's say that I export a DV avi clip from Premiere pro and
want to convert it to DivX. What would be the most reliable
programs to accomplish this? It seems like PP should be able
to do this fine, but if I have to go to another app, I will.

Another thing that concerns me is cross-platform
compatibility. For example, a DivX file that I create and
export on my primary machine plays perfectly fine on that
machine. But if I port it over to another machine (which has
the DivX codec installed), I get very unpredictable results.
Sometimes the screen in garbled with "colored noise."
Sometimes there's no sound ... or there' good sound but the
picture freezes or lags severely.

Take this in contrast with the fact that I have downloaded a
number of DivX "control" movies from the internet that play
absolutely fine in any machine I might play them on. What
going on?

Franklin

I've never used, or even seen, Premiere pro - so I can't answer your
question directly. Some programs handle multi-pass rather obscurely,
VDub is an example. Never-the-less, when you find out how to invoke
multiple passes, all that I've used do an equally good job.

Perhaps there is a forum, how-to, or help page that addresses PP and
will steer you in the right direction. Apparently no one else who
uses it is reading here right now and ready to jump in and help:-(

Also, it's possible that the PP version you have is crippled. Did it
come with something, like a burner for example?

I don't know what kind of source material you're trying to convert to
Divx/AVI.

My personal experience is conversion of TV capture MPEG2/MP2 or
DVD-VOB files to Divx/AVI with either AC3 or MP3 sound. The programs
which I use are VirtualDub-MPEG2 for the former and FlaskMPEG for the
latter.

I sometimes use the xvid codec, but generally prefer Divx.

VDub does multi-pass thru its job control (so this is very UN-obvious
without guidance). FlaskMPEG is more straight forward, in that it has
specific setup options for first and second pass and does not do N
pass.

Try copy and paste these words into a Google search:
premiere pro multi pass divx encoding

Visit some of the pages that come up.

BJ

Back to top
Billy Joe
Guest





Posted: Thu Oct 14, 2004 6:46 pm    Post subject: Re: Understand Divx encoder settings (5.2.0)? Reply with quote

Penster wrote:
Quote:
Billy Joe
I encode Divx for the palm handheld which needs a low bitrate
(250kbps). I use 2 pass.
I should encode with the highest possible bitrate for the
first pass then 250 for the second pass? I should also
uncheck update log file on the second pass?
I'm not doing either of these at the moment, I am using
Virtualdub, encoding both at 250 and not unchecking on the
2nd pass.
Any advice to improve the quality is very helpful.
Mick
snip


Encoding both passes at the same rate defeats the value of using 2
pass encoding. If you're only aiming for 250 final, perhaps 1500 on
the first pass would be reasonable, even 1000 - some experimentation
with a 5 minute clip might help you decide the best values. I often
use a 4:1 variance between the 2 passes, but seldom encode lower than
1000 final (which is 1/12 my source material).

Not unchecking the "update log file" box will not harm you, using
VirtualDub - but Divx will go to the trouble of generating the log
file for the next (third) pass; it will be dumped when you are ready
to convert another video.

Also, you can speed up the conversion process slightly in VirtualDub
by not doing anything unnecessary in the first pass. For example, set
Audio to "no audio" in pass 1 and to your compression codec in pass 2.
Otherwise VDub will go to the effort of encoding the audio twice.
Likewise, if de-interlacing is to be used, save it for the second
pass.

BJ
Back to top
Franklin
Guest





Posted: Thu Oct 14, 2004 10:02 pm    Post subject: Re: Understand Divx encoder settings (5.2.0)? Reply with quote

On Wed, 13 Oct 2004 08:44:51 -0700, "Billy Joe" <see.sig@invalid.org> wrote:

Quote:
The multi-pass option produces no video on the fist pass, rather it
produces an analysis of the video which makes the second (and
subsequent) passes more effective. When you use these options they
need to be in concert with a server program (D. Divx, FlaskMPEG,
VirtualDub, GordianKnot, etc.) which will feed the source material to
the Divx codec multiple times (usually twice).

So is then all done by an automated process? Or do I have to do something with the
divx.log file after the first pass? I can only say that Premiere pro 1.5 will begin
exporting the Divx file with the settings I choose (in the Divx encoder settings).
When I have selected Multipass of any kind, I do not notice Premiere pro rendering
the output twice. It just goes through it's normal render routine (just as if
exporting 1-pass) and produces an avi file. That file won't play on anything and
almost always crashes the player.

Quote:
The subsequent passes each depend upon the analysis of the previous
pass to set bit rates for each video frame set.

Presumably Premiere pro 1.5 can do this too, or PRO is an
inappropriate word in its title ;-0)

Perhaps Premiere pro doesn't have this capability? I wonder what I would be seeing as
a Multipass file was rendering out properly.

Quote:
Also, when you're setting up the 1st pass and nth pass criteria for
Divx 5.2.0 you'll want to indicate a high bit rate for pass 1 and your
target bit rate for the nth pass. Near the bottom of the Divx setup
page is a check box to save the analysis "Update log file" (this is
grayed out in 1st pass), subsequently turning it off indicates the
last of n passes

Let's say that I export a DV avi clip from Premiere pro and want to convert it to
DivX. What would be the most reliable programs to accomplish this? It seems like PP
should be able to do this fine, but if I have to go to another app, I will.

Another thing that concerns me is cross-platform compatibility. For example, a DivX
file that I create and export on my primary machine plays perfectly fine on that
machine. But if I port it over to another machine (which has the DivX codec
installed), I get very unpredictable results. Sometimes the screen in garbled with
"colored noise." Sometimes there's no sound ... or there' good sound but the picture
freezes or lags severely.

Take this in contrast with the fact that I have downloaded a number of DivX "control"
movies from the internet that play absolutely fine in any machine I might play them
on. What going on?

Franklin
Back to top
Penster
Guest





Posted: Thu Oct 14, 2004 11:48 pm    Post subject: Re: Understand Divx encoder settings (5.2.0)? Reply with quote

Thanks BJ, i've learned something.
Mick
"Billy Joe" <see.sig@invalid.org> wrote in message
news:6emdnShDE83pSfDcRVn-jQ@adelphia.com...
Quote:
Penster wrote:
Billy Joe
I encode Divx for the palm handheld which needs a low bitrate
(250kbps). I use 2 pass.
I should encode with the highest possible bitrate for the
first pass then 250 for the second pass? I should also
uncheck update log file on the second pass?
I'm not doing either of these at the moment, I am using
Virtualdub, encoding both at 250 and not unchecking on the
2nd pass.
Any advice to improve the quality is very helpful.
Mick
snip

Encoding both passes at the same rate defeats the value of using 2
pass encoding. If you're only aiming for 250 final, perhaps 1500 on
the first pass would be reasonable, even 1000 - some experimentation
with a 5 minute clip might help you decide the best values. I often
use a 4:1 variance between the 2 passes, but seldom encode lower than
1000 final (which is 1/12 my source material).

Not unchecking the "update log file" box will not harm you, using
VirtualDub - but Divx will go to the trouble of generating the log
file for the next (third) pass; it will be dumped when you are ready
to convert another video.

Also, you can speed up the conversion process slightly in VirtualDub
by not doing anything unnecessary in the first pass. For example, set
Audio to "no audio" in pass 1 and to your compression codec in pass 2.
Otherwise VDub will go to the effort of encoding the audio twice.
Likewise, if de-interlacing is to be used, save it for the second
pass.

BJ

Back to top
Penster
Guest





Posted: Fri Oct 15, 2004 6:05 pm    Post subject: Re: Understand Divx encoder settings (5.2.0)? Reply with quote

Billy Joe
I have just made some short samples with 1 pass, then 2 pass using different
bitrates for the first pass and a final bitrate of 250 kbps.When I compared
them side by side, 1 pass is the best! My procedure is:
- I am converting from PAL TV and I capture using MPEG2. I use Virtualdub
MPEG2 version.
- For multipass, I set first pass, and check 'read MV file'. I set a job
file to process later and save it.
- I then set nth pass, with 'read MV file' and 'update log file' checked. I
set a job file with a different file name.
- I run the job files.
- After running the files, I discard the 1st pass file.

When I compare 1 pass (250 kbps) with 2 pass (2000 in first pass and 250 in
2nd pass) the 1 pass is superior. The final file sizes are very similar. All
other parameters are unchanged
What am I doing wrong?
Mick
"Billy Joe" <see.sig@invalid.org> wrote in message
news:6emdnShDE83pSfDcRVn-jQ@adelphia.com...
Quote:
Penster wrote:
Billy Joe
I encode Divx for the palm handheld which needs a low bitrate
(250kbps). I use 2 pass.
I should encode with the highest possible bitrate for the
first pass then 250 for the second pass? I should also
uncheck update log file on the second pass?
I'm not doing either of these at the moment, I am using
Virtualdub, encoding both at 250 and not unchecking on the
2nd pass.
Any advice to improve the quality is very helpful.
Mick
snip

Encoding both passes at the same rate defeats the value of using 2
pass encoding. If you're only aiming for 250 final, perhaps 1500 on
the first pass would be reasonable, even 1000 - some experimentation
with a 5 minute clip might help you decide the best values. I often
use a 4:1 variance between the 2 passes, but seldom encode lower than
1000 final (which is 1/12 my source material).

Not unchecking the "update log file" box will not harm you, using
VirtualDub - but Divx will go to the trouble of generating the log
file for the next (third) pass; it will be dumped when you are ready
to convert another video.

Also, you can speed up the conversion process slightly in VirtualDub
by not doing anything unnecessary in the first pass. For example, set
Audio to "no audio" in pass 1 and to your compression codec in pass 2.
Otherwise VDub will go to the effort of encoding the audio twice.
Likewise, if de-interlacing is to be used, save it for the second
pass.

BJ

Back to top
Billy Joe
Guest





Posted: Fri Oct 15, 2004 7:11 pm    Post subject: Re: Understand Divx encoder settings (5.2.0)? Reply with quote

Penster wrote:
Quote:
Billy Joe
I have just made some short samples with 1 pass, then 2 pass
using different bitrates for the first pass and a final
bitrate of 250 kbps.When I compared them side by side, 1 pass
is the best! My procedure is: - I am converting from PAL TV
and I capture using MPEG2. I use Virtualdub MPEG2 version.
- For multipass, I set first pass, and check 'read MV file'.
I set a job file to process later and save it.
- I then set nth pass, with 'read MV file' and 'update log
file' checked. I set a job file with a different file name.
- I run the job files.
- After running the files, I discard the 1st pass file.

When I compare 1 pass (250 kbps) with 2 pass (2000 in first
pass and 250 in 2nd pass) the 1 pass is superior. The final
file sizes are very similar. All other parameters are
unchanged
What am I doing wrong?
Mick

I know there are some good tutorials for two pass encoding with VDub,
but I didn't save the URLs - shame on me :-( So here's a quick
overview of what I'm doing.

First, be aware that VDub will save settings as profiles using the
File - Save Processing Settings menu item. Settings profiles have a
..VCF extension.

OK, what this means is that you can load up a video, configure what
you intend to use for the first pass, then save the settings. VDub is
a little whimsical about the target directory for saving these, so I
store mine in the SAME folder I use to capture.

After you've saved the settings you will use for the first pass,
select the settings you will use for the second pass and save those
too.

Example of first pass params:
Audio: no audio
Video: Full processing mode
Video: Filters: Null transform: Cropping: 7,9,54,58
Video: Compression: Divx 5.2: Standard, 3000, Multipass - 1st pass

Save as TVShowname pass 1.VCF

Example of second pass params:
Audio: Full processing mode
Audio: Source audio
Audio: Compression: MP3, 192kbps ...
Video: Full processing mode
Video: Filters: Null transform: Cropping: 7,9,54,58
Video: Compression: Divx 5.2: Standard, 1000, Multipass - nth pass,
4000, deinterlace source, H.263, 300

Save as TVShowname pass 2.VCF

Now you can load the MPEG2 you want to convert and edit/trim for
commercials and redundancies. Then

File, Load processing settings, TVShowname pass 1.VCF
File, Save as AVI, TVShowname.AVI, tick the deferred process box, OK
File, Load processing settings, TVShowname pass 2.VCF
File, Save as AVI, TVShowname.AVI, tick the deferred process box, OK

NOTE: do NOT change the file name in the second AVI. Otherwise the
codec will "think" it's a separate task.

Then File, Job Control, Start and the conversion will begin.
When the word "done" appears in the Job Control listing next to the
second pass, you file is ready.

BJ
Back to top
Penster
Guest





Posted: Fri Oct 15, 2004 8:14 pm    Post subject: Re: Understand Divx encoder settings (5.2.0)? Reply with quote

Billy Joe
I think I may have spotted where I am going wrong. I save the first avi with
a different filename than the second avi and then discard the first avi. I
will try again using the same filename. Thanks for the tips.
"Billy Joe" <see.id.line@invalid.org> wrote in message
news:gv-dnbKyavwCdfLcRVn-tA@adelphia.com...
Quote:
Penster wrote:
Billy Joe
I have just made some short samples with 1 pass, then 2 pass
using different bitrates for the first pass and a final
bitrate of 250 kbps.When I compared them side by side, 1 pass
is the best! My procedure is: - I am converting from PAL TV
and I capture using MPEG2. I use Virtualdub MPEG2 version.
- For multipass, I set first pass, and check 'read MV file'.
I set a job file to process later and save it.
- I then set nth pass, with 'read MV file' and 'update log
file' checked. I set a job file with a different file name.
- I run the job files.
- After running the files, I discard the 1st pass file.

When I compare 1 pass (250 kbps) with 2 pass (2000 in first
pass and 250 in 2nd pass) the 1 pass is superior. The final
file sizes are very similar. All other parameters are
unchanged
What am I doing wrong?
Mick

I know there are some good tutorials for two pass encoding with VDub,
but I didn't save the URLs - shame on me :-( So here's a quick
overview of what I'm doing.

First, be aware that VDub will save settings as profiles using the
File - Save Processing Settings menu item. Settings profiles have a
.VCF extension.

OK, what this means is that you can load up a video, configure what
you intend to use for the first pass, then save the settings. VDub is
a little whimsical about the target directory for saving these, so I
store mine in the SAME folder I use to capture.

After you've saved the settings you will use for the first pass,
select the settings you will use for the second pass and save those
too.

Example of first pass params:
Audio: no audio
Video: Full processing mode
Video: Filters: Null transform: Cropping: 7,9,54,58
Video: Compression: Divx 5.2: Standard, 3000, Multipass - 1st pass

Save as TVShowname pass 1.VCF

Example of second pass params:
Audio: Full processing mode
Audio: Source audio
Audio: Compression: MP3, 192kbps ...
Video: Full processing mode
Video: Filters: Null transform: Cropping: 7,9,54,58
Video: Compression: Divx 5.2: Standard, 1000, Multipass - nth pass,
4000, deinterlace source, H.263, 300

Save as TVShowname pass 2.VCF

Now you can load the MPEG2 you want to convert and edit/trim for
commercials and redundancies. Then

File, Load processing settings, TVShowname pass 1.VCF
File, Save as AVI, TVShowname.AVI, tick the deferred process box, OK
File, Load processing settings, TVShowname pass 2.VCF
File, Save as AVI, TVShowname.AVI, tick the deferred process box, OK

NOTE: do NOT change the file name in the second AVI. Otherwise the
codec will "think" it's a separate task.

Then File, Job Control, Start and the conversion will begin.
When the word "done" appears in the Job Control listing next to the
second pass, you file is ready.

BJ

Back to top
Penster
Guest





Posted: Fri Oct 15, 2004 8:54 pm    Post subject: Re: Understand Divx encoder settings (5.2.0)? Reply with quote

Billy Joe
I have used the method you have written down The settings you use seem
broadly similar to mine except I set the cropping and resolution in divx
rather than using filters and I don't deinterlace. I have just made a short
avi with and without deinterlace and using 1pass (250kbps) and 2pass (2000
and 250)
A divx for palm is for a 3.5 inch screen, and 1pass and 2pass look
identical. When I blow up the avi on my PC monitor to full screen, 1 pass is
fractionally better than 2 pass.
I'm surprised. Is 2 pass only superior at higher bitrates?
Mick
"Penster" <xxx@xxx.com> wrote in message
news:gHSbd.284$6A4.208@newsfe4-gui.ntli.net...
Quote:
Billy Joe
I think I may have spotted where I am going wrong. I save the first avi
with
a different filename than the second avi and then discard the first avi. I
will try again using the same filename. Thanks for the tips.
"Billy Joe" <see.id.line@invalid.org> wrote in message
news:gv-dnbKyavwCdfLcRVn-tA@adelphia.com...
Penster wrote:
Billy Joe
I have just made some short samples with 1 pass, then 2 pass
using different bitrates for the first pass and a final
bitrate of 250 kbps.When I compared them side by side, 1 pass
is the best! My procedure is: - I am converting from PAL TV
and I capture using MPEG2. I use Virtualdub MPEG2 version.
- For multipass, I set first pass, and check 'read MV file'.
I set a job file to process later and save it.
- I then set nth pass, with 'read MV file' and 'update log
file' checked. I set a job file with a different file name.
- I run the job files.
- After running the files, I discard the 1st pass file.

When I compare 1 pass (250 kbps) with 2 pass (2000 in first
pass and 250 in 2nd pass) the 1 pass is superior. The final
file sizes are very similar. All other parameters are
unchanged
What am I doing wrong?
Mick

I know there are some good tutorials for two pass encoding with VDub,
but I didn't save the URLs - shame on me :-( So here's a quick
overview of what I'm doing.

First, be aware that VDub will save settings as profiles using the
File - Save Processing Settings menu item. Settings profiles have a
.VCF extension.

OK, what this means is that you can load up a video, configure what
you intend to use for the first pass, then save the settings. VDub is
a little whimsical about the target directory for saving these, so I
store mine in the SAME folder I use to capture.

After you've saved the settings you will use for the first pass,
select the settings you will use for the second pass and save those
too.

Example of first pass params:
Audio: no audio
Video: Full processing mode
Video: Filters: Null transform: Cropping: 7,9,54,58
Video: Compression: Divx 5.2: Standard, 3000, Multipass - 1st pass

Save as TVShowname pass 1.VCF

Example of second pass params:
Audio: Full processing mode
Audio: Source audio
Audio: Compression: MP3, 192kbps ...
Video: Full processing mode
Video: Filters: Null transform: Cropping: 7,9,54,58
Video: Compression: Divx 5.2: Standard, 1000, Multipass - nth pass,
4000, deinterlace source, H.263, 300

Save as TVShowname pass 2.VCF

Now you can load the MPEG2 you want to convert and edit/trim for
commercials and redundancies. Then

File, Load processing settings, TVShowname pass 1.VCF
File, Save as AVI, TVShowname.AVI, tick the deferred process box, OK
File, Load processing settings, TVShowname pass 2.VCF
File, Save as AVI, TVShowname.AVI, tick the deferred process box, OK

NOTE: do NOT change the file name in the second AVI. Otherwise the
codec will "think" it's a separate task.

Then File, Job Control, Start and the conversion will begin.
When the word "done" appears in the Job Control listing next to the
second pass, you file is ready.

BJ



Back to top
Billy Joe
Guest





Posted: Fri Oct 15, 2004 9:20 pm    Post subject: Re: Understand Divx encoder settings (5.2.0)? Reply with quote

Penster wrote:
Quote:
Billy Joe
I have used the method you have written down The settings you
use seem broadly similar to mine except I set the cropping
and resolution in divx rather than using filters and I don't
deinterlace. I have just made a short avi with and without
deinterlace and using 1pass (250kbps) and 2pass (2000 and 250)
A divx for palm is for a 3.5 inch screen, and 1pass and 2pass
look identical. When I blow up the avi on my PC monitor to
full screen, 1 pass is fractionally better than 2 pass.
I'm surprised. Is 2 pass only superior at higher bitrates?
Mick
snip


Beats me ;-0) As stated earlier, I've never encoded below 1000 kbps
video.
Since your screen is small, you might try deinterlacing (in either one
or two pass mode) using the VDub deinterlace filter and choose discard
(frame 1 or 2)

Or perhaps better, ignore interlace entirely and use the 2:1 reduction
filter, which actually provides more interpretive bits per frame at
the same video bit rate. Effectively, this filter throws away one
interlace field, keeping the width and halving the height. Visually,
you'll not notice that but you should see an improvement in display
quality.

BJ
Back to top
Jason Sperry
Guest





Posted: Fri Oct 15, 2004 9:30 pm    Post subject: Re: Understand Divx encoder settings (5.2.0)? Reply with quote

On Fri, 15 Oct 2004 16:54:17 GMT, Penster wrote:

Quote:
Billy Joe
I have used the method you have written down The settings you use seem
broadly similar to mine except I set the cropping and resolution in divx
rather than using filters and I don't deinterlace. I have just made a short
avi with and without deinterlace and using 1pass (250kbps) and 2pass (2000
and 250)

If bitrate matters for the first pass then you should use the same for 2nd
pass. Further Billy said to save deinterlace (and similar filters that
change video content) for 2nd pass which is wrong. You have to use all
filters that change the video content in both passes, otherwise the 1st
pass will work with differnet video content than the 2nd pass.
Back to top
Billy Joe
Guest





Posted: Sat Oct 16, 2004 12:07 am    Post subject: Re: Understand Divx encoder settings (5.2.0)? Reply with quote

Jason Sperry wrote:
Quote:
On Fri, 15 Oct 2004 16:54:17 GMT, Penster wrote:

Billy Joe
I have used the method you have written down The settings
you use seem broadly similar to mine except I set the
cropping and resolution in divx rather than using filters
and I don't deinterlace. I have just made a short avi with
and without deinterlace and using 1pass (250kbps) and 2pass
(2000 and 250)

If bitrate matters for the first pass then you should use the
same for 2nd pass. Further Billy said to save deinterlace
(and similar filters that change video content) for 2nd pass
which is wrong. You have to use all filters that change the
video content in both passes, otherwise the 1st
pass will work with differnet video content than the 2nd pass.

Jason,

The actual quote from my post is: "Also, you can speed up the
conversion process slightly in VirtualDub by not doing anything
unnecessary in the first pass."

Using the profiles of Divx 5.*, I'd agree with the idea that the bit
rate, tho present in the first pass parameters, is probably ignored by
Divx. In which case, only the value entered into the nth pass params
would be used. And, in fact, employing profiles, I'd suggest that the
user make no alteration to the entry for bit rate.

As the OP is targeting 250kpbs (not the profile standard of 200 for
hand-held) I figure he is, as I am, not using a profile. My
interpretation of Divx's encoding bit rate, tho neither specified nor
referenced in their docs, is that first pass kbps is used as a guide
in the phase one analysis - otherwise, the box would be inaccessible
as it is in Xvid. If it is of no value, then having changed it
would/should mean nothing, right?

Opinions at Divx forums largely favor leaving both kbps set the same,
some suggest leaving ALL settings the same. I recently saw a reply
from a Divx manager stating that the settings should be different, but
I'm unable to find that ref at the moment. If I do, I'll post it.

Also, in ref to VDub settings, it most assuredly is worthless to
encode the audio in both passes, as the .AVI file produced will be
over-written in the second pass. And, of course, I disagree regarding
deinterlacing (the only other filter I mentioned) as the analysis
phase (if it cares at all, per the above) should have access to all of
the video before the actual encoding pass(es) ensue. You will
notice, in my example, that the cropping filter is called in both
passes.

BJ
Back to top
Billy Joe
Guest





Posted: Sat Oct 16, 2004 9:09 am    Post subject: Re: Understand Divx encoder settings (5.2.0)? Reply with quote

Penster wrote:
Quote:
Billy Joe
I have used the method you have written down The settings you
use seem broadly similar to mine except I set the cropping
and resolution in divx rather than using filters and I don't
deinterlace. I have just made a short avi with and without
deinterlace and using 1pass (250kbps) and 2pass (2000 and 250)
A divx for palm is for a 3.5 inch screen, and 1pass and 2pass
look identical. When I blow up the avi on my PC monitor to
full screen, 1 pass is fractionally better than 2 pass.
I'm surprised. Is 2 pass only superior at higher bitrates?
Mick

<snip>

I used a VOB file to test Divx at 250 kbps video (I also used 112 kbps
audio) to create an AVI file.

First, even tho Divx 5.2.0 supports a handheld profile @ 200 kbps,
after first restoring defaults then choosing the handheld profile, the
codec balked at the setting causing VDub to abort. So, I reverted to
manual and set the bit rate to 250. I also used the codec in one test
to produce 320x240 (from the 640x480 image in a 720x480 source) and I
used the VDub 2:1 reduction filter in another test. The video source
I chose is NTSC 29.97 interlaced, the 320x240 results are by their
nature not.

Since I don't have a handheld unit, I was only able to display on the
PC (a 1280x1024 flat panel). The smallest frame I set to view the
result was 320x240, which is ~ 3.4 x 2.5 inches on this monitor.

At full screen the images were universally terrible. In a 320x240
window, the images were acceptable and the two pass encoding was
sharper than one pass (this was more obvious in freeze frame than
motion). There were no discernable image differences between reducing
the size in the codec vs. the Vdub filter.

Note: I also ran tests in 2 pass at 250/250 and 2000/250 and noticed
no differences between them.

BJ
Back to top
 
Post new topic   Reply to topic    DVD-Software.info Forum Index -> DivX All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Office Forum Access Forum Exchange Server

Powered by phpBB