mickelson / attract

A graphical front-end for command line emulators that hides the underlying operating system and is intended to be controlled with a joystick or gamepad.
http://attractmode.org
GNU General Public License v3.0
393 stars 115 forks source link

video freezes does not play or only loops a couple of times before freezing #684

Open LegalDrokz opened 3 years ago

LegalDrokz commented 3 years ago

I have a short looping background video in my system selection layout. On AM 2.6.1 official release it keeps looping without issue.

On a nightly build, the video is either frozen on load or it freezes after a couple of loops. When I move to the game selection layout and back it will play for a couple of loops and freeze again.

If more information is required I will append on request.

LegalDrokz commented 3 years ago

After some more testing it seems to boil down to the resolution of the video. I changed it to a lower resolution version and it no longer freezes. Also looked again through existing issues and my experiences match those of #655.

This is the codec info of the freezing video:

` General Unique ID : 271167156989975134028137124133710390618 (0xCC00E50EDE7EA6CCC19AC36E9DA0E55A) Complete name : \10.31.127.94\arcade$.attractplus\layouts\Flavors-dev-system\grid_fast.mp4 Format : Matroska Format version : Version 4 File size : 324 KiB Duration : 1 s 300 ms Overall bit rate : 2 040 kb/s Writing application : Lavf58.77.100 Writing library : Lavf58.77.100 ErrorDetectionType : Per level 1 FileExtension_Invalid : mkv mk3d mka mks

Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High 4:2:2@L4 Format settings : CABAC / 4 Ref Frames Format settings, CABAC : Yes Format settings, Reference frames : 4 frames Codec ID : V_MPEG4/ISO/AVC Duration : 1 s 300 ms Bit rate : 2 000 kb/s Width : 1 440 pixels Height : 1 080 pixels Display aspect ratio : 4:3 Frame rate mode : Constant Frame rate : 30.000 FPS Color space : YUV Chroma subsampling : 4:2:2 Bit depth : 10 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.043 Time code of first frame : 00:00:00:00 Time code source : Matroska tags Stream size : 317 KiB (98%) Writing library : x264 core 161 r3048 b86ae3c 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=6 / 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=1 / 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=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=81 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00 Language : English Default : Yes Forced : No Color range : Limited Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709 VENDOR_ID : [0][0][0][0]

`