[fixed] Video and sound syncronisation (2 Viewers)

1stdead

Portal Pro
February 1, 2008
1,089
139
Copenhagen
Home Country
Denmark Denmark
Jumping around in video and suddenly half of picture is missing.

[2011-11-23 21:04:24,994] [93747 ] [DX Render] [ERROR] - Error executing render event handler:
System.AccessViolationException: Det blev forsøgt at læse eller skrive i en beskyttet hukommelse. Dette kan ofte være et tegn på, at en anden hukommelse er beskadiget.
ved SlimDX.Direct3D9.Line.Draw(Vector2[] vertexList, Color4 color)
ved MediaPortal.Plugins.StatisticsRenderer.StatisticsRenderer.DrawLines()
ved MediaPortal.Plugins.StatisticsRenderer.StatisticsRenderer.EndScene(Object sender, EventArgs args)
ved MediaPortal.UI.SkinEngine.DirectX.GraphicsDevice.Fire(EventHandler eventHandler)



-----------------------------------------------------------------------------------------------------------------------------

Test Setup:
Intel Core 2 Duo SU7300 1.30GHz, 4gb ram, Integrated Intel® GMA X4500MHD & NVIDIA® GeForce® G 210M with 512 MB VRAM- switchable graphics . (x264 is normally rendered in graphic card)

Codec: MSDecoder

Version: MP2_20111123_TextureCallback_Update1.7z (1

movie.mkv:
[collapse]General
Unique ID : 185504191080121096176377446134406727196 (0x8B8ECEC1906875F9B0D15A5854E8461C)
Complete name : D:\movie.mkv
Format : Matroska
Format version : Version 2
File size : 7.94 GiB
Duration : 1h 51mn
Overall bit rate : 10.2 Mbps
Encoded date : UTC 2011-10-28 13:26:48
Writing application : mkvmerge v5.0.1 ('Es ist Sommer') built on Oct 9 2011 11:55:43
Writing library : libebml v1.2.2 + libmatroska v1.3.0

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 12 frames
Muxing mode : Header stripping
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 51mn
Bit rate : 9 530 Kbps
Width : 1 280 pixels
Height : 534 pixels
Display aspect ratio : 2.40:1
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.582
Stream size : 7.28 GiB (92%)
Writing library : x264 core 119 r2106 07efeb4
Encoding settings : cabac=1 / ref=12 / deblock=1:-3:-3 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=1.10:0.10 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-3 / threads=12 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=7 / 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=150 / rc=2pass / mbtree=1 / bitrate=9530 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:0.60
Language : English
Default : Yes
Forced : No

Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Muxing mode : Header stripping
Codec ID : A_AC3
Duration : 1h 51mn
Bit rate mode : Constant
Bit rate : 640 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 512 MiB (6%)
Language : English
Default : Yes
Forced : No

Text
ID : 3
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Language : English
Default : No
Forced : No

Menu
00:00:00.000 : en:Chapter.01
00:07:01.504 : en:Chapter.02
00:11:33.275 : en:Chapter.03
00:19:25.164 : en:Chapter.04
00:26:43.518 : en:Chapter.05
00:33:36.514 : en:Chapter.06
00:40:30.511 : en:Chapter.07
00:45:42.156 : en:Chapter.08
00:51:57.114 : en:Chapter.09
00:56:59.958 : en:Chapter.10
01:02:24.365 : en:Chapter.11
01:08:12.505 : en:Chapter.12
01:13:30.906 : en:Chapter.13
01:18:33.875 : en:Chapter.14
01:25:31.334 : en:Chapter.15
01:30:25.378 : en:Chapter.16
01:38:20.352 : en:Chapter.17
01:43:37.836 : en:Chapter.18[/collapse]

EVRCustomPresenter using Texture mode: 0 : All three render modes shutters like provided in video example.


EVRCustomPresenter using Texture mode: 1: All three render modes shutters like provided in video example.



Shuttering seems just as worse as starting the tests. :( Shutters quite much in avi as well...

Don't have time to check my htpc yet.
 

morpheus_xx

Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,070
    7,459
    Home Country
    Germany Germany
    AW: Video and sound syncronisation

    another build added to post above.

    I think testing the "mode 0" (surface callback) is no longer needed, it doesn't provide good results and will be dropped in future.
     

    1stdead

    Portal Pro
    February 1, 2008
    1,089
    139
    Copenhagen
    Home Country
    Denmark Denmark
    Test Setup:
    Intel Core 2 Duo SU7300 1.30GHz, 4gb ram, Integrated Intel® GMA X4500MHD & NVIDIA® GeForce® G 210M with 512 MB VRAM- switchable graphics . (x264 is normally rendered in graphic card)

    Codec: MSDecoder

    Version: MP2_20111123_TextureCallback_Update2.7z (1

    movie.mkv:
    [collapse]General
    Unique ID : 185504191080121096176377446134406727196 (0x8B8ECEC1906875F9B0D15A5854E8461C)
    Complete name : D:\movie.mkv
    Format : Matroska
    Format version : Version 2
    File size : 7.94 GiB
    Duration : 1h 51mn
    Overall bit rate : 10.2 Mbps
    Encoded date : UTC 2011-10-28 13:26:48
    Writing application : mkvmerge v5.0.1 ('Es ist Sommer') built on Oct 9 2011 11:55:43
    Writing library : libebml v1.2.2 + libmatroska v1.3.0

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L4.1
    Format settings, CABAC : Yes
    Format settings, ReFrames : 12 frames
    Muxing mode : Header stripping
    Codec ID : V_MPEG4/ISO/AVC
    Duration : 1h 51mn
    Bit rate : 9 530 Kbps
    Width : 1 280 pixels
    Height : 534 pixels
    Display aspect ratio : 2.40:1
    Frame rate : 23.976 fps
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.582
    Stream size : 7.28 GiB (92%)
    Writing library : x264 core 119 r2106 07efeb4
    Encoding settings : cabac=1 / ref=12 / deblock=1:-3:-3 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=1.10:0.10 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-3 / threads=12 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=7 / 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=150 / rc=2pass / mbtree=1 / bitrate=9530 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:0.60
    Language : English
    Default : Yes
    Forced : No

    Audio
    ID : 2
    Format : AC-3
    Format/Info : Audio Coding 3
    Mode extension : CM (complete main)
    Muxing mode : Header stripping
    Codec ID : A_AC3
    Duration : 1h 51mn
    Bit rate mode : Constant
    Bit rate : 640 Kbps
    Channel(s) : 6 channels
    Channel positions : Front: L C R, Side: L R, LFE
    Sampling rate : 48.0 KHz
    Bit depth : 16 bits
    Compression mode : Lossy
    Stream size : 512 MiB (6%)
    Language : English
    Default : Yes
    Forced : No

    Text
    ID : 3
    Format : UTF-8
    Codec ID : S_TEXT/UTF8
    Codec ID/Info : UTF-8 Plain Text
    Language : English
    Default : No
    Forced : No

    Menu
    00:00:00.000 : en:Chapter.01
    00:07:01.504 : en:Chapter.02
    00:11:33.275 : en:Chapter.03
    00:19:25.164 : en:Chapter.04
    00:26:43.518 : en:Chapter.05
    00:33:36.514 : en:Chapter.06
    00:40:30.511 : en:Chapter.07
    00:45:42.156 : en:Chapter.08
    00:51:57.114 : en:Chapter.09
    00:56:59.958 : en:Chapter.10
    01:02:24.365 : en:Chapter.11
    01:08:12.505 : en:Chapter.12
    01:13:30.906 : en:Chapter.13
    01:18:33.875 : en:Chapter.14
    01:25:31.334 : en:Chapter.15
    01:30:25.378 : en:Chapter.16
    01:38:20.352 : en:Chapter.17
    01:43:37.836 : en:Chapter.18[/collapse]


    EVRCustomPresenter using Texture mode: 1: Still shutters, but better than previuos build. Still seems to get data too slow.
     

    Attachments

    • mp.jpg
      mp.jpg
      108.3 KB

    Albert

    MP2 Developer
  • Premium Supporter
  • February 18, 2008
    1,297
    1,130
    47
    Freiburg im Breisgau, Germany
    Home Country
    Germany Germany
    AW: Video and sound syncronisation

    It seems morpheus has found the wrong frames flashing problem.

    Please test the latest version from dev branch. The problem seems to be fixed.
     

    Albert

    MP2 Developer
  • Premium Supporter
  • February 18, 2008
    1,297
    1,130
    47
    Freiburg im Breisgau, Germany
    Home Country
    Germany Germany
    AW: Video and sound syncronisation

    Our forum only allows a small size of archive and I only have zip and rar and both produce too big archives for the forum :-/
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,070
    7,459
    Home Country
    Germany Germany
    That's why I requested .7z as extension ;-)

    I'm really interested in results! When we use texture as callback from evr presenter we can improve performance on low end graphics. On my htpc the texture mode was significant faster the doing an extra StretchRect call.

    Sent from my GT-I9000 using Tapatalk
     

    Users who are viewing this thread

    Top Bottom