elan-ev / opencast-studio

Web-based recording studio for Opencast
https://studio.opencast.org
MIT License
50 stars 46 forks source link

Video length is missing when a video is saved locally #1166

Closed ottsimon closed 4 months ago

ottsimon commented 4 months ago

Steps to reproduce

  1. Record a video (settings do not matter)
  2. Click on "Save locally"
  3. Open the downloaded video with a local video player (VLC, for example)

Expected behavior

The video opens, the time toolbar shows the video lenght, and you can select a specific timestamp in the video.

Actual behavior

The video opens, but the time toolbar doesn't show any video lenght, selecting a timestamp is buggy. Furthermore, most video editors cannot open the file.

Additional information

This issue affects a newly compiled studio, the version located at studio.opencast.org, and also the studio in Opencast 15.3.0. It is possible to fix the video length with FFmpeg, but it would be better for the end user if the video length was saved correctly right away.

FFmpeg fix:

ffmpeg -i input.mkv -c copy output.mkv
LukasKalbertodt commented 4 months ago

Hi and thanks for the report. This is a duplicate of https://github.com/elan-ev/opencast-studio/issues/517. I.e. we already know about it. It is an unfortunate limitation of certain browsers that, as far as I know, we cannot easily work around. Fixing this would require having some muxer running in the user's browser. But yeah, see the linked issue.