1091 Commits

Author SHA1 Message Date
palana
2088e99a69 Move encoder selection to encoding settings
This will automatically update profiles to the new encoder selection
according to the old setting resolution, i.e. UseQSV && UseNVENC results
in QSV being selected.

This should free up some space to allow more encoder troubleshooting and
diagnostics in the settings window (relevant QSV changes coming soon ...)

Also hopefully made supported encoder settings a bit more clear by
disabling more settings if the selected encoder doesn't support them
2014-02-23 13:19:42 +01:00
HomeWorld
afd1bd7f59 Fixed file access flags in AppendGameCaptureLog 2014-02-22 08:40:50 +02:00
jp9000
458de858dd Restore code of previous commit but still attach
I shouldn't have deleted the previous code, so I reverted it and just
commented out one line instead
2014-02-21 22:07:48 -07:00
jp9000
5b8853332d Merge branch 'master' of https://github.com/jp9000/OBS 2014-02-21 21:59:13 -07:00
jp9000
9139963d5a Always add game capture log to the end of a log
Until file monitoring has been fixed I want to always append game
capture logs to the end of regular logs.  I'm just tired of seeing logs
from users where game capture clearly worked and yet no game capture log
at the end of the file.
2014-02-21 21:57:43 -07:00
palana
9d9a2a1f61 Delay closing output file until after the encoder is flushed
Applies only when in file only mode or with stream paused while file
output is enabled

Still need to evaluate not closing the file prematurely while stream is
active with a large number of buffered frames in the encoder
2014-02-20 20:42:49 +01:00
palana
780f7d410b Make QSVHelper exit early in case no compatible graphics card is found
This should fix initialization on Optimus laptops if QSVHelper is forced
to the Nvidia graphics card (fix as in not initialize a non-accelerated
session resulting in sub par performance)

Sadly this will also disable the QSV checkbox in advanced settings for
some people that should have QSV support
2014-02-20 15:59:46 +01:00
palana
c08bf24dbd Stop encoder in file only mode when the output file cannot be opened
This may or may not break some other combination of hotkey/button/invalid
setting, we shall see
2014-02-20 15:15:16 +01:00
palana
de4acd9233 Fix stopping the encoder when using StartStreamHotkey with file output
See http://obsproject.com/forum/viewtopic.php?t=11820
2014-02-20 13:31:57 +01:00
palana
6b0e38767b Stop trying to move sources if no sources are selected
This breaks working legacy API consumers but fixes broken legacy API
consumers (see http://obsproject.com/forum/viewtopic.php?t=11810)
2014-02-20 02:43:43 +01:00
Richard Stanway
4268d3c284 Raise successful server connection threshold
(librtmp takes ~25 secs to timeout a dead server)
2014-02-19 14:15:20 +01:00
jp9000
8430e8571d Update to version 0.612b 2014-02-18 17:48:58 -07:00
Richard Stanway
db72f34e24 Remove a debug print 2014-02-17 15:27:54 +01:00
palana
89e4bea0c0 Undo commit of test code
Accidentally enabled NVENC setting for everyone
2014-02-17 14:44:06 +01:00
paibox
872e478139 Fix FLV writer
The first FLV packet was getting thrown off by initialTimeStamp, because
I foolishly forgot that even if the function was called with 0 as the
argument for the timestamp, it would still subtract the -1 from that.
Also made the capitalization of timestamp to be consistent with other
variable in the file.
2014-02-17 09:46:52 +01:00
jp9000
a190a57e42 Fix elgato bug (surprise) (0.611b)
Also add QSVHelper to OSB.sln
2014-02-16 15:04:07 -07:00
Richard Stanway
601fec148e Null terminate HTTP response 2014-02-16 22:02:45 +01:00
jp9000
78b32a764b Woops, formatted the version number wrong (0.61b) 2014-02-16 12:52:25 -07:00
jp9000
07518b5146 Add a minor (temporary) fix to desktop drawing
I'd rather have the cursor for the desktop texture to show properly than
show up garbled.  I'd rather be spending my time in obs-studio right now
though.  obs-studio will have a built-in way of dealing with
multi-texture based sources much better (rendering to texture)
2014-02-16 07:54:58 -07:00
jp9000
529dec34c4 Updated to version 0.61b 2014-02-15 20:35:07 -07:00
jp9000
e7201ce3d2 Reverted nvidia optimus enablement
Turned out to be causing crashes in some cases.  I wish they had better
laptop drivers.
2014-02-15 20:32:40 -07:00
palana
e3afcc83b4 Show audio codec warning even if it is the only warning 2014-02-16 01:41:26 +01:00
palana
ec421e580a Add 'profile' advanced option support for QSV encoder
Fix #304
2014-02-15 22:45:57 +01:00
palana
2a1c4326b4 Add support for per service list of supported audio codecs
Currently only handles the vanilla OBS case of two possible codecs, i.e.
it won't list multiple listed supported codecs as alternatives in the
warning message; also doesn't verify that the listed codecs are actually
available in OBS

Other than that it supports multiple "supported audio codec" entries
in services.xconfig per service, in case anyone wants to white list
both MP3 and AAC for their service:

```
recommended : {
 "supported audio codec" : "MP3"
 "supported audio codec" : "AAC"
}
```
2014-02-15 20:12:44 +01:00
palana
2a9cf6e5d9 Add plugin callback for log update notifications
This should allow plugins to implement their own version of a log window
without having to worry about providing lightweight-ish and non-blocking
callback functions for OBSApi.
2014-02-15 18:02:03 +01:00
palana
aa3f78e514 Rename open log window on launch to show log window on launch
This improves consistency with the menu entry show log window, since
both perform the same action
2014-02-15 03:12:20 +01:00
palana
ffd5ef4a0d Merge pull request #309 from adocilesloth/master
Add API calls for capture fps, bytes per second, total frames, total frames dropped and total stream time.
2014-02-14 23:52:59 +01:00
palana
c4ae7b71af Add global setting to open log window on launch 2014-02-14 23:45:32 +01:00
adocilesloth
6258828c70 Add API calls for capture fps, bytes per second, total frames, total frames dropped and total stream time 2014-02-14 22:16:44 +00:00
palana
2c3d928427 Add localization for log window title 2014-02-14 05:14:48 +01:00
palana
e8467dc87f Add QSV preset selection setting
Also improve string output for QSV target usages
2014-02-14 04:08:26 +01:00
palana
ed314cfce6 Implement QSV preset selection via init request 2014-02-14 03:45:29 +01:00
palana
7b3beebe1b Fix #53 "Openable log window while application is active"
@jp9000
Implement log window

Also made it so that the log window position/size is saved.  Defaults to
600x500, centered to the main monitor if no configuration found.

@palana
Log system integration and callback behavior
2014-02-14 00:21:44 +01:00
palana
de9adb3498 Fix typo in publish settings
Start Recording hotkey is now clearable
2014-02-13 20:11:37 +01:00
palana
c6470cf369 Disable both menu entries for uploading the current log 2014-02-13 08:03:38 +01:00
palana
3a3eb810dd Fix crash with start recording button/hotkey and invalid encoder settings
In case the encoder failed to initialize (making Start call Stop)
StartRecording would try to access invalid objects (since Stop deleted
them)
2014-02-12 17:37:59 +01:00
palana
766c527ed3 Add approximate log file age to Gist description
The accuracy depends on the consistency of the local time and for older
log files the accuracy will degrade rather quickly
2014-02-12 07:57:53 +01:00
palana
91f5eaf250 Fix updater not showing negative confirmation in some cases
Due to updatesAvailable being uninitialized there was a chance no error
message would be shown in case HTTPGetFile or ParseManifest returned
an error (the latter only when returning an error before setting
updatesAvailable) or the response code from HTTPGetFile was neither 200
nor 304
2014-02-12 05:45:47 +01:00
palana
959efa1e68 Add Analyze buttons for last and current log 2014-02-12 03:07:25 +01:00
palana
a6cf3dde90 Resolve full GitHub Gist URL for analyzer invocation 2014-02-12 02:36:34 +01:00
palana
17446f7838 Add LogUploader helper to detect HTTP redirects
Also handles the non standard X-Gist-Url header sent by GitHub sometimes
2014-02-12 02:36:34 +01:00
palana
8730af8bc3 Extract non request specific parts from LogUploader HTTP helper 2014-02-12 02:36:34 +01:00
palana
14a7a901fa Add 'Analyze' menu entry and button where applicable to LogUploader UI
Also add separate analyzerURL field to LogUpload result
2014-02-12 02:36:33 +01:00
palana
b0e942570b Improve UploadLog interface by separating returned URLs from errors 2014-02-12 02:36:33 +01:00
palana
e8c2b21764 Add URL builder helper to HTTPClient 2014-02-12 02:11:25 +01:00
palana
028efacc83 Force disabling either QSV or NVENC if both are enabled
Currently an error is shown in case OK or Apply is clicked to preserve
the non-modifying behaviour of Cancel

TODO: add warnings somewhere to notify the user of problems before OK
or Apply is clicked
2014-02-11 21:30:22 +01:00
palana
b14b483985 Allow disabling QSV/NVENC settings in case both are enabled (via config) 2014-02-11 21:25:52 +01:00
palana
69fb014ea5 Fix log upload menu in case all previous log files are deleted 2014-02-10 22:52:30 +01:00
palana
a1c19fa961 Monitor log file directory and refresh log upload menu if necessary
No new log files will be added to prevent the current log file from
becoming the topmost entry, which would render the "Upload last Log File"
entry useless
2014-02-10 22:14:46 +01:00
palana
81def2284e Fix catch-all error message in log file -> view
Also add missing include ...
2014-02-10 19:04:12 +01:00