asarian
28th January 2009, 20:08
Please, consider the following simple avs script:
video=DirectShowSource("M:\burn\killbill1.m2ts",audio=false).ConvertToYV12()
video=Crop(video, 0, 140, 0, -140)
Loadplugin("C:\Program Files\AviSynth 2.5\plugins\VSFilter\VSFilter.dll")
video=TextSub(video,"C:\video\killbill1.ass",-1,23.976)
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\NicAudio\NicAudio.dll")
audio=NicAC3Source("C:\video\killbill1.ac3")
AudioDub(video,audio)
ConvertToRGB
This method has always worked flawlessly. But now I'm getting a silly audio error (ACM wrapper::Output):
"Media Player Classic could not render some of the pins in the graph."
Stream 2
ACM Wrapper
--------------------
MEDIA TYPE 0:
--------------------
[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: 12
cbFormat: 18
[WAVEFORMATEX]
wFormatTag: 0x0001
nChannels: 6
nSamplesPerSec: 48000
nAvgBytesPerSec: 576000
nBlockAlign: 12
wBitsPerSample: 16
And then keeps blabbing it can't find a codec to play my PCM audio? Excuse me?! It's AC3 audio, not PCM! (I double-checked). I used AviSynth 2.5.7, 2.5.8 too, the latest Haali media splitter + ffdshow, but nothing makes a difference. Any way I can fix this? (whatever is causing it). Or does anyone know how to troubleshoot this further?
video=DirectShowSource("M:\burn\killbill1.m2ts",audio=false).ConvertToYV12()
video=Crop(video, 0, 140, 0, -140)
Loadplugin("C:\Program Files\AviSynth 2.5\plugins\VSFilter\VSFilter.dll")
video=TextSub(video,"C:\video\killbill1.ass",-1,23.976)
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\NicAudio\NicAudio.dll")
audio=NicAC3Source("C:\video\killbill1.ac3")
AudioDub(video,audio)
ConvertToRGB
This method has always worked flawlessly. But now I'm getting a silly audio error (ACM wrapper::Output):
"Media Player Classic could not render some of the pins in the graph."
Stream 2
ACM Wrapper
--------------------
MEDIA TYPE 0:
--------------------
[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: 12
cbFormat: 18
[WAVEFORMATEX]
wFormatTag: 0x0001
nChannels: 6
nSamplesPerSec: 48000
nAvgBytesPerSec: 576000
nBlockAlign: 12
wBitsPerSample: 16
And then keeps blabbing it can't find a codec to play my PCM audio? Excuse me?! It's AC3 audio, not PCM! (I double-checked). I used AviSynth 2.5.7, 2.5.8 too, the latest Haali media splitter + ffdshow, but nothing makes a difference. Any way I can fix this? (whatever is causing it). Or does anyone know how to troubleshoot this further?