Quote:
|
@Amenophis
quantizer=1 should be avoided. See this post: http://www.kvcd.net/forum/viewtopic.php?p=63511#63511 Bilu |
Hi amenophis:
I will try min quant=1, but I think I read in man-page he didn't advise min quan=1, but don't remember why. About your statement: Quote:
Where did you take the parameter value for vi_ vb_ and so? Are the applyable to any film? EDIT: phew, bilu, I was slower for just a second, friend :lol: |
Quote:
Besides noise or sharpening I have very few ideas left :? Quote:
Quote:
Have a look my previous posts about the average bitrate for the 2nd pass. EDIT: can you post your command-line? Are you using B-frames? Bilu |
additionally you could use a matrix with low values, so you get more bitrate/quality without changing the quantizer
|
Quote:
Bilu |
Here's the last mencoder settings I've tried
Code:
mencoder -of mpeg -ovc lavc -nosound -lavcopts vcodec=mpeg2video:intra_matrix=8,9,12,22,26,27,29,34,9,10,14,26,27,29,34,37,12,14,18,27,29,34,37,38,22,26,27,31,36,37,38, And no, macroblocks aren't in the source (Star Wars Episode II DVD). About 2-pass, I don't really ask for a working command, we'll have to test. I ask, for instance, how do I state which functions just working in first pass and which in second, and so on. Quote:
|
Quote:
Quote:
|
Hi Rui:
have you played with 2pass encoding? I'm curious about how to set mencoder to do that. I'd try it and see if is so slow to forget it. Well, we played a lot with ffvfw, and now playing with mencoder. And it seems that with mencoder we managed to avoid main ffvfw drawback: too high bitrates. Don't you think so?. It seemes to me that we limited bitrates in mencoder. BUT, maybe still far from getting the best of it, because in my fast action scene test I still get too much blocks (seen on PC monitor). Did you see the last settings I posted in this thread, following bilu advise?. What do you think about them?. What can we improve in order to get a better output?. He, he, enjoying a lot with this... :wink: |
Code:
mencoder -of mpeg -ovc lavc -nosound -lavcopts vcodec=mpeg2video:intra_matrix=8,9,12,22,26,27,29,34,9,10,14,26,27,29,34,37,12,14,18,27,29,34,37,38,22,26,27,31,36,37,38, B-frames are not that good on high action, or else there wouldn't be a switch like this for the 2nd pass: Quote:
Remove vqcomp=1, not needed when using vrc_eq=tex. Remove vqmax=4, this may limit mencoder's capability to keep in the 8000 Kbps range. If not enough, then try: Remove scplx_mask=0.5 and naq, spatial deblocking without temporal influence may end up looking bad on high action scenes too, who knows? Use default matrix instead of the Notch matrix. Bilu |
Quote:
I have two machines at home, one is a Pentium 200 w/ 64 Mb RAM and 6 GB, the other *was* a PIII-850 with 128 MB RAM and 20 GB. I said *was* because the board is dead: it lived one extra month with a borrowed stronger power source, but it's dead again. Some condensers/resistors/whatever are leaking. :roll: I already checked out yesterday on the FIC boards site that the FIC PT-2007 from my P200 will handle the 20 GB disk from the other machine. But that disk was from a machine running XP and NTFS 5.1 and has documents, I don't wanna risk mounting it on my P200 VectorLinux 4.0 . I don't have finantial conditions for an upgrade at this precise moment, or else I would have already backed up that disk and shoved it into my P200 - this will be my DVD backup machine ! :twisted: Until then my 6GB disk isn't big enough for that :roll: Bilu |
Quote:
No I haven't tried 2-pass because I never liked the idea of having to wait almost twice the time. Don't get me wrong, I aim to find the best quality but I'm not willing to wait one week :wink: for a movie encode. Quote:
Quote:
Quote:
So I'm maybe not the right person to give that kind of advise. I will test your command line though. It seems that Bilu can explain it perfectly even without having tested the encoder and still I don't get it. :oops: It's as if you were all reading more/different documentation than the one I have, which I'm sure you're not. I'm completely missing something. But this is my 1st time with you guys trying to understand an encoder. Maybe next time I don't pose so many questions. Quote:
But I can't wait for some guy to unveil the best command line for mencoder, yet. :D Cheers |
Hi all,
bilu, yesterday night I tried all your suggestions, that patiently you had already suggested earlier :? . Know what?, to my susprise it didn't change anything (filesize neither visual quality) 8O . I'll explain: I changed to vqsquish=1 and removed vqcomp=1. Changed to vrc_eq=tex. Removed vqmax=4 (and let default). And believe me, nothing changed. Tried removing scplx_mask=0.5 and naq, and again to my susprise filesize raised (well, not really surprising since you stated that scplx_mask filters image, but it was supposed to decrease image quality,... and bigger filesize??) Then I remembered that nocht matrix is supposed to cut frequencies and lower bitrate, so I tried using default matrix instead of the Notch matrix. File size grew, but no image improvement. My interest in higher bitrate and bigger filesize is getting better quality (thinking on KDVD). Don't mind lower bitrate, but I want to get the better quality possible with this encoder, and if filesize is too big, I'll filter, apply Notch matrix, or whatever needed to fit the film in media. But I'm not getting to this point. Image quality is quite good, but still didn't get rid off these blocks. I tried adding noise (-vf noise=lumaa50) but still (less) blocks. Any advise? :wink: |
scplx_mask=0.5 works like a deblocker, so it's normal that by disabling it the movie filesize grows.
I think we need to focus more on that scene :twisted: Please give some feedback about what Bitrate Viewer reports. Maybe you need to rise bitrate up to the 9800 limit. Or change to SATD (slower) :? Bilu |
@rds_correia
I'd like to know specifically what you're not understanding. If you understand you can help me explain to others ;) Please post your questions, I'm sure someone else will have the same doubts. About FFVFW, maybe some of the misconceptions made before with mencoder (like the abusive use of vqscale which doesn't respect bitrates) are the same being done in FFVFW. Could someone post what's being used in FFVFW now? Bilu |
@bilu,
hmmm, if I encode a film without b-frames, won't the file grow really a lot?. And, is it DVD compliant?. I mean, GOP for DVD must be 15, isn't it?. And GOP structure for DVD compliancy must be IBBPBBPBBPBBPBBI... isn't it? I'm not just looking for a solution for my scene, but learning the way to do our encodings, to get the better quality possible, but always compliant with DVD standard. I may try to raise up 9800, but as I told you I raised from 5000 to 8000, without changing filesize, neither quality. Maybe was due to Notch matrix. I'll try SATD, and post here the "slowering" magnitude, and filesize and quality. What about 2-pass?. A fast first pass, and second pass for quality?. Any ideas?. Will it really take double encoding time?. I would like to test it, but I don't know how. |
Quote:
Removing B frames will make worse quality, no matter what encoder :!: That is, if bitrate is kept at the same reference. Removing P frames is even worse quality. If you remove B frames, you have to compensate with a higher bitrate, and then quality is better. Removing B and P frames is the BEST quality, but only at very high bitrates ( ~50,000Kbps or more ). MPEG-2 is used that way in broadcast studios. -kwag |
Hya Kwag,
Have you given mencoder a try yourself? Would like to share your results with us? Thanks pal. Cheers |
Quote:
Quote:
-kwag |
Quote:
If you would only use P Frames you could receive a stream where an visible sudden quality "refresh" occurs when the playback reads an I Frame. Cause in the Frame run within the I Frame Interval the Frames would get only worse and worse ;-) |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.