2011-12-09, 21:28
cbxbiker61 Wrote:I actually don't think it's AudioFilter, but more the fact that pass-through is being handled just a bit differently than non-pass-through.
After looking at the code a bit, I'm thinking the problem lies with the way that DVDNAV_NAV_PACKET's are being handled. You'll notice DVDNAV_NAV_PACKET DISCONTINUITY messages in your log. I think that code needs to be improved. You'll find the interesting code in DVDInputStreamNavigator.cpprocessBlock:line 461+ and DVDPlayer.cpp:OnDVDNavResult:line 3185+. It actually looks like in OnDVDNavResult someone had planned to flush it out a bit more. I don't think it's handling the timestamp changes properly when starting a new VOB.
I'm focused on true-hd support so I don't have time to look at this at the moment.
You might be right, but I can't follow the logic yet; Dharma and pre-Eden also support passthrough for DTS and DD (PassthroughFFmpeg) and work correctly with these DVDs.
The logs seem tell me the "normal" pre-Eden corrects along the way (CalcFrameRate?).
pre-Eden with AudioFilter:
Quote:18:53:18 T:140301531572096 DEBUG: GL: Requested render method: 2
18:53:18 T:140301531572096 DEBUG: GL: BaseYUV2RGBGLSLShader: defines:
#define XBMC_texture_rectangle 0
#define XBMC_texture_rectangle_hack 0
#define XBMC_STRETCH 0
#define XBMC_YV12
18:53:18 T:140301531572096 NOTICE: GL: Selecting Single Pass YUV 2 RGB shader
18:53:18 T:140301531572096 DEBUG: GL: Vertex Shader compilation log:
18:53:18 T:140301531572096 DEBUG: GL: Vertex Shader compiled successfully
18:53:18 T:140301531572096 DEBUG: GL: Pixel Shader compilation log:
18:53:18 T:140301531572096 DEBUG: GL: Fragment Shader compiled successfully
18:53:18 T:140301531572096 NOTICE: GL: NPOT texture support detected
18:53:18 T:140301531572096 NOTICE: GL: Using GL_ARB_pixel_buffer_object
18:53:18 T:140300945192704 DEBUG: CDVDPlayer::HandleMessages - player started 2
18:53:18 T:140301216810752 DEBUG: CDVDPlayerAudio:: Discontinuity - was:1615614.731209, should be:1898435.110155, error:282820.378946
... After this point a lot of Discontinuity...
"normal" pre-Eden does:
Quote:20:08:12 T:140185186596736 DEBUG: GL: Requested render method: 2
20:08:12 T:140185186596736 DEBUG: GL: BaseYUV2RGBGLSLShader: defines:
#define XBMC_texture_rectangle 0
#define XBMC_texture_rectangle_hack 0
#define XBMC_STRETCH 0
#define XBMC_YV12
20:08:12 T:140185186596736 NOTICE: GL: Selecting Single Pass YUV 2 RGB shader
20:08:12 T:140185186596736 DEBUG: GL: Vertex Shader compilation log:
20:08:12 T:140185186596736 DEBUG: GL: Vertex Shader compiled successfully
20:08:12 T:140185186596736 DEBUG: GL: Pixel Shader compilation log:
20:08:12 T:140185186596736 DEBUG: GL: Fragment Shader compiled successfully
20:08:12 T:140185186596736 NOTICE: GL: NPOT texture support detected
20:08:12 T:140185186596736 NOTICE: GL: Using GL_ARB_pixel_buffer_object
20:08:12 T:140184620316416 DEBUG: CDVDPlayer::HandleMessages - player started 2
20:08:14 T:140184579897088 DEBUG: CPullupCorrection: detected pattern of length 1: 20000.00, frameduration: 20000.000000
20:08:15 T:140184579897088 DEBUG: CalcFrameRate framerate was:25.000000 calculated:50.000000
20:08:15 T:140184579897088 NOTICE: fps: 50.000000, pwidth: 720, pheight: 576, dwidth: 720, dheight: 405
20:08:15 T:140184579897088 DEBUG: OutputPicture - change configuration. 720x576. framerate: 50.00. format: YV12
20:08:15 T:140184579897088 NOTICE: Display resolution ADJUST : default: 1920x1080 @ 50.00Hz (14) (weight: 0.000)
20:08:16 T:140185186596736 NOTICE: Using GL_TEXTURE_2D
20:08:16 T:140185186596736 DEBUG: GL: Requested render method: 2
20:08:16 T:140185186596736 DEBUG: GL: BaseYUV2RGBGLSLShader: defines:
#define XBMC_texture_rectangle 0
#define XBMC_texture_rectangle_hack 0
#define XBMC_STRETCH 0
#define XBMC_YV12
20:08:16 T:140185186596736 NOTICE: GL: Selecting Single Pass YUV 2 RGB shader
20:08:16 T:140185186596736 DEBUG: GL: Vertex Shader compilation log:
20:08:16 T:140185186596736 DEBUG: GL: Vertex Shader compiled successfully
20:08:16 T:140185186596736 DEBUG: GL: Pixel Shader compilation log:
20:08:16 T:140185186596736 DEBUG: GL: Fragment Shader compiled successfully
20:08:16 T:140185186596736 NOTICE: GL: NPOT texture support detected
20:08:16 T:140185186596736 NOTICE: GL: Using GL_ARB_pixel_buffer_object