View Single Post
Old 29th June 2020, 09:26   #4  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 4,829
I may have misdiagnosed a little because I'm an idiot, but here's the result of some more testing. There's three files in the folder.
I kept the script name the same for each test.

3_VTS_12_1 T80 2_0ch 192Kbps DELAY -71ms.ac3
3_VTS_12_1.avs
3_VTS_12_1.d2v

This script causes an error like the one I posted previously for MPC-HC. The external AC3 audio isn't loaded.

LoadPlugin("C:\Program Files\MeGUI\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("D:\3_VTS_12_1.d2v")

The script also results in an audio error.

LoadPlugin("C:\Program Files\MeGUI\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("D:\3_VTS_12_1.d2v")
Colorbars()

This script displays color bars with the tone, or I can switch to the external audio. WTF??

Colorbars()

To up the oddness a bit, if I rename the audio file so it won't auto-load, this script still produces the audio error.

LoadPlugin("C:\Program Files\MeGUI\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("D:\3_VTS_12_1.d2v")
Colorbars()

but after removing ColorBars() the video opens without error, although obviously still without external audio.

I tried the same test after indexing with lsmash instead of DGIndex and the result was the same as before.

I suspect when I tested foobar2000 yesterday I did a stupid and removed most of the video stuff from the script but not MP_Pipeline. Aside from operator error I can't think of a reason why foobar2000 regained the ability to open AVS audio today.

The best defence I can offer for my SMPlayer diagnosis is I don't use it much. Before testing, I must have played an audio-only file and SMPlayer wasn't resizing it's window when opening video, which was apparently opening.... I just couldn't see it until I manually resized the player. Doh!

amayra,
LAV is version 0.70.2.1. It comes bundled with the last XP compatible MPC-HC.

qyot27,
The scripts are the ones above. No audio unless testing with ColorBars. It looks like the fb2k problem was me having a stupid.
Just above the MPC-HC info I posted previously, it says "The following pin(s) failed to find a connectible filter" but I couldn't copy and paste that part. This is today's error when the external audio is auto-loading and ColorBars() is included in the script.

Edit: I tried a script to open the ac3 audio directly with Lsmash. No video. MPC-HC can't open it. fb2k will.

Code:
LAV Splitter Source (internal)::Audio
LAV Audio Decoder (internal)::Output
Audio Switcher::Out

Media Type 0:
--------------------------
Audio: PCM 48000Hz stereo 2304kbps

AM_MEDIA_TYPE: 
majortype: MEDIATYPE_Audio {73647561-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_PCM {00000001-0000-0010-8000-00AA00389B71}
formattype: FORMAT_WaveFormatEx {05589F81-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 6
cbFormat: 40

WAVEFORMATEX:
wFormatTag: 0xfffe
nChannels: 2
nSamplesPerSec: 48000
nAvgBytesPerSec: 288000
nBlockAlign: 6
wBitsPerSample: 24
cbSize: 22 (extra bytes)

WAVEFORMATEXTENSIBLE:
wValidBitsPerSample: 24
dwChannelMask: 0x00000003
SubFormat: {00000001-0000-0010-8000-00AA00389B71}

pbFormat:
0000: fe ff 02 00 80 bb 00 00 00 65 04 00 06 00 18 00 þÿ..€»...e......
0010: 16 00 18 00 03 00 00 00 01 00 00 00 00 00 10 00 ................
0020: 80 00 00 aa 00 38 9b 71                         €..ª.8›q


Media Type 1:
--------------------------
Audio: PCM 48000Hz stereo 1536kbps

AM_MEDIA_TYPE: 
majortype: MEDIATYPE_Audio {73647561-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_PCM {00000001-0000-0010-8000-00AA00389B71}
formattype: FORMAT_WaveFormatEx {05589F81-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 4
cbFormat: 18

WAVEFORMATEX:
wFormatTag: 0x0001
nChannels: 2
nSamplesPerSec: 48000
nAvgBytesPerSec: 192000
nBlockAlign: 4
wBitsPerSample: 16
cbSize: 0 (extra bytes)

pbFormat:
0000: 01 00 02 00 80 bb 00 00 00 ee 02 00 04 00 10 00 ....€»...î......
0010: 00 00                                           ..

Last edited by hello_hello; 29th June 2020 at 10:04.
hello_hello is offline   Reply With Quote