Record long 30min video and attempt WebM export
I was exporting a 30min recording and had to eventually abort the WebM export after a couple of hours. Using the inspector I checked the progress bar percentage which appeared to be stuck at 15%.
Attempting mp4 export was slightly better: I could see progress being made but still slowly.
While looking around to find an exiting issue I noticed that aperture.js stores temporary files in /var/folders/ and was able to find the video and copy it to my Kaptures folder instantly. Perhaps because this was on APFS?
Mac OS: 10.13.3 (17D47)
Kernel: Darwin 17.4.0 Darwin Kernel Version 17.4.0: Sun Dec 17 09:19:54 PST 2017; root:xnu-4570.41.2~1/RELEASE_X86_64 x86_64
Kap Version: 2.0.0 (2.0.0.681)
While looking around to find an exiting issue I noticed that aperture.js stores temporary files in /var/folders/
This is the source file, it's not possible to export this file directly from Kap, when you choose "MP4" export, we still convert the file trough ffmpeg - even if there are no settings changed.
So your point 1 would allow this 馃憤
What FPS are you capturing at @Jamedjo? You can check your capture frame rate in preferences.
1. is easy and it'd be very nice, indeed, to have it. 2. is very tricky and I'm not sure it's possible to implement it 馃槙
What FPS are you capturing at @Jamedjo?
@skllcrn I'm not entirely sure, but the preference toggle is set to off. Presumable that means it is using the default of 30 FPS rather than the bolded 60 FPS?

- is very tricky and I'm not sure it's possible to implement it 馃槙
@matheuss Would it be possible to parse ffmpeg's output or pass in a progress option to determine how many frames or seconds of video have been processed?
Edit: There is a progress bar already, of course! Could we just calculate the start time, percentage complete and use the two to provide an extrapolation?
Alternatively could we have a cut off where we show a warning if sending more than X mins of video to ffmpeg?
Should I open a second issue for this so this one can focus on instant export?
- is easy and it'd be very nice, indeed, to have it.
How should this look in the UI?
We could add an extra button labelled Original:

To clarify this seems to be 2 different issues:
In the original issue you were attempting to export to WebM, which has a very different set of qualities compared to MP4 and will take longer to process. Exporting to another format isn't really a workaround for the processing time, as you'd lose out to the unique benefits of WebM. There's always trade-offs.
Adding "Original" as an export option is confusing as it appears in a list of formats, and is itself an MP4 file. The last thing we want is analysis paralysis when picking the format for your Kapture and where to export it.
If possible a better solution would be to check if there are any settings changes to the original file when exporting to MP4, and skipping the processing if there are none.
I also did an unscientific test with a 2015 15" MacBook Pro:
Exporting a 27 minute long recording to WebM took ~5 minutes, while exporting to MP4 takes less than half of that. Exporting to both formats the progress bar stops at ~20% before jumping at completion.
@skllcrn Yes, two issues:
I'll open a second issue for the the warning/estimate feature request now.
For long videos I think the best default is to keep the recorded encoding. Container format isn't too relevant to this, as I think ffmpeg can change container format quite quickly if it doesn't have to re-encode. Since the original is an H264 encoded mp4 I think using the actual file is perfect. Especially on APFS where copying the file is a free operation.
Exporting to another format isn't really a workaround for the processing time, as you'd lose out to the unique benefits of WebM.
I initially chose WebM out of habit since it is perfect for embedding online, but in this case container wasn't too important. Speed was, but neither format was taking a sane amount of time to export.
Perhaps the new option should be labeled instant to emphasise that it is a quicker option:

I do like that "Original" could help with https://github.com/wulkano/kap/issues/399 though. Saving with instant/original might prevent the "Are you sure that you want to discard this recording?" dialog, or could be provided as an option in that dialog.
If possible a better solution would be to check if there are any settings changes to the original file when exporting to MP4, and skipping the processing if there are none.
I missed this before...
Makes sense, and avoids the extra button 馃憤
Exporting a 27 minute long recording to WebM took ~5 minutes, while exporting to MP4 takes less than half of that. Exporting to both formats the progress bar stops at ~20% before jumping at completion.
Hmmm... something must have gone wrong for mine. Early 2015 13" but WebM export at 15% after two hours would mean around 13 hours to export. Even with a stuck progress bar, 2h is a long way from 5mins. It looks like the FPS defaults to 15 on export, maybe that had an impact? Also, it was a near full screen recording.
Adding "Original" as an export option is confusing as it appears in a list of formats
I think that confusion can be reduced by grouping it separately. While it does still add an extra button it avoids having to check FPS in two places to get a quick export, so a difficult trade off:

Edit: How about having Save Original in the OS menu bar instead? The export options could also be added there but the editor window would only show export options. Choosing either would prevent the "discard this recording" warning.
We're aiming to add this option to the "File" menu when viewing a recording in the Editor in our next release. The option is technically the same as exporting an MP4 without changes, skipping ffmpeg.
Most helpful comment
We're aiming to add this option to the "File" menu when viewing a recording in the Editor in our next release. The option is technically the same as exporting an MP4 without changes, skipping
ffmpeg.