1425 Commits

Author SHA1 Message Date
jp9000
0a3788341a obs-filters: Add Render Delay filter
Allows adding minor video delay to non-async sources.
2017-05-16 17:38:22 -07:00
jp9000
514387f7cd obs-ffmpeg: Always close network sources when inactive 2017-05-16 01:58:18 -07:00
jp9000
65c344d75d obs-ffmpeg: Only preload frames for local files 2017-05-16 01:58:01 -07:00
Richard Stanway
92a258690e
obs-outputs: Add output error messages for RTMP 2017-05-15 12:05:44 +02:00
jp9000
8bd76237d4 win-dshow: Update libdshowcapture to 0.5.12 2017-05-15 02:25:38 -07:00
Jim
b5a6e12219 Merge pull request #912 from Xaymar/feature-enc-amf
enc-amf: Version 2.1.3
2017-05-14 21:02:02 -07:00
jp9000
5411e58121 image-source: Allow custom bounding source size/aspect
Adds an option that allows the user to specify the size (or aspect) of
the bounding source size which all the images are then scaled in to.
Acts similarly to "bounding box" of scene items, but for the slide show
and its sub-sources.
2017-05-14 20:53:55 -07:00
Michael Fabian Dirks
1e99bf100f enc-amf: Version 2.1.3 2017-05-15 03:36:20 +02:00
jp9000
d13fa96851 libobs: Don't use source flags for async buffering
(This commit also modifies the decklink, linux-v4l2, mac-avcapture,
obs-ffmpeg, and win-dshow modules)

Originally, async buffering for sources was supposed to be a
user-controllable flag.  However, that turned out to be less than ideal
because sources (such as the win-dshow plugin) were programmed with
automatic control over their buffering (such as automatically detecting
USB 2.0 capture devices and then enabling in those cases).

The fact that it was a flag caused a design flaw to where buffering
values would be overwritten when a source is loaded from save data.

Because of that, this flag is being deprecated and replaced with a
specific function to enable unbuffered mode instead.
2017-05-13 23:32:40 -07:00
jp9000
d6872af0a2 obs-ffmpeg: Implement get_total_bytes in recording outputs
Allows seeing statistics such as bitrate and total bytes saved for
recording outputs.
2017-05-13 01:21:20 -07:00
jp9000
8962899b77 obs-ffmpeg: Add signal/proc to restart media playback
A convenient feature if the user wants to trigger the media to play back
on the fly for whatever reason.
2017-05-10 19:54:03 -07:00
Gol-D-Ace
95ffca850d rtmp-services: Rename hitbox.tv to Smashcast
Ingest URLs are the same for now.
2017-05-11 02:49:28 +02:00
Jim
01db15128c Merge pull request #911 from fryshorts/decklink-fixes
Decklink fixes
2017-05-10 16:44:53 -07:00
Richard Stanway
0c167d27a6
win-capture: Hide cursor when in background (window capture) 2017-05-11 00:01:33 +02:00
Richard Stanway
9e95b2eb6f
Various: Don't use boolean bitfields
Using bitfields causes less optimized code generation and the memory
savings are minimal as none of the objects are instantiated enough
times to be worth it.

See https://blogs.msdn.microsoft.com/oldnewthing/20081126-00/?p=20073
2017-05-10 23:28:46 +02:00
Richard Stanway
62c40eac0c
win-capture: Hide cursor when in background (game capture)
Prevents random OS cursors showing if someone alt+tabs out of a game but
still moves their cursor over the captured area (possibly fullscreen).
2017-05-10 23:08:25 +02:00
fryshorts
00cb0540a5 decklink: Remove unused variables to fix warning
Remove two unused variables that are causing a compiler warning on gcc.
The size was probably added in the past to calculate the the packet
size, but in the end was not actually needed.
2017-05-10 22:47:58 +02:00
fryshorts
c8ce08d4b6 decklink: Add option to disable the plugin
Add an option to the cmake build system to disable the plugin. This is
needed on arm, as the plugin uses x86-intrinsics.
2017-05-10 22:43:15 +02:00
fryshorts
311cd6fb79 decklink: Fix compiler warning about ignored const
Fix a warning from gcc about one of the const keywords being ignored.
This happens because the returned type is not a reference contrary to
the methods above.
2017-05-10 22:43:15 +02:00
jp9000
d1329d1798 obs-outputs: Fix frame dropping when using ultrafast
x264 on ultrafast won't drop any b-frames, so it might buffer packets a
bit too much in that case.

The frame drop duration calculation now searches for the first valid
video frame within the packets buffer.  Additionally, it no longer
prevents frame dropping for a specific time after dropping frames,
because the first case eliminates the need for that.
2017-05-06 11:29:36 -07:00
jp9000
585b3ed945 obs-outputs: Add connect time callback for rtmp output 2017-05-06 11:29:35 -07:00
jp9000
f6517d2be3 obs-outputs: Add null output
Allows encoding without necessarily outputting to a file or stream.
Useful for running encoding tests.
2017-05-06 11:29:33 -07:00
jp9000
e04ab3da7f text-freetype2: Make font lookup recursive on mac
On macs, some fonts can be in sub-folders of the font folder, and may
not properly be found.  This fixes that to detect directories and make
the lookup recursive.
2017-05-05 22:57:28 -07:00
Richard Stanway
a23c009a69 Various: Optimize bundled PNG files
By losslessly recompressing and removing redundant metadata, this saves
around 910 KB.
2017-05-05 19:56:00 +00:00
Jim
b0f5694181 Merge pull request #904 from cg2121/vlc-source-random
vlc-video: Add ability to shuffle playlist in VLC source
2017-05-05 09:56:53 -07:00
cg2121
7ff9510661 vlc-video: Add ability to shuffle playlist in VLC source 2017-05-05 01:04:08 -05:00
Richard Stanway
34ee1a87c3
obs-qsv11: Fix SEI crash caused by dangling pointer 2017-05-04 21:44:42 +02:00
e00E
4361c5bd45 UI, obs-qsv11: Fix build in VisualStudio 2017
OBS did not build out of the box in VS2017 but it does with these
changes.

Closes jp9000/obs-studio#902
2017-05-04 06:13:26 -07:00
derrod
31121a8f39 rtmp-services: Update ingests
- Remove livecoding.tv (now using per-user ingest assignment)
- Remove Connectcast.tv (Shutting down)
- Remove Cashplay.tv (Shut down)
- Remove Restream.io LA ingest (removed)
- Rename Stre.am to Stream.live and update URL
2017-05-03 20:19:54 +02:00
Jim
f94cad4623 Merge pull request #885 from Xaymar/feature-enc-amf
enc-amf: Update to v2.1.0(.0)
2017-05-01 13:06:37 -07:00
Richard Stanway
61e2828036
win-ivcam: Fix potential null pointer dereference 2017-05-01 19:29:41 +02:00
Richard Stanway
2ae706782c
Merge branch 'new-get-graphics-offsets'
Added offsets to support Windows 10 Creator's Update
2017-05-01 16:15:16 +02:00
Michael Fabian Dirks
2172c474da enc-amf: Update to v2.1.0(.0)
* Supports both H264/AVC and H265/HEVC encoding.
* Fixed several crashes and bugs that plagued users.
* Massively reduced CPU usage caused by the plugin.
* Added settings for custom I/P/B Interval.
* Added settings for custom Frame Skipping.
2017-05-01 03:11:00 +02:00
SoraYuki
0ea0b99aa0 obs-outputs: Always call RTMP_Init before connecting
Clears/reinitializes RTMP structure to defaults, preventing data from
potentially persisting between different connections.

Closes jp9000/obs-studio#878
2017-04-30 06:05:58 -07:00
jp9000
2e0d237341 win-capture: Fix and clarify window capture prioritization
Changes "class" prioritization to attempt to find the window either with
the same title, or the next window of the same window class (window
type), changes "title" prioritization to only find the window based
upon its title, and changes "executable" prioritization to attempt to
find the window with the same title, or the next window of the same
executable.

Additionally changes the text associated with these selections to
clarify that functionality to users.
2017-04-30 00:25:02 -07:00
Richard Stanway
38294d6c47
win-capture: Add missing 32 bit offsets 2017-04-26 21:36:49 +02:00
Richard Stanway
35a9b2d27f
win-capture: Update get-graphics-offsets
Added support for multiple signature matching and variable offset
positions. Added support for Win7 64 bit signature for consistency.
2017-04-26 21:23:34 +02:00
Richard Stanway
d4de8b9a7e win-capture: Log if shared texture capture is unavailable 2017-04-26 21:04:41 +02:00
Ryan Foster
be98cee2a0 Fix various typos across multiple modules 2017-04-25 22:39:42 -04:00
mntone
117898477c win-dshow: Fix reallocation issue in ffmpeg-decode 2017-04-09 10:39:39 +09:00
jp9000
b63e4b055e decklink: Add workaround for audio timestamp jump issue 2017-04-07 19:57:34 -07:00
mntone
c459ade360 decklink: Add option to select channel format
Closes jp9000/obs-studio#867
2017-04-07 19:56:28 -07:00
Hugh Bailey ("Jim")
698fd00174 Merge pull request #866 from RytoEX/update-picarto
rtmp-services: Update Picarto maximum bitrates
2017-04-06 12:55:12 -07:00
Shaolin
e006d961a4 audio-monitoring: Add ability to monitor Outputs
(Note: This commits also modifies the linux-pulseaudio, mac-capture, and
win-wasapi plugins)

Do not prevent the targeted output device from being monitored if the
selected monitor output device is a different one.

Closes jp9000/obs-studio#872
2017-04-05 18:58:08 -07:00
Colin Edwards
162450c882 mac-avcapture: Ability to directly add iOS devices over USB
Closes jp9000/obs-studio#869
2017-04-04 18:29:19 -07:00
jp9000
8f4f38c30e obs-ffmpeg: Fix bug on non-MSVC compilers
This happens because the enum had the incorrect name, and microsoft
automatically treats all enums as integers in C, regardless of whether
they actually exist or not.  Microsoft makes terrible compilers and
whoever decided this was a good idea should be fired.
2017-03-31 12:45:47 -07:00
jp9000
1d69e359ec obs-ffmpeg: Always open on update unless set otherwise 2017-03-31 12:30:10 -07:00
jp9000
9174ba8403 obs-ffmpeg: Remove unnecessary open call 2017-03-31 12:28:10 -07:00
jp9000
45d029b1fb obs-ffmpeg: Change from libff to media-playback 2017-03-31 12:10:32 -07:00
Ryan Foster
c0be332828 rtmp-services: Update Picarto maximum bitrates
Update maximum video bitrate for Picarto from 2000 to 3500 and maximum
audio bitrate from 160 to 128.
http://help.picarto.tv/knowledge_base/topics/how-to-configure-open-broadcaster-software
2017-03-26 12:30:58 -04:00