-
-
Notifications
You must be signed in to change notification settings - Fork 308
implemented export modified video issue #337 #339
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
base: main
Are you sure you want to change the base?
Conversation
Nevermind, I went to take a video of this bug, and now I can't reproduce it. |
The video export is unlikely to take a long time, since most people use it for GIFs. So I think we can just show a sheet with a system spinner and cancel button if the video is longer than 20 seconds. And then afterwards, just immediately show the save dialog. One less click. And we don't really need the preview as the user can already preview in the main Gifski UI. |
You also need to add MP4 to NSExportableTypes in Info.plist. |
|
The audio preservation is complicating this a lot, when it's not directly needed for Gifski. Maybe we should just drop it? We could show an alert once, the first time the user tries to export a video with audio tracks. |
Also try to clean up and simplify the code more. |
I agree.
Yeah, I'll take out the audio and simplify the PR a bunch. |
|
|
|
|
#339 (comment) is not done. |
My bad! I must have missed somethings. I will look at it tomorrow.
…On Fri, Aug 8, 2025, at 2:00 PM, Sindre Sorhus wrote:
*sindresorhus* left a comment (sindresorhus/Gifski#339) <#339 (comment)>
#339 (comment) <#339 (comment)> is not done.
—
Reply to this email directly, view it on GitHub <#339 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABRVPINIL6ZUMMQUQTHXUQD3MTXUHAVCNFSM6AAAAACAJP6BVKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCNRZGAZDEOBVGU>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
What else am I missing? It seems to work to me. |
That's not what the link points to. It's:
|
Ah, I see now. I went and moved the ExportVideoState to its own file. |
No, that's not it. The comment is on the |
Oh, that makes a lot more sense. Sorry about the confusion. I will fix it now. |
|
If I trim a video, and then change the speed, the saved video does not seem to respect the trim. The speed also seems to be additive, so if I drag it to faster multiple times, it just gets faster. |
Support for preferredTransformpreferredTransform turned out to be a can of worms, because almost nothing else worked with it! I had to make changes to preview, crop, intents, and normal gif export to support it. Couldn't reproduce
|
exports just fine: screen1.mp4and I don't see the problem when scrubbing the speed while playing (although it does look like sometimes it does not change the play speed, which is a separate issue that I should look into*): screen2.mp4* I did look into it a bit. It's hard to diagnose because
.onReceive(Defaults.publisher(.outputSpeed, options: []).removeDuplicates().debounce(for: .seconds(0.4), scheduler: DispatchQueue.main)) { _ in
Task {
await setSpeed()
}
} I'm out of time today to figure out what the problem is. |
Fixes #337
I implemented export of the original video, let me know what you think of the UI. Meanwhile, I will work on inserting the original audio track into the export.