Commit Graph

221 Commits

Author SHA1 Message Date
Vasily 8cf8c36708 Move throwing if cancelled after logging that fact 2019-10-27 16:48:42 +03:00
Vasily dd7ae7747e Apply suggestions from code review
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-10-27 16:47:00 +03:00
Vasily 3743137c31 Address Bond-009 review comments 2019-10-21 12:05:49 +03:00
Vasily adccc18298 Revert "yarn build" as it is fixed in master, fix typo 2019-10-14 14:07:12 +03:00
Vasily 3132280b07 * Make sure force_key_frames expression arguments are properly converted to strings
* Fore usage of keyframe cuts only in HLS
2019-10-14 13:22:53 +03:00
Vasily 2f6879e869 Add limiting max keyframe interval when full transcoding 2019-10-14 13:22:53 +03:00
Vasily 986ea5c636 Fix log message - log args were swapped 2019-10-14 13:22:53 +03:00
Vasily 3740228100 Don't start waiting for a segment which doesn't exist if transcoding is not running 2019-10-14 13:22:52 +03:00
Vasily 7aea9266d0 Stop waiting for a segment to become ready if there's no alive transcode
Remove extra quotes in logging

Fix typo in comment
2019-10-14 13:22:39 +03:00
Vasily c1f9107b8b Add more logging
Trying to fix hls muxer plus ffmpeg 4.1+ combo

Try to fix waiting for segment being ready

This is needed because hls muxer in ffmpeg >= 4.1 creates the
playlist only when it finishes transcoding.

Also cleaned up logs a bit.

Lower log level for "StartFfmpeg finished" to debug
2019-10-14 13:22:15 +03:00
Vasily 6746f708f2 Revert "Revert "Fix premature stop when streaming""
This reverts commit 575b96d03a.
2019-10-14 13:16:30 +03:00
Joshua M. Boniface 575b96d03a Revert "Fix premature stop when streaming" 2019-10-01 12:07:09 -04:00
Vasily 4fae733eef Cleaned up move to HLS muxer 2019-09-27 18:22:43 +03:00
Vasily 36a34f911e Replaced "stream" muxer with "hls" trying to fix "premature stop" issue 2019-09-27 16:37:41 +03:00
Erwin de Haan e8b13ea8a9 Fix culture problem on Windows for segment_time_delta argument. 2019-09-10 16:31:35 +02:00
Bond-009 e87d7cfaf3 Merge pull request #1659 from jellyfin/fix_ffmpeg
Fix segment_time_delta value for ffmpeg 4.1
2019-08-25 13:38:11 +02:00
Claus Vium 2e66361482 Move argument to new line 2019-08-24 11:38:33 +02:00
Claus Vium 15b054be94 Fix style issues 2019-08-24 11:17:17 +02:00
Joshua M. Boniface d95c04787c Merge branch 'master' into h265 2019-08-19 14:57:48 -04:00
Claus Vium 617f7e8b5b Fix segment_time_delta value for ffmpeg 4.1 2019-08-16 19:52:54 +02:00
Claus Vium c05b7c382a Change UsCulture to InvariantCulture 2019-06-05 20:59:06 +02:00
Frank 3ba709fcc3 Fix #1432. Add support for encoding with libx265 and hevc_nvenc. 2019-06-01 15:46:41 -07:00
Bond-009 da2caa2902 await async functions 2019-02-03 10:44:07 +01:00
Bond-009 ab0e851db9 Cleanup streaming services 2019-02-03 10:44:07 +01:00
Erwin de Haan b9a111432a Unwrapped all /(Write|Read)All(Text|Bytes)/ functions. 2019-01-28 22:10:50 +01:00
Erwin de Haan 581a7fe078 Unwrapped MoveDirectory, DirectoryExists, FileExists & removed MoveFile 2019-01-28 22:10:00 +01:00
Erwin de Haan 3a831994f6 Unwrapped GetDirectoryName and DirectorySeperatorChar 2019-01-28 22:06:34 +01:00
Joshua M. Boniface b2767eceff Revert "Fix segment_time_delta for ffmpeg 4.1" 2019-01-21 19:29:47 -05:00
Bond_009 c27aff1c63 Fix segment_time_delta for ffmpeg 4.1 2019-01-20 21:56:50 +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 b67c1b933e Visual Studio Reformat: MediaBrowser.Api 2019-01-13 20:24:58 +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
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
Mathieu Velten 1d7d52ff9e Port MediaEncoding and Api.Playback from 10e57ce8d21b4516733894075001819f3cd6db6b 2018-12-14 17:32:54 +01:00
Luke Pulverenti 40442f887b consolidate emby.server.core into emby.server.implementations 2017-08-09 15:56:38 -04:00
Luke Pulverenti d500998d78 pass around encoding options 2017-07-22 21:56:31 -04:00
Luke Pulverenti a0e7cdd2dc support all inclusive direct play profile 2017-07-14 11:57:44 -04:00
Luke Pulverenti 1c1aa7c2c5 3.2.23.1 2017-07-08 03:27:36 -04:00
Luke Pulverenti 6ea8e7868d add live stream params 2017-07-03 13:16:01 -04:00
Luke Pulverenti a107ff0369 capture more transcoding info 2017-06-24 14:33:19 -04:00
Luke Pulverenti b9935a4643 update hls streams 2017-06-01 00:27:17 -04:00
Luke Pulverenti 47fc7c6aee add GenreItems property 2017-05-18 17:05:47 -04:00
Luke Pulverenti 92eeee0fc5 support additional encoding switches 2017-05-11 10:54:41 -04:00
Luke Pulverenti 696a6b34ea improve smb support 2017-05-04 14:14:45 -04:00
Luke Pulverenti 28e6f8cbd8 update hls authentication 2017-04-25 14:23:38 -04:00
Luke Pulverenti 463b41354f restore missing file 2017-04-22 15:32:24 -04:00
Luke Pulverenti 8eb4c034b4 update audio sync params 2017-04-15 15:45:33 -04:00
Luke Pulverenti e56faea17a update vsync 2017-04-09 17:38:59 -04:00
Luke Pulverenti 8c487250e0 update segment responses 2017-04-09 15:49:18 -04:00