[SOLVED] Chipmunk audio with avisynth on some videos
Posted: Sun Jan 19, 2014 8:30 am
Hi. First of all, thank you for that state of the art software that is UMS. I discovered it recently and I find it lovely. I use my main PC to transcode some videos with the truemotion setting, as my living door HTPC is a fanless, low spec PC that can not handle SVP by itselft, so I let my main do the math then UMS stream it to the little HTPC. So far works superb... except that some videos audio is "chipmunked", plays twice as fast as video. It happens when I use avisynth, does not matter interframe is used or not. If I use other engines audio is ok. Avisynth installed is 2.6.0 MT, the one that comes with UMS 3.3.
Also, mkv videos does not show subtitles.
What I tried so far with no luck:
Installing several UMS old versions: 1.1, 1.2.1,2.0,2.5,3.0,3.1,3.2 and the last one 3.3
Installing other avisynth builds with no luck. Errors or same effect as 2.6.0. MT
Upgrading java/drivers
Server running windows 7 x64 with some heavy suites like Adobe CS6, 3dMax and some video utils. K-Lite mega codec pack installed. Comodo security suit installed. All system stable and working ok.
Client is running XBMC, windows 7 x64. Nothing more.
Example videos played that I included in trace log:
[AHQ] Excel Saga - 01 - The Plan To Murder Koshi Rikudo.avi --> Works OK
Mediainfo:
[BB] Black Rock Shooter 01 [BD 720p] [6ED913DE].mkv --> Audio broken chipmunk effect, no subtitles
Mediainfo:
[BB~NF] Ano Natsu de Matteru BDrip 01 [4B547A5A].mkv --> Audio OK, no subtitles
Mediainfo:
[NF] Abenobashi Mahou Shoutengai - 01 [09C45F12].mp4 --> Audio broken chipmunk effect
Mediainfo:
Seems that fail when using avisynth and sound is AAC, but I have to check more videos to be sure.
Any help? Thanks!
Also, mkv videos does not show subtitles.
What I tried so far with no luck:
Installing several UMS old versions: 1.1, 1.2.1,2.0,2.5,3.0,3.1,3.2 and the last one 3.3
Installing other avisynth builds with no luck. Errors or same effect as 2.6.0. MT
Upgrading java/drivers
Server running windows 7 x64 with some heavy suites like Adobe CS6, 3dMax and some video utils. K-Lite mega codec pack installed. Comodo security suit installed. All system stable and working ok.
Client is running XBMC, windows 7 x64. Nothing more.
Example videos played that I included in trace log:
[AHQ] Excel Saga - 01 - The Plan To Murder Koshi Rikudo.avi --> Works OK
Mediainfo:
Code: Select all
General
Complete name : f:\DESCARGAS\MEDIA\[AHQ] Excel Saga - 01 - The Plan To Murder Koshi Rikudo.avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 357 MiB
Duration : 24mn 22s
Overall bit rate : 2 048 Kbps
Writing application : VirtualDubMod 1.5.10.2 (build 2540/release)
Writing library : VirtualDubMod build 2540/release
Video
ID : 0
Format : xvid
Codec ID : xvid
Duration : 24mn 22s
Bit rate : 1 261 Kbps
Width : 640 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate : 23.976 fps
Bits/(Pixel*Frame) : 0.171
Stream size : 220 MiB (62%)
Audio #1
ID : 1
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Codec ID : 55
Codec ID/Hint : MP3
Duration : 24mn 22s
Bit rate mode : Constant
Bit rate : 256 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 44.6 MiB (13%)
Alignment : Aligned on interleaves
Interleave, duration : 42 ms (1.00 video frame)
Interleave, preload duration : 504 ms
Audio #2
ID : 2
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Codec ID : 55
Codec ID/Hint : MP3
Duration : 24mn 22s
Bit rate mode : Constant
Bit rate : 256 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 44.6 MiB (13%)
Alignment : Aligned on interleaves
Interleave, duration : 42 ms (1.00 video frame)
Interleave, preload duration : 504 ms
Audio #3
ID : 3
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Codec ID : 55
Codec ID/Hint : MP3
Duration : 24mn 22s
Bit rate mode : Constant
Bit rate : 256 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 44.6 MiB (13%)
Alignment : Aligned on interleaves
Interleave, duration : 42 ms (1.00 video frame)
Interleave, preload duration : 504 ms
Mediainfo:
Code: Select all
General
Unique ID : 213059387009152552477014185577905872931 (0xA049BECE6E136536BD22B114AA576023)
Complete name : f:\DESCARGAS\MEDIA\[BB] Black Rock Shooter 01 [BD 720p] [6ED913DE].mkv
Format : Matroska
Format version : Version 2
File size : 614 MiB
Duration : 23mn 12s
Overall bit rate : 3 698 Kbps
Movie name : [BB] Black?Rock Shooter 01 [BD 720p]
Encoded date : UTC 2012-09-10 13:05:27
Writing application : mkvmerge v5.4.0 ('Piper') built on Mar 10 2012 13:34:39
Writing library : libebml v1.2.3 + libmatroska v1.3.0
Attachment : Yes / Yes
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High 10@L5.0
Format settings, CABAC : Yes
Format settings, ReFrames : 8 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 23mn 12s
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Scan type : Progressive
Writing library : x264 core 125 r2208 d9d2288
Encoding settings : cabac=1 / ref=8 / deblock=1:-2:-2 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=1.60:0.25 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-4 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=1 / crf=16.0 / qcomp=0.60 / qpmin=0 / qpmax=81 / qpstep=4 / ip_ratio=1.10 / aq=1:0.90
Language : Spanish
Default : Yes
Forced : No
Matrix coefficients : BT.709
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : A_AAC
Duration : 23mn 12s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Language : Japanese
Default : Yes
Forced : No
Text
ID : 3
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Compression mode : Lossless
Language : Spanish
Default : Yes
Forced : No
Menu
00:00:00.000 : es:Avance
00:01:55.032 : es:Parte A
00:10:03.019 : es:Parte B
00:21:26.076 : es:Opening
00:22:57.042 : es:Trailer
Mediainfo:
Code: Select all
General
Unique ID : 242857127040142200311126727098940550775 (0xB6B494D1385D493EB961CE9999406E77)
Complete name : f:\DESCARGAS\MEDIA\[BB~NF] Ano Natsu de Matteru BDrip 01 [4B547A5A].mkv
Format : Matroska
Format version : Version 2
File size : 362 MiB
Duration : 23mn 40s
Overall bit rate mode : Variable
Overall bit rate : 2 136 Kbps
Encoded date : UTC 2012-09-07 13:48:20
Writing application : mkvmerge v5.8.0 ('No Sleep / Pillow') built on Sep 2 2012 15:37:04
Writing library : libebml v1.2.3 + libmatroska v1.3.0
Attachment : Yes / Yes
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High 10@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 9 frames
Muxing mode : Header stripping
Codec ID : V_MPEG4/ISO/AVC
Duration : 23mn 40s
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Scan type : Progressive
Writing library : x264 core 122 r2184 5c85e0a
Encoding settings : cabac=1 / ref=9 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=0.40:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=4 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=6 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=1 / crf=17.0 / qcomp=0.70 / qpmin=0 / qpmax=81 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language : Japanese
Default : Yes
Forced : No
Matrix coefficients : BT.709
Audio
ID : 2
Format : FLAC
Format/Info : Free Lossless Audio Codec
Codec ID : A_FLAC
Duration : 23mn 40s
Bit rate mode : Variable
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Writing library : libFLAC 1.2.1 (UTC 2007-09-17)
Language : Japanese
Default : Yes
Forced : No
Text
ID : 3
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Compression mode : Lossless
Language : Spanish
Default : Yes
Forced : No
Mediainfo:
Code: Select all
General
Complete name : f:\DESCARGAS\MEDIA\[NF] Abenobashi Mahou Shoutengai - 01 [09C45F12].mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 169 MiB
Duration : 24mn 17s
Overall bit rate mode : Variable
Overall bit rate : 974 Kbps
Encoded date : UTC 2008-04-15 22:21:27
Tagged date : UTC 2008-04-15 22:21:27
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L5.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 24mn 17s
Bit rate : 877 Kbps
Maximum bit rate : 9 821 Kbps
Width : 768 pixels
Height : 432 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 24.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.110
Stream size : 152 MiB (90%)
Writing library : x264 core 59 r808M ff5059a
Encoding settings : cabac=1 / ref=4 / deblock=1:0:0 / analyse=0x1:0x131 / me=hex / subme=6 / me-prepass=0 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / chroma_qp_offset=0 / threads=3 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=877 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=1.00 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=2:1.00
Encoded date : UTC 2008-04-14 20:50:36
Tagged date : UTC 2008-04-15 22:21:51
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 24mn 17s
Bit rate mode : Variable
Bit rate : 93.4 Kbps
Maximum bit rate : 101 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 16.2 MiB (10%)
Encoded date : UTC 2008-04-15 22:21:48
Tagged date : UTC 2008-04-15 22:21:51
Seems that fail when using avisynth and sound is AAC, but I have to check more videos to be sure.
Any help? Thanks!
