-
- Downloads
Simplify media i/o interfaces
Completely revamped the entire media i/o data and handlers. The original idea was to have a system that would have connecting media inputs and outputs, but at a certain point I realized that this was an unnecessary complexity for what we wanted to do. (Also, it reminded me of directshow filters, and I HATE directshow with a passion, and wouldn't wish it upon my greatest enemy) Now, audio/video outputs are connected to directly, with better callback handlers, and will eventually have the ability to automatically handle conversions such as 4:4:4 to 4:2:0 when connecting to an input that uses them. Doing this will allow the video/audio i/o handlers to also prevent duplicate conversion, as well as make it easier/simple to use. My true goal for this is to make output and encoder plugins as simple to create as possible. I want to be able to be able to create an output plugin with almost no real hassle of having to worry about image conversions, media inputs/outputs, etc. A plugin developer shouldn't have to handle that sort of stuff when he/she doesn't really need to. Plugins will be able to simply create a callback via obs_video() and/or obs_audio(), and they will automatically receive the audio/video data in the formats requested via a simple callback, without needing to do almost anything else at all.
Showing
- libobs/CMakeLists.txt 0 additions, 1 deletionlibobs/CMakeLists.txt
- libobs/makefile.am 0 additions, 1 deletionlibobs/makefile.am
- libobs/media-io/audio-io.c 129 additions, 65 deletionslibobs/media-io/audio-io.c
- libobs/media-io/audio-io.h 19 additions, 8 deletionslibobs/media-io/audio-io.h
- libobs/media-io/audio-mixer.h 0 additions, 0 deletionslibobs/media-io/audio-mixer.h
- libobs/media-io/media-io.c 0 additions, 159 deletionslibobs/media-io/media-io.c
- libobs/media-io/media-io.h 0 additions, 74 deletionslibobs/media-io/media-io.h
- libobs/media-io/video-io.c 109 additions, 52 deletionslibobs/media-io/video-io.c
- libobs/media-io/video-io.h 24 additions, 14 deletionslibobs/media-io/video-io.h
- libobs/obs-data.h 0 additions, 3 deletionslibobs/obs-data.h
- libobs/obs-source.c 6 additions, 3 deletionslibobs/obs-source.c
- libobs/obs-source.h 0 additions, 1 deletionlibobs/obs-source.h
- libobs/obs.c 19 additions, 23 deletionslibobs/obs.c
- libobs/obs.h 6 additions, 5 deletionslibobs/obs.h
- obs/window-basic-main.cpp 1 addition, 1 deletionobs/window-basic-main.cpp
- plugins/obs-outputs/obs-outputs.c 1 addition, 1 deletionplugins/obs-outputs/obs-outputs.c
- vs/2013/libobs/libobs.vcxproj 0 additions, 2 deletionsvs/2013/libobs/libobs.vcxproj
- vs/2013/libobs/libobs.vcxproj.filters 0 additions, 6 deletionsvs/2013/libobs/libobs.vcxproj.filters
Loading
Please register or sign in to comment