Editing Videos
Photopea can be used as a video editor. You can use it to cut videos, combine several videos into one, replace the audio, apply visual effects, add text or other elemnts to your video. If you know how to edit images with Photopea, you can learn video editing (in Photopea) in 5 minutes! :)
Timeline
A document can be exported as a video when it has a Timeline. Press Window - Timeline, and click "Create Video Timeline". All video editing happens in this Timeline window.
The horizontal axis represents time. To zoom or scroll, use the controls at the bottom. There is a playhead, which can be moved to see the result at each point in time.
These two numbers are added to each layer:
- Appearing Time
- Disppearing Time
There is a rectangle for each layer, which represents the appearing and disappearing of a layer on a timeline. You can move and resize each rectangle. Let's press File - Export As - MP4.
Video Layers
You can insert a media file (MP4, MP3, any video or audio file) into your document (File - Open and Place, or drag-and-drop it into your project). There are no limits on size, it can be a 500 GB 4K 120FPS video. Files under 20 MB will be embedded into your PSD file, while large files must be re-selected from your device each time you reopen your document.
Each media file is converted into a special video layer. By dragging the ends of a rectangle of a video layer, you are cutting away or extending the ends of a video, while the middle part stays still (relative to the timeline).
You can right-click the rectangle of a video layer and change its properties (Volume level etc).
An example: to make a video play twice in a row, just duplicate the video layer and move the rectangle of a new layer to the right (so that it starts when the first on ends).
Another example: You have a 10-second video and you want to cut away the initial 2 seconds and the final 3 seconds (and get a 5-second video). After opening it in Photopea, do this:
- drag the left edge from 0 to 2 seconds
- drag the right edge from 10 to 7 seconds
- drag the whole video by 2 seconds to the left
- press File - Export As - MP4
Cutting Layers
What if we want to remove a few seconds form the middle of a video? E.g. we have a 10-second video and we need to remove the part between the 3rd and the 5th second.
Just duplicate a video layer! With two identical video layers, we can do these steps:
- 1st layer: drag the right edge from 10 seconds to 3 seconds
- 2nd layer: drag the left edge from 0 seconds to 5 seconds
- 2nd layer: drag the whole video 2 seconds to the left
This can be automated using the Cut operation (a Scissors button above the list of layers). It "cuts" a selected layer into two parts at the location of a playhead (one part ends where another begins). Then, we can drag the edges of these two parts or move them left and right.
Video Folders (Groups)
Video Groups are regular folders of layers with a special property: the layers inside them will be placed into a single horizontal line in a Timeline.
To create a new Video Group, click the film icon next to any layer (in a Timeline) and choose "New Video Group". When you use the Cut operation, the Video Group is created automatically (to make sure the new part stays in the same horizontal line).