Open
Description
Describe the bug
Recording videos have no duration. The video file of a recording can be played but has no duration. This causes trouble with video applications.
My guess is it's due to muaz-khan/RecordRTC#147 . The authors added a way to fix it: muaz-khan/RecordRTC#147 (comment)
Minimal reproduction
Steps to reproduce the behavior:
- Run
slidev --open
- Open the slides
- Start a recording.
- Stop the recording and save the file.
- Check if the file has a duration, e.g.
- open it with VLC player and see the bar shows no proper duration
- or use in the shell
ffprobe -i <my-file-here> -show_entries format=duration -v quiet -of csv="p=0"
. It will printN/A
instead of a duration
Environment
- Slidev version: 0.49.29
- Browser: Chrome (128.0.6613.113) and Firefox (125.0.2)
- OS: Ubuntu