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. |
28th March 2023, 16:11 | #1361 | Link | ||
Registered User
Join Date: Oct 2018
Location: Germany
Posts: 1,002
|
Quote:
And if you go to the last page under Menubar > Options > 'Fonts and colors...' and check 'Video controls color', it will be darker even in normal mode, see post from ErazorTT Quote:
But why this question?
__________________
Live and let live Last edited by gispos; 28th March 2023 at 16:14. |
||
29th March 2023, 16:43 | #1362 | Link |
Registered User
Join Date: Oct 2018
Location: Germany
Posts: 1,002
|
'Dark theme' I have to take up this topic again.
Apparently some have not read the last changelog properly. Code:
Version 2.7.4.1 [2023-03-25] GPo -------------------------- * Added: Options > Font and Colors > 'Video controls', color of video controls can be changed here (Dark theme). Also the tooltips in the color options say two things 'Video controls color' and 'Colorize the video controls and slider side bar' I think I have written it four times here, there are no themes for wxPython (not even for the latest version) and since wxPython uses native OS components some things cannot be changed, neither color nor size. This includes the window splitter's, the tabs, the menu bar, the borders, the context menu and so on... With the status bar only the background can be changed but not the font color. And it also looks pretty 'crappy' when everything is dark at the bottom and light at the top. I tried to get it darker but at the same time still get a visually appealing look. It's an option that you don't necessarily have to turn on. Complaints please to Microsoft, because I can not understand that they complicate the theme so much that sytem files must be hacked to use an application wide theme.
__________________
Live and let live |
3rd April 2023, 13:36 | #1363 | Link |
Registered User
Join Date: Dec 2004
Location: Terneuzen, Zeeland, the Netherlands, Europe, Earth, Milky Way,Universe
Posts: 689
|
No sound in the AvsPmod video preview
I have a question:
When loading a file with audio in AvsPmod, I have no sound in the video preview. When switching to external player (in my case Virtualdub2) there is sound. Is there a solution for this? Thank you in advance, Fred.
__________________
About 8mm film: http://www.super-8.be Film Transfer Tutorial and example clips: https://www.youtube.com/watch?v=W4QBsWXKuV8 More Example clips: http://www.vimeo.com/user678523/videos/sort:newest |
3rd April 2023, 20:47 | #1364 | Link | |
Registered User
Join Date: Oct 2018
Location: Germany
Posts: 1,002
|
Quote:
I also have no starting point how this could be realized, had already started an attempt with a python componente which unfortunately failed. So no audio. An alternative would be someone who knows avisynth audio and writes a DirectSound plugin for avisynth.
__________________
Live and let live Last edited by gispos; 3rd April 2023 at 20:50. |
|
4th April 2023, 10:41 | #1367 | Link |
Registered User
Join Date: Dec 2004
Location: Terneuzen, Zeeland, the Netherlands, Europe, Earth, Milky Way,Universe
Posts: 689
|
I understand.
No big problem because I can check sound with the external player. Fred.
__________________
About 8mm film: http://www.super-8.be Film Transfer Tutorial and example clips: https://www.youtube.com/watch?v=W4QBsWXKuV8 More Example clips: http://www.vimeo.com/user678523/videos/sort:newest |
10th April 2023, 20:04 | #1368 | Link |
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,905
|
Same here. I always use AVSPmod mod to code and when I'm ready and everything, I just drag and drop the script to Virtual Dub filtermod to listen to the sound too and check whether it's in sync or not etc.
It is a bit annoying, I should say, but I consider AVSPmod mod as an IDE for coding purposes, so I can sort of live with that. If one day there will be audio support, even better, but until then, no big deal. I mean, we've been living without audio in AvsP since 2006, it's 2023 and we're thriving, so I guess we can keep coping without it just fine xD |
29th April 2023, 15:00 | #1369 | Link |
Registered User
Join Date: Oct 2018
Location: Germany
Posts: 1,002
|
The first AvsPmod version with audio playback. Don't expect too much from the 4K playback, but there is a useful function 'Audio scrubbing'. See below.
At the moment (I don't know if this will change) the avisynth audio mixer is used for downmix to stereo (I didn't spend any time on own audio downmix code). The need for an audio mixer is: The video output channels can only be directly routed to the device output channels (loudspeakers). But if there are only 2 speakers, no audio can be created. Or if the device output is fixed to 2 speakers, only 2 of maybe 6 channels will be played back. The audio mixer can be turned on or off under Video > Play video > 'Downmix audio'. For faster playback: There is a new option for the 'Resample Filter', you can enter a function after the avisynth resizer separated by a semicolon. As default if the options.dat not existing, a Prefetch(1) is used, so Spline36Resize;Prefetch(1) This gives me 30% more speed when using the 'Resample Filter'. Spline36Resize;sharpen(0.2).Prefetch(1) is also posible but makes it through the additional filter slower. I can playback 4K on a QHD monitor with 'Resample Filter;Prefetch(1)' without audio dropouts (max. ~26 fps). Without resample filter it is not possible. I think with a 4K monitor audio playback with 4K video will not be possible. Use 'Split Clip' (avsp_split) to temporarily turn off all subsequent filters for non-stuttering audio playback. Audio scrubbing: The number of frames to be played can be selected in the context menu of the play button. There is also the function 'Play scrub', which plays the audio of 36 video frames. Even if 'Audio scrubbing' is switched off. This function should work well in conjunction with 'Split View' for an audio synchronous check (original vs. encoded). If 'Split View' is activated, the audio of both clips will be played one after the other. With visual display of the currently used clip. Preview Filter: Audio scrubbing and audio mixer are turned off. So only video with 2 channel audio can be played back in the playback. Or there must be enough device outputs to play all channels. Or you can insert an audio downmix function in the script. It is the first version with audio, time will tell if and what can or must be changed. This audio mixers are used. You can also use your own mixer and add the function to the script, then no downmix will be used in AvsPmod, and the audio will also work with the 'Preview Filter'. Except scrubbing. But I can already hear the screaming when someone forgets to remove their own audio downmix before encoding. Code:
channels >= 8: 'a = ConvertAudioToFloat()' 'flr = Getchannel(a, 1, 2, 3, 4)' 'blr = Getchannel(a, 5, 6)' 'slr = Getchannel(a, 7, 8)' 'sur = MixAudio(blr, slr, 1.0, 1.0)' 'mc = mergechannels(flr, sur)' 'flr = GetChannel(mc, 1, 2)' 'fcc = GetChannel(mc, 3, 3)' 'lrc = MixAudio(flr, fcc, 0.3694, 0.2612)' 'blr = GetChannel(mc, 5, 6)' 'MixAudio(lrc, blr, 1.0, 0.3694)' channels >= 6: 'flr = GetChannel(1, 2)' 'fcc = GetChannel(3, 3)' 'lrc = MixAudio(flr, fcc, 0.3694, 0.2612)' 'blr = GetChannel(5, 6)' 'MixAudio(lrc, blr, 1.0, 0.3694)' channels >= 4: 'flr = GetChannel(1, 2)' 'blr = GetChannel(3, 4)' 'MixAudio(flr, blr, 0.5, 0.5)' channels == 3: 'flr = GetChannel(1, 2)' 'fcc = GetChannel(3, 3)' 'MixAudio(flr, fcc, 0.5858, 0.4142)' For me, the 4 channel output does not work with Win10, so I have only stereo available, I can not check whether really all channels are read and directly forwarded to the output. So if someone has a 6 channel system and hears all 6 channels with the audio mixer turned off, he should let me know so that I no longer have to worry about it.
__________________
Live and let live Last edited by gispos; 6th May 2023 at 22:01. Reason: Pre-Release link removed |
6th May 2023, 14:02 | #1370 | Link |
Registered User
Join Date: Oct 2018
Location: Germany
Posts: 1,002
|
AvsPmod 2.7.4.5
Code:
* Added audio playback, for full Info please read the readme_audio.txt - for faster playback: use 'Split Clip' and put Prefetch after the 'Resample Filter', see below (Options > Resample Filter) * Added audio scrubbing (audio sound while video frame is scrolling) * Added to play button context menu:'Play audio', 'Audio scrubbing', 'Audio scrub count'. * Added to Video > Play video > 'Play audio', 'Play scrub', 'Audio scrubbing', 'Downmix audio' (make a shortcut for 'Play scrub'). * Added to Play button context menu 'Audio volume'. increase/decrease in Decibel. - Note: There is no level limiter, the audio can get clipping. * Added Options > 'Prefetch display conversion' (Test it, I have it enabled). - the function uses Prefetch(2,2) for RGB conversion for the display. - this speeds up the video frame drawing by about 1 to 30% depending on the color format. So also the playback. - if this function is switched on, the prefetch for the 'Resample filter' (see below) is superfluous and therefore not used. * Resample Filter (resample zoom): - it is now posible do use another function after the resample filter, the function must be writen after the resizer separated by a semicolon. - example: Spline36Resize;Prefetch(1) or Spline36Resize;sharpen(0.2).Prefetch(1) is also posible. - use prefetch after the resizer for more playback speed when the 'Resample Filter' is enabled. * The External Player button has got a context menu in which the function of the button can be selected (External Player, Audio scrub). - audio scrub will play min 36 video frames or 48 if audio scrub count 48 * Added Menubar > Options > 'Restore fullscreen', when toggle with the middle mouse button. * Changed color of timeline selection markers for video controls dark theme. * Improved 'Preview Filter' speed a bit. * Fixed drawing snapshot if 'Split View alternate' enabled. * Fixed: rare occurrence when clip frame count is 0 no error handling was done. * Bugfix: 'Fast Clip' ignored 'Toggle Tags' (Filters could not be switched off with 'Toggle Tags'). * Bugfix: Copy new tab * Some other changes
__________________
Live and let live |
7th May 2023, 15:53 | #1371 | Link |
Banana User
Join Date: Sep 2008
Posts: 990
|
What's with this:
Shouldn't the output be mod2 there? EDIT: Similar error in MeGUI, so it's not AvsPmod's fault, strange that it doesn't show error in "red letters" aka Avisynth output. I've posted there: https://forum.doom9.org/showthread.p...01#post1986801
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling Last edited by VoodooFX; 7th May 2023 at 17:14. |
7th May 2023, 17:19 | #1373 | Link |
Banana User
Join Date: Sep 2008
Posts: 990
|
No, I don't want it changed.
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
7th May 2023, 18:52 | #1374 | Link |
Registered User
Join Date: Oct 2018
Location: Germany
Posts: 1,002
|
Then complain to the avisynth developers.
Man, this is an avisynth error message, try this with Planar format Spline36Resize(333, 111)
__________________
Live and let live Last edited by gispos; 7th May 2023 at 18:57. |
8th May 2023, 12:54 | #1375 | Link |
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,905
|
...and just like that, 23 years later, I can stop drag-and-dropping .avs files to VirtualDub.
Thank you, Gispos and farewell VirtualDub, my old friend. EDIT: Houston, we have a problem. Works like a charm on Windows 10 Enterprise x64 22H2 and Windows Sever 2019 x64, however on Windows XP Professional x86 it starts playing the audio and then: in particular, with a simple ColorBars(848, 480, pixel_type="YV12") it fails after a few frames Last edited by FranceBB; 8th May 2023 at 13:08. |
9th May 2023, 23:57 | #1376 | Link |
Big Bit Savings Now !
Join Date: Feb 2007
Location: close to the wall
Posts: 1,546
|
gispos, big hugs !
Finally audio preview, what a nice worrking now.
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain) "Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..." |
10th May 2023, 13:41 | #1378 | Link | |
Registered User
Join Date: Dec 2004
Location: Terneuzen, Zeeland, the Netherlands, Europe, Earth, Milky Way,Universe
Posts: 689
|
Quote:
Thank you Gispos! Fred.
__________________
About 8mm film: http://www.super-8.be Film Transfer Tutorial and example clips: https://www.youtube.com/watch?v=W4QBsWXKuV8 More Example clips: http://www.vimeo.com/user678523/videos/sort:newest |
|
10th May 2023, 17:28 | #1379 | Link | |
Registered User
Join Date: Oct 2018
Location: Germany
Posts: 1,002
|
Quote:
This will be difficult. 1.) Under Win10 64bit there are no problems with the AvsPmod 32bit version for me. 2.) I don't have a 32bit system for testing. What misleads me is that a few sounds are played and then there is an error. I would expect that no sound is heard or that AvsPmod crashes immediately. So wrong pointer or audio can not be created = no sound Buffer size is not correct (too small) = crashes You need to check a few things. 1.) Does the audio scrubbing work? In the context menu of the play button set the scrub count to 1. Set there also Audio scrubbing to on. And now run the video with the right arrow key. What happens? 2) In the context menu of the 'External Player' button select Audio scrub. Does the audio play without error message when you click on the button?
__________________
Live and let live |
|
12th May 2023, 10:56 | #1380 | Link | ||
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,905
|
Quote:
it started playing, I could hear the sound just fine, went on for a few seconds, then: Quote:
What's interesting is that after making it crash, if I try to do it again then it crashes much faster, after just 1 sec. Something fishy is going on here... uhmmmmmmm |
||
|
|