You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting via obs-websocket, I expected the video to be able to seek to sub-second intervals.
Current Behavior
The video seeks to fixed intervals, which I believe to align with key frames.
Steps to Reproduce
Open OBS
Add a Media Source
Enable the websocket server
Connect to the websocket server via any method you prefer
Issue a "SetMediaInputCursor" command at a small number
Verify the media source snaps to zero, instead of the intended time
Repeat at larger intervals to determine the 'step size' for the particular video
...
Anything else we should know?
I ran into this issue while using OBS Websocket and looked into it further. Here, it can be seen that the requested time is passed to libobs unmodified, so I don't think it's an issue with the websocket.
If there's another way to call this function directly, I would appreciate the confirmation.
I'm not at all experienced in either FFmpeg or OBS code, but I believe the issue comes from seek_to in the media-playback library, specifically here. AVSEEK_FLAG_BACKWARD is passed to av_seek_frame, which causes it to roll back to the closest keyframe to seek_target.
The text was updated successfully, but these errors were encountered:
Operating System Info
Other
Other OS
Endeavour OS / Arch Linux
OBS Studio Version
Other
OBS Studio Version (Other)
31.0.0 via AUR
OBS Studio Log URL
https://obsproject.com/logs/OERJPFBG4NSg3gCK
OBS Studio Crash Log URL
No response
Expected Behavior
When setting via obs-websocket, I expected the video to be able to seek to sub-second intervals.
Current Behavior
The video seeks to fixed intervals, which I believe to align with key frames.
Steps to Reproduce
...
Anything else we should know?
I ran into this issue while using OBS Websocket and looked into it further.
Here, it can be seen that the requested time is passed to
libobs
unmodified, so I don't think it's an issue with the websocket.If there's another way to call this function directly, I would appreciate the confirmation.
I'm not at all experienced in either FFmpeg or OBS code, but I believe the issue comes from
seek_to
in the media-playback library, specifically here.AVSEEK_FLAG_BACKWARD
is passed toav_seek_frame
, which causes it to roll back to the closest keyframe toseek_target
.The text was updated successfully, but these errors were encountered: