Michael Fabian 'Xaymar' Dirks
71440ed3c5
encoder: Revert change 5c8939b4a8
...
Breaks more than intended, and this way is better anyway as the error that used to show up gave no indication as to what went wrong. With this reverted it now shows that starting encoding failed.
2019-09-24 16:00:53 +02:00
Michael Fabian 'Xaymar' Dirks
8b6af720bf
encoder: Add support for full on-GPU encoding
...
Adds support for the full on-GPU encoding path for texture encoding, which just needs to be actually implemented.
In addition this commit also ensures better stability by catching all C/C++ exceptions that could leak to C code which can't handle this at all.
2019-09-23 21:04:18 +02:00
Michael Fabian 'Xaymar' Dirks
5c8939b4a8
encoder: Delay init until resolution, framerate and color are finalized
...
Fixes a crash due to reading/writing out of bounds when the resolution, color and framerate end up different than initially expected during the creation of the encoder. While this does change the error message that appears when the encoder can't be initialized, it is better than outright crashing OBS Studio.
2019-08-11 21:46:21 +02:00
Michael Fabian 'Xaymar' Dirks
617229ce84
codecs/hevc: Add HEVC NAL parsing capabilities
...
While this doesn't help with thumbnails, it helps some players get the playback started quicker. Also was a fun exercise too.
2019-08-11 03:22:55 +02:00
Michael Fabian 'Xaymar' Dirks
e3263c2372
encoder: Fix streaming and recording for H.264/AVC encoders
2019-08-11 01:06:49 +02:00
Michael Fabian 'Xaymar' Dirks
e84eedb8f9
encoder: Fix cast warning
2019-08-10 22:40:45 +02:00
Michael Fabian 'Xaymar' Dirks
6523b82c95
encoder: Apply coding guidelines
2019-08-10 22:39:06 +02:00
Michael Fabian 'Xaymar' Dirks
3253e97dec
encoder: Implement initial support for AVC streaming
...
This is currently not fully working, but it makes OBS not crash so that's good enough for this commit.
2019-08-10 22:37:49 +02:00
Michael Fabian 'Xaymar' Dirks
61c4c80c8f
project: Add and apply new contributing guidelines
2019-08-10 19:31:57 +02:00
Michael Fabian 'Xaymar' Dirks
f5052f45c6
project: Fix support for avcodec version 58 and newer
2019-08-03 09:45:56 +02:00
Michael Fabian 'Xaymar' Dirks
f9e56d33f3
encoder: Remove BGR3 support
2019-07-26 23:38:31 +02:00
Michael Fabian 'Xaymar' Dirks
fbf5ffb921
encoder: Set unique Id to actual encoder name and add unsupported tag
2019-07-25 02:41:15 +02:00
Michael Fabian 'Xaymar' Dirks
10110cb62e
encoder: Select best video format in get_video_info
...
Skips a later conversion step if we can find a potential identical or better quality video format, without ignoring the color format override in the settings itself.
2019-07-25 01:37:01 +02:00
Michael Fabian 'Xaymar' Dirks
3e7fd3ea55
encoder: Properly flush delayed encoders
2019-07-24 21:47:39 +02:00
Michael Fabian 'Xaymar' Dirks
24bc913f53
encoder: Ensure that delayed encoders are flushed properly
2019-07-24 21:22:14 +02:00
Michael Fabian 'Xaymar' Dirks
11cc88deb6
encoder: Fix incorrect or missing Intra-Only check
2019-07-24 21:21:54 +02:00
Michael Fabian 'Xaymar' Dirks
2c2d42ebaf
encoder: Support Key-Frame options in all encoders
2019-07-24 20:53:18 +02:00
Michael Fabian 'Xaymar' Dirks
c8f3f9201c
ui/handler: Add ability to override UI name
2019-07-24 20:19:05 +02:00
Michael Fabian 'Xaymar' Dirks
7c3e313bcd
encoder: Rename class from generic to encoder
2019-07-24 19:51:05 +02:00
Michael Fabian 'Xaymar' Dirks
8c80f6c79e
project: Remove old Prores implementation
2019-07-24 19:14:21 +02:00
Michael Fabian 'Xaymar' Dirks
fa5c421d34
project: Drop GPL in favor of MIT license
2019-07-24 11:04:24 +02:00
Michael Fabian 'Xaymar' Dirks
ec75fe23fe
Initial code (pre-GitHub)
...
Contains:
- ffmpeg object wrappers
- base encoder class
- Apply ProRes encoder (prores_aw)
- OBS plugin structure
2018-11-13 19:04:13 +01:00