Commit Graph

18 Commits

Author SHA1 Message Date
ArsenArsen
dde6fc0786 This is why I needed bug testing
Fix a race condition and logic error
2017-06-13 18:23:33 +02:00
ArsenArsen
40d9edd7a8 Make sure we don't upload empty images 2017-06-13 17:02:35 +02:00
ArsenArsen
f04aa81b9f Error handling now there 2017-06-13 14:15:37 +02:00
ArsenArsen
3044bb6690 Grep told me I left it here too 2017-06-13 12:34:17 +02:00
ArsenArsen
b5b2b1255f Fix some file cleanup issues
find /tmp/KShareTemp-*/ -type d | wc -l

53
2017-06-13 11:17:12 +02:00
ArsenArsen
26826b02c2 Recording mostly completed. Who's excited?
Left to do: Error handling. Yep.
2017-06-13 10:56:08 +02:00
ArsenArsen
c6caa2c422 Fix a mem leak and custom upl. mime handling error 2017-06-13 01:15:57 +02:00
ArsenArsen
22ab688a79 Yay encoding works!!!!
Implemented a universal encoder based on FFMpeg. I'll get it to work with gif too.
Adding other formats should be easy. In fact, recordingformats can be made into something much shorter. Soon™️
2017-06-13 00:38:32 +02:00
ArsenArsen
dde3d63d2e I'd be lying if I said this works but it's close!! 2017-06-11 23:56:06 +02:00
ArsenArsen
3015b9547c Cleanup of window flags 2017-06-07 10:37:40 +02:00
ArsenArsen
0b09000729 Rewrite in order to support user-selected formats 2017-06-06 17:05:34 +02:00
ArsenArsen
1d059cc08a Finalize recording.
Yet to fix GIFs and implement WebP/WebM/MP4
I wouldn't mind help
2017-06-06 13:38:15 +02:00
ArsenArsen
c523af9927 Implement GIF support [read more]
So, it works. Yay! Only one frame though. What could be the issue? Hrm. I'll look around. And open an issue in ginsweater/gif-h to try and work it out.

I am amazed.
2017-06-06 12:51:16 +02:00
ArsenArsen
6e36691f6c Forgot to save changes 2017-06-06 01:28:19 +02:00
ArsenArsen
f2b2a7eb4a Implement recording [!tested] [prob. broken] [1AM]
Implement the basic barebone structure of GIF recording.
While it is likely broken (probably black frames and similar issues) it's a good start.
Good night.
2017-06-06 01:26:26 +02:00
ArsenArsen
080d5be40f Forgot to change these few changes. 2017-06-04 23:04:35 +02:00
ArsenArsen
34624e5762 Redesigned uploaders a bit to support more stuff.
Added a functionality of uploading byte arrays and even files. Created RecordingFormat, which allows me to create states, I guess??, for RecordingContex's. Needed for, eg. gifs, which are horrible and I strongly suggest against, which will actually be stored as files per frame which are QImages encoded with QImage::Format_RGB888 (confirmation needed).
2017-06-04 22:58:29 +02:00
ArsenArsen
8f5197b826 Hey it only took me two days to fix a segfault!!!! 2017-06-04 01:04:42 +02:00