lils000 / xvid4psp

Automatically exported from code.google.com/p/xvid4psp
GNU General Public License v2.0
0 stars 0 forks source link

No audio output when converting video with AAC audio under Windows 7 64 bit. #35

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
There appears to be a serious bug with ALL recent 5.0 releases of XviD4PSP when 
running on 64 bit Windows 7.
When converting a .mp4 or .avi encoded with AAC audio to AC3 the audio track is 
blank (silent). The output audio encoding doesn't make any difference.
Using exactly the same version in Windows XP 32 bit works fine.
I have tried the following versions: 5.10.234.0 (16.4.2011), 5.10.268.0 
(26.10.2011), and 5.10.271.0 (07.11.2011).
It appears to be some sort of issue with avisynth and the bassAudio plugin.
Demux works fine - I can hear the audio
Save to WAV creates a file BUT I get no audio when I play the created file.
Looking at the logs, the SCRIPT section shows that with 64 bit Windows 7, the 
loadplugin(.....bassAudio.dll) line is missing, presumably because the 
import(...AudioFunctions.avs) line failed. Also there is no AudioDub line, 
probably because they is no audio track. 
So, in conclusion, I believe that version 5.10 is unusable in 64 bit windows 7 
if the source file has AAC audio (which is nearly ALL HD video these days). 
Logs files attached below.
Kind regards, Graham R.

================================================================================
=======================
Here we have the log file from Windows 7 64 bit (which created a file with no 
audio)...
===========================================================================

[i]PLATFORM
------------------------------
OS Code: Microsoft Windows NT 6.1.7601 Service Pack 1
OS Name: Windows 7 Ultimate Service Pack 1 (x64)
Framework: 2.0.50727.5448 (v4.0)
AviSynth: AviSynth 2.58 tsp MT version 5(mod seraphy), build:Jul 12 2009 
[07:46:21]
CPU Info: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz (~3310), 4 core(s)
RAM Total: 16364Mb
Language: ENA (1252, ".")
SystemDrive: C:

XviD4PSP
------------------------------
Version: 5.10.234.0
Created: 14.04.2011 01:42:08
AppPath: C:\Program Files (x86)\XviD4PSP 5
TempPath: E:\Temp

FILES
------------------------------
Sample.mp4 >
Sample.avi

TASK
------------------------------
Format: AVI Hardware HD
Duration: 00:00:57:224 (1372)
VideoDecoder: DirectShowSource
Resolution: 1920x864 > 1920x968
Aspect: 1.9753 > 1.9835
VCodecPreset: XviD 2P 3000k Extreme
VEncodingMode: TwoPass
VideoCodec: h264 > XviD (1.2.2)
VideoBitrate: 3172 > 3000
Quality: 0.080 > 0.067
Framerate: 23.976
SourceType: PROGRESSIVE
FieldOrder: UNKNOWN
AEncodingPreset: AC3 384k
AudioCodec: AAC > AC3
AudioBitrate: 404 > 384
Samplerate: 48000
Channels: 6

