Quote:
Quote:
|
Quote:
Quote:
After that, you have two 14 bit fields, which identify the horizontal size and one for the vertical size. Next you have one 8 bit field, where the high nibble (4 most significant bits) are the aspect ratio information, and the low nibble is the frame rate code. Next a 18 bit field, which is the bitrate value. Next is a one bit field, the marker bit, which is always set to 1. And the next field, the one we want, is the VBV biffer size value, which is 10 bits. So to put it in English words :lol:, the byte offset (counting from 0 ) after the sequence header, the least significant 4 bits of byte offset 6 and the 8 bits of byte offset 7, is where the VBV value is stored. Hope you got all of that ;) Quote:
Quote:
Quote:
-kwag |
Quote:
|
Quote:
It's not the same to "pre-load" the parameters from the first sequence header, than to "fool" the DVD player to think the complete video is X resolution, when in reality it's going to be Y resolution. So that trick just won't work on many players. I've already experienced that, and chances are that if you make an MPEG at 528x480 (patched to 704x480 or 720x480 ), it will work on some, but not all players. The VBV issue is another story. Once the MPEG decoder sets it's internal buffer to the specified size on the header, it will have enough buffer space to process the data, basically "branding" the mpeg file to the correct requirements. -kwag |
I finished some testing....Here is a jpeg to see the results...
http://rstuff.home.texas.net/testing.jpg I think the results are a good start - I would like to get some more input on the settings for the second pass - they are obviously based upon Xvid.. I actually tried two Xvid stat readers - on which was from Nitrogen - it read the file correctly, (no crashes) but it only returned the number of frames in the stream.....I haven't done Xvid encoding in a long time..I am a bit rusty... Quote:
|
ah, everybody is sleeping like a baby in the old country....
|
At 6:44am I wasn't. But I was...a bit occupied to be here posting with you :wink:
Again I wish we all were in the same timezone :) At lunch time guys in New York are get off bed... This way we loose many posting time :evil: C ya at lunch time |
Nice screenhots poerschr. I am, myself, used to judge the quality of an encoding on tv screen, not by static images but I guess they look pretty good. It shows here and there some blocks but , anyway ...
How they look on your tv? As maybe many people noticed already it's unlikely to have a straight Q line with second pass bye |
Quote:
Quote:
Quote:
|
Quote:
Quote:
bye |
Quote:
Have you tried a DVD(KDVD) made with TMPEG on your player with the value set to 0 :?: -kwag |
Quote:
marcellus |
Quote:
|
Hey Phil, I thought that you would be happy that I used a French film for my testing???
All in all, the movie was a little dark...but since it was 100% digital, this took precidence....I am still curious if anyone has had some experience with Xvid and how we can tweak the settings.. |
Quote:
Quote:
PS: note that Vidocq was almost completly digitaly rendered. None of the picture is 100% natural. |
Quote:
I surely learned something new today! Do you know a burning software able to do that trick? Many thanks! marcellus |
@marcellus
The latest Nero version has a Mini-DVD option. |
@vmesquita
:cluebat: thanks a lot marcellus |
Hya,
Yep, I started my tests on KDVD with mini(K)DVD using Nero. Now I also use ImgTool along with DVDDecrypter. ImgTool needs to know where the VOBs are and it builds the image to be burnt with DVDDecrypter. Although I sense that maybe Nero is more accurate than these two, both are freeware :wink: . Cheers |
Quote:
I thought that maybe an Xvid stats reader might provide some help...but, I testing the one made by nitrogen, it would read the file correctly, but would only return the number of fames in the stream...I am still searching for something that might help....but, a tweaked stats reader for ffvfw would be great... also, I wanted to ask...I just received a copy of some video dubbed on two crappy VCRs (I hate it, but it is the only option)...most of the video is static scenes that flicker alot, it seems to me that somehow the field order got reversed...has this ever happened to anyone on VCRs?? |
Hi all,
... sorry, after 140 posts in this thread, I shouldn't ask this question, but... 2 pass is not working for me. My settings: Encoder: MPEG2 FOURCC: MPG2 Mode: two passes - 2nd pass int Size (Kbytes) 570000 Generic: Max I frame interval: 15 Min I frame interval: 1 max consecutive b frames: 2 Motion estimation: --- Quantization: Quantization type: MPEG Min Q 2 2 2. Max Q 25 25 25 Trellis activated Custom tables: grayed out (default) Masking: --- Ratecontrol: grayed out Credits. --- Two passes - 1st pass: grayed out (Stats file: D:\Temp\video2.stats --- grayed) Two passes - 2nd pass: First pass stats file: D:\Temp\video2.stats Second pass stats file: (grayed out) D:\Temp\videogk.stats Max bitrate: 9800 Rest: default --- Output: Store frames to external file Raw frames D:\Temp\ffvfw2pass.m2v Libavcodec stats: Don't use (grayed out --- D:\Temp\video.ffstats) ... what wrong? :?: :?: Using ffvfw last version (Jan 13 2004) Trying 2 pass because after trying mencoder two pass,... buff really nice (even with double encoding time: hope we'll manage some day to speed it up :wink: ) |
@digitall.doc
First do the first pass (select it in the pulldown menu and choose the localtion where you want to store the stats file) and then do the second pass (select the stats file you stored with the first pass). These are two different steps you have to do manually. Should work now..... |
Thanx staigerpaip, didn't know :roll: .
I'll try :roll: |
@digitall.doc
If you have some experiences with XVID or DivX 2pass encoding, it is pretty much like it. First pass collect informatrin of movie (and therefore in the output tab you can deselect "store frames" of any kind, it will save you some space on HD). Second pass uses stat file to beter redistribute bitrate and quantize alocation. This is whole idea of two pass encoding, and it is proven that this produces better quality than one pass. Of course not all the time. For instance TMPG produces better quality ant CQ 1pass mode, also I can't force ffvfw to produce better quality, that with one pass setings. Major improvement is that 2pass produces sharp fitted file size and respect max bitrate limit. @Rui Can you write mi small how2 on miniDVD mastering with this programs :?: Thx. (might be throught PM) EDIT: We must to split this post. It is to much about everything :lol: |
Thanx all for your help, now also working for me (I never had made divx, so I was lost in two passes).
I think I already read this in other place, maybe even in this thread, but ffvfw takes 2 seconds or else of the encoding to balance Q value (begins at 4.36 and finally it levels at 2), but maybe I didn't set correctly the parameters. I made a comparison with same source with mencoder, and mencoder was faster, and with Q leveled at 2 since the begining. About bitrate peak, was almost the same, slightly higher in mencoder. But again, maybe is due different parameters in two tests (but same script and source). Keep testing. |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.