bababm
24th June 2011, 12:55
Hello experts,
here is my avisynth script, say sample.avs
DirectShowSource("D:\sample.mp4",fps=15,convertfps=true,pixel_type="YV12")
By using the avisynth and FFmpeg batch script,
I convert the audio to amr format like this
ffmpeg.exe -i "sample.avs" -ar 8000 -ac 1 -ab 12.2k -vol 512 output.amr
The conversion flow works fine on my Windows XP.
Unfortunately, the same process cannot work on Windows 7, because avisynth source filter outputs 6 channels audio, and FFmpeg cannot convert 6 channels to mono.
I also try to change my avisynth script by default to output mono
DirectShowSource("D:\sample.mp4",fps=15,convertfps=true,pixel_type="YV12").convertTomono()
However, it works on Windows XP and fails on Windows 7.
The speed of audio is too fast on Windows 7.
By using GraphEdit, I found quartz.dll is the root cause.
Therefore, I copy my quartz.dll from Windows XP to overwrite that in Windows 7. It seems feasible now. However, I think it is workaround. That might introduce another problem.
Does anyone know the real reason?
here is my avisynth script, say sample.avs
DirectShowSource("D:\sample.mp4",fps=15,convertfps=true,pixel_type="YV12")
By using the avisynth and FFmpeg batch script,
I convert the audio to amr format like this
ffmpeg.exe -i "sample.avs" -ar 8000 -ac 1 -ab 12.2k -vol 512 output.amr
The conversion flow works fine on my Windows XP.
Unfortunately, the same process cannot work on Windows 7, because avisynth source filter outputs 6 channels audio, and FFmpeg cannot convert 6 channels to mono.
I also try to change my avisynth script by default to output mono
DirectShowSource("D:\sample.mp4",fps=15,convertfps=true,pixel_type="YV12").convertTomono()
However, it works on Windows XP and fails on Windows 7.
The speed of audio is too fast on Windows 7.
By using GraphEdit, I found quartz.dll is the root cause.
Therefore, I copy my quartz.dll from Windows XP to overwrite that in Windows 7. It seems feasible now. However, I think it is workaround. That might introduce another problem.
Does anyone know the real reason?