- 17 3月, 2014 8 次提交
-
-
由 jp9000 提交于
Removed some warnings associated with it, was the wrong variable type.
-
由 jp9000 提交于
You have to use qt5_use_modules otherwise it just won't always work. I don't know how it was working before with cmake, but apparently this does the trick to ensure that all the necessary libraries and includes are added. ..Might require cmake 3.8.9 though. ..I do hope that doesn't end up being a problem.
-
由 jp9000 提交于
Also, rename atomic functions to be consistent with the rest of the platform/threading functions, and move atomic functions to threading* files rather than platform* files
-
由 jp9000 提交于
Automatically query defaults for sources/outputs/encoders and set them before calling create
-
由 jp9000 提交于
* Not entirely sure if this will fix it, johnnypatterson claimed it would, but this checked out on my mac so at the very least I don't think it should hurt anything
-
由 jp9000 提交于
GCC warned of this, but strangely not clang.
-
由 jp9000 提交于
-
由 jp9000 提交于
- Implement OBS encoder interface. It was previously incomplete, but now is reaching some level of completion, though probably should still be considered preliminary. I had originally implemented it so that encoders only have a 'reset' function to reset their parameters, but I felt that having both a 'start' and 'stop' function would be useful. Encoders are now assigned to a specific video/audio media output each rather than implicitely assigned to the main obs video/audio contexts. This allows separate encoder contexts that aren't necessarily assigned to the main video/audio context (which is useful for things such as recording specific sources). Will probably have to do this for regular obs outputs as well. When creating an encoder, you must now explicitely state whether that encoder is an audio or video encoder. Audio and video can optionally be automatically converted depending on what the encoder specifies. When something 'attaches' to an encoder, the first attachment starts the encoder, and the encoder automatically attaches to the media output context associated with it. Subsequent attachments won't have the same effect, they will just start receiving the same encoder data when the next keyframe plays (along with SEI if any). When detaching from the encoder, the last detachment will fully stop the encoder and detach the encoder from the media output context associated with the encoder. SEI must actually be exported separately; because new encoder attachments may not always be at the beginning of the stream, the first keyframe they get must have that SEI data in it. If the encoder has SEI data, it needs only add one small function to simply query that SEI data, and then that data will be handled automatically by libobs for all subsequent encoder attachments. - Implement x264 encoder plugin, move x264 files to separate plugin to separate necessary dependencies. - Change video/audio frame output structures to not use const qualifiers to prevent issues with non-const function usage elsewhere. This was an issue when writing the x264 encoder, as the x264 encoder expects non-const frame data. Change stagesurf_map to return a non-const data type to prevent this as well. - Change full range parameter of video scaler to be an enum rather than boolean
-
- 12 3月, 2014 8 次提交
-
-
由 jp9000 提交于
-
由 jp9000 提交于
device_id would end up being null, which would mess with the functions.
-
由 jp9000 提交于
if (data->output->flags & AVFMT_RAWPICTURE) If this was true, the 'ret' variable would be used without initialization.
-
由 jp9000 提交于
-
由 jp9000 提交于
-
由 Jim 提交于
linux input plugins for desktop and audio capture
-
由 jp9000 提交于
Otherwise deadlock
-
由 jp9000 提交于
Make sure it locks the write mutex before freeing the packets, and put the detach code in the main thread loop rather than off in a separate function for clarity
-
- 11 3月, 2014 24 次提交
-
-
由 fryshorts 提交于
The event functions got renamed in obs.
-
由 fryshorts 提交于
-
由 fryshorts 提交于
We use the default format to avoid any resampling by pulse audio, since obs will probably resample anyways if necessary.
-
由 fryshorts 提交于
-
由 fryshorts 提交于
-
由 fryshorts 提交于
-
由 fryshorts 提交于
pulse audio provides it's own convenience function to iterate the mainloop, no need to use a custom one. pulseaudio provides timing information for the stream, we use that instead of system time.
-
由 fryshorts 提交于
-
由 fryshorts 提交于
-
由 fryshorts 提交于
Instead of copying the data from pulse to a local buffer and then push it to obs, the pointer from pulse is now used and pa_stream_drop() called afterwards.
-
由 Ziemas 提交于
-
由 fryshorts 提交于
- first try at implementing a pulse audio input plugin, it is currently completely untested. - added license headers to source files
-
由 fryshorts 提交于
Moved the screen grabbing and texture generation to the _tick function in order to keep _render fast. Migrated xshm video source to the new plugin api.
-
由 fryshorts 提交于
Added library to get the mouse pointer with the XFixes extension and draw it via a sprite.
-
由 fryshorts 提交于
added linux test module with first implementation of a screengrabber using the xshm extension for x11
-
由 jp9000 提交于
Used the mac function instead by accident
-
由 jp9000 提交于
Didn't convert the event names and didn't have the right mac includes
-
由 jp9000 提交于
And remember to compile on non-windows systems before committing
-
由 jp9000 提交于
...The reason why audio didn't work was because I overwrote the bitrate values. As for semaphores, mac doesn't support unnamed semaphores without using mach semaphores. So, I just implemented a semaphore wrapper for each OS.
-
由 jp9000 提交于
-
由 jp9000 提交于
-
由 jp9000 提交于
Also, check that audio devices are available before setting defaults
-
由 jp9000 提交于
-
由 jp9000 提交于
Ensure that a source has a valid name. Duplicates aren't a big deal internally, but sources without a name are probably something that should be avoided. Made is so that if a source is programmatically created without a name, it's assigned an index based name. In the main basic-mode window, made it check to make sure the name was valid as well.
-