Commit graph

302 commits

Author SHA1 Message Date
Bond_009 b647959ec4 Add EnableOutputInSubFolder back 2019-03-27 16:26:33 +01:00
Bond_009 93e535d3a1 Trying to make sense of the streaming code
Mostly small changes as I was looking through the code.

* async void -> async Task
* Properly implemented dispose methods
* Pass the logstream directly to the JobLogger
* Style fixes
2019-03-26 23:00:14 +01:00
Bond_009 d5f080fefb Check before flushing ffmpeg log
The stream could have been diposed while writing.
2019-03-15 17:58:34 +01:00
Bond_009 37ea50a572 Reduce the amount of exceptions thrown 2019-03-07 21:42:56 +01:00
PloughPuff 2617a49b78 Renamed Init() to SetFFmpegPath() 2019-03-05 21:29:15 +00:00
PloughPuff ed69e690b8 Review comments
Address review comments from JustAMan, Bond-009 and cvium.
2019-03-05 21:29:15 +00:00
Joshua M. Boniface 9651a78b0c
Merge pull request #977 from Lynxy/genpts
Always set ffmpeg flag +genpts when video stream is being copied
2019-02-27 00:52:51 -05:00
Claus Vium 547d0ecf58 Move the check further down 2019-02-24 22:04:30 +01:00
Claus Vium 96b3d37caf Check that ffmpeg log target isn't disposed before writing to it 2019-02-24 21:25:24 +01:00
The Lynxy 67f399dccf
Leave +genpts untouched in GetProgressiveVideoArguments() 2019-02-23 10:01:41 -05:00
Lynxy 9b39404b9a Always set ffmpeg flag +genpts when video stream is being copied 2019-02-21 19:50:57 -05:00
Bond_009 1cdcace061 Remove dead code 2019-02-02 15:58:39 +01:00
Bond_009 66eabcdd39 Minor changes to encoding code
* Don't wait in intervals of 100ms for the file to exist
2019-02-02 15:56:54 +01:00
Bond-009 1ea219bf3f
Merge branch 'master' into culture 2019-01-30 16:57:15 +01:00
Erwin de Haan 581a7fe078 Unwrapped MoveDirectory, DirectoryExists, FileExists & removed MoveFile 2019-01-28 22:10:00 +01:00
Bond_009 a709cbdc64 Fix more analyzer warnings 2019-01-27 12:12:44 +01:00
Luca Beltrame ee89236fe8 [VA-API] Fix filter order (#714)
ffmpeg is very picky about the filters to be used when using VA-API,
because most of them are incompatible. This is particularly evident when
burning-in subtitles.
2019-01-27 09:44:56 +01:00
Bond_009 883575893b Change image dimentions from double to int
Rename ImageSize -> ImageDimensions
2019-01-26 13:16:47 +01:00
Mathieu Velten ae73f7b3e3 Fix transcoding bitrate 2019-01-20 22:50:17 +01:00
Mathieu Velten 060eb98cc5 Fix encoding profile handling for vaapi 2019-01-20 22:50:17 +01:00
Mathieu Velten da16de48aa Revert back to 10e57ce8d21b4516733894075001819f3cd6db6b for MediaEncoding
Remove some duplicate code that were causing warnings
2019-01-20 22:50:09 +01:00
Bond_009 fc7c211025 Remove unused font 2019-01-20 20:32:15 +01:00
Erwin de Haan 38f96af079 Reformat JustAMan review pt2 changes
Refs #575
2019-01-17 20:24:39 +01:00
Erwin de Haan e867446437 ReSharper format: conform inline 'out' parameters. 2019-01-13 21:46:33 +01:00
Erwin de Haan a36658f6f0 ReSharper Reformat: Properties to expression bodied form. 2019-01-13 21:31:14 +01:00
Erwin de Haan ba610b5094 Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
Erwin de Haan 26ca4b607b Visual Studio Reformat: MediaBrowser.Controller 2019-01-13 20:25:32 +01:00
Erwin de Haan e2751d42e8 Merge branch 'dev' into code-cleanup 2019-01-11 12:50:36 +01:00
Erwin de Haan ec1f5dc317 Mayor code cleanup
Add Argument*Exceptions now use proper nameof operators.

Added exception messages to quite a few Argument*Exceptions.

Fixed rethorwing to be proper syntax.

Added a ton of null checkes. (This is only a start, there are about 500 places that need proper null handling)

Added some TODOs to log certain exceptions.

Fix sln again.

Fixed all AssemblyInfo's and added proper copyright (where I could find them)

We live in *current year*.

Fixed the use of braces.

Fixed a ton of properties, and made a fair amount of functions static that should be and can be static.

Made more Methods that should be static static.

You can now use static to find bad functions!

Removed unused variable. And added one more proper XML comment.
2019-01-10 20:38:53 +01:00
hawken bd169e4fd4 remove trailing whitespace 2019-01-07 23:27:46 +00:00
hawken ba1794f64b Remove tabs and trailing whitespace 2019-01-07 23:24:34 +00:00
Bond_009 340a2c6512 Post GPL cleanup 2019-01-03 23:19:02 +01:00
Bond_009 c99b45dbe0 Remove some warnings 2019-01-02 02:35:40 +03:00
Bond_009 ea4c914123 Fix exception logging 2018-12-30 22:44:39 +01:00
Bond_009 0c1b9d3bff Rebase 2018-12-30 22:44:38 +01:00
Bond_009 0f8b3c6347 Use Microsoft.Extensions.Logging abstraction 2018-12-30 22:44:38 +01:00
Andrew Rabert a86b71899e Add GPL modules 2018-12-27 18:27:57 -05:00
stefan 48facb797e Update to 3.5.2 and .net core 2.1 2018-09-12 19:26:21 +02:00
Luke Pulverenti 26edcfefbb cache network data longer 2017-11-27 15:16:41 -05:00
Luke Pulverenti 9f46122d91 3.2.36.10 2017-11-15 16:33:04 -05:00
Luke Pulverenti 5cb7469028 support track selection before playback 2017-11-05 16:51:23 -05:00
Luke Pulverenti 8b7936addf removed dead code 2017-10-13 01:45:06 -04:00
Luke Pulverenti bc656edf4f update resolved video titles 2017-10-13 01:44:20 -04:00
Luke Pulverenti 851c62a940 update image magick orientation function 2017-10-11 02:24:22 -04:00
Luke Pulverenti fd621bbc52 support mpeg2 decoding with omx 2017-10-05 14:07:31 -04:00
Luke Pulverenti a452bc23b2 adjust params when burning in subtitles 2017-10-01 20:13:12 -04:00
Luke Pulverenti 4e4c145855 update hls query string 2017-09-29 16:10:13 -04:00
Luke Pulverenti 134e74414d update translations 2017-09-29 02:13:05 -04:00
Luke Pulverenti f55b138e1d update deinterlace param 2017-09-27 10:52:01 -04:00
Luke Pulverenti d43508a898 update applyconditions 2017-09-25 15:15:01 -04:00
Luke Pulverenti 978eedbcb7 improve support for compressed xmltv 2017-09-25 01:06:15 -04:00
Luke Pulverenti b4851d4789 separate deinterlacing params by video codec 2017-09-21 17:36:19 -04:00
Luke Pulverenti 467f440501 3.2.30.26 2017-09-19 16:08:34 -04:00
Luke Pulverenti 1f12ab6658 add yadif setting 2017-09-17 02:42:23 -04:00
Luke Pulverenti e0161d62db update hw filters 2017-09-17 01:24:39 -04:00
Luke Pulverenti f3096b8340 add omx decoder 2017-09-15 13:57:42 -04:00
Luke Pulverenti 3badff870b fixes #2865 - Odroid XU4 Hardware encoder support 2017-09-10 14:35:23 -04:00
Luke ab3e79e6aa Merge pull request #2781 from puenktchen/patch-2
Improve playback of RTSP streams
2017-09-06 16:51:43 -04:00
Luke Pulverenti 6bc2a79792 fix folder rip probe 2017-08-26 03:03:19 -04:00
Luke Pulverenti edfae37331 fixes #2335 - Raw image not showing in webbrowser 2017-08-26 02:18:52 -04:00
Luke Pulverenti af02f9d692 add mpdecimate option 2017-08-23 14:44:40 -04:00
Luke Pulverenti 89722aa077 resolve defect with folder rip transcoding 2017-08-22 01:41:20 -04:00
Luke Pulverenti 1ad990ad72 update live tv data transfer 2017-08-19 15:43:35 -04:00
Luke Pulverenti 0951819f00 fixes #2798, fixes #2799 2017-08-13 16:15:07 -04:00
Luke Pulverenti 9c5bfeddca expand on hardware decoding options 2017-08-13 14:05:46 -04:00
Luke Pulverenti 4ea3925626 auto fallback from gpu to cpu 2017-08-13 01:01:34 -04:00
Luke Pulverenti 6b28eee2db rework episode queries 2017-08-12 22:09:07 -04:00
Luke Pulverenti cf350f3b7e expand on hardware decoding options 2017-08-12 15:09:13 -04:00
Luke Pulverenti e7425e6205 revert servicestack.text update 2017-08-10 14:01:31 -04:00
Luke Pulverenti db315c4e32 update media source methods 2017-08-05 15:02:33 -04:00
Luke Pulverenti d8e2887071 update container value 2017-08-04 16:29:34 -04:00
Luke Pulverenti b89af7af43 fixes #2121 - background roku thumbnail generation (or maybe... any scheduled task?) should be "niced" 2017-08-01 15:43:39 -04:00
Luke Pulverenti a74dbb6481 3.2.26.10 2017-07-31 15:08:54 -04:00
pünktchen 6c9274730b Improve playback of RTSP streams
Without those little changes, rtsp live tv streams get corrupted even when stream copying, but also with transcoding.
It's already really bad for sd streams, but hd streams are just unwatchable. The whole picture consists of green blocks.

Btw. this problem isn't new. It was already discussed in many posts at the time the Argus TV plugin was still alive.
These changes have the potential to fix it there also.
2017-07-28 18:15:31 +02:00
Luke Pulverenti a46840534f 3.2.26.3 2017-07-25 14:32:03 -04:00
Luke Pulverenti 71308b5c29 fix -tp format command line 2017-06-27 16:56:47 -04:00
Luke Pulverenti a759b09577 support max audio bit depth 2017-06-26 11:10:52 -04:00
Luke Pulverenti a107ff0369 capture more transcoding info 2017-06-24 14:33:19 -04:00
Luke Pulverenti 1663b258a7 update home sections 2017-06-13 02:33:29 -04:00
Luke Pulverenti ceed0241fd fixes #2578 - [VAAPI Bug] HEVC Decoding not possible on Intel hardware without this ability 2017-06-12 02:11:19 -04:00
Luke Pulverenti 2c54390c38 enable h264_cuvid decoder 2017-06-10 14:24:53 -04:00
Luke Pulverenti 282dce7f10 normalize session object 2017-06-09 15:26:54 -04:00
Luke Pulverenti 820b4873fb move methods to base class 2017-06-04 16:28:27 -04:00
Luke Pulverenti e91f569c15 update live tv startup 2017-06-03 03:36:32 -04:00
Luke Pulverenti 33014f77aa update GetItems method 2017-05-26 02:48:54 -04:00
Luke Pulverenti f07af448fa update main projects 2017-05-24 15:12:55 -04:00
Luke Pulverenti 9cd2d793be update image encoding 2017-05-17 14:18:18 -04:00
Luke Pulverenti 6a628e8d2e update vsync 2017-05-14 15:20:31 -04:00
Luke Pulverenti f2284af82a update GenPtsInput 2017-05-14 15:17:35 -04:00
Luke Pulverenti 14533d9cc9 don't use hwaccel auto 2017-05-13 15:29:13 -04:00
Luke Pulverenti 92eeee0fc5 support additional encoding switches 2017-05-11 10:54:41 -04:00
Luke Pulverenti 53024bd149 removed dead code 2017-05-04 03:01:35 -04:00
Luke Pulverenti c197360047 fix ignore dts 2017-04-30 16:09:47 -04:00
Luke Pulverenti 7ee588060d add IgnoreDts option 2017-04-30 16:03:28 -04:00
Luke Pulverenti af4473e27f add error handling 2017-04-28 15:17:26 -04:00
Luke Pulverenti fc7ab45fb3 unify audio conversion 2017-04-27 14:13:16 -04:00
Luke Pulverenti 463b41354f restore missing file 2017-04-22 15:32:24 -04:00
Luke Pulverenti 8755886761 switch to hwaccel auto 2017-04-21 16:03:07 -04:00
Luke Pulverenti 7ea3719a2d 3.2.12.11 2017-04-20 16:17:52 -04:00
Luke Pulverenti 8eb4c034b4 update audio sync params 2017-04-15 15:45:33 -04:00
Luke Pulverenti 4fa90701fd fix incorrect level on encoding command line 2017-04-13 14:57:57 -04:00
Luke Pulverenti e56faea17a update vsync 2017-04-09 17:38:59 -04:00
Luke Pulverenti 463cb3e354 update live stream management 2017-04-04 02:01:20 -04:00
Luke Pulverenti 99417105a6 update subtitle embedding 2017-04-04 01:20:07 -04:00
Luke Pulverenti 372d40598d remove qsv hevc decoding for now 2017-04-01 15:49:36 -04:00
Luke Pulverenti 8d1ca8ca27 improve direct play to transcoding fallback 2017-03-31 15:50:55 -04:00
Luke Pulverenti f641c501a7 improve cancellation support of auto-organize 2017-03-29 15:16:43 -04:00
Luke Pulverenti f6b94af438 enable qsv hevc decoding 2017-03-29 02:27:22 -04:00
Luke Pulverenti 2dbe162e45 revert buffer size 2017-03-28 13:32:24 -04:00
Luke Pulverenti ce0547abde throw exceptions on bad input 2017-03-26 00:20:50 -04:00
Luke Pulverenti c9be9b4141 update hls params 2017-03-24 11:03:49 -04:00
Luke Pulverenti da88fbb824 update hd homerun udp stream 2017-03-23 15:10:10 -04:00
Luke Pulverenti 38e05b11e2 unify encodng param creation 2017-03-19 14:59:05 -04:00
Luke Pulverenti 59ac045c6b increase unification of param building 2017-03-19 02:10:11 -04:00
Luke 9dd5dcc4bc Merge pull request #2509 from gerrit507/nvenc
Fix naming of nvenc codecs. It should be nvenc_h264.
2017-03-16 11:43:50 -04:00
Luke Pulverenti ce1ed2bea7 update hls to support mpeg2video 2017-03-15 15:57:18 -04:00
Luke Pulverenti a0934e6226 continue with tuner discovery 2017-03-13 16:42:21 -04:00
Luke Pulverenti fc2a5acfca move loopback util 2017-03-10 13:33:17 -05:00
Luke Pulverenti 1f63a30ee7 update mjpeg stream detection 2017-03-07 14:05:44 -05:00
Luke Pulverenti 9fa6868af3 update legacy hd homerun support 2017-03-07 13:27:56 -05:00
Luke Pulverenti ce3f2bdd20 reduce AnalyzeDurationMs for live tv 2017-03-05 10:38:36 -05:00
gerrit507 a74373e851 Remove level param for nvenc, because it fails to encode with it. 2017-03-05 13:51:44 +01:00
gerrit507 46b6235b8a Revert "Fix naming of nvenc codecs. It should be nvenc_h264."
This reverts commit 44ae8c94fc720fc14d4fc551cd375006691d3d3e.
2017-03-05 13:25:36 +01:00
gerrit507 c1208a2f8d Fix naming of nvenc codecs. It should be nvenc_h264. 2017-03-05 04:02:03 +01:00
Luke Pulverenti c811d57bca remove hardcoded address families 2017-03-03 15:16:43 -05:00
Luke Pulverenti a181425e54 omit input container when hw encoding 2017-03-01 15:29:42 -05:00
Luke Pulverenti 5fa3817a76 update components 2017-02-26 16:47:52 -05:00
Luke Pulverenti 868f0afc95 3.2.3.1 2017-02-24 15:07:26 -05:00
Luke Pulverenti cb5ae69fb9 fixes #2485 - mpeg4 is still trying to be transcoded by VAAPI 2017-02-23 23:23:56 -05:00
Luke Pulverenti 0ee1a0d7bd fix mapping multiple tuner channels to same epg channel 2017-02-18 22:46:09 -05:00
Luke Pulverenti 5edaf12d40 move encoding methods to shared classes 2017-02-02 11:02:01 -05:00
Luke Pulverenti a5ffea5752 update video audio encoding 2016-12-26 14:47:37 -05:00
Luke Pulverenti c30b82ab44 update recording encoder 2016-11-29 14:13:20 -05:00
Luke Pulverenti a8b340cbb2 update portable projects 2016-11-08 13:44:23 -05:00
Luke Pulverenti ef6b90b8e6 make controller project portable 2016-10-25 15:02:04 -04:00
Luke Pulverenti d5b5c8e1a5 update display of active recordings 2016-10-11 02:46:59 -04:00
Luke Pulverenti 229172da50 update series recording editor 2016-09-30 14:43:59 -04:00
Luke Pulverenti e4851e1b25 reduce rescanning due to IsOffline 2016-08-24 02:13:15 -04:00
Luke Pulverenti 17e1c8c22b update sync settings 2016-08-23 01:08:07 -04:00
Luke Pulverenti 79887b2c34 validate encoder presence 2016-08-05 01:12:25 -04:00
Sven Van den brande 219cba7506 Removed redundant Collection Initializers
Removed Using directives that are not required
2016-07-29 21:18:03 +02:00
Luke Pulverenti 00634b62c5 remove standard output redirect on image extractions 2016-06-30 22:35:18 -04:00
Luke Pulverenti 525f780453 add startup error handling 2016-06-30 00:23:52 -04:00
Luke Pulverenti 775fc94020 update path configs 2016-06-29 01:49:31 -04:00
Luke Pulverenti 5c5cc212aa pass all audio codecs to server 2016-06-26 12:21:10 -04:00
Luke Pulverenti cffc9417c7 update startup wizard 2016-06-23 13:04:18 -04:00
Luke Pulverenti fb07b4640c update ffmpeg path customization 2016-06-20 02:45:35 -04:00
Luke Pulverenti 6e9f8fb2d1 allow customization of ffmpeg path 2016-06-20 02:19:28 -04:00
Luke Pulverenti e5655d32f1 fix timestamps in hls subtitles 2016-05-27 13:17:57 -04:00
Luke Pulverenti a15a762ba1 fixes #1484 - (Feature request) Make emby choose output stream based on ffmpeg config 2016-04-30 15:16:43 -04:00