Commit Graph

47 Commits

Author SHA1 Message Date
SmallCoccinelle e7f6cb22b7
Error strings noncapitalized (#1704)
* Fix error string capitalization

Error strings often follow another string. Hence, they should not be
capitalized, unless referencing a name.

* Uncapitalize more error strings

While here, use %v on the error directly, which makes it easier to wrap
the error later with %w if need be.

* Uncapitalize more error strings

While here, rename Url to URL as a nitpick.
2021-09-08 11:23:10 +10:00
WithoutPants 709d7ce1cc
Load TLS config files from config path before stash home (#1678)
* Load tls files from config or home directory
* Update README
* Require both ssl files if either present
2021-08-31 19:37:45 +10:00
bnkai f1786ad871
Make audio stream optional for preview generation (#1454) 2021-06-11 15:01:32 +10:00
EnameEtavir d6ada23616
Fix: unhandled errors (#1419)
As these errors where not explicitly ignored with _, I made changes to make sure they bubble up.
2021-05-25 18:40:51 +10:00
WithoutPants 22a2fc3177
Make ffmpeg download location more portable (#1384)
* Download ffmpeg to config path
* Add setup message for ffmpeg download
* Handle missing ffmpeg in tasks
2021-05-18 09:14:25 +10:00
InfiniteTF 31981d4116
Add in-memory screenshot generation for sprites and phash (#1316) 2021-05-05 13:22:05 +10:00
bnkai 1882b44951
Strip file extension from scene title when scanning (#1022) 2021-01-07 11:38:30 +11:00
JoeSmithStarkers 71c814c116
Added streaming quality options (#790) 2020-10-22 15:02:27 +11:00
WithoutPants 98dda782aa
Prevent invalid date tag in video file from aborting scan (#836)
* Give more context when ffprobe fails
* Suppress JSONTime unmarshal error
* Tidy scan logging
2020-10-11 12:02:41 +11:00
bnkai 94dc74f4a8
Fix ffmpeg/ffprobe downloads (#824) 2020-10-03 17:28:02 +10:00
JoeSmithStarkers 30e88b96ee
Added ffmpeg/ffprobe permission correction code for linux/osx (#814) 2020-10-03 16:59:23 +10:00
JoeSmithStarkers 85aa1d8790
Replace os.Rename with util.SafeMove to allow cross device moving to not fail. (#745)
Fixed annoyingly noisy transcoding progress log messages.
Fixed minor minor issue with directories than are named "blah.mp4" being detected as files to be scanned.
2020-08-21 17:57:07 +10:00
JoeSmithStarkers ecc42e4e24
Preview generation fallback (#725)
* Added preview generation fallback feature.
When a preview generation fails (often for wmv/avi files), the new code tries with less stricted (no xerror) and more time consuming options (slow+fast seek).
Fix a minor issue when stash downloads ffmpeg/ffprobe, but doesn't re-detect their paths.
2020-08-17 09:21:58 +10:00
WithoutPants a2341f0819
Allow customisation of preview generation (#673)
* Add generate-specific options
* Include no-cache in preview response
2020-07-23 12:51:35 +10:00
WithoutPants 37be146a9d
Transcode stream refactor (#609)
* Remove forceMkv and forceHEVC
* Add HLS support and refactor
* Add new streaming endpoints
2020-07-23 11:56:08 +10:00
InfiniteTF 4ec6d62e01
Selectable wall preview type (#510)
* Add optional image preview generation
* Add setting for video preview encoding preset
2020-05-27 09:33:49 +10:00
WithoutPants 41c6d9e681
Revert preview generation change 2020-05-13 17:23:23 +10:00
bnkai 4829b4b214
Fix edge case preview generation, tweak preview generation preset (#528) 2020-05-11 17:24:52 +10:00
WithoutPants 3d22d5a742
Refactor build (#493)
* Add lint/format checks to build
* Make travis get full repo to get tags
* Run packr2 once in cross-compile
* Fix quotes in package.json
* Fix linting issues
* Formatting
* Fix vet issue
* Fix go lint issues
* Show start of each platform compilation
* Add validate target
* Set gitattributes for go fmt and mod vendor
* Fix tag name
* Add fmt-ui target
2020-04-29 12:13:08 +10:00
bnkai d5617307f1
Add detection of container/video_codec/audio_codec compatibility for live file streaming or transcoding (#384)
* add forceMKV, forceHEVC config options
* drop audio stream instead of trying to transcode for ffmpeg unsupported/unknown audio codecs
2020-04-10 08:38:34 +10:00
WithoutPants 3de6955a9e
Generate cover image (#376)
* Make mutating metadata ops mutation
* Implement scene generate screenshot
* Remove fetch policy on metadata mutations
* Port UI changes to v2.5
* Set generated image in database
2020-03-12 08:34:04 +11:00
bnkai 3f511e48e8 Fix previews generation bug (#231) 2019-11-30 08:58:15 -08:00
WithoutPants 49c9b1aa9a Fix race condition in running encoders (#199) 2019-11-14 10:27:13 -08:00
WithoutPants d1ea2fffa5 Add configurable transcode sizes (#178) 2019-11-04 16:38:33 -05:00
WithoutPants be12a9f5a1 Fix ffmpeg error output (#176) 2019-11-04 16:34:57 -05:00
WithoutPants 1ac6703d7f Merge from master 2019-10-18 08:15:45 +11:00
WithoutPants a401a7880e Close streams/encodes before deleting file 2019-10-18 07:42:12 +11:00
Leopere 9ed941dd35
Merge pull request #84 from WithoutPants/live_transcode_seeking
Add seeking for live transcoding via video.js
2019-10-14 11:39:12 -04:00
Leopere b408782134
Merge pull request #131 from ExceptionalError/ffmpeg
Ffmpeg changes
2019-10-13 21:27:38 -04:00
ExceptionalError 4eb843d83e
revert changes #117 2019-10-12 16:04:00 +02:00
WithoutPants afcadd941b Make title from file metadata optional 2019-10-12 19:20:27 +11:00
Leopere e317fd934b
partial reversion of PR #117 2019-10-11 16:51:11 -04:00
ExceptionalError 10af75a670
Added output of error message 2019-10-09 06:16:17 +02:00
ExceptionalError d082580ee0
modified args for screenshot 2019-10-09 06:15:00 +02:00
ExceptionalError 1d4feab478
Added quotes to path
fixes #48
2019-08-31 07:11:01 +02:00
WithoutPants 79f2902e26 Parse title, details, date from file metadata 2019-08-16 08:47:35 +10:00
WithoutPants aeef01a64c Add row-based multithreading for live transcodes 2019-08-01 11:36:29 +10:00
WithoutPants 8ed3c5f71d Add seeking for live transcodes via video.js 2019-07-29 13:58:04 +10:00
WithoutPants 22577918fb Add basic live transcoding to webm 2019-07-25 19:05:53 +10:00
rudi123github b8f1cf9d53
Update encoder_scene_preview_chunk.go
Apply ffmeg max_uxing_queue_size option fix to avoid problems with some videos
2019-06-21 23:03:00 +02:00
Stash Dev 29a40c5bdd Configuration
* Added flags to customize the host and port
* Start up just one server rather than a server for HTTP and HTTPS.  HTTPS server will only start if a cert and key are found
2019-04-11 10:55:58 -07:00
Stash Dev 182afad695 Added `-pix_fmt yuv420p` to H264 encodes 2019-03-29 08:23:21 -07:00
Stash Dev 71f8fc9dd5 Fixes FFMPEG failure edge case 2019-03-28 16:29:45 -07:00
Stash Dev abbc2fa230 Another tweak to fix sprite generation 2019-03-28 15:58:13 -07:00
Stash Dev 2e57c2a17a Fixes
Various fixes from Discord discussions.
2019-03-27 12:26:50 -07:00
Stash Dev c4d45db30c Fix json time when unmarshalling
https://github.com/stashapp/stash/issues/25
2019-03-09 10:14:55 -08:00
Stash Dev b488c1ed7d Reorg 2019-02-14 15:42:52 -08:00