Skip to content

[BUG] Last frame of media source flashes before starting video playback #2906

@guusguusguus

Description

@guusguusguus

Platform

Operating system and version: Windows 10, Pro 64-bit
OBS Studio version: 25.0.8

Expected Behavior

Play video starting with first frame

Current Behavior

First plays last frame and then starts playing from first frame

Steps to Reproduce

Add 'Media source'
Select a local video file (tested with quicktime and transparency and also h264 mp4) 
Configure playback with the following settings:
 [ ] loop
 [x]  restart playback when source becomes active
 [x] or [ ] use hardware enc..
 [ ] show noth...
 [x] or [ ] close file when in...

 Switch between scenes and the problem appears most of the time, problem is most consistent around lower framerates (25 fps) bu still noticeable around higher framerates (50 fps)

Additional information

I have a media source with a quicktime video with alpha enabled. When i start the scene with this media source it first shows the last frame of the video and then starts playing the video from the first frame. I have tested it with exporting the video with the last frame fully transparent and this solves the issue but it makes it impossible to end the video on the last frame.

i have also tested it without using transparency (a h264 mp4 file) and it has the same problem

problem persists on older versions (have tested it al the way back to version 16)

I have also been testing with framerates and the problem was most persistent with lower framerates (around 25 fps) and less persistent with higher framerates (around 50 fps) but the problem never really disappeared. the source material for the test was 25 fps

i started a post on the forum:
https://obsproject.com/forum/threads/last-frame-of-media-source-flashes-before-starting-video-playback.121882/

somebody confirms that the problem is also on the linux versions

i have been using the windows version (32 and 64 bit versions)

this is the output of the log file:

2020-05-10 00-55-14.txt

Metadata

Metadata

Assignees

Labels

ConfirmedThis bug report has been confirmed by project members

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions