videojs-record icon indicating copy to clipboard operation
videojs-record copied to clipboard

Support for multiple convertEngines

Open aphavichitr opened this issue 4 years ago • 5 comments

Description

I would like to convert my .webm recordings to .mp4 for safari, but also need to keep the .webm videos for chrome/firefox/etc. However, on chrome the .webm recordings have no seekbar during playback, but firefox has the seekbar. I found that the ts-ebml convertEngine will add the metadata for the duration, which would enable the seekbar. But by choosing the ts-ebml, then I won't be able to use the ffmpeg convertEngine. Is there a way to use both?

Steps to reproduce

Input only one convertEngine at a time.

Results

Expected

Accept a list of convertEngines

Actual

Accepting one convertEngine

Error output

N/A

Additional Information

Please include any additional information necessary here. Including the following:

versions

videojs

4.1.1

browsers

Chrome

OSes

Mac

aphavichitr avatar Jan 24 '21 06:01 aphavichitr

Is there a way to use both?

No, there currently isn't, but sounds like a good enhancement.

For now, you can write a separate ffmpeg.js convert script that does this for you.

thijstriemstra avatar Jan 24 '21 18:01 thijstriemstra

For now, you can write a separate ffmpeg.js convert script that does this for you.

Which ffmpeg.js convert scripts are you referring to? Is there a link? Thanks

aphavichitr avatar Jan 24 '21 20:01 aphavichitr

Is there a link? Thanks

See ffmpeg.js documentation: https://github.com/Kagami/ffmpeg.js/#usage

thijstriemstra avatar Jan 24 '21 20:01 thijstriemstra

Is it possible to use the convert engines with the timeslice approach? Or are they only applicable to convert the entire video when the recording is finished? @thijstriemstra

anish2591 avatar Feb 19 '21 03:02 anish2591

Is it possible to use the convert engines with the timeslice approach?

no (not yet).

thijstriemstra avatar Feb 19 '21 13:02 thijstriemstra