Closed Kor1134 closed 4 years ago
OpenShot seeking algorithm is causing your problem. In some cases by remuxing ( https://github.com/OpenShot/openshot-qt/issues/2896#issuecomment-519383053 ) video before importing it into OpenShot may help.
OpenShot seeking algorithm is causing your problem. In some cases by remuxing ( #2896 (comment) ) video before importing it into OpenShot may help.
Then why don't you write a different algorithm optimized for video streams like this, detect constant or variable frame rate and fork the code to the appropriate algorithm. Or include a remux feature in OpenShot to work around this bug. As I mentioned, Freemake worked perfectly but embedded a watermark unless I buy it.
Did you tried to remux? Is it works for you?
As for the code writing - I already did what I can. Just use it if you wish. Also, mpv player using FFmpeg and has nice seeking. Why to reinvent the wheel? I see the difference between these two.
I remuxed with ffmpeg and now it is smooth, but about 1 minute into the preview, playback stopped. Clicked play/pause a few times, nothing changed, so went to the beginning of the video and clicked play, and OpenShot stopped responding, had to close with task manager.
Try other software then. Unfortunately, this behavior of OpenShot wouldn't be changed any time soon. Similar issues were reported many times.
Describe the bug: Working on a 300 second, high quality MP4, I need to trim the first 121 seconds of the video. After I remove the cut section, OpenShot runs extremely slow, playback in the preview pane is out of sync and only plays a few frames at a time, and when I export the video or exit the application, it becomes unresponsive for several minutes at a time. The verbose output generated over 200MiB of data in about 10-15 minutes of usage, doing nothing but cutting a section of video and previewing the change.
Steps to reproduce the behavior:
Expected behavior: Application should be responsive and provide smooth playback and export while keeping video and audio synchronized. I used Freemake and Filmora9 to accomplish the desired result in just a few minutes, but those applications embed a watermark unless I pay, and the fee is not worth the rare occasion I might need to modify a video and the limited audience I intend to make it for.
System Details:
Log Files: openshot-qt.log.zip libopenshot.zip