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. |
![]() |
#1161 | Link |
Registered User
Join Date: Dec 2008
Posts: 1,886
|
Yes. There is a problem with Opus audio decoding.
__________________
MPC-BE 1.6.9 and Nightly builds | VideoRenderer | ImageSource | ScriptSource | BassAudioSource |
![]() |
![]() |
![]() |
#1162 | Link | |
Registered User
Join Date: Sep 2007
Location: Italy
Posts: 18
|
Quote:
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. |
|
![]() |
![]() |
![]() |
#1163 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,688
|
I found another issue with your test build:
On the ![]() |
![]() |
![]() |
![]() |
#1164 | Link |
Registered User
Join Date: Dec 2008
Posts: 1,886
|
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.
__________________
MPC-BE 1.6.9 and Nightly builds | VideoRenderer | ImageSource | ScriptSource | BassAudioSource |
![]() |
![]() |
![]() |
#1166 | Link | |
Registered User
Join Date: Nov 2008
Posts: 34
|
Quote:
For 16:9 ntsc/pal use: --sar 40:33 / --sar 16:11 |
|
![]() |
![]() |
![]() |
#1167 | Link |
Registered User
Join Date: Dec 2008
Posts: 1,886
|
__________________
MPC-BE 1.6.9 and Nightly builds | VideoRenderer | ImageSource | ScriptSource | BassAudioSource |
![]() |
![]() |
![]() |
#1168 | Link |
Registered User
Join Date: Mar 2018
Location: Germany
Posts: 184
|
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? Last edited by nji; 23rd May 2023 at 13:45. |
![]() |
![]() |
![]() |
#1169 | Link | |
Registered User
Join Date: Nov 2008
Posts: 34
|
Quote:
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. |
|
![]() |
![]() |
![]() |
#1170 | Link |
Registered User
Join Date: Mar 2018
Location: Germany
Posts: 184
|
@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). |
![]() |
![]() |
![]() |
#1171 | Link |
Registered User
Join Date: Mar 2018
Location: Germany
Posts: 184
|
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?) |
![]() |
![]() |
![]() |
#1172 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,812
|
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. |
![]() |
![]() |
![]() |
#1173 | Link |
Registered User
Join Date: Nov 2008
Posts: 34
|
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.
|
![]() |
![]() |
![]() |
#1176 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,688
|
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. |
![]() |
![]() |
![]() |
#1177 | Link |
Life's clearer in 4K UHD
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,160
|
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 |
|
![]() |
![]() |
![]() |
#1180 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,688
|
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. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|