-
-
Notifications
You must be signed in to change notification settings - Fork 312
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
Speed and suitability for 1-sec everyday-style videos #32
Comments
I think it's definitely possible to use related to: mifi/lossless-cut#126 which is related to mifi/lossless-cut#13 |
Out of curiosity, are you specifying duration of your video clips? if you are, that possibly means the clips are being sped up, which can slow things down. |
I think most of these comments aren't about editly specifically but about how we are handling ffmpeg which would help the video-everyday project. Fast and accurate should be possible https://superuser.com/a/704118/76968 Edit: hmmmm https://www.reddit.com/r/ffmpeg/comments/aq98eu/help_frame_accurate_keyframe_seek_with_stream_copy/ Looks like the behavior changed in the last few years:
So moving the -ss shouldn't make any difference Maybe accurate seeking is just not possible in actuality. "in most formats it is not possible to seek exactly" |
My experience is also that |
Thanks for chiming in anyway! After some research it seems that a big reason is just the videos are so large, they are 4K videos for example. Other professional video editing tools use hardware acceleration which is why it appears faster when using them. |
Hey, would love to get this working with https://github.com/umaar/video-everyday
Here are a few issues I had from doing this manually with ffmpeg, I'm wondering if Editly gets around these? Browsing the readme, sounds like it might do!
Doing both video resizing and concatenation is pretty slow, e.g. scaling:
Before a concat, I would try a scale videos appropriately. This seemed to be one way of scaling different sized videos into one common resolution. This command is a little daunting! Think I copied that from a forum. Also this is pretty slow!
In my project, I tried to overlay subtitles - it works, but again it's super slow. It was actually faster to export an SRT file from my node script, and then import everything into a commercial video editing tool, and then export again!
This is the trickiest issue. When ingesting videos, I would grab a small segment around the half way mark. Using lossless cut or ffmpeg fast mode was fast - but because it didn't align with a keyframe, there'd be a black screen at the start and funny audio issues. In the end I had to do it the "slow" way in ffmpeg (I think it reencodes), the problem: extracting a 2 second clip from a 20min 4k video takes a long time! It's strangely faster for me to open the video in a commercial video editing tool, trim the video, and export!
I think what I'm trying to get across in this long comment is that in ffmpeg, there seems to be two ways of doing things:
I was hoping for a fast and accurate way! I'm wondering, does editly get around these challenges?
The text was updated successfully, but these errors were encountered: