Crash when load .mp4 files

What is your operating system?
Win 11 Pro - 23H2

Shotcut version 24.06.26

The shotcut crashes when I want to add large mp4 videos to the video track.

As a quick smoke test, could you try doing the same thing again, but using files that don’t have special characters in their filenames? The lowercase a-with-accent has my curiosity up.

Hi,

I did not use special characters and the result the same, crash.

1 Like

Thanks. Sorry for the extra work. Special characters have occasionally caused issues in the past, so it’s a good first item to check.

I just tested 74 4K videos all at once following your steps, and I did not reproduce it. I will try it a couple of more times with the same videos after it is done generating waveforms. When you write “large” do you mean resolution or number of files? I tried both, but you can see if doing fewer at a time is more successful. Or, maybe it due to portrait only or videos from your smartphone.

I found the cause of the crash. The video was in play state and when I stopped it the crash stopped too.
I hope it would help for You to solve the problem.

Thanks, I reproduced it now and fixed it for the next release 24.08.

Here are some tips in case you did not know:

  • It is playing because you double-clicked a playlist item, but it seems all that you really wanted to do is select things. Do not double-click to select. Double-click in nearly every UI does select plus something else (usually open).
  • You do not need to drag the clips into playlist first, you can drag directly to the timeline.
  • You do not need to manually add a video track to an empty timeline; one is added automatically when you try to add to an empty timeline and then you don’t need to worry about blank space at the beginning of the track.

Thanks for the help and the advice!

“It is playing because you double-clicked a playlist item, but it seems all that you really wanted to do is select things. Do not double-click to select. Double-click in nearly every UI does select plus something else (usually open).”

I checked it, I didn’t click on the file or anything, it plays automatically, that’s the default.

hI @Jules
In case you don’t know, you can turn Auto Play OFF here:

Settings > Playlist > Play After Open

vM6F3h2H2L

Hi MusicalBox,

Thanks Your info.

Automatic play after open is turne off, but no change, it still plays automatically.

You’re right. Sorry for the confusion.

Play After Open are for files that are opened from the Playlist with
Right-click > Open or double-click.

If you use the Open File button on the top toolbar, the file (or files) are added to the Playlist and one will start playing automatically in the player, regardless if Play After Open is toggled or not.

To add files to the Playlist you could use the Add files to playlist button instead, at the bottom of the playlist panel. None of the added files will automatically start to play.
wq4AFkNNg1

Hi MusicalBox,
You are right, it works. I will use it as an alternative solution.
Thank You!

1 Like

I was doing drag-n-drop from a file manager to Playlist (with Play After Open on), and that does not start playing.