SCRIPT
------------------------------
import("C:\Program Files (x86)\XviD4PSP 
5\dlls\AviSynth\functions\AudioFunctions.avs")
import("C:\Program Files (x86)\XviD4PSP 
5\dlls\AviSynth\functions\VideoFunctions.avs")

DirectShowSource("E:\Movies\Sample\Sample.mp4", fps=23.976, convertfps=true)

ConvertToYV12()

###[FILTERING]###
###[FILTERING]###

Lanczos4Resize(1920, 968)

AUDIO ENCODING
------------------------------
Encoding audio to: E:\Temp\0005.ac3
AC3 384kbps 6ch 16bit 48000khz

aften.exe: -b 384 - "E:\Temp\0005.ac3"

VIDEO ENCODING
------------------------------
Encoding video to: E:\Temp\0005.avi
XviD 3000kbps 1920x968 23.976fps (1372 frames)

...first pass...

xvid_encraw.exe: -pass1 "E:\Temp\0005_1.log" -vhqmode 4 -bvhq -lumimasking 
-max_bframes 1 -nopacked -threads 6 -i "E:\Temp\0005.avs" -o NUL

Tot: enctime(ms) =80918.00,               length(bytes) =   106329831
Avg: enctime(ms) =  58.94, fps =  16.97, length(bytes) =       77443
I frames:     21 frames, size = 178900/    3756912, quants =  2 / 2.00 /  2
P frames:    723 frames, size = 114151/   82531307, quants =  2 / 2.00 /  2
B frames:    628 frames, size =  31913/   20041612, quants =  4 / 4.00 /  4

...last pass...

xvid_encraw.exe: -pass2 "E:\Temp\0005_1.log" -bitrate 3000 -vhqmode 4 -bvhq 
-lumimasking -max_bframes 1 -nopacked -imin 1 -bmin 1 -pmin 1 -threads 6 -i 
"E:\Temp\0005.avs" -avi "E:\Temp\0005.avi"

Tot: enctime(ms) =117002.00,               length(bytes) =    21877603
Avg: enctime(ms) =  85.22, fps =  11.73, length(bytes) =       15934
I frames:     21 frames, size =  68704/    1442787, quants =  3 / 6.10 /  9
P frames:    723 frames, size =  21094/   15251029, quants =  3 / 10.28 / 13
B frames:    628 frames, size =   8254/    5183787, quants =  9 / 16.76 / 20

MUXING
------------------------------
Video file: E:\Temp\0005.avi
Audio file: E:\Temp\0005.ac3
Muxing to: E:\Movies\Sample\Sample.avi
Please wait...

TIME
------------------------------
Total encoding time: 3 min 21 sec
Out file size is: 23.56 mb[/i]

[i]
================================================================================
=======================
The exact same mp4 vidio file converted on Windows XP 32 bit ....
===========================================================================

PLATFORM
------------------------------
OS Code: Microsoft Windows NT 5.1.2600 Service Pack 3
OS Name: Microsoft Windows XP Service Pack 3 (x32)
Framework: 2.0.50727.3623 (v4.0)
AviSynth: AviSynth 2.58 tsp MT version 5(mod seraphy), build:Jul 12 2009 
[07:46:21]
CPU Info: AMD Phenom(tm) II X6 1090T Processor (~3200), 6 core(s)
RAM Total: 3070Mb
Language: ENA (1252, ".")
SystemDrive: C:

XviD4PSP
------------------------------
Version: 5.10.234.0
Created: 14.04.2011 02:42:08
AppPath: C:\Program Files\XviD4PSP 5
TempPath: d:\TempXVID

FILES
------------------------------
Sample.mp4 >
Sample.avi

TASK
------------------------------
Format: AVI Hardware HD
Duration: 00:00:57:224 (1372)
VideoDecoder: DirectShowSource
Resolution: 1920x864 > 1920x968
Aspect: 1.9753 > 1.9835
VCodecPreset: XviD 2P 3000k Extreme
VEncodingMode: TwoPass
VideoCodec: h264 > XviD (1.2.2)
VideoBitrate: 3172 > 3000
Quality: 0.080 > 0.067
Framerate: 23.976
SourceType: PROGRESSIVE
FieldOrder: UNKNOWN
AudioDecoder: bassAudioSource
AEncodingPreset: AC3 384k
AudioCodec: AAC > AC3
AudioBitrate: 404 > 384
Samplerate: 48000
Channels: 6
Normalize: 100%
Accurate: 10%
Gain: 0.579

SCRIPT
------------------------------
import("C:\Program Files\XviD4PSP 5\dlls\AviSynth\functions\AudioFunctions.avs")
import("C:\Program Files\XviD4PSP 5\dlls\AviSynth\functions\VideoFunctions.avs")
loadplugin("C:\Program Files\XviD4PSP 
5\dlls\AviSynth\plugins\bass\bassAudio.dll")

video = DirectShowSource("D:\XvidWork\Sample.mp4", audio=false, fps=23.976, 
convertfps=true)
audio = bassAudioSource("d:\TempXVID\0686_0.aac")
AudioDub(video, audio)

ConvertToYV12()

###[FILTERING]###
###[FILTERING]###

Lanczos4Resize(1920, 968)

AmplifydB(0.579)

AUDIO ENCODING
------------------------------
Encoding audio to: d:\TempXVID\0686.ac3
AC3 384kbps 6ch 16bit 48000khz

aften.exe: -b 384 - "d:\TempXVID\0686.ac3"

VIDEO ENCODING
------------------------------
Encoding video to: d:\TempXVID\0686.avi
XviD 3000kbps 1920x968 23.976fps (1372 frames)

...first pass...

xvid_encraw.exe: -pass1 "d:\TempXVID\0686_1.log" -vhqmode 4 -bvhq -lumimasking 
-max_bframes 1 -nopacked -threads 8 -i "d:\TempXVID\0686.avs" -o NUL

Tot: enctime(ms) =31594.00,               length(bytes) =      736308
Avg: enctime(ms) =  23.01, fps =  43.46, length(bytes) =         536
I frames:      5 frames, size =  20180/     100900, quants =  2 / 2.00 /  2
P frames:    681 frames, size =    924/     629244, quants =  2 / 2.00 /  2
B frames:    681 frames, size =      9/       6129, quants =  4 / 4.00 /  4
N frames:      5 frames, size =      7/         35

...last pass...

xvid_encraw.exe: -pass2 "d:\TempXVID\0686_1.log" -bitrate 3000 -vhqmode 4 -bvhq 
-lumimasking -max_bframes 1 -nopacked -imin 1 -bmin 1 -pmin 1 -threads 8 -i 
"d:\TempXVID\0686.avs" -avi "d:\TempXVID\0686.avi"

Tot: enctime(ms) =28328.00,               length(bytes) =      736308
Avg: enctime(ms) =  20.63, fps =  48.47, length(bytes) =         536
I frames:      5 frames, size =  20180/     100900, quants =  1 / 1.40 /  2
P frames:    681 frames, size =    924/     629244, quants =  1 / 1.00 /  1
B frames:    681 frames, size =      9/       6129, quants =  2 / 2.00 /  3
N frames:      5 frames, size =      7/         35

MUXING
------------------------------
Video file: d:\TempXVID\0686.avi
Audio file: d:\TempXVID\0686.ac3
Muxing to: D:\XvidWork\Sample.avi
Please wait...

TIME
------------------------------
Total encoding time: 1 min 9 sec
Out file size is: 3.40 mb[/i]

Original issue reported on code.google.com by McQuade...@gmail.com on 27 Nov 2011 at 6:29

GoogleCodeExporter commented 8 years ago
DejaVu.. http://forum.winnydows.com/viewtopic.php?f=2&t=3183#p13157 - I've 
replied to your question here, two weeks ago.

Original comment by forc...@gmail.com on 27 Nov 2011 at 8:34

GoogleCodeExporter commented 8 years ago
I use windows 7 ultimate x64 and I've no problem converting any videos with aac 
audio into something else.
The problem must be on your side, you must have messed up something on your 
windows.

Original comment by Okocha1...@gmail.com on 27 Nov 2011 at 10:01