Openshot-qt: How to cut and split a video ?

Created on 18 Dec 2017  路  17Comments  路  Source: OpenShot/openshot-qt

Hi,

first of all: I've double checked. https://www.openshot.org/user-guide/ 'Support-Ask a question' lead me here. This looks like bug tracking but anyway.

System Details:

  • Operating System / Distro: ?
    System: Host: oppa-hex-ssd Kernel: 4.14.6-towo.1-siduction-amd64 x86_64 bits: 64 gcc: 7.2.1
    Desktop: Gnome 3.26.2 info: gnome-shell dm: gdm3
    Distro: siduction 13.2.1 December - kde - (201401272125)
  • OpenShot Version: ?
    OpenShot 1.4.3

Issue Description and steps to reproduce:
Seems to much to ask for in Linux: I have a stream recording and want to cut off the beginning, the end and split the remains into 3 equal parts. With MovieMaker I was able to accomplish that within 10 minutes. With this 1 have now one cut at the start. But how do I get rid of this ? How do I split the rest and save the 3 parts ?

It's a 5G file and I have no chance to move this to Windows right now or I would do this. And I don't want to download that big file again.

Stephan

question

Most helpful comment

Hi @stehgold !

You will need to export each part separately.

Start a new project and set the project profile to the same as your source material.

Import your 5G clip and drag it onto the timeline.

Place the playhead at the position where you want the beginning cut to occur, right click, hover over Slice and then select Keep Right Side.

Now, move the playhead to where you want to make the 2nd cut (to the end of the "first part"), right lick, hover over Slice and this time, select Keep Left Side.

Move the remaining portion all the way to the left side of the timeline and export your video.

Now, undo the move and the 2nd slice, but don't move the playhead. Hover over Slice and select Keep Right Side.

Now, move the playhead to where you want to make the 3rd cut (to the end of the "second part"), right lick, hover over Slice and select Keep Left Side.

Move the remaining portion all the way to the left side of the timeline and export your video.

Do the same thing for the 3rd portion.

All 17 comments

Hi @stehgold !

You will need to export each part separately.

Start a new project and set the project profile to the same as your source material.

Import your 5G clip and drag it onto the timeline.

Place the playhead at the position where you want the beginning cut to occur, right click, hover over Slice and then select Keep Right Side.

Now, move the playhead to where you want to make the 2nd cut (to the end of the "first part"), right lick, hover over Slice and this time, select Keep Left Side.

Move the remaining portion all the way to the left side of the timeline and export your video.

Now, undo the move and the 2nd slice, but don't move the playhead. Hover over Slice and select Keep Right Side.

Now, move the playhead to where you want to make the 3rd cut (to the end of the "second part"), right lick, hover over Slice and select Keep Left Side.

Move the remaining portion all the way to the left side of the timeline and export your video.

Do the same thing for the 3rd portion.

Hi,

Place the playhead at the position where you want the beginning cut to occur, right click, hover over Slice and then select Keep Right Side.

right click where ? I don't get 'Slice', I get a menu "Duplicate | Fade | Animate | ...

But that's how it should work and does in MovieMaker. Place marker, hit cut and get 2 parts. Seems to be too much for Linux. ;(

Thanks for trying to help,
Stephan

Hmmm... I've never used version 1.4.3, so the slice operation may be elsewhere. The steps I provided work with the 2.3.x and 2.4.x versions.

Well, Debian, it's unstable already but still very old software versions but kernel and compiler are bleeding edge :)

You could try the 2.4.1 daily build AppImage. (This one is from Nov 23, 2017.)

Other AppImage versions are available from the openshot.org download page

There's no install required; just download and run.

Aha, now this looks all dark and I get a different menu including Slice. I do have the 'keep right part' done. Now, where is this playhead and how do I move this ? I went to the end of my video using the slider at the bottom but clicking into the track does nothing.

Uhm: What's this slider under the preview window. There's a + and a - and '1 seconds' right next to the -

Edit: Hm, did I get a broken one ? This is 2.4.1 and it doesn't do anything now. When I hit the play button it changes to pause but the video is not running.

The playhead is the red vertical line in the timeline with the blue "teardrop" on top.

You can move the playhead by clicking in the timeline, above the tracks, where the times are displayed. You can also move the playhead one frame at a time with the left and right arrow keys.

The slide with the + and - changes the timeline zoom.

I don't have anything like that, maybe that's why the video doesn't play anymore. How do I find/get this ?

Can you post a screenshot of what you're currently looking at?

image

Okay, your playhead is not visible at your current zoom level.

You can zoom out (click the - by the 11 seconds) a few times and see if you can relocate the playhead, or you can use the scroll bar under the timeline to scan left and right.

Hmm, I guess it's some bug or something. The picture in the preview doesn't change when I move the playhead and cklicking play does nothing but changing the button.
image

image

Is it possible to cut segments in the middle of the videos and export the result without reencoding the whole video again?

Hi,
I don't think so. At least that's what I learned during my search for a cutting program. I was wondering which codec to use... ffmpeg from the command line can do. But you have to provide the starting time and length of the slice you want.

You can use the -ss option to specify a start timestamp, and the -t option to specify the encoding duration. The timestamps need to be in HH:MM:SS.xxx format or in seconds (s.msec).

The following would clip the first 30 seconds, and then clip everything that is 10 seconds after that:

ffmpeg -ss 00:00:30.0 -i input.wmv -c copy -t 00:00:10.0 output.wmv
ffmpeg -ss 30 -i input.wmv -c copy -t 10 output.wmv

source https://superuser.com/questions/138331/using-ffmpeg-to-cut-up-video

Hi,

me again. I made it ! Yeah :) But I had to use the systems 1.4.3 version. The one I downloaded crashed and made my DE inresponsive. I couldn't even logout, I had to hit the reset button and restart the computer.

Thanks and have fun,
Stephan

@stehgold

I'm glad you found a way to accomplish what you needed to and I'm sorry I could be of more help.

I was going to suggest the ffmpeg solution for cutting without reencoding, but you beat me to it! 馃槂

Regarding your preview window not updating, that may be due to the size of the preview window. The preview is rendered in the background and then displayed. With a full-res preview window that large, you're asking quite a bit of the current preview renderer. If you were sticking with OpenShot, I'd suggest making the preview window smaller, or, if that didn't help, going into the preferences, caching to disk and lowering the quality and/or scale so that the preview can render faster.

Not sure what to say about the crashing. OpenShot 2.4.1 has been really stable for me and lot of other folks. It may be that you're editing such a large file.

@N3WWN Hi,
at the point where the preview window didn't update anymore OpenShot was hanging/had crashed already. No menu did open nor would it close after clicking X. There may be a reason why the Debian maintainers still ship the old version...

Thanks and have fun,
Stephan

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mnally8 picture mnally8  路  3Comments

Emma3993 picture Emma3993  路  3Comments

gbbbbb picture gbbbbb  路  3Comments

Geoff0627 picture Geoff0627  路  3Comments

sspmrsomebody1 picture sspmrsomebody1  路  3Comments