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 4th April 2023, 04:38   #1161  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 1,959
Quote:
Originally Posted by LigH View Post
I just tried to convert a clip encoded with AV1 and Opus. File Information displays the details. But the audio stream appears to be silent.
Yes. There is a problem with Opus audio decoding.
v0lt is offline   Reply With Quote
Old 6th April 2023, 16:42   #1162  |  Link
blob2500
Registered User
 
Join Date: Sep 2007
Location: Italy
Posts: 25
Quote:
Originally Posted by v0lt View Post
Thanks for this upgrade.

But with this version I get this issue (using caching input driver): mpeg-2 in .mkv doesn't seek; it doesn't see I/K-frames (shift + right/left arrow goes to last/first frame only).

No problem with last official Virtualdub2 (2020) and no problem with h.264/MKV.
blob2500 is offline   Reply With Quote
Old 8th April 2023, 03:36   #1163  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,752
I found another issue with your test build:

On the occasion of the death of the most thanked Flat Earther, Bob Knodel, I downloaded a video from YouTube using yt-dlp, to cut out the "15 degrees per hour drift" meme. But the selected start and end positions of the opened clip were not reliable, neither while exporting it to a separate MP4 file, nor while navigating and playing it in the timeline editor. The audio was async, and the start moved randomly.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 22nd April 2023, 19:24   #1164  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 1,959
VirtualDub2_x64_ffmpeg6.0_test6.7z
I seem to have fixed the problem with OPUS decoding.
It's not clear to me how to solve other problems, the code is very confusing.
v0lt is offline   Reply With Quote
Old 25th April 2023, 21:01   #1165  |  Link
isidroco
Registered User
 
Join Date: Nov 2008
Posts: 34
Quote:
Originally Posted by jpsdr View Post
Yes i have. I can put the file on an ftp server and PM you IP & log information if you want.
Any chance for me to have x64 of DShowInputDriver.vdplugin?
Not needed now, but want to do some comparisons with Caching Input driver. Thanks!
isidroco is offline   Reply With Quote
Old 26th April 2023, 03:53   #1166  |  Link
isidroco
Registered User
 
Join Date: Nov 2008
Posts: 34
Quote:
Originally Posted by poisondeathray View Post
Your screenshot for x265vfw shows DAR width, height, not SAR . Try 16 and 9 .
If the the extra commandline box works, you can enter --sar x:y there instead
Just tested, DAR setting is ignored in x265vfw, but ntsc: "--sar 10:11" or for PAL: "--sar 59:54" will generate 4:3 hevc video.
For 16:9 ntsc/pal use: --sar 40:33 / --sar 16:11
isidroco is offline   Reply With Quote
Old 8th May 2023, 09:30   #1167  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 1,959
Quote:
Originally Posted by isidroco View Post
Any chance for me to have x64 of DShowInputDriver.vdplugin?
http://www.virtualdub.org/beta/DShow...river-0.93.zip
v0lt is offline   Reply With Quote
Old 23rd May 2023, 13:32   #1168  |  Link
nji
Registered User
 
Join Date: Mar 2018
Location: Germany
Posts: 201
Screen Capture: Strange audio desync

I need to make a capture of a coming broadcasted video
and so tried this function of VD2 for the first time.
Doing so I encountered problems, maybe someone can help?

At the beginning the audio is about 1s to early.
In between the audio sounds "strangely wrong"/ swaying.
At the end (abt. 2 min) the audio is much to quick,
the voices sound like Donald Duck, still the audio
sync seems to lessen/ vanish (in opposite to what the
statistic pane says).

I enclose the statistic pan at the end of the video.
(At the beginning it shows a sync error of abt 10ms).

I used lagarith for video compr., and PCM for audio.

My settings (when different from default):
Video - Source:
Panning area = top level client area, Acc. mode = GDI
Video - Set Custom Format = 1280 x 768
Audio - Default Output Loopback (Core Audio)
Capture - Capture Settings: Framerate = 50
(Strange: The statistic pane says 27.3 fps, and the
captured movie is abt. 50 fps; checked framewise: a dupe abt. every 10th)
Capture - Timing: Automatical disable ... (no matter how it's set).

What might be going on here?
Attached Images
 

Last edited by nji; 23rd May 2023 at 13:45.
nji is offline   Reply With Quote
Old 23rd May 2023, 22:38   #1169  |  Link
isidroco
Registered User
 
Join Date: Nov 2008
Posts: 34
Thanks!

Quote:
Originally Posted by nji View Post
Screen Capture: Strange audio desync
Hi nji. Which is the capture card you are using?
Please try these Capture Timing Options:
[x] Drop frames..; [x] Insert null...; Null limit: 10; [x] Sync audio to video...; [x] Correct video timing...; [x] Automatic; Number of audio blocks:30; [x] Force audio clock...

Also try first using Capture Settings: Frame Rate=25 (you may try 50fps later after succeeding with 25).

On Lagarith: Mode YV12; [x] Use Multithreading. Uncheck the rest (Null frames may cause desynch on some programs). YV12 is smaller.
isidroco is offline   Reply With Quote
Old 24th May 2023, 10:38   #1170  |  Link
nji
Registered User
 
Join Date: Mar 2018
Location: Germany
Posts: 201
@isidroco:
Thank you.

Capture card: For screen capture there is no need for a capture card - I don't have any.

Settings: Timing: The settings you suggest are the default ones. With the exception of "Automatic".
That's what I tried - without success.

But meanwhile I tried disabling Resync mode, "Correct" and "Automatic". ==> Audio in sync from start to end!!
So there seems to be a kind of bug (?) in VD2?

Moreover there remains the question about fps (see my first post above).
nji is offline   Reply With Quote
Old 28th May 2023, 09:55   #1171  |  Link
nji
Registered User
 
Join Date: Mar 2018
Location: Germany
Posts: 201
AAC with VBR?

Up to now I mostly used mp4 container for (AVC1, AAC) to have good compatibility.
(Good choice?).
Recently I noticed that AAC in VD2 offers only CBR mode, while most prof movies use VBR mode.
So my (second) question:
Should I use VBR, and how to do that?
(I suspect I need an external codec for it?)
nji is offline   Reply With Quote
Old 28th May 2023, 11:43   #1172  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
No idea if relevant but,
There were always problems in VDub with mp3 VBR,
perhaps problems with *any* VBR is an AVI issue. [EDIT: Or VDub issue]
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 1st June 2023 at 11:55.
StainlessS is offline   Reply With Quote
Old 31st May 2023, 16:27   #1173  |  Link
isidroco
Registered User
 
Join Date: Nov 2008
Posts: 34
Quote:
Originally Posted by nji View Post
...
(Strange: The statistic pane says 27.3 fps, and the
captured movie is abt. 50 fps; ...
I think the key is there, VDub thinks video is 50fps, but it's being captured at 27.3. I just made a test (with defaults settings as shown before), and with 50fps statistics was also 50 A/V was on synch. Maybe your system has a bottleneck that prevents you to reach that fps. Please use VirtualDub64 which is a lot faster. And try slower FPS first.
isidroco is offline   Reply With Quote
Old 31st May 2023, 16:29   #1174  |  Link
isidroco
Registered User
 
Join Date: Nov 2008
Posts: 34
Quote:
Originally Posted by nji View Post
Should I use VBR, and how to do that?
(I suspect I need an external codec for it?)
Learnt the hard way: Never use VBR audio with VDub.
isidroco is offline   Reply With Quote
Old 1st June 2023, 09:06   #1175  |  Link
nji
Registered User
 
Join Date: Mar 2018
Location: Germany
Posts: 201
Thank you for your hints!
nji is offline   Reply With Quote
Old 19th June 2023, 13:32   #1176  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,752
Today I wanted to open an old AVI file with 16 kHz stereo MP3 audio through AviSynth+. VirtualDub2 build 44282 does it. VirtualDub2_x64_ffmpeg6.0_test6 instead:

---------------------------
File open error
---------------------------
FFMPEG: Unsupported channel layout.
---------------------------
OK
---------------------------

I also tried to export it as WAV, 16 bit stereo, 44100 Hz, loading it separately via LwLibavAudioSource and multiplexing it using AudioDub: same issue.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 19th June 2023, 14:13   #1177  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,219
Quote:
Originally Posted by LigH View Post
I also tried to export it as WAV, 16 bit stereo, 44100 Hz, loading it separately via LwLibavAudioSource and multiplexing it using AudioDub: same issue.
Have you tried using good old fashioned AVIMux GUI?
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is online now   Reply With Quote
Old 19th June 2023, 16:30   #1178  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,752
Ehm, I passed the material through AviSynth+, that failed. Both with audio out of an AVI file and with separate audio from WAVSource().AudioDub().
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 22nd June 2023, 18:42   #1179  |  Link
isidroco
Registered User
 
Join Date: Nov 2008
Posts: 34
Quote:
Originally Posted by LigH View Post
Ehm, I passed the material through AviSynth+, that failed. Both with audio out of an AVI file and with separate audio from WAVSource().AudioDub().
Try opening the video with VDub2, and File, Save Audio to a WAV file. Try that .WAV in AviSynth.
isidroco is offline   Reply With Quote
Old 23rd June 2023, 21:37   #1180  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,752
I tested a little more and discovered:

The basic builds of VirtualDub2 (both 32 and 64 bit) usually offer the "Caching input driver" when opening an AVI file but immediately switch to the internal "AVIFile/AviSynth input driver" when I select an AVS file.

The test6 build of VirtualDub2 also offers the "Caching input driver" when opening an AVI file; but when I select an AVS file in the directory listing of the File - Open dialog, it utilises my harddisk heavily for a dozen of seconds, then does not automatically switch to "AVIFile/AviSynth input driver". When I try to open the AviSynth script file with the "Caching input driver", it fails complaining "FFMPEG: Unsupported channel layout."; but when I manually switch to the "AVIFile/AviSynth input driver", the script opens.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH 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 11:04.


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