Commit Graph

1002 Commits (65f84cf356083dd9d385edde535cf0c0665f209b)

Author SHA1 Message Date
jp9000 38b610efca libobs/util/dstr.c: Don't find/replace if empty 2014-05-30 02:39:33 -07:00
jp9000 75d25b4e5b libobs: Init source info before calling 'create'
When a source's private data is being created by a module, it wasn't
able to call most source functions because most functions rely on the
obs_source_info part of the context to be set.  This fixes that issue.

It was strange that this wasn't already the case because the other
context types already did the same thing.
2014-05-30 02:35:24 -07:00
jp9000 9595a78e8a libobs: Add planar 4:2:0 async texture support
This uses the reverse planar YUV 4:2:0 conversion shader to output a YUV
texture without having to convert it via CPU.  Again, this will reduce
video upload bandwidth usage to 37.5% of the original rate.  I suspect
this will be particularly useful for when an FFmpeg or libav input
plugin for playing videos is made.

NOTE: There's an issue with certain texture sizes right now I haven't
been able to identify, if the full size of texture data divided by the
base texture width is an uneven number, the V chroma plane seems like it
can potentially shift, though I only had this happen with 160x90
resolution C920.  Almost all resolutions tend to be even.  Needs further
testing with more devices that support planar YUV 4:2:0 output.
2014-05-30 02:23:36 -07:00
jp9000 85dcfcaa34 libobs: Add button support to properties
This adds button support to properties, which will allow a properties
pane to let the user click a button to activate something with a
particular obs context.  When pressed, the button will execute the
callback given, with the context's private data as a parameter.
2014-05-30 02:16:46 -07:00
jp9000 5be241b17a libobs: Add planar YUV 4:2:0 reverse shader
This allows uploading of I420 textures and directly converting on the
GPU.  Cuts down upload bandwidth to 37.5% of original rate.
2014-05-30 02:13:32 -07:00
Anry 81abe6a65a Added Russian translation 2014-05-28 17:36:16 +04:00
Jim 50adea9fd0 Merge pull request #104 from Tak0r/master
Added German translation
2014-05-25 13:53:41 -07:00
Jim 17147c1a9d Merge pull request #106 from BtbN/fix
Unset cached variables on failure in Jansson find module
2014-05-25 13:53:35 -07:00
BtbN 602b048089 Unset cached variables on failure in Jansson find module 2014-05-25 16:37:49 +02:00
Danni 4d2644ba01 Merge branch 'master' of https://github.com/antihax/obs-studio 2014-05-24 20:20:54 -07:00
Danni 6d6bdfc038 Added simple volume meter. Updated per comments Pull Req #90
Missed a bit...
2014-05-24 20:18:28 -07:00
Danni 9c3fb4b8dc Added simple volume meter. Updated per comments Pull Req #90 2014-05-24 16:42:54 -07:00
Danni 90d9a5204f Updated per comments pull #90. 2014-05-24 16:24:48 -07:00
Frank Gehann e32151693e Added German translation 2014-05-24 22:30:44 +02:00
Jim 143882ee71 Merge pull request #102 from BtbN/external_jansson
Add support for external jansson
2014-05-24 08:05:12 -07:00
Jim 31a58aa232 Merge pull request #99 from Arkkis/master
Finnish Locale
2014-05-24 08:04:39 -07:00
BtbN 2cc24dccab Add support for external jansson 2014-05-24 15:47:03 +02:00
Jim 6ff79c386d Merge pull request #100 from shousa/master
fix typo
2014-05-24 06:40:16 -07:00
Jim e0da47e4ce Merge pull request #101 from BtbN/librtmp_symbols_fix
Hide librtmp symbols so they don't collide with system libraries
2014-05-24 06:39:54 -07:00
BtbN 862840b3a0 Hide librtmp symbols so they don't collide with system libraries 2014-05-24 14:13:44 +02:00
shousa 3c2be4ee0f fix typo
fix typo
2014-05-24 12:00:58 +09:00
Arkkis 11dd634994 Updated Locale.ini 2014-05-23 22:11:13 +03:00
Arkkis 6aad488f31 Updated Locale.ini 2014-05-23 22:09:49 +03:00
Arkkis 749d384b5e Finnish Locale 2014-05-23 22:02:31 +03:00
Jim 83f92d8281 Merge pull request #96 from trapped/master
Added Italian locale
2014-05-23 09:01:40 -07:00
Jim 9b8140f536 Merge pull request #97 from BtbN/cmake_fixes
Fix fdk-aac library search names
2014-05-23 09:01:16 -07:00
BtbN 5f96d478c5 Fix fdk-aac library search names 2014-05-23 05:12:55 +02:00
Jim f722887f0b Merge pull request #95 from shousa/master
Add Japanese translation
2014-05-22 18:39:24 -07:00
Jim df47f31e83 Merge pull request #93 from BtbN/fdk
Add libfdk_aac encoder module
2014-05-22 18:33:46 -07:00
BtbN 817c25884d Make obs-ffmpeg aac encoder output which encoder is beeing used 2014-05-23 00:06:29 +02:00
BtbN ca7ba2e234 Add libfdk encoder 2014-05-23 00:06:28 +02:00
Giorgio Pellero 349556075e Added Italian locale
The English locale file was a bit vague and I didn't have time to delve deep into the UI source code, so it's a bit generic.
2014-05-22 20:36:06 +02:00
shousa 282abfc962 Add Japanese translation
Add Japanese translation
2014-05-23 00:00:40 +09:00
Jim e703c92c85 Merge pull request #92 from fryshorts/pulse-input
A few smaller fixes for the pulseaudio plugin
2014-05-22 05:40:23 -07:00
BtbN 9daaacd76a Add Libfdk find module 2014-05-22 13:03:47 +02:00
BtbN e2c2e50f4c Fix ffmpeg/x264 find modules according to cmake find module naming conventions 2014-05-22 13:03:47 +02:00
jp9000 68d40f13be Fix a few warnings on windows 2014-05-22 03:59:51 -07:00
jp9000 d536df30b0 Add dst_size parameter to character conv funcs
Character conversion functions did not previously ask for a maximum
buffer size for their 'dst' parameter, it's unsafe to assume some given
destination buffer may have enough size to accommodate a conversion.
2014-05-22 03:46:57 -07:00
jp9000 6578e2952b UI: Fix string conversion bug
Parameter two of os_wcs_to_utf8 is how many characters to convert, not
how big the buffer is.
2014-05-22 03:00:16 -07:00
fryshorts 65b8fb2f4e Remove pa timestamps option from pulseaudio plugin
Due to desync issues with the pa timestamps, os ones are
now the only option.
2014-05-21 22:54:23 +02:00
fryshorts e0536e70ba Fix requested latency for pulseaudio plugin
When the PA_STREAM_ADJUST_LATENCY flag is passed, pulse will interpret
the fragsize attribute as a literal targeted latency.
2014-05-21 22:54:23 +02:00
fryshorts 66d8ad8eaf Fix packet/frame counter for pulseaudio plugin
Reset the counters when the recording is stopped.
2014-05-21 22:49:34 +02:00
jp9000 3a850e67c3 libobs: Move API version info to obs-config.h
This way it doesn't interfere with any actual relevant commits related
to obs.h.
2014-05-21 03:58:20 -07:00
jp9000 bba6848c0c Update core to 0.2.4 2014-05-21 03:48:29 -07:00
jp9000 00086f0890 UI: Add FLV file output (sharing encoders)
Implement the 'file path' in output settings, and implement the 'start
recording' button, though for the time being I'm just going to make it
use a directory rather than allow custom file names.

This file output will actually share the video and audio encoder with
the stream.

I don't really know what to do about MP4 -- I don't really like the idea
of saving directly in the program, if you do and the program crashes,
that MP4 file is lost.  I'm contemplating making some sort of mp4 output
process stub.  So no MP4 file output for the time being.

If you need MP4, just remux it with FFmpeg:

ffmpeg -i flv_file.flv -acodec copy -vcodec copy mp4_file.mp4
2014-05-20 23:31:04 -07:00
jp9000 52ddee9755 UI: Add function to generate time/date filenames 2014-05-20 23:26:19 -07:00
jp9000 765ac2a76b UI: Add function to find default video save path
On windows this will return the documents\video directory, but on
linux/mac it'll just return $HOME for the time being because I don't
know if there really are any other appropriate adequate paths to use.
Perhaps someone else can be willing to fill this in if they wish.
2014-05-20 23:08:47 -07:00
Danni bc542a3e75 Added simple volume meter for reference of input levels. 2014-05-20 09:26:18 -05:00
Jim 1e525c4713 Merge pull request #89 from fryshorts/pulse-input
Improve logging for pulseaudio plugin
2014-05-19 18:56:27 -07:00
fryshorts ac4a054bdd Add some statistics to pulseaudio plugin
This patch adds counters for packets and frames for debugging purposes.
2014-05-19 21:28:41 +02:00