Digital Video Forums  

Go Back   Digital Video Forums > Video File Formats > AVI, DivX/Xvid

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 25 Mar 2003, 04:20 AM   #1
Junior Member
Junior Member
 
Join Date: Feb 2003
Posts: 29
Default couple issues with DVX-3

I used DVX-3 this weekend and I was very impressed with the results, the quality seemed better than GK but that may just be me. I did have a couple questions however.

1. I am using divx 5.0.2 and when I go to configure the codec settings, the options for the mpeg4 tools are all greyed-out (I can't select any of them). I would like to use bi-directional encoding but can't, is this only available when using 5.0.3?

2. I noticed that DVX is not as accurate when it comes to the final file size, I'm often off by as much as 10 mbs whereas GK seemed to nail it pretty close every time. Does DVX recalculate the bitrate on the second pass? Looking at the logs, it looks like it used the same bitrate for both passes and I didn't see an option to specify this as in GK.
i_t_man is offline   Reply With Quote
Old 25 Mar 2003, 05:12 AM   #2
Junior Member
Junior Member
 
Join Date: Feb 2003
Posts: 29
Default Re: couple issues with DVX-3

Quote:
Originally posted by i_t_man
Does DVX recalculate the bitrate on the second pass?
Here is the log. If I'm reading this correctly, it recalculated the bitrate to 994 after processing the audio to ogg, ok, makes sense so far, but then for the second pass it kept the bitrate at 994.


---------- AviSynth script ----------

MPEG2Source("C:\OSBOURNES_DISC1\VIDEO_TS\ep4\VTS_01_1.d2v")
Crop(8,0,-8,-0)
Telecide()
LanczosResize(576,432)
Convolution3d(0,8,16,8,8,2,0)

---------- Commandline first track ----------

"C:\Program Files\DVX\SysPack\BeSweet\BeSweet.exe" -core( -input "C:\OSBOURNES_DISC1\VIDEO_TS\ep4\VTS_01_1 AC3 T01 2_0ch 192Kbps DELAY 0ms.ac3" -output "C:\OSBOURNES_DISC1\VIDEO_TS\ep4\VTS_01_1 AC3 T01 2_0ch 192Kbps DELAY 0ms.ogg" ) -azid( -n1 -c normal -L -3db -g 10db ) -ota( -G max ) -ogg( -q 0.100 )

---------- Statistic first track ----------

Start time: 8:24:38 AM
End time: 8:27:10 AM
Duration: 00:02:32
Fps: 247
Bitrate: 71

---------- Recalculate video bitrate first track ----------

984 -> 994

---------- Codec settings first pass ----------

5.0 Preprocessing Mode: -1
5.0 Psychovisual Mode: 1
5.0 Resize Mode: 1
AspectRatio_X: 0
AspectRatio_Y: 0
Bicubic spline B: 0.000000
Bicubic spline C: 0.500000
Bidir quant multiplier: 8192
Bidirectional Encoding: 1
Bitrate: 994000
Brightness: 0
Contrast: 0
CPU Limit: 100
Crop: 0
Crop bottom: 0
Crop left: 0
Crop right: 0
Crop top: 0
Data Partitioning: 0
Deinterlace: 0
do_add: 1
do_mc: 1
do_mc_b: 1
do_writeyuv: 0
do_writeyuvmul: 0
Double Buffering: 0
Extended Overlay Mode: 0
Extended Yuv Mode: 0
Frame Dropping: 0
GMC Sensitivity: 128
Interlace mode: 0
Log File Name: C:\OSBOURNES_DISC1\VIDEO_TS\ep4\The_Osbournes_s01_ 04_wont_you_be_my_neighbor_DivX.log
Max Keyframe Interval: 100
Max Quantizer: 8
Min Quantizer: 2
MP4 File Name: c:\test.divx
MPEG-2 Quantization: 0
MV File Name: C:\OSBOURNES_DISC1\VIDEO_TS\ep4\The_Osbournes_s01_ 04_wont_you_be_my_neighbor_DivX_MVInfo.bin
New Format: 0
no_vbr_rc: 0
Nth Pass debug file name: C:\DARK_CITY_16X9\VIDEO_TS\VTS_01_1_DivX_Nth.txt
OBMC: 0
Postprocessing: 20
Protect log & mv: 0
Psychovisual Enhancement: 0
Psychovisual Strength - Frame Level: 0.200000
Psychovisual Strength - Macroblock level: 0.200000
Quality: 5
Quarter-pel: 0
RC Period: 2000
RC Reaction Period: 10
RC Reaction Ratio: 20
Resize: 0
Resize height: 480
Resize mode: 0
Resize width: 640
Saturation: 0
Scene change threshold: 50
show_gmc: 0
Smooth Playback: 0
Spatial level: 0.000000
Spatial passes: 0
Temporal enable: 0
Temporal level: 0.000000
Testing Parameter: 64
Top field first: 0
Use CPU Limit: 0
Use dialogs: 0
Use GMC: 0
use_mvfile: 1
VBR Mode: 2
VBR Quality v5: 40
Warmth Filter: 0
Warmth Strength: 0
Write log file: 1
Write MP4 file: 0
write_mvfile: 1
YUV Dir Name: c:\yuv

---------- VirtualDub script first pass ----------

VirtualDub.Open("C:\OSBOURNES_DISC1\VIDEO_TS\ep4\The_Osbournes_s01_ 04_wont_you_be_my_neighbor.avs",0,0);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetCompression(0x78766964,0,10000 ,0);
VirtualDub.SaveAVI("C:\OSBOURNES_DISC1\VIDEO_TS\ep4\The_Osbournes_s01_ 04_wont_you_be_my_neighbor_FirstPass.avi");

---------- Statistic first pass ----------

Start time: 8:27:11 AM
End time: 9:09:53 AM
Duration: 00:42:42
Fps: 15

---------- Codec settings second/multi pass ----------

5.0 Preprocessing Mode: -1
5.0 Psychovisual Mode: 1
5.0 Resize Mode: 1
AspectRatio_X: 0
AspectRatio_Y: 0
Bicubic spline B: 0.000000
Bicubic spline C: 0.500000
Bidir quant multiplier: 8192
Bidirectional Encoding: 1
Bitrate: 994000
Brightness: 0
Contrast: 0
CPU Limit: 100
Crop: 0
Crop bottom: 0
Crop left: 0
Crop right: 0
Crop top: 0
Data Partitioning: 0
Deinterlace: 0
do_add: 1
do_mc: 1
do_mc_b: 1
do_writeyuv: 0
do_writeyuvmul: 0
Double Buffering: 0
Extended Overlay Mode: 0
Extended Yuv Mode: 0
Frame Dropping: 0
GMC Sensitivity: 128
Interlace mode: 0
Log File Name: C:\OSBOURNES_DISC1\VIDEO_TS\ep4\The_Osbournes_s01_ 04_wont_you_be_my_neighbor_DivX.log
Max Keyframe Interval: 100
Max Quantizer: 8
Min Quantizer: 2
MP4 File Name: c:\test.divx
MPEG-2 Quantization: 0
MV File Name: C:\OSBOURNES_DISC1\VIDEO_TS\ep4\The_Osbournes_s01_ 04_wont_you_be_my_neighbor_DivX_MVInfo.bin
New Format: 0
no_vbr_rc: 0
Nth Pass debug file name: C:\DARK_CITY_16X9\VIDEO_TS\VTS_01_1_DivX_Nth.txt
OBMC: 0
Postprocessing: 20
Protect log & mv: 0
Psychovisual Enhancement: 0
Psychovisual Strength - Frame Level: 0.200000
Psychovisual Strength - Macroblock level: 0.200000
Quality: 5
Quarter-pel: 0
RC Period: 2000
RC Reaction Period: 10
RC Reaction Ratio: 20
Resize: 0
Resize height: 480
Resize mode: 0
Resize width: 640
Saturation: 0
Scene change threshold: 50
show_gmc: 0
Smooth Playback: 0
Spatial level: 0.000000
Spatial passes: 0
Temporal enable: 0
Temporal level: 0.000000
Testing Parameter: 64
Top field first: 0
Use CPU Limit: 0
Use dialogs: 0
Use GMC: 0
use_mvfile: 1
VBR Mode: 3
VBR Quality v5: 40
Warmth Filter: 0
Warmth Strength: 0
Write log file: 1
Write MP4 file: 0
write_mvfile: 1
YUV Dir Name: c:\yuv

---------- VirtualDub script second pass ----------

VirtualDub.Open("C:\OSBOURNES_DISC1\VIDEO_TS\ep4\The_Osbournes_s01_ 04_wont_you_be_my_neighbor.avs",0,0);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetCompression(0x78766964,0,10000 ,0);
VirtualDub.SaveAVI("C:\OSBOURNES_DISC1\VIDEO_TS\ep4\The_Osbournes_s01_ 04_wont_you_be_my_neighbor1_SecondPass.avi");

---------- Statistic second pass ----------

Start time: 9:09:54 AM
End time: 9:46:11 AM
Duration: 00:36:17
Fps: 17

---------- VirtualDubMod script muxing ----------

VirtualDub.Open("C:\OSBOURNES_DISC1\VIDEO_TS\ep4\The_Osbournes_s01_ 04_wont_you_be_my_neighbor1_SecondPass.avi",0,0);
VirtualDub.OpenOGMInput("C:\OSBOURNES_DISC1\VIDEO_TS\ep4\VTS_01_1 AC3 T01 2_0ch 192Kbps DELAY 0ms.ogg", 0, 0);
VirtualDub.AddComment(0, 0, "LANGUAGE", "English");
VirtualDub.AddVideoComment("TITLE", "The_Osbournes_s01_04_wont_you_be_my_neighbor");
VirtualDub.video.SetMode(0);
VirtualDub.SaveOGM("C:\OSBOURNES_DISC1\VIDEO_TS\ep4\The_Osbournes_s01_ 04_wont_you_be_my_neighbor.ogm");
i_t_man is offline   Reply With Quote
Old 25 Mar 2003, 11:38 AM   #3
Junior Member
Junior Member
 
Join Date: Feb 2003
Posts: 29
Default This sucks!

I just spent 4.5 hours encoding a two hour movie. I asked for a final file size of 690mb and it came out 708mb, just big enough to not fit on a CD.

The bitrate was recalcualted after the audio and again after doing the credits but it used the same bitrate for the first and second pass, what's the point of using two passes?
i_t_man is offline   Reply With Quote
Old 27 Mar 2003, 04:43 AM   #4
Gold Member
Gold Member
 
Join Date: Dec 2001
Location: USA
Posts: 122
Default

Definition for 2-pass encoding:

Using multipass technique when encoding video into another format means basically that the video encoder analyzes the video many (multi times from the beginning to the end before the actual encoding process. While scanning the file, encoder writes information about the original video to its own logfile and uses that log to determine the best possible way to fit the video within the bitrate limits user has set for the encoding process -- this is why multi-pass encoding is only used in VBR encoding (the CBR encoding doesn't offer any flexibility for the encoder to determine the bitrate for each frame). Best way to understand why this is used is to think of a movie -- when there are shots that are totally, absolutely black, like scene changes, normal 1-pass CBR encoding uses the exact same amount of data to that part as it uses for complex action scene. But by using VBR and multi-pass, encoder "knows" that this piece is Ok with lower bitrate and that bitrate can be then used for more complex scenes, thus creating better quality for those scenes that require more bitrate.



I got this from a website.

Oh and to answer your bi-directional encoding question, its only available in the PRO versions of DivX 5.0.2 and 5.0.3

Last edited by divxdude; 27 Mar 2003 at 04:48 AM
divxdude is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are Off




All times are GMT +10. The time now is 12:12 AM.

Kirsch designed by Andrew & Austin


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright © 1999 - 2018 Digital Digest

Visit DivXLand   Visit dvdloc8.com