nyanmisaka
6536c81226
do not extract audio stream bitrate info for videos from formatInfo
4 years ago
Nyanmisaka
421faabc7c
Merge branch 'master' into hdr-extract
4 years ago
nyanmisaka
92118c2129
allow to extract music bitrate info from formatInfo
4 years ago
nyanmisaka
3e9cf98c30
add hdr tone mapping to image extraction
4 years ago
nyanmisaka
c2c06ae15b
fix image extraction
4 years ago
nyanmisaka
bb16174936
increase the default image extraction timeout
4 years ago
Nyanmisaka
0c6efe6317
Apply suggestions from code review
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
4 years ago
Nyanmisaka
d72f3498bf
fix ci
4 years ago
Nyanmisaka
53c91c2c14
Apply suggestions from code review
...
Co-authored-by: BaronGreenback <jimcartlidge@yahoo.co.uk>
4 years ago
nyanmisaka
d19edefbcd
fix image extraction
4 years ago
Joshua M. Boniface
f39e55e2e5
Merge pull request #4548 from orryverducci/mkv-interlaced-fix
...
Revert "Fix frame rate probing for interlaced MKV files"
4 years ago
Orry Verducci
812300ad33
Revert "Fix frame rate probing for interlaced MKV files"
...
This reverts commit 84fd5a0953
.
4 years ago
nyanmisaka
b4598bd71b
Merge remote-tracking branch 'upstream/master' into fmp4-hls
4 years ago
Fernando Fernández
e21e00cad5
Merge remote-tracking branch 'upstream/master' into no-scaling
4 years ago
Nyanmisaka
5ff08338d5
Apply suggestions from code review
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
4 years ago
Greenback
9a323f6df0
More spelling corrections.
4 years ago
Fernando Fernández
38c3b6fcd3
Fix build and thread detection logic
4 years ago
Bond_009
4b1c9dc9ea
Pass cancellation where possible
4 years ago
Fernando Fernández
94cae4f145
Specify threads to ffmpeg properly
4 years ago
Joshua M. Boniface
e0f60847c0
Merge pull request #4361 from ssenart/feature/4360-transcoding_flac_downsampling
...
Add FLAC and define the corresponding target sample rate
4 years ago
Fernando Fernández
a6ad36b57a
Don't scale images extracted by ffmpeg
4 years ago
nyanmisaka
488dbdb31d
Merge remote-tracking branch 'upstream/master' into fmp4-hls
4 years ago
crobibero
dae4541bad
Merge remote-tracking branch 'upstream/master' into dotnet-5
4 years ago
Bond_009
ff49a3bb61
Missed some stuff
4 years ago
crobibero
01355e0498
Fix nullability errors in Jellyfin.Api (part 1)
4 years ago
crobibero
e82829c444
Fix nullability errors in MediaBrowser.MediaEncoding
4 years ago
nyanmisaka
6987cb8357
fix ci
4 years ago
nyanmisaka
57e5b59b93
adjust bitrate limit for HLS audio codecs
4 years ago
crobibero
83629ab6f2
Update packages to net5
4 years ago
Stan
3bb8884e16
Merge branch 'master' into bdiso-playback
4 years ago
Orry Verducci
84fd5a0953
Fix frame rate probing for interlaced MKV files
4 years ago
Stéphane Senart
28ee4f0a7f
[AudioTranscoding] Add FLAC as supported target audio format and be able to define the corresponding target sample rate
4 years ago
Stanislav Ionascu
cd4641dca0
Remove PlayableStreamFileNames as unused
...
Since ffmpeg can play and transcode ISO files and BDMV folders directly,
there's no use of that property.
4 years ago
Stanislav Ionascu
3ad6232973
Add probe / direct-stream / transcoding support for BluRays
...
This commit (and ffmpeg built with libbluray support), adds support
for playback of bluray images (bd-iso) and bluray folders.
4 years ago
BaronGreenback
5464eaed4a
Update EncoderValidator.cs
4 years ago
crobibero
2a8653b309
Merge remote-tracking branch 'upstream/master' into http-client-migrate
4 years ago
Nyanmisaka
4cb0a57e46
Merge branch 'master' into tonemap
4 years ago
crobibero
30ba35a33b
Use HttpClientFactory in SubtitleEncoder
4 years ago
crobibero
8b96881aa1
Clean up json Converters
4 years ago
Bond_009
119f64f5e7
Make some methods async
4 years ago
Anthony Lavado
72115c91e0
Merge pull request #3943 from Bond-009/ffmpeg
...
Simplify FFmpeg detection code
4 years ago
Bond-009
6292a9e4e9
Merge branch 'master' into warn24
4 years ago
Bond_009
301e029d42
Add unsupported ffmpeg version to tests
4 years ago
Bond_009
cb5cb075a9
Simplify FFmpeg detection code
4 years ago
Bond-009
5160e627f1
Merge branch 'master' into feature/ffmpeg-version-check
4 years ago
Bond_009
ab2147751f
Make MediaBrowser.MediaEncoding warnings free
4 years ago
Bond_009
2b400c99ef
Fix warnings
4 years ago
Bond-009
d9f6953416
Minor fixes
4 years ago
Bond-009
53f99d5d4b
Add some analyzers to MediaBrowser.MediaEncoding
4 years ago
Bond-009
18efa25a6f
Enable TreatWarningsAsErrors for MediaBrowser.MediaEncoding
4 years ago
Nyanmisaka
c23d991c95
Merge branch 'master' into tonemap
4 years ago
Bond_009
d4092846e4
Optimize Substring and StringBuilder usage
4 years ago
Nyanmisaka
df6b303da7
Merge branch 'master' into tonemap
4 years ago
Odd Stråbø
591fcf7ff2
Fix formating
4 years ago
Odd Stråbø
27709c9bb3
Fix embedded subtitles
4 years ago
nyanmisaka
4bdb870d16
Merge remote-tracking branch 'upstream/master' into tonemap
4 years ago
nyanmisaka
7b862bba5a
add Tonemapping relaying on nvdec and ocl
4 years ago
Bond-009
3ff110984a
Merge branch 'master' into readonlyspan
4 years ago
Anthony Lavado
0cb2cd9456
Merge pull request #3576 from HelloWorld017/fix/sami-utf16
...
Fix SAMI UTF-16 Encoding Bug
4 years ago
Joshua M. Boniface
6f2b23b3df
Merge pull request #3613 from Bond-009/regex
...
Replace \d with [0-9] in ffmpeg detection and scan code
4 years ago
Bond-009
323fc576a5
Merge pull request #3521 from sachk/master
...
Fix support for mixed-protocol subtitles
4 years ago
Bond_009
febb6bced6
Review usage of string.Substring (part 1)
...
Reduced allocations by replacing string.Substring with ReadOnlySpan<char>.Slice
4 years ago
Bond_009
e98351b912
Replace \d with [0-9] in ffmpeg detection and scan code
4 years ago
Khinenw
6e069f925b
Fix SAMI UTF-16 Encoding Bug
4 years ago
dkanada
87d7c4a62e
Merge pull request #3500 from nyanmisaka/vpp-qsv
...
Add FFmpeg 4.3 detection and solve the green line on QSV HWA
4 years ago
Sacha Korban
29c4220227
Fix support for mixed-protocol external subtitles
4 years ago
Patrick Barron
6d1b00da64
Use Array.Empty
4 years ago
nyanmisaka
f5c5352861
add FFmpeg 4.3 detection and tests
4 years ago
Max Git
3588ee5229
Merge branch 'master' into feature/ffmpeg-version-check
4 years ago
Neil Burrows
6b532b3da5
User string.Empty instead of ""
...
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
4 years ago
Neil Burrows
4389773508
Respect FFMpeg path passed via Environment Variable
4 years ago
Max Git
c35c401d65
Merge branch 'master' into feature/ffmpeg-version-check
4 years ago
telans
6556bec646
brace multiline if statements (cont.)
4 years ago
telans
5bb639a59a
newlines after braces
4 years ago
telans
7f307f9082
brace multiline if statements
4 years ago
telans
98db8f72e0
fix SA1503 for one line if statements
4 years ago
telans
8de6452967
fix some documentation periods
4 years ago
Max Git
33f78df051
Merge branch 'master' into feature/ffmpeg-version-check
4 years ago
Bond-009
9af6eda0b4
Merge pull request #3343 from telans/comment-stops
...
Add full stop at end of comments (SA1629)
4 years ago
telans
247f9c61e6
fix SA1513/SA1516
4 years ago
Max Git
e6c197b969
Cleanup
4 years ago
telans
9018f8d8be
Add full stop at end of comments (SA1629)
4 years ago
Max Git
ef3200e178
Remove redundant cast
4 years ago
Max Git
11f3a0dc58
Use Version instead of double. Use correct version number for libavdevice.
4 years ago
dkanada
dabb869a6b
Merge branch 'master' into hwaccel
4 years ago
Max Git
37e737e012
Merge from master & fix conflict
4 years ago
telans
3d9049ef08
fix SA1508
4 years ago
telans
acd4389653
fix SA1005
4 years ago
dkanada
403cd3205f
Merge pull request #3254 from crobibero/ilogger
...
Use typed logger where possible
4 years ago
Max Git
0f69ca8fa9
Merge branch 'master' into feature/ffmpeg-version-check
4 years ago
Max Git
620a1a106d
Merge branch 'master' into feature/ffmpeg-version-check
4 years ago
dependabot[bot]
33f70bd5f0
Bump System.Text.Encoding.CodePages from 4.7.0 to 4.7.1
...
Bumps [System.Text.Encoding.CodePages](https://github.com/dotnet/corefx ) from 4.7.0 to 4.7.1.
- [Release notes](https://github.com/dotnet/corefx/releases )
- [Commits](https://github.com/dotnet/corefx/commits )
Signed-off-by: dependabot[bot] <support@github.com>
5 years ago
artiume
0476acf5d5
Update EncoderValidator.cs
5 years ago
Vasily
4999831604
Merge remote-tracking branch 'upstream/master' into hwaccel
5 years ago
aled
22a860a806
Fix a small number of compile warnings
5 years ago
crobibero
44957c5a9a
Use typed logger where possible
5 years ago
Max Git
5df00cb2b8
Merge branch 'master' into feature/ffmpeg-version-check
5 years ago
rotvel
480fd0a66a
Update MediaBrowser.MediaEncoding/Encoder/EncoderValidator.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
5 years ago
Max Git
e103d087d3
Try harder at detecting FFmpeg version and enable the validation
5 years ago
Vasily
aa17a53e83
Skip only line saying "Hardware acceleration methods:" instead of some random one
5 years ago
Vasily
628734931c
Fix missing commas and merge defects
5 years ago
artiume
3c82379759
Update EncoderValidator.cs
5 years ago
artiume
407de0209e
Update MediaEncoder.cs
5 years ago
artiume
1ff95289ef
Update EncoderValidator.cs
5 years ago
nyanmisaka
b4b93995f7
add more separate hw decoding toggles
5 years ago
Bond_009
10e381f66f
Fix some 'bugs' flagged by sonarcloud
5 years ago
dkanada
4b4b50f3ee
Merge pull request #3115 from MrTimscampi/ffprobe
...
Parse color transfer and color primaries from ffprobe, and fix video range
5 years ago
MrTimscampi
9314434bbf
Fix suggestions
5 years ago
MrTimscampi
2e18142bb3
Add color primaries to ffprobe output
5 years ago
MrTimscampi
428e1b04fc
Add color transfer to ffprobe results
5 years ago
MrTimscampi
a262ecd9c7
Add positionning cues to WebVTT writer
5 years ago
Max Git
cee587d6e3
Try harder to find ffmpeg in app directory. While here do some cleanup
5 years ago
Mark Monteiro
8f02fb9a4f
Remove unused usings
...
This addresses the new issues identified in SonarCloud analysis
5 years ago
Bond-009
d744d7d234
Merge branch 'master' into register-services-correctly
5 years ago
Bond-009
c0b3c11b2e
Merge pull request #2846 from jellyfin/azure
...
Remove requirement to build web during server builds
5 years ago
Mark Monteiro
c5f163293f
Add <ProjectGuid> properties to all project files
...
This is required for SonarCloud analysis to run
5 years ago
Mark Monteiro
f815059698
Merge remote-tracking branch 'upstream/master' into register-services-correctly
5 years ago
Bond_009
a73e1f18b6
Minor improvements
5 years ago
Mark Monteiro
9728aa8b0a
Merge branch 'master' into register-services-correctly
5 years ago
Joshua M. Boniface
bf92694f8b
Merge pull request #2715 from nyanmisaka/libfdk-aac
...
Prefer to use libfdk_aac encoder for better audio quality when it is available
5 years ago
Mark Monteiro
4113288278
Fix style issues
5 years ago
Mark Monteiro
7152b55747
Use a separate line for each property initializer
5 years ago
Mark Monteiro
17e8813378
Use ActivatorUtilities to construct MediaEncoder and update constructor to inject EncodingHelper correctly
5 years ago
Mark Monteiro
e0f40f57d8
Merge remote-tracking branch 'upstream/master' into remove-common-process
5 years ago
Mark Monteiro
0e195d2e49
Add missing call to ConfigureAwait()
5 years ago
Bond-009
f31efce52d
Merge branch 'master' into usings
5 years ago
Bond_009
787049f35f
Merge branch 'master' into minor
5 years ago
Bond-009
ddd5d3aaec
Merge branch 'master' into usings
5 years ago
Vasily
9aefb41512
Merge pull request #2503 from nyanmisaka/vaapi
...
Fix various bugs in HWA subtitle burn-in
5 years ago
nyanmisaka
db23660660
prefer to use libfdk_aac for better audio quality
5 years ago
nyanmisaka
0af353404c
fix the UTF-16 error while burning ass/ssa subtitles
5 years ago
Mark Monteiro
1f5caa46c5
Fix some more issues with disposing Process instances
5 years ago
Mark Monteiro
d705931e81
Dispose of process correctly in AttachmentExtractor
5 years ago
Mark Monteiro
48bbcbb426
Use WaitForExitAsync extension method in AttachmentExtractor
5 years ago
Mark Monteiro
97c36d11d4
Use a TimeSpan instead of ms and support providing a custom CancellationToken
5 years ago
Mark Monteiro
7447ea8960
Make sure Process objects are all disposed correctly
5 years ago
Mark Monteiro
b947d98266
Delete unnecessary ProcessFactory abstraction
5 years ago
Mark Monteiro
ee2f911a2b
Remove unnecessary CommonProcess abstraction
5 years ago
Bond_009
e9d1eabd53
Remove unused usings
5 years ago
Ian Walton
4836d1674b
Don't return closed stream for subtitles. ( jellyfin/jellyfin#2650 )
5 years ago
Bond-009
2c8592fe78
Fix subtitles
5 years ago
Bond_009
a07ee65365
Minor improvements
5 years ago
Ulrich Wagner
d7f199bb1c
#2407 : Prefer MP4-Metadata for episodes
5 years ago
Bond_009
87d2479b78
Fix warnings
5 years ago
Bond_009
2186df8ac4
Update deps
5 years ago
Bond-009
c8409d2ea1
Remove FileSystem.GetStream
5 years ago
Bond-009
f3a1729964
Address comments
5 years ago
Bond-009
e882b03e81
Add back support for DVDs copied as folders
5 years ago
dkanada
4aa0b940e3
Merge pull request #2251 from nyanmisaka/master
...
add support for AMD AMF hardware encoding on Windows & Linux
5 years ago
Nyanmisaka
2c10891b66
turn on indentation.
5 years ago
Bond_009
93ab829df5
Attempt #3
5 years ago
Bond_009
0d6a4c2909
Fix build
5 years ago
Bond_009
e714b9930e
Merge branch 'master' into embytv
5 years ago
Nyanmisaka
e95239e281
add support for AMD h264_amf & hevc_amf
5 years ago
Bond-009
b1af8a4178
Rename function
5 years ago
Bond-009
277e9d2b0b
fix build
5 years ago
Bond-009
c3752b1a30
Merge branch 'master' into scanerrors
5 years ago
dkanada
423d50e978
Merge pull request #1838 from Unhelpful/media-attachments
...
Add support for embedded attachments in media files
5 years ago
dkanada
73fac50e57
rename two properties based on code suggestions
5 years ago
Bond_009
8a0ef41036
Minor improvements
5 years ago
Bond_009
a253fa616d
Fix build and address comments
5 years ago
dkanada
aca31457c0
merge branch master into media-attachments
5 years ago
Bond-009
9dfafb9e9f
Update MediaBrowser.MediaEncoding/Probing/MediaFormatInfo.cs
...
Co-Authored-By: Erwin de Haan <EraYaN@users.noreply.github.com>
5 years ago
Bond-009
49fef5f09c
Update MediaBrowser.MediaEncoding/Probing/MediaChapter.cs
...
Co-Authored-By: Erwin de Haan <EraYaN@users.noreply.github.com>
5 years ago
dkanada
534716d9c9
Merge pull request #2220 from Bond-009/unicode
...
Replace unicode char with its integer value
5 years ago
Bond-009
70210b47a4
Update MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs
...
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
5 years ago
Bond_009
09d1f976d9
Replace unicode char with its integer value
5 years ago
Bond-009
59cdfdc2d9
Fix JSON subtitle writer
5 years ago
dkanada
b3963058db
Merge pull request #1891 from stanionascu/bdinfo-uhd
...
Upgrade BDInfo plugin to UHD/Atmos/DTS:X support
5 years ago
Bond_009
a41ec5c9d4
Fix typo
5 years ago
Bond_009
cf2e2a3f30
Fix exceptions while scanning
...
Fixes these exceptions:
```
[2019-12-22 20:48:14.779 +01:00] [ERR] Error in WaitForExit
System.InvalidOperationException: No process is associated with this object.
at System.Diagnostics.Process.EnsureState(State state)
at System.Diagnostics.Process.EnsureState(State state)
at System.Diagnostics.Process.GetWaitState()
at System.Diagnostics.Process.WaitForExitCore(Int32 milliseconds)
at System.Diagnostics.Process.WaitForExit(Int32 milliseconds)
at Emby.Server.Implementations.Diagnostics.CommonProcess.WaitForExit(Int32 timeMs) in /home/pi/dev/jellyfin/Emby.Server.Implementations/Diagnostics/CommonProcess.cs:line 100
at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.StopProcess(ProcessWrapper process, Int32 waitTimeMs) in /home/pi/dev/jellyfin/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs:line 785
[2019-12-22 20:48:14.790 +01:00] [INF] Killing ffmpeg process
[2019-12-22 20:48:14.795 +01:00] [ERR] Error killing process
System.InvalidOperationException: No process is associated with this object.
at System.Diagnostics.Process.EnsureState(State state)
at System.Diagnostics.Process.EnsureState(State state)
at System.Diagnostics.Process.Kill()
at Emby.Server.Implementations.Diagnostics.CommonProcess.Kill() in /home/pi/dev/jellyfin/Emby.Server.Implementations/Diagnostics/CommonProcess.cs:line 95
at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.StopProcess(ProcessWrapper process, Int32 waitTimeMs) in /home/pi/dev/jellyfin/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs:line 799
[2019-12-22 20:48:14.808 +01:00] [ERR] Error in "ffprobe"
System.Text.Json.JsonException: The JSON value could not be converted to System.String. Path: $.streams[0].start_pts | LineNumber: 32 | BytePositionInLine: 26.
---> System.InvalidOperationException: Cannot get the value of a token type 'Number' as a string.
at System.Text.Json.Utf8JsonReader.GetString()
at System.Text.Json.Serialization.Converters.JsonConverterString.Read(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options)
at System.Text.Json.JsonPropertyInfoNotNullable`4.OnRead(JsonTokenType tokenType, ReadStack& state, Utf8JsonReader& reader)
at System.Text.Json.JsonPropertyInfo.Read(JsonTokenType tokenType, ReadStack& state, Utf8JsonReader& reader)
at System.Text.Json.JsonSerializer.HandleValue(JsonTokenType tokenType, JsonSerializerOptions options, Utf8JsonReader& reader, ReadStack& state)
at System.Text.Json.JsonSerializer.ReadCore(JsonSerializerOptions options, Utf8JsonReader& reader, ReadStack& readStack)
--- End of inner exception stack trace ---
at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& readStack, Utf8JsonReader& reader, Exception ex)
at System.Text.Json.JsonSerializer.ReadCore(JsonSerializerOptions options, Utf8JsonReader& reader, ReadStack& readStack)
at System.Text.Json.JsonSerializer.ReadCore(JsonReaderState& readerState, Boolean isFinalBlock, ReadOnlySpan`1 buffer, JsonSerializerOptions options, ReadStack& readStack)
at System.Text.Json.JsonSerializer.ReadAsync[TValue](Stream utf8Json, Type returnType, JsonSerializerOptions options, CancellationToken cancellationToken)
at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, Boolean forceEnableLogging, CancellationToken cancellationToken) in /home/pi/dev/jellyfin/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs:line 399
at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](T item, MetadataRefreshOptions options, CancellationToken cancellationToken) in /home/pi/dev/jellyfin/MediaBrowser.Providers/MediaInfo/FFProbeVideoInfo.cs:line 122
at MediaBrowser.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, TItemType item, String logName, MetadataRefreshOptions options, RefreshResult refreshResult, CancellationToken cancellationToken) in /home/pi/dev/jellyfin/MediaBrowser.Providers/Manager/MetadataService.cs:line 815
```
5 years ago
Bond_009
0bf8bfbb0c
Merge branch 'master' into mediaencoding
5 years ago
Bond_009
5cab79c839
Clean up Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs
5 years ago
ferferga
94ef239de0
Add full Raspberry Pi hardware decoding support
5 years ago
Bond_009
cc5acf37f7
Make probesize and analyzeduration configurable and simplify circular
...
dependencies
Makes the probesize and analyzeduration configurable with env args.
(`JELLYFIN_FFmpeg_probesize` and `FFmpeg_analyzeduration`)
5 years ago
Joshua M. Boniface
48120d01dc
Merge pull request #1991 from Bond-009/transtemp
...
Don't append transcodes to transcoding temp path
5 years ago
Bond_009
3cf9313c86
Update deps
5 years ago
Bond-009
d4b438791f
Don't append transcodes to transcoding temp path
5 years ago
Stanislav Ionascu
9989b7b68f
Replace BDInfo plugin with nupkg and UHD/Atmos/DTS:X support
5 years ago
Andrew Mahone
dee247453e
Throw InvalidOperationException when attachment extraction exits abnormally or doesn't produce output.
5 years ago
Andrew Mahone
7ea05bb86b
Merge branch 'media-attachments' of github.com:Unhelpful/jellyfin into media-attachments
5 years ago
Andrew Mahone
79858eb26c
Remove use of ProcessFactory, as well as arbitrary timeout in AttachmentExtractor.
5 years ago
Andrew Mahone
3a9bf84e3b
Update MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs
...
formatting
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Andrew Mahone
1eb3df1d6c
Update MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs
...
formatting / style
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Andrew Mahone
380d023351
Merge branch 'media-attachments' of github.com:Unhelpful/jellyfin into media-attachments
5 years ago
Andrew Mahone
2f728fd2a1
Update MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs
...
formatting
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Andrew Mahone
2338a53229
Don't user ILoggerFactory.
5 years ago
Andrew Mahone
492bbc9e13
Update MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs
...
String -> string
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Andrew Mahone
92aae268a3
Update MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs
...
formatting
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Andrew Mahone
c09eb34708
Check for attachment file before trying to remove it during cleanup.
5 years ago
Andrew Mahone
4f3b883155
Clean up handling of missing source/attachment in AttachmentExtractor.
5 years ago
Andrew Mahone
349310787c
Update MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs
...
formatting
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Andrew Mahone
6ca252ba5c
Remove check for "[0]" in codec_tag.
5 years ago
Andrew Mahone
28a6718d8e
Return path of extracted attachment, which is always a file, instead of AttachmentInfo with path and protocol.
5 years ago
Andrew Mahone
04a96788f9
Convert exceptions for missing MediaSource or MediaAttachment to ResourceNotFoundException with appropriate message.
5 years ago
Andrew Mahone
154fb1fe9b
AttachmentExtractor code cleanup.
5 years ago
Andrew Mahone
c7d303a6ae
MediaExtractor logging cleanup.
5 years ago
Andrew Mahone
9eef5f860d
AttachmentExtractor logging cleanup.
5 years ago
Andrew Mahone
e9c893f07e
Fail attachment extraction on non-zero exit code.
5 years ago
Andrew Mahone
1600d5b53f
Merge remote-tracking branch 'origin/master' into media-attachments-clean
5 years ago
dkanada
3bfb36a67d
Merge pull request #1915 from Bond-009/hex
...
Rewrite hex encoder/decoder
5 years ago
Bond_009
3f7836d9eb
Update deps and add MultiThreading analyzer
5 years ago
Bond_009
a245f5a0d4
Rewrite hex encoder/decoder
5 years ago
Andrew Mahone
12f752d8b1
FFMPEG extractor for attachments.
5 years ago
Andrew Mahone
321e5cba60
Add new MediaAttachment to store attachments found during media probing.
5 years ago
Bond_009
3e1aab6b29
Fix ffmpeg version check for unknown versions
5 years ago
Bond_009
1b01a6ece1
Add tests for EncoderValidator
...
* Add support for ffmpeg 4.2
* Parse the complete ffmpeg version instead of only the first 2 digits
* Make max and min version optional
* Remove max limitation (for now)
* Style improvements
5 years ago
Bond_009
c9820d30ed
Fix multiple mistakes and warnings
5 years ago
Bond-009
2919cf28ea
Update deps ( #1735 )
5 years ago
Bond_009
1616f24cee
Fix more warnings
5 years ago
dkanada
bb04545068
Merge pull request #1614 from Bond-009/docs2
...
Document all public/internal members of Emby.Drawing
5 years ago
Bond_009
838e5d05d5
Document all public/internal members of Emby.Drawing
...
Forces all new public/internal members to be documented.
Enables TreatWarningsAsErrors for Emby.Drawing
5 years ago
Bond_009
003238ef5e
Update deps + document startup project
...
* Fixed the release build
* Documented all public/internal members of Jellyfin.Server
* Enable TreatWarningsAsErrors for debug builds for Jellyfin.Server
This will ensure that any new public/internal members of Jellyfin.Server
are documented
5 years ago
Khinenw
59518ec87e
Fixed SMI to SRT UTF-16 Encoding bug
5 years ago
dkanada
dbc2cda9d4
Merge pull request #1369 from teacupx/master
...
Enable Exynos MFC encoder and fix transcoding bitrate control
5 years ago
Bond_009
5554595255
Update deps
6 years ago
Tristan McCann
5c1fbfca03
Stop path substitution in SubtitleEncoder
...
This fixes jellyfin/jellyfin#1446 . I am not an expert in this section of
code, but I cannot think of a need to do path substitution during
subtitle encoding.
6 years ago
JMCC
5d85076ad5
Enable Exynos V4L2-m2m HW encoder
6 years ago
Bond-009
91cd7d2f6b
Limit amount of ffmpeg processes extracting images at once
6 years ago
Phallacy
a7e31ef31f
applied changes to just also search jellyfin base dir
6 years ago
redSpoutnik
480a6607e2
Merge branch 'master' into subtitle-display-title
6 years ago
redSpoutnik
427688a0a0
Change subtitles DisplayTitle behavior
6 years ago
Erwin de Haan
21cc38fcf4
Adjusted AssemblyCopyright attribute values.
6 years ago
Erwin de Haan
ee7bf86e0f
Adjusted the Product Name so the User Agent is correct/better.
6 years ago
Vasily
605bf0e8c3
Merge pull request #1100 from ploughpuff/rmprobeswitch
...
Finalise removal of --ffprobe switch
6 years ago
Vasily
89e2af6b57
Merge pull request #1096 from dkanada/opensubs
...
Remove open subtitles from the server
6 years ago
PloughPuff
b864e9da2a
Finalise removal of --ffprobe switch
...
Removed --ffprobe from src files and server/docker scripts.
6 years ago
Bond-009
3ddbda9aca
Merge branch 'master' into xml
6 years ago
dkanada
715ddbb3b0
remove open subtitles from the server
6 years ago
Bond-009
ab9859ecef
Address comment
6 years ago
Bond_009
37ea50a572
Reduce the amount of exceptions thrown
6 years ago
Vasily
a4b52b7264
Merge pull request #844 from ploughpuff/ffmpeg
...
Reworked FFmpeg path discovery and always display to user
6 years ago
Bond_009
ffd6dac03a
Remove useless comments
6 years ago
Vasily
2242c8d793
Merge pull request #915 from cvium/remove_encryptionmanager
...
Remove IEncryptionManager
6 years ago
PloughPuff
2617a49b78
Renamed Init() to SetFFmpegPath()
6 years ago
PloughPuff
656bffbbb2
Remove --ffprobe logic
6 years ago
PloughPuff
8104e739d5
Address review comments from Bond
6 years ago
PloughPuff
ed69e690b8
Review comments
...
Address review comments from JustAMan, Bond-009 and cvium.
6 years ago
PloughPuff
20775116f7
Reworked FFmpeg path discovery and always display to user
...
1) Reworked FFmpeg and FFprobe path discovery (CLI switch, Custom xml, system $PATH, UI update trigger). Removed FFMpeg folder from Emby.Server.Implementations. All path discovery now in MediaEncoder.
2) Always display FFmpeg path to user in Transcode page.
3) Allow user to remove a Custome FFmpeg path and return to using system $PATH (or --ffmpeg if available).
4) Remove unused code associated with 'prebuilt' FFmpeg.
5) Much improved logging during path discovery.
6 years ago
Joshua M. Boniface
5587dd8bfb
Merge pull request #900 from ploughpuff/validator
...
Implement proper FFmpeg version checking
6 years ago
Vasily
f1086a72bf
Improve logic when determining return value
...
Co-Authored-By: ploughpuff <33969763+ploughpuff@users.noreply.github.com>
6 years ago
PloughPuff
7668ecf9c9
Use Version Class to ease comparisons
6 years ago
Claus Vium
aafed63c3f
Set EnableRaisingEvents to true for processes that require it
6 years ago
Claus Vium
139807719c
Add missing base64 conversion
6 years ago
Claus Vium
1e2050f106
Rename functions to match functionality
6 years ago
Claus Vium
a23f04623e
Remove IEncryptionManager
6 years ago
PloughPuff
69ea15f73a
Use string interpolation
...
Two further review comments from JustAMan.
6 years ago
PloughPuff
d8d237f6f2
Review comments
...
Addressed review comments from JustAMan. Removed code to determine experimental version. Store major and minor as two ints. Allow control of a min and max recommended version.
6 years ago
PloughPuff
a6bde0943e
Implement proper FFmpeg version checking
...
Three routes to determine FFmpeg version:
1) Grab the 'ffmpeg version x.y' from from the -version output. This should work for all pre-built binaries.
2) Compare the library versions against known contents of FFmpeg versions. This is fallback aimed at custom builds.
3) Compare libavcodec version to determine if newer than latest known release. This suggests user is running within latest/HEAD/master build.
6 years ago
Bond_009
1cdcace061
Remove dead code
6 years ago
Bond_009
95ee3c72e3
Properly dispose Tasks
6 years ago
Bond_009
66eabcdd39
Minor changes to encoding code
...
* Don't wait in intervals of 100ms for the file to exist
6 years ago
Bond-009
1ea219bf3f
Merge branch 'master' into culture
6 years ago
Vasily
91e99effc9
Apply suggestions from code review for flipped conditions.
...
Co-Authored-By: EraYaN <EraYaN@users.noreply.github.com>
6 years ago
Erwin de Haan
b9a111432a
Unwrapped all /(Write|Read)All(Text|Bytes)/ functions.
6 years ago
Erwin de Haan
581a7fe078
Unwrapped `MoveDirectory`, `DirectoryExists`, `FileExists` & removed `MoveFile`
6 years ago
Erwin de Haan
a430568082
Unwrapped `OpenRead` and `CopyFile`
6 years ago
Erwin de Haan
d7c6d16250
Unwrapped CreateDirectory and DeleteDirectory
6 years ago
Erwin de Haan
3a831994f6
Unwrapped GetDirectoryName and DirectorySeperatorChar
6 years ago
Bond_009
a709cbdc64
Fix more analyzer warnings
6 years ago
Tthecreator
0b80902cc8
Set EnableRaisingEvents correctly for SubtitleEncoder
6 years ago
Andrew Rabert
d16f38dbe1
Merge pull request #623 from wtayl0r/inject-logger-factories
...
Replaced injections of ILogger with ILoggerFactory
6 years ago
Andrew Rabert
a1fcf4ea0d
Merge pull request #613 from MatMaul/mediaencoding-dev
...
Update MediaEncoding
6 years ago
Mathieu Velten
da16de48aa
Revert back to 10e57ce8d21b4516733894075001819f3cd6db6b for MediaEncoding
...
Remove some duplicate code that were causing warnings
6 years ago
William Taylor
65cd3ed597
Replaced injections of ILogger with ILoggerFactory
...
This makes resolving dependencies from the container much easier as
you cannot resolve with primitives parameters in a way that is any
more readable.
The aim of this commit is to change as little as possible with the end
result, loggers that were newed up for the parent object were given the same
name. Objects that used the base or app loggers, were given a new logger with
an appropriate name.
Also removed some unused dependencies.
6 years ago
Claus Vium
e8cf72e925
Change CanExtractSubtitles to true to allow conversion during direct streaming
6 years ago
Andrew Rabert
3a6624f701
Merge pull request #629 from cvium/fix_subtitleencoder
...
Fix subtitle converter misinterpreting 0 valued endTimeTicks
6 years ago
Claus Vium
2b47006662
Remove unneeded variable
6 years ago
Claus Vium
2dc14aa85d
Remove CodePages from csproj
6 years ago
Claus Vium
26e20d1cd5
Fix subtitle converter misinterpreting 0 valued endTimeTicks
6 years ago
cvium
790266d314
Add package ref for codepages
6 years ago
cvium
b35dcbb9f0
Remove MediaBrowser.Text since it violates licenses and is overall hacky
6 years ago
Erwin de Haan
c5430f86b0
Fixed csproj and xml identation.
6 years ago
Erwin de Haan
38f96af079
Reformat JustAMan review pt2 changes
...
Refs #575
6 years ago
Erwin de Haan
e867446437
ReSharper format: conform inline 'out' parameters.
6 years ago
Erwin de Haan
65bd052f3e
ReSharper conform to 'var' settings
6 years ago
Erwin de Haan
a36658f6f0
ReSharper Reformat: Properties to expression bodied form.
6 years ago
Erwin de Haan
9fa60ec934
Find+Sed BOM removal all toher files, except test files.
6 years ago
Erwin de Haan
089ad8e7c2
Find+Sed BOM removal *.xml,*.csproj,*,json,*.sln,*.txt
6 years ago
Erwin de Haan
8f41ba4d3a
Find+Sed BOM removal *.cs: MediaBrowser.LocalMetadata-MediaBrowser.Model
6 years ago
Erwin de Haan
742bef5b5f
EditorConfig reformat: Non-CS files.
6 years ago
Erwin de Haan
f2e50f50bd
Visual Studio Reformat: MediaBrowser.MediaEncoding
6 years ago
Erwin de Haan
e2751d42e8
Merge branch 'dev' into code-cleanup
6 years ago
Andrew Rabert
e5c2dbdf23
Merge pull request #540 from joshuaboniface/api-keys
...
Update Emby API keys to our own
6 years ago
Joshua M. Boniface
15c89d281e
Merge pull request #506 from hawken93/linting
...
Removing tabs and trailing whitespace
6 years ago
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.
6 years ago
Anthony Lavado
5900ab8c68
Update OpenSubtitles User Agent to our own
6 years ago
Bond_009
f520ddc966
Remove useless properties from IEnvironmentInfo
6 years ago
hawken
bd169e4fd4
remove trailing whitespace
6 years ago
Andrew Rabert
237187bfc0
Merge pull request #456 from Bond-009/subencoder
...
SubtitleEncoder: stop using tuples for clarity
6 years ago
Anthony Lavado
0a715f9196
Merge pull request #435 from Bond-009/ffmpeglogs
...
Reduce log spam from ffmpeg info
6 years ago
Bond_009
73fd0cd8c6
SubtitleEncoder: stop using tuples for clarity
...
* Replace Tuples with a ValueTuple or a struct
6 years ago
Bond_009
abddc4786c
Reduce log spam from ffmpeg info
6 years ago
Bond_009
59d8d9a82c
Fix nullrefexception in SubtitleEncoder
6 years ago
Anthony Lavado
a06a5c8d18
Merge branch 'dev' into project-updates
6 years ago
Bond_009
ec47c5b0f7
Remove unused FontConfigLoader
6 years ago
Bond_009
f3030812ea
Use static regex
6 years ago
Bond_009
d6f3ca859e
Change regex to multiline
...
ex: https://regex101.com/r/bn9IOy/12
6 years ago
Bond_009
c05e8088d6
Remove extra capture group from regex
...
https://regex101.com/r/bn9IOy/11/
6 years ago
Bond_009
12c43cd769
Use regex to check if ffmpeg output contains codec
...
Demo of the regex: https://regex101.com/r/bn9IOy/10/
6 years ago