View Full Version : CoreAVC and sound delay on 1080p content
artisticcheese
11th November 2008, 02:07
Hello,
I have 2-3 s sound delay when playing 1080p content in Media Portal. 720p and 1080i content is played fine. What can be the reason?
Sharktooth
11th November 2008, 03:24
Q: my PC doesnt boot but it starts. what can be the reason?
A: too many to list. be more specific and add more info...
artisticcheese
11th November 2008, 03:47
I have dual core AMD 2200 processor. 7600 GS Nvidia video card. I use Media Portal application which in turn uses CoreAVC for video decoding and SPIDF for audio output. When playing 1080p video, both CPUs are about 65% busy and sound is delay 2-3s. I can play video and sound find in VLC but not via Media Portal or Windows Media Player. 720p and 1080i content is being played fine. All this is for H264 encoded content.
What other information is helpfull.
Sharktooth
11th November 2008, 03:50
coreavc version?
did you test it with other players like, for example, MPC?
artisticcheese
11th November 2008, 04:04
MPC having the same issue. CoreAVC is 1.8.5.0
Sharktooth
11th November 2008, 04:16
it could be a problem with coreavc then.
i dont use it though... so i cant tell.
try a different video decoder and see if it gets better.
btw, is the delay present in ALL 1080p videos?
squid_80
11th November 2008, 05:24
Before we start blaming the video decoder, how about some information on the audio (which is the stream with the problem, since it's lagging)? What format is it? Which codec is being used to decode? How is it being output over SPDIF (raw or AC3)? What container and what splitter are being used?
Sharktooth
11th November 2008, 16:11
the lagging depends on the video. 720p and 1080i = audio OK, 1080p = audio off synch.
so, it's not an audio problem but something related to the video.
LoRd_MuldeR
11th November 2008, 16:13
the lagging depends on the video. 720p and 1080i = audio OK, 1080p = audio off synch.
so, it's not an audio problem but something related to the video.
Are we sure that his 720p/1080i sample uses the exactly same audio format as his 1080p sample?
Unless we are sure here, I'd suspect the audio decoder...
Also: If one file is 1080i @ 25fps and the other is 1080p @ 50fps (bobbed), the latter will take more CPU cycles to decode, which might explain the audio desync.
(However if it's 1080i @ 25 fps -vs- 1080p @ 25 fps, then the latter should be even easier to decode)
artisticcheese
11th November 2008, 16:21
Are we sure that his 720p/1080i sample uses the exactly same audio format as his 1080p sample?
Unless we are sure here, I'd suspect the audio decoder...
Also: If one file is 1080i @ 25fps and the other is 1080p @ 50fps (bobbed), the latter will take more CPU cycles to decode, which might explain the audio desync...
I use Matroshka splitter. Audio is output via SPIDF with no decoding.
Here is information about 720p while is played fine.
General
Complete name : D:\movies\isabella\american cartoons\Barnyard.mkv
Format : Matroska
File size : 2.97 GiB
Duration : 1h 25mn
Overall bit rate : 4 957 Kbps
Encoded date : UTC 2008-04-11 08:45:31
Writing application : mkvmerge v2.1.0 ('Another Place To Fall') built on Aug 19 2007 13:40:07
Writing library : libebml v0.7.7 + libmatroska v0.8.1
Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Muxing mode : Container profile=Unknown@4.1
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 25mn
Bit rate : 2 954 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16/9
Frame rate : 25.000 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Language : English
Audio #1
Format : AC-3
Format/Info : Audio Coding 3
Codec ID : A_AC3
Duration : 1h 25mn
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Title : AC3 at 448 Kbps
Language : Russian
Audio #2
Format : AC-3
Format/Info : Audio Coding 3
Codec ID : A_AC3
Duration : 1h 25mn
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Title : AC3 at 448 Kbps
Language : Russian
Audio #3
Format : AC-3
Format/Info : Audio Coding 3
Codec ID : A_AC3
Duration : 1h 25mn
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Title : AC3 at 448 Kbps
Language : Ukrainian
Audio #4
Format : AC-3
Format/Info : Audio Coding 3
Codec ID : A_AC3
Duration : 1h 25mn
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Title : AC3 at 448 Kbps
Language : English
Here is information about 1080p with audio sync problem
General
Complete name : D:\movies\to be seen\Then.She.Found.Me.2007.1080p.Bluray.DTS.x264-iLL.mkv
Format : Matroska
File size : 8.90 GiB
Duration : 1h 40mn
Overall bit rate : 12.7 Mbps
Encoded date : UTC 2008-10-26 16:34:32
Writing application : mkvmerge v2.1.0 ('Another Place To Fall') built on Aug 19 2007 13:40:07
Writing library : libebml v0.7.7 + libmatroska v0.8.1
Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.0
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Muxing mode : Container profile=Unknown@5.0
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 40mn
Bit rate : 9 993 Kbps
Nominal bit rate : 10.5 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16/9
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.212
Writing library : x264 core 64 r994M b35a044
Encoding settings : cabac=1 / ref=5 / deblock=1:-3:-3 / analyse=0x3:0x133 / me=umh / subme=7 / psy_rd=1.0:0.0 / brdo=1 / mixed_ref=1 / me_range=26 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=6 / nr=0 / decimate=1 / mbaff=0 / bframes=16 / 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=10549 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:0.80
Language : English
Audio #1
Format : AC-3
Format/Info : Audio Coding 3
Codec ID : A_AC3
Duration : 1h 40mn
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Title : Дубляж
Language : Russian
Audio #2
Format : DTS
Format/Info : Digital Theater Systems
Codec ID : A_DTS
Duration : 1h 40mn
Bit rate mode : Constant
Bit rate : 1 536 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Resolution : 24 bits
Language : English
Audio #3
Format : AC-3
Format/Info : Audio Coding 3
Format profile : Dolby Digital
Codec ID : A_AC3
Duration : 1h 40mn
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48.0 KHz
Language : English
Text
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Language : English
LoRd_MuldeR
11th November 2008, 16:25
First file is 720p @ 25 fps encoded at H.264 (High@L4.1) and it has AC-3 audio tracks only.
Second file is 1080p @ 23.976 fps encoded at H.264 (High@L5.0) and it has AC-3 audio tracks as well as DTS tracks.
Are you 100% sure it isn't a AC-3 -vs- DTS problem? (I'd try re-muxing and use only one single AC-3 track per file)
Sharktooth
11th November 2008, 16:26
please post the 1080i file info too.
artisticcheese
11th November 2008, 16:43
First file is 720p @ 25 fps encoded at H.264 (High@L4.1) and it has AC-3 audio tracks only.
Second file is 1080p @ 23.976 fps encoded at H.264 (High@L5.0) and it has AC-3 audio tracks as well as DTS tracks.
Are you 100% sure it isn't a AC-3 -vs- DTS problem? (I'd try re-muxing and use only one single AC-3 track per file)
Delay for second video both on DTS and AC3 tracks and on all movies which are 1080p, above is just 1 example, also how audio track can influence any delay if it's decoded on external box?
artisticcheese
11th November 2008, 16:46
please post the 1080i file info too.
Sorry, I did not find any H264 1080i, I have a bunch of 720p which are played fine though.
Here is another example which plays fine
General
Complete name : D:\movies\isabella\american cartoons\Open Season.720p.x264.mkv
Format : Matroska
File size : 4.38 GiB
Duration : 1h 26mn
Overall bit rate : 7 265 Kbps
Encoded date : UTC 2007-04-08 06:03:50
Writing application : mkvmerge v2.0.0 ('After The Rain Has Fallen') built on Jan 13 2007 19:58:56
Writing library : libebml v0.7.7 + libmatroska v0.8.0
Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.1
Format settings, CABAC : Yes
Format settings, ReFrames : 6 frames
Muxing mode : Container profile=Unknown@5.1
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 26mn
Bit rate : 6 520 Kbps
Nominal bit rate : 6 815 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16/9
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.308
Writing library : x264 core 54 svn-635M
Encoding settings : cabac=1 / ref=3 / deblock=1:-2:-1 / analyse=0x3:0x133 / me=umh / subme=6 / brdo=0 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=0 / threads=2 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=1 / bime=0 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=6815 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30
Language : English
Audio
Format : AC-3
Format/Info : Audio Coding 3
Codec ID : A_AC3
Duration : 1h 26mn
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Language : Russian
And here is example of 1080p which does not
General
Complete name : \\XPC\movies\Madagascar.(HDTV.mkv
Format : Matroska
File size : 3.54 GiB
Duration : 1h 21mn
Overall bit rate : 6 199 Kbps
Encoded date : UTC 2006-07-15 11:48:49
Writing application : mkvmerge v1.6.5 ('Watcher Of The Skies') built on Dec 7 2005 18:53:53
Writing library : libebml v0.7.6 + libmatroska v0.8.0
Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Muxing mode : Container profile=Unknown@4.1
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 21mn
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16/9
Frame rate : 59.940 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Writing library : eavc 1.0.2.2
Audio
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : Yes
Format settings, PS : No
Codec ID : A_AAC/MPEG4/LC/SBR
Duration : 1h 21mn
Channel(s) : 6 channels
Sampling rate : 48.0 KHz
Language : Russian
kemuri-_9
11th November 2008, 16:53
the frame rate for the one that does not play is also more than 2x faster than the other ones:
Does not play
Frame rate : 59.940 fps
Plays fine
Frame rate : 23.976 fps
Frame rate : 25.000 fps
Frame rate : 23.976 fps
the one that doesn't play is 1080p@60.
this is probably assaulting your computer for more than it can take.
Sharktooth
11th November 2008, 16:57
definatly.
LoRd_MuldeR
11th November 2008, 17:02
the frame rate for the one that does not play is also more than 2x faster than the other ones:
the one that doesn't play is 1080p@60.
this is probably assaulting your computer for more than it can take.
That's exactly what I expected. 1080p@60 is heavy stuff, even for CoreAVC on a Dual Core...
artisticcheese
11th November 2008, 17:04
definatly.
So I can not watch any videos with frame rate of 60? Can recode it somehow and lower it without touching the rest of movie?
LoRd_MuldeR
11th November 2008, 17:22
So I can not watch any videos with frame rate of 60? Can recode it somehow and lower it without touching the rest of movie?
Either get a faster CPU (Core2 Quads are pretty cheap these days) or downsample the video to 30p.
The latter requires filtering and re-encoding the video part (preferably with Avisynth + x264), the audio part can remain as-is.
ajp_anton
11th November 2008, 17:46
the frame rate for the one that does not play is also more than 2x faster than the other ones:
Does not play
Frame rate : 59.940 fps
Plays fine
Frame rate : 23.976 fps
Frame rate : 25.000 fps
Frame rate : 23.976 fps
the one that doesn't play is 1080p@60.
this is probably assaulting your computer for more than it can take.It isDoes not play
Frame rate : 59.940 fps (720p)
Frame rate : 23.976 fps (1080p)
Plays fine
Frame rate : 25.000 fps (720p)
Frame rate : 23.976 fps (720p)Since the 60fps one is Madagascar, it's probably 24fps telecined or whatever into 60fps for broadcasting.
At what framerate does your computer play back the out-of-sync-ones, and are you getting any dropped frames?
artisticcheese
11th November 2008, 23:08
It isSince the 60fps one is Madagascar, it's probably 24fps telecined or whatever into 60fps for broadcasting.
At what framerate does your computer play back the out-of-sync-ones, and are you getting any dropped frames?
I don't know how to find framerate with out-of-sync ones. Movie below is being played out of sync as well even though it's 24 fps.
General
Complete name : \\gregplay\movies\to be seen\Then.She.Found.Me.2007.1080p.Bluray.DTS.x264-iLL.mkv
Format : Matroska
File size : 8.90 GiB
Duration : 1h 40mn
Overall bit rate : 12.7 Mbps
Encoded date : UTC 2008-10-26 16:34:32
Writing application : mkvmerge v2.1.0 ('Another Place To Fall') built on Aug 19 2007 13:40:07
Writing library : libebml v0.7.7 + libmatroska v0.8.1
Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.0
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Muxing mode : Container profile=Unknown@5.0
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 40mn
Bit rate : 9 993 Kbps
Nominal bit rate : 10.5 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16/9
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.212
Writing library : x264 core 64 r994M b35a044
Encoding settings : cabac=1 / ref=5 / deblock=1:-3:-3 / analyse=0x3:0x133 / me=umh / subme=7 / psy_rd=1.0:0.0 / brdo=1 / mixed_ref=1 / me_range=26 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=6 / nr=0 / decimate=1 / mbaff=0 / bframes=16 / 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=10549 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:0.80
Language : English
Audio #1
Format : AC-3
Format/Info : Audio Coding 3
Codec ID : A_AC3
Duration : 1h 40mn
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Rear: L R, LFE
Sampling rate : 48.0 KHz
Title : Дубляж
Language : Russian
Audio #2
Format : DTS
Format/Info : Digital Theater Systems
Codec ID : A_DTS
Duration : 1h 40mn
Bit rate mode : Constant
Bit rate : 1 536 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Resolution : 24 bits
Language : English
Audio #3
Format : AC-3
Format/Info : Audio Coding 3
Format profile : Dolby Digital
Codec ID : A_AC3
Duration : 1h 40mn
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48.0 KHz
Language : English
Text
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Language : English
neuron2
11th November 2008, 23:16
These MKVs have typical torrent names and OP doesn't know details about how they were encoded. So closed for rule 6.
@artisticcheese
You were warned before:
http://forum.doom9.org/showthread.php?t=127411
Therefore, strike issued. Next time you'll be suspended.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.