obsproject / obs-studio

OBS Studio - Free and open source software for live streaming and screen recording
https://obsproject.com
GNU General Public License v2.0
57.78k stars 7.74k forks source link

VLC Video Source - Timeline update issue (with a recording .ts file) #5046

Open Joefis-x20s opened 2 years ago

Joefis-x20s commented 2 years ago

Operating System Info

Windows 10

Other OS

No response

OBS Studio Version

27.0.1

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/XkUk7iHQfT09pJVN

OBS Studio Crash Log URL

No response

Expected Behavior

  1. The timeline within the OBS source toolbar should dynamicly update as the file is being recorded to.

  2. When bringing the timeline to live the VLC Video source should buffer correctly and playback the video when possible from that point on.

Current Behavior

  1. The timeline within OBS source toolbar will not update the video file length as the file is recorded to.

    • However if you are at the end of the timeline it will start to grow as it finds there is more of the file but if you dont playback the file live it will not detect that the file is getting longer. Bringing the timeline back to "live" will only bring it to the point when you first rewound/played back the video. It will then play from that point and the timeline will grow second by second
    1. Bringing the timeline to LIVE (within 2 seconds of the recording) Will result in VLC stopping the playback of the file as it thinks the video is over when infact if it just waited out its buffer time it will realise theres more.

Steps to Reproduce

  1. Load a mpegts file that is being recorded to into OBS as a VLC Video Source

  2. Playback that file and see that the timeline is not growing despite the ongoing recording of the file

  3. Drag the timeline to "live" and see that the timeline starts to grow in length however not to the actual length

  4. Reload the VLC Video Source and instantly drag the timeline to live and notice that VLC video player will just stop playing the file as it thinks its at its end when in fact its still being recorded to.

Anything else we should know?

Extra:

Reason for above fixes/additions:

It would make it easier for OBS to act as a replay machine that can record multiple audio tracks and camera angles (Can record 4 1080p sources at 4k for synced playback) Also allows recordings to be high quality and compressed as compared to other solutions while performing faster. OBS is currently capable of this and I use it as my replay workflow however these bugs make it harder to use as you need to keep reloading the file at times.

WizardCM commented 2 years ago

Honestly, this is not a use case OBS is really designed for, so it is unlikely this will be fixed. I'll leave this open for now to get a second opinion.

RytoEX commented 1 year ago

Does VLC itself behave the same way?