m1gin 296

Method 1: As a playlist

play multiple segmentes of a media file:

mpv --start=10 --length=5 vid1.mp4 --start=22 --length=7 vid2.mp4 --start=33 --length=12 vid1.mp4


Method 2: EDL

The edit decision list (EDL) system allows you to automatically skip or mute sections of videos during playback, based on a movie specific EDL configuration file.


http://www.mplayerhq.hu/DOCS/HTML/en/edl.html

https://github.com/mpv-player/mpv/blob/master/DOCS/edl-mpv.rst


Create test.edl with the following content.

# mpv EDL v0
test.mp4,33,20
test2.mp4,55,6
test.mp4,22,11

Play the specified segments:

mpv test.edl


Alternative usage with the terminal:

mpv "edl://test1.mp4,length=5,start=10;test2.mp4,30,20;test3.mp4,start=11,length=8"

    Add to: