View Full Version : Avisynth and ffdshow audio problem
cyclopathic
8th July 2007, 15:46
audio disappears in AviSynth when opened as
DirectShowSource("xyz.avi", audio=true)
and ffdshow AC3 codec set up to S/PDIF
file has .ac3 audio
clsid
8th July 2007, 16:18
Set it to liba52.
cyclopathic
9th July 2007, 03:05
Set it to liba52.
then there are problems:
- I have to have 2 different settings: one to play and another to encode
- this setting is not saved with profile when I switch btw encoding and play profiles
- I get PCM 2-channel stream (and I'd like to have AC3 pass through)
tebasuna51
9th July 2007, 09:36
then there are problems:
- I have to have 2 different settings: one to play and another to encode
- this setting is not saved with profile when I switch btw encoding and play profiles
I agree with these problems and also:
- How can guarantee the audio is decoded by ffdshow and not with others ac3 DS filters installed?
- I get PCM 2-channel stream (and I'd like to have AC3 pass through)
I think this is a AviSynth limitation because inside AviSynth the audio can't be compressed. All the audio functions only work with uncompressed audio samples.
If you want preserve the ac3 audio I think you need extract the ac3 before the AviSynth video transformation, and remux with the resultant video.
cyclopathic
9th July 2007, 23:47
I think this is a AviSynth limitation because inside AviSynth the audio can't be compressed. All the audio functions only work with uncompressed audio samples.
If you want preserve the ac3 audio I think you need extract the ac3 before the AviSynth video transformation, and remux with the resultant video.
Problem is I need to re-encode 195 episodes series, can you imagine re-muxing it manually? I'd rather see pass-through..
clsid
13th July 2007, 15:24
You could write a batch file to remux with some command line app like ffmpeg.
S/PDIF sends the compressed audio directly to your audio hardware. It is not a method to "do nothing" and leave the audio stream untouched for the next item in the software chain.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.