Peertube: Basic video editor

Created on 7 Sep 2018  路  8Comments  路  Source: Chocobozzz/PeerTube

Hi

on a very very low priority it would be nice to have a basic video editor

I would see it like that :
after uploading a file, user will be asked if he wants to edit his video. If he does, then he will be warned that a transcoding job needs to be done before (only to the best resolution). Once it is done, a basic editor to cut video and add a sound channel, perhaps some filters I don't know (doesn't seem to be important), static images. Preview for cut / sound can be done in the browser, I guess.
then after editing the publish page is displayed, then the real edit is rendered with ffmpeg on the server with cut parameters and audiofile, usual transcoding jobs begin, and that's it

OR the same kind of editor but not in the upload workflow, so as users can add multiple videos

Type

Most helpful comment

There are so many FOSS editors out there now thats its rather unnecessary to put the extra load on the server IMHO.

All 8 comments

For the editor I did a quick search and hopefully some people have already had this crazy idea :sweat_smile: :

It is however tied to an encoding library server-side in ruby, so we can't use it by itself. Either we implement a corresponding API server side, or we make the client load ffmpeg.js and build an in-browser interaction in service workers. I would be more leaning for the second option - but both require significant work.

Well I guess there are more urgent things to do, indeed :P perhaps with the future extension system, it would make more sense

There are so many FOSS editors out there now thats its rather unnecessary to put the extra load on the server IMHO.

Use Kdenlive, video editing in the browser is not something that can be reasonably done.

video editing in the browser is not something that can be reasonably done.

I'm not sure that's true, as there are a lot of projects writing software to do just this. One that I know has a free code community edition is Kaltura:
https://www.kaltura.org/

That said, I agree that video-editing is a specialist and resource-hungry activity for a server to handle. I think it would make more sense to develop a simple, web-based editor that sysadmins could choose to run alongside a PT instance, maybe integrated with the PT UI via a plug-in? Perhaps it could be developed as a soft fork of something like Kaltura, stripping it down to a basic set of commonly-used functions (eg trim off each end, add soundtrack), so it can doesn't use the resources of a full Kaltura stack?

I think this would expand the scope of the project into dangerous territory. Focusing effort on something that can be done much better with other tools would take away from the special thing PeerTube is trying to do.

Worthwhile discussion item however!

In #1399 I suggested adding basic editing options which led me here. I think the feature suggested here is far too heavy for PeerTube and as such not feasible or desirable. What can be added is basic editing which can be achieved by manipulating metadata (e.g. rotation) without requiring transcoding. These operations are fast and easy on the server and can be achieved using the same tool (_ffmpeg_) as used for transcoding.

Closing this issue, as we consider it is out of the scope of peertube.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Angedestenebres picture Angedestenebres  路  3Comments

filmaidykai picture filmaidykai  路  3Comments

NoraCodes picture NoraCodes  路  3Comments

kabo picture kabo  路  3Comments

ufm picture ufm  路  3Comments