To the administrator Baldrick
----
Please, my friend, don't lock this topic, if you see my profile, you will see I'm not a regular member, in fact I only ask here about two, three times in a year, I'm an old member from this forum, since 2005 and in many times the search option of the forum helps me a lot. And I think this is not about deblocking a video but it's a question about misuderstanding of the options in mencoder
And I promisse to you, my friend I will never ask any more question about that subject.
And please don't ban me. If you feel the will to lock this topic, so please ban me too. I will be sad.
----
Well, In FFDShow video filters we have this
and probably this will be translated in the command line of mencoder to:
where pp=post-processing and its parametersCode:-vf pp=ha:y:n/va:y:n/dr/al:f
ha=acurate horizontal deblocking
y - do luminance filtering only (no chrominance).
n - do chrominance filtering only (no luminance)
va=acurate vertical deblocking
y - do luminance filtering only (no chrominance).
n - do chrominance filtering only (no luminance)
dr=deringing, al=auto levels and f = fullyrange
in the fullyrange parameter there is a range from 0 to 255 but I don't know which value use, so I'm using the default one
I'm using the command-line of
I read some options in libxbvid codec from libvacodec, including the standard xvid codec (not from libxvid) including the mpeg4 codec vcodec=mpeg4 setting the FourCC code to XVID.Code:c:\mencoder\mencoder.exe video.avi -ovc lavc -lavcopts vcodec=libxvid:vbitrate=640:vpass=1:autoaspect -nosound -o video_proc.avi -ffourcc XVID -vf pp=ha:y:n/va:y:n/dr/al:f c:\mencoder\mencoder.exe video.avi -ovc lavc -lavcopts vcodec=libxvid:vbitrate=640:vpass=2:autoaspect -nosound -o video_proc.avi -ffourcc XVID -vf pp=ha:y:n/va:y:n/dr/al:f
But the video is still having blocks.
I tried using the Deblock filter from Avisynth and I tried using MSU Smart Deblocking and MSU Deblocking filters in VirtualDub and I tried using AutoGK too. Including I tried using the .avs file (avisynth) as input video in mencoder.
But the source AVI file (video.avi) is not blocked and I really need to know how these guys can rip a DVD or reencode a video with low bitrates, like 600, 700kbps, (in my case 640kbps) and the resulting video don't become blocked.
Please, tell me the tricks, some tips or what I'm doing wrong and which command-line parameters should I use.
My thanks, my many thanks to everybody and my best, very best regards to everybody here!
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 5 of 5
Thread
-
-
Originally Posted by BlooderButcher
You have to use a higher bitrate to compensate. You can't expect to reduce the size and keep decent quality, unless you use the original source, or use a better compression method like h264. This was all explained in the other thread. You said xvid q=2 looked fine, but was too big, so try a q=3, or q=4 until you have a balance that is acceptable to you
As for the options, I don't use mencoder so I can't help you there, but I can tell you no amount of filtering or options will help you given the constraints you have placed -
poisondeatray: You helped me a lot in the other thread, thank you man
If I use a quantizer value of 2 or bitrate like 4000kbps and let the file become bigger could I reencode it back to the low bitrate using two passes. Will I lose the quality?
And there are some options in the -xvidencopts to pass to xvid codec in mencoder like these
Code:vhq=2:bvhq=1:chroma_opt:quant_type=mpeg
Could somebody give me a good command line to use in mencoder? :P -
Originally Posted by BlooderButcher
Everytime you re-encode using a lossy codec, you lose "1 more round" of quality. You really, really want to avoid any re-encoding.
I highly doubt mencoder will give you what you want.
If i can recally you wanted to crop and resize? If it's just for playback you can do that in ffdshow without altering the original xvid video (i.e. it crops and resizes while playing back) -
I solved!
Code:c:\mencoder\mencoder.exe video.avi -nosound -ovc xvid -xvidencopts vhq=2:bvhq=1:chroma_opt:quant_type=mpeg:bitrate=640:pass=1:autoaspect -ffourcc DIVX -o video_proc.avi -vf pp=ha:y:n:128:7/va:y:n:128:7/dr c:\mencoder\mencoder.exe video.avi -nosound -ovc xvid -xvidencopts vhq=2:bvhq=1:chroma_opt:quant_type=mpeg:bitrate=640:pass=2:autoaspect -ffourcc DIVX -o video_proc.avi -vf pp=ha:y:n:128:7/va:y:n:128:7/dr
Anyway... thanks to everybody here specially 'poisondeathray'. Maybe in next year I'll be back. See ya!
Hey, "I'll be back", this remember "The Terminator"
Similar Threads
-
Haali Media Splitter, LAV Filters, AV Splitter...How do these filters work?
By Moontrash in forum Software PlayingReplies: 3Last Post: 25th Feb 2012, 18:00 -
MPLAYER pipe to MENCODER possible?
By neapandele in forum Newbie / General discussionsReplies: 0Last Post: 27th Oct 2009, 05:56 -
Conflict between Cyberlink and ffdshow filters
By drwho in forum Software PlayingReplies: 0Last Post: 18th Nov 2008, 17:42 -
MPC Filters (ffdshow, coreAVC)
By blueninja in forum Software PlayingReplies: 2Last Post: 11th Jan 2008, 07:43 -
question about virtualdub resizing filters
By gutsmanx in forum CapturingReplies: 2Last Post: 30th Aug 2007, 12:55