unosquare / ffmediaelement

FFME: The Advanced WPF MediaElement (based on FFmpeg)
https://unosquare.github.io/ffmediaelement/
Other
1.17k stars 240 forks source link

System.AccessViolationException when trying to open certain video files #533

Closed ekoivu closed 3 years ago

ekoivu commented 3 years ago

Issue Title (System.AccessViolationException when trying to open certain video file)

When starting playback for certain video files, the player crashes with System.AccessViolationException.

Issue Categories

Version Information

Steps to Reproduce

  1. Download video "LION KING - Circle of Life (KARAOKE) - Instrumental [Lyrics on screen, with backing vocals]" from youtube. https://www.youtube.com/watch?v=QL41lgDOQ9Q
  2. Play the video using FFME.Windows.Sample.

Expected Results

Additional information

Here's full codec information by MediaInfo:

ID : 0 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L3.1 Format settings : CABAC / 4 Ref Frames Format settings, CABAC : Yes Format settings, Reference frames : 4 frames Codec ID : H264 Duration : 4 min 1 s Bit rate : 290 kb/s Width : 854 pixels Height : 480 pixels Display aspect ratio : 16:9 Frame rate mode : Variable Frame rate : 29.970 (30000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.024 Stream size : 8.39 MiB (67%) Writing library : x264 core 142 r2479 dd79a61 Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=4 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=abr / mbtree=1 / bitrate=290 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.41 / aq=1:1.00

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.