简体   繁体   中英

Edit video using QT and QML on Android and iOS

Is it possible to edit a video using QT/QML for Android and iOS?

I would like to be able to trim a video from timeX to timeY and add (if possible) a watermark.

I did some research but I didn't find anything good.

All Qt has to offer regarding video is contained in the Qt Multimedia library.

This library is not designed to do video editing, so you will have nothing out of the box.

However, it might be possible to combine QMediaRecorder and QMediaPlayer to trim a video. And you also have access to video frames: https://doc.qt.io/qt-5/videooverview.html#working-with-low-level-video-frames

I am not sure you will be able to do what you want using only Qt Multimedia, you might be better off using a dedicated video editing library. Maybe you can take a look at OpenShot, it is an open source video editor. The user interface is built with Qt and the video editing functions are in a separate library: libopenshot .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM