Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Very slow video rendering #255

Open
adnanhassan23 opened this issue Apr 25, 2023 · 8 comments
Open

Very slow video rendering #255

adnanhassan23 opened this issue Apr 25, 2023 · 8 comments

Comments

@adnanhassan23
Copy link

To create a video of 50 seconds with 3 images(each of 3 seconds) is taking around 10 minutes(600 seconds) to create on production server. Am i do doing anything wrong?

@LittleTerry
Copy link

same here.

@mjperrone
Copy link

mjperrone commented Jul 18, 2023

In order to make a 12 second clip, it took editly 21 minutes and dropped a bunch of frames. Here is my config:

{
  outPath: 'output.mp4',
  clips: [
    {
      layers: [
        { type: 'video', path: 'input.MP4', cutFrom: 14, cutTo: 26 },
      ],
    },
  ],
}

For ffmpeg to do it directly, it took 3 seconds and appeared to not have dropped any frames.

ffmpeg -ss 14 -to 26 -i "/Volumes/SeagateBlac/biking video/raw/20230623_evening_0.MP4"  -c copy output.mp4

I'd be happy to help devote time to debug this issue further if you have any time for that @mifi.

I think this project is a great idea and I'd love to be able to use it, but it seems I need some help with that.

@mifi
Copy link
Owner

mifi commented Jul 18, 2023

I don't have time to work on this now unfortunately. I would recommend https://github.com/mifi/reactive-video as a much faster alternative to editly (but more limited)

@bkeepers
Copy link
Collaborator

@mjperrone @LittleTerry @adnanhassan23 are you all doing your rending on a cloud server? I've noticed that editly is currently really slow on a headless machine without a GPU.

I just joined the project and am hoping to do some profiling at some point to see if I can speed it up. Stay tuned.

@mjperrone
Copy link

No, was doing rendering on my macbook pro.

@insanity54
Copy link

insanity54 commented Jan 20, 2025

I've used editly in the past. It was always slow for me on a gaming PC with an i7-4790 and a GTX 980. Took about an hour to render a 10 minute video. Worth it for the featureset, but took patience. I remember reading something about it being CPU bound, meaning it doesn't use the GPU even if you have one.

@rodrigoitj
Copy link

I've used editly in the past. It was always slow for me on a gaming PC with an i7-4790 and a GTX 980. Took about an hour to render a 10 minute video. Worth it for the featureset, but took patience. I remember reading something about it being CPU bound, meaning it doesn't use the GPU even if you have one.

I've read that somewhere too, but I think it's possible to make ffmpeg make use of the GPU too, but I never managed to make it work

@bkeepers
Copy link
Collaborator

Thanks for the info. I’m working on some refactoring now, but will look into performance soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants