Claus Vium
ae031fdd28
Merge branch 'master' into tonemap-overlay
3 years ago
Bond_009
963ab2dab6
Simplify the way we choose our ffmpeg
...
* no longer search $PATH
* no longer require a full path
* don't fall back
3 years ago
nyanmisaka
3beda02d92
add support for cuda tonemap and overlay
3 years ago
Bond_009
26d7fc8280
Enable nullable reference types for MediaBrowser.MediaEncoding.Subtitles
4 years ago
nyanmisaka
b0e0e19468
add cuda format converter
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
BaronGreenback
5464eaed4a
Update EncoderValidator.cs
4 years ago
Bond_009
119f64f5e7
Make some methods async
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
53f99d5d4b
Add some analyzers to MediaBrowser.MediaEncoding
4 years ago
Bond-009
18efa25a6f
Enable TreatWarningsAsErrors for MediaBrowser.MediaEncoding
4 years ago
Bond_009
e98351b912
Replace \d with [0-9] in ffmpeg detection and scan code
4 years ago
nyanmisaka
f5c5352861
add FFmpeg 4.3 detection and tests
4 years ago
Max Git
33f78df051
Merge branch 'master' into feature/ffmpeg-version-check
4 years ago
Max Git
e6c197b969
Cleanup
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
artiume
0476acf5d5
Update EncoderValidator.cs
4 years ago
rotvel
480fd0a66a
Update MediaBrowser.MediaEncoding/Encoder/EncoderValidator.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
Max Git
e103d087d3
Try harder at detecting FFmpeg version and enable the validation
4 years ago
Vasily
aa17a53e83
Skip only line saying "Hardware acceleration methods:" instead of some random one
4 years ago
Vasily
628734931c
Fix missing commas and merge defects
4 years ago
artiume
3c82379759
Update EncoderValidator.cs
4 years ago
artiume
1ff95289ef
Update EncoderValidator.cs
4 years ago
nyanmisaka
b4b93995f7
add more separate hw decoding toggles
4 years ago
nyanmisaka
db23660660
prefer to use libfdk_aac for better audio quality
5 years ago
Nyanmisaka
2c10891b66
turn on indentation.
5 years ago
Nyanmisaka
e95239e281
add support for AMD h264_amf & hevc_amf
5 years ago
ferferga
94ef239de0
Add full Raspberry Pi hardware decoding support
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
JMCC
5d85076ad5
Enable Exynos V4L2-m2m HW encoder
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
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
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
Erwin de Haan
38f96af079
Reformat JustAMan review pt2 changes
...
Refs #575
6 years ago
Erwin de Haan
65bd052f3e
ReSharper conform to 'var' settings
6 years ago
Erwin de Haan
8f41ba4d3a
Find+Sed BOM removal *.cs: MediaBrowser.LocalMetadata-MediaBrowser.Model
6 years ago
Bond_009
abddc4786c
Reduce log spam from ffmpeg info
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
Bond_009
0042b96c80
Use ValueTuple and Linq
6 years ago