Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > VirtualDub, VDubMod & AviDemux

Reply
 
Thread Tools Search this Thread Display Modes
Old 31st May 2010, 12:05   #1521  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by dbmaxpayne View Post
Another question: I just to opened a DV avi and tried to add a denoiser. Unfortunately denoise3d and hqdn3d don't seem to do anything.
How do you come to the conclusion that they "don't do anything" ???

Are you sure you looked at the filtered output? In the main window Avidemux shows the unprocessed input by default

So you need to switch to the "output" view first in order to judge the result of a filter!

(Furthermore applying filters isn't possible in "Copy" or "Requant" mode. You must re-encode the video, if you intend to apply filters)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 31st May 2010, 12:16   #1522  |  Link
dbmaxpayne
Registered User
 
Join Date: May 2007
Posts: 26
Quote:
How do you come to the conclusion that they "don't do anything" ???
Because I clicked the preview-button and there was nothing filtered :-)
Only "Median" seems to do anything.. strange

Like I said I had to convert the colorspace to get convolution3d to work in my AVS scripts.
Is there a way to convert to to different color spaces in Avidemux?

I just checked the admlog.txt and it seems that the encoder is completely ignoring the most of my settings. For example subme is simply set to 2 and me is set to dia, but I set it to tesa.
Why is this? Is this some kind of fast-firstpass thing? If so, can I deativate it?

Mark
dbmaxpayne is offline   Reply With Quote
Old 31st May 2010, 12:42   #1523  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by dbmaxpayne View Post
Because I clicked the preview-button and there was nothing filtered :-)
Only "Median" seems to do anything.. strange
Well, denoise filters work subtle. Maybe you didn't look hard enough. Median is an extremely strong smoothing/flattening filter.

HQDN3D definitely does "something"

Quote:
Originally Posted by dbmaxpayne View Post
Like I said I had to convert the colorspace to get convolution3d to work in my AVS scripts.
Is there a way to convert to to different color spaces in Avidemux?
There are various "color" filters available from the Video Filter Manager. If none of them does what you need, you can still use Avisynth input...

Quote:
Originally Posted by dbmaxpayne View Post
I just checked the admlog.txt and it seems that the encoder is completely ignoring the most of my settings. For example subme is simply set to 2 and me is set to dia, but I set it to tesa.
If you looked at the settings used for the first pass of a Two-Pass encode, then what you saw is 100% as expected.

Quote:
Originally Posted by dbmaxpayne View Post
Why is this? Is this some kind of fast-firstpass thing? If so, can I deativate it?
Exactly. And you neither can nor want to "deactivate" it. The x264 CLI encoder does the same - for a good reason

Remember: We throw away the output from the first pass anyway. All we re-use for the second pass (i.e. the final output) is the "stats" file created during the first pass.

Thus lowering settings for the first pass that don't effect the information in the "stats" file will NOT degrade the final result. But it saves a lot of time!
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 31st May 2010 at 12:47.
LoRd_MuldeR is offline   Reply With Quote
Old 31st May 2010, 12:50   #1524  |  Link
dbmaxpayne
Registered User
 
Join Date: May 2007
Posts: 26
Quote:
Originally Posted by LoRd_MuldeR View Post
Well, denoise filters work subtle. Maybe you didn't look hard enough. Median is an extremely strong smoothing/flattening filter.
Hmm I'm quite sure that there isn't done anything. Its an extremely noisy source so I should see if its processed or not.
However, I will try Avisynth input.



Quote:
Originally Posted by LoRd_MuldeR View Post
Exactly. And you neither can nor want to "deactivate" it. The x264 CLI encoder does the same - for a good reason

Remember: We throw away the output from the first pass anyway. All we re-use for the second (final) pass is the "stats" file.

Lowering settings that don't effect the information in the "stats" file will NOT degrade the final result. But it saves a lot of time!
Ok, but if nothing is changed within the stats file when using fast-firstpass, why does x264-cli use --slow-firstpass in placebo mode? Wouldn't that be totally useless?

EDIT: I just encoded a short test clip and it actually MAKES a difference in stats/mbtree file when encoding with --slow-firstpass and without it.

Last edited by dbmaxpayne; 31st May 2010 at 13:15. Reason: testing
dbmaxpayne is offline   Reply With Quote
Old 31st May 2010, 13:23   #1525  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by dbmaxpayne View Post
Ok, but if nothing is changed within the stats file when using fast-firstpass, why does x264-cli use --slow-firstpass in placebo mode? Wouldn't that be totally useless?
The "placebo" preset, as the name implies, does useless things. It uses insanely slow settings, even if the benefit is zero or near-zero.

You should understand the "placebo" preset as something that tells you which settings NOT to use for any real work

Quote:
Originally Posted by dbmaxpayne View Post
EDIT: I just encoded a short test clip and it actually MAKES a difference in stats/mbtree file when encoding with --slow-firstpass and without it.
How does it make a difference?

Did you actually make two separate 2-Pass encodes (one made with "--slow-firstpass", one made without) from the same source and compare them visually ???

(Please don't tell me you diff'ed the stats file and concluded anything from that ^^)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 31st May 2010 at 13:25.
LoRd_MuldeR is offline   Reply With Quote
Old 31st May 2010, 13:46   #1526  |  Link
dbmaxpayne
Registered User
 
Join Date: May 2007
Posts: 26
Quote:
Originally Posted by LoRd_MuldeR View Post
(Please don't tell me you diff'ed the stats file and concluded anything from that ^^)
Of course I did it like that :-D :-D Because you said it would not affect the "information in the stats file" I thought I could do it like that^^

Just did a second pass with --ssim

stats/mbtree/bitrate/ssim
standard: 96kb/1327kb/1517.26/0.9904520
--slow-firstpass: 126kb/1351kb/1509.02/0.9904939

So my conclusion: It actually DOES make a difference, even if it may be nigligible :-)
But since encoding time is not a problem for me, I will still use --preset placebo for encoding.
But you said there is no way for me to use --slow-firstpass in avidemux?

Last edited by dbmaxpayne; 31st May 2010 at 13:48. Reason: mixed standard and slow-firstpass
dbmaxpayne is offline   Reply With Quote
Old 31st May 2010, 14:06   #1527  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by dbmaxpayne View Post
Of course I did it like that :-D :-D Because you said it would not affect the "information in the stats file" I thought I could do it like that^^
If you compare the "raw" bits stored in the stats file, then there probably will be a difference. But just because two stats files aren't bit-identical, you can not make any conclusions about the actual effect on the final output from that! Most likely the difference is just random noise and won't have any (noteworthy) impact on the final result.

Quote:
Originally Posted by dbmaxpayne View Post
Just did a second pass with --ssim

stats/mbtree/bitrate/ssim
standard: 96kb/1327kb/1517.26/0.9904520
--slow-firstpass: 126kb/1351kb/1509.02/0.9904939

So my conclusion: It actually DOES make a difference, even if it may be nigligible :-)
The difference is negligible

SSIM is far away from being a reliable quality indicator. It very roughly predicts the subjective quality, but you cannot rely on that! Also with Psy-optimizations enabled (and I assume you had them enabled), the SSIM values are even less useful. That's because Psy-optimizations hurt SSIM, although a human being can easily see that they improve the visual quality.

So sometimes a worse SSIM means better quality! With such an inaccurate quality metric (and no existing quality metric is accurate), a tiny difference of 0.00004 certainly does not imply a visual difference!

If the difference was like ~0.1 then I would take care. But your results are far away from that.

(Also note that the minor difference in file size is expected. x264 intentionally doesn't hit the target file size 100% accurate, because enforcing this would hurt quality)

Quote:
Originally Posted by dbmaxpayne View Post
But since encoding time is not a problem for me, I will still use --preset placebo for encoding.
Well, it's your decision to waste your time for zero benefit then. I cannot stop you from shooting yourself into the foot

Quote:
Originally Posted by dbmaxpayne View Post
But you said there is no way for me to use --slow-firstpass in avidemux?
Use an unpatched build of libx264. But then Psy-Trellis will be gone too, of course.

Or even better: Complain about this at the Avidemux forum, until the Avidemux developers finally add a proper "fast-firstpass" option, so I don't need to patch the builds any more.

(I have suggested this about a dozen times, but so far nobody seems to care...)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 31st May 2010 at 14:49.
LoRd_MuldeR is offline   Reply With Quote
Old 31st May 2010, 14:44   #1528  |  Link
dbmaxpayne
Registered User
 
Join Date: May 2007
Posts: 26
Thanks for your explanations :-)

I've requested the feature here:
http://avidemux.org/admForum/viewtop...d=44104#p44104

btw: Just saw that you're from germany. Where are you from? :-)
dbmaxpayne is offline   Reply With Quote
Old 1st June 2010, 23:32   #1529  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Avidemux 2.5.3 r6288 (2010-06-01)
http://www.avidemux.org/

Quote:
6288 - [win32] add batch file to win32 sdk for building Qt translations
6287 - [win32] build script tweaks
6286 - [i18n] German translation update for Qt by Lance
6285 - [x264] support for fast first pass
6278 - [x264] add support for periodic intra refresh
6277 - [win32] add German translation for Qt to Win32 installer
6276 - [i18n] don't filter out duplicates from Qt UI strings since they have their own translation context
6275 - [i18n] update ts files using Qt 4.5.3 (Qt 4.6.x is currently broken)
6274 - [i18n] German translation update for Qt by Lance
6273 - [i18n] mark XSLT file as a CMake dependency so it triggers a recompile of TS files when it changes
6261 - [win32] bundle i18n files in sdk
Download Mirror #1: http://mulder.dummwiedeutsch.de/
Download Mirror #2: http://avidemux.razorbyte.com.au/
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 3rd June 2010, 00:19   #1530  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
libx264 SVN-r1627:
libx264 SVN-r1627 with AutoVAQ enabled:
libx264 SVN-r1627 library pack:
These builds will NOT work with Avidemux 2.5.2 or older. Please update to Avidemux 2.5.3 r6288 or later now!

Note: No more "fast first-pass" patch needed, because Avidemux exposes this an option now, finally.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 4th June 2010, 11:49   #1531  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
libx264 SVN-r1629:
libx264 SVN-r1629 with AutoVAQ enabled:
libx264 SVN-r1629 library pack:
These builds will NOT work with Avidemux 2.5.2 or older. Please update to Avidemux 2.5.3 r6288 or later now!

Note: libx264 r1629 fixes a regression introduced in r1627. Update is highly recommended!
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 6th June 2010, 13:32   #1532  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Avidemux 2.5.3 r6303 (2010-06-04)
http://www.avidemux.org/

Quote:
6303 - [prefs] save Recent Projects properly
6302 - [Qt] Add check to avoid invalid access
6301 - [auto] Fix Pal/NTSC swap in auto DVD/SVCD/VCD, thanks to Andreas W
6300 - [i18n] German translation update for Qt by Lance
6299 - [i18n] enable translations for various Qt dialogs
6298 - [QT4] Add contextual menu to filters
6293 - [i18n] fix Qt dialogFactory controls for translation
6292 - [i18n] Italian translation update for GTK+ & Qt by zoppo
6291 - [i18n] traverse through all location tags to safely ignore translation contexts containing Qt UI strings
6288 - [win32] add batch file to win32 sdk for building Qt translations
Download Mirror #1: http://mulder.dummwiedeutsch.de/
Download Mirror #2: http://avidemux.razorbyte.com.au/
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 8th June 2010, 20:48   #1533  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Avidemux 2.5.3 r6340 (2010-06-07)
http://www.avidemux.org/

Quote:
6340 - [win32] package additional header file in win32 sdk
6339 - [ffmpeg] update FFmpeg to r23514 & libswscale to r31344
6338 - [i18n] translate strings in auto wizards
6335 - [i18n] include auto scripts in translation file generation
6332 - [i18n] make translation context of Qt main filter dialog more appropriate
6331 - [js] make QT_TR_NOOP function available to javascript
6330 - [i18n] fix double quotes in blend remover plugin
6329 - [i18n] unix compilation fix
6325 - [i18n] exclude UI strings from duplicate checking and skip Qt aware source files from filtering
6324 - [i18n] disable Qt i18n functions for asharp and chroma shift plugins since they're UI neutral
6323 - [i18n] let Qt plugins take care of themselves for i18n
6322 - [i18n] let Qt dialogs take care of themselves for i18n
6321 - [i18n] make time function translatable
6320 - [flv] Read mixed array
6303 - [prefs] save Recent Projects properly
Download Mirror #1: http://mulder.dummwiedeutsch.de/
Download Mirror #2: http://avidemux.razorbyte.com.au/
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 13th June 2010, 23:25   #1535  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Avidemux 2.5.3 r6370 (2010-06-13)
http://www.avidemux.org/

Quote:
Revision 6370 (13 Jun 2010)
# Added libvpx, git version (commit: 5ef25a9728507d259c6ccd05064ce1208e7abd9f).
# Updated x264 to r1624.
Quote:
6370 - [qt] increase minimum Qt version to 4.5
6369 - [Codec] quick n dirty vpx support (from 2.6)
6368 - [MKV] Recognize VP8 in mkv (from 2.6)
6366 - [JS] Avoid double fclose()
6365 - [Auto] Working PSP
6362 - [x264] Fix preset for ipod1
6356 - [qt] prompt to abort encoding if encoding window is closed (fixes #73)
6355 - [js] pass file handle instead of file name to Spidermonkey so Avidemux file funcs are used (fixes #86)
6354 - [dib] flip DIB video when required (fixes #67)
6353 - [auto] drop dead auto wizards
6352 - [win32] tweak build scripts
6351 - [i18n] make Custom labels independently translatable for Qt
6350 - [i18n] German translation update for Qt by Lance
6349 - [i18n] Italian translation update for GTK+ & Qt by zoppo
6348 - [i18n] use dummy strings to translate auto wizard menu - this should probably be automatically generated but it will do for now
6343 - [i18n] load avidemux translation before qt translation so avidemux translation takes precedence
6342 - [i18n] remove static translation of yes/no for properties window - happens too early
6340 - [win32] package additional header file in win32 sdk
Download Mirror #1: http://mulder.dummwiedeutsch.de/
Download Mirror #2: http://avidemux.razorbyte.com.au/
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 14th June 2010, 03:08   #1536  |  Link
Yobbo
Registered User
 
Join Date: Dec 2004
Posts: 145
Quote:
Originally Posted by dbmaxpayne View Post
Hmm I'm quite sure that there isn't done anything. Its an extremely noisy source so I should see if its processed or not.
However, I will try Avisynth input.
It would be nice to have a way to toggle the preview for filters on/off, so we can see clearly the filter results.

I like Avidemux very much tho', it's quite a lovely thing!
Yobbo is offline   Reply With Quote
Old 14th June 2010, 19:41   #1537  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by Yobbo View Post
It would be nice to have a way to toggle the preview for filters on/off, so we can see clearly the filter results.

I like Avidemux very much tho', it's quite a lovely thing!
What prevents you from switching between the "Input" (unfiltered original) and the "Output" (filtered video) view at any time you like?
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 14th June 2010, 20:01   #1538  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
libx264 SVN-r1643:
libx264 SVN-r1643 with AutoVAQ enabled:
libx264 SVN-r1643 library pack:
These builds will NOT work with Avidemux 2.5.2 or older. Please update to Avidemux 2.5.3 r6370 or later now!

Re-compiled libx264 as core-97 for compatibility with Avidemux r6370 and later. Also using "force_align_arg_pointer" again.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 14th June 2010, 21:42   #1539  |  Link
Yobbo
Registered User
 
Join Date: Dec 2004
Posts: 145
Quote:
Originally Posted by LoRd_MuldeR View Post
What prevents you from switching between the "Input" (unfiltered original) and the "Output" (filtered video) view at any time you like?
Well you have to exit the filters window. Would be cool to have a toggle actually in the filter's preview window.
Yobbo is offline   Reply With Quote
Old 14th June 2010, 21:47   #1540  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by Yobbo View Post
Well you have to exit the filters window. Would be cool to have a toggle actually in the filter's preview window.
That's why the "preview" windows of some (most?) filters are split into two halves. Left half shows original, right half shows filtered.

As an example for this, the "ASharp" filter comes to my mind...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump


All times are GMT +1. The time now is 07:50.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.