mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-14 16:03:24 +02:00
limit size of extracted chapter images
This commit is contained in:
parent
0984474c17
commit
1a153cbd39
1 changed files with 2 additions and 2 deletions
|
|
@ -757,8 +757,8 @@ namespace MediaBrowser.Server.Implementations.MediaEncoder
|
|||
throw new ArgumentNullException("outputPath");
|
||||
}
|
||||
|
||||
var args = useIFrame ? string.Format("-i {0} -threads 0 -v quiet -vframes 1 -filter:v select=\\'eq(pict_type\\,I)\\' -vf \"scale=iw*sar:ih\" -f image2 \"{1}\"", inputPath, outputPath) :
|
||||
string.Format("-i {0} -threads 0 -v quiet -vframes 1 -vf \"scale=iw*sar:ih\" -f image2 \"{1}\"", inputPath, outputPath);
|
||||
var args = useIFrame ? string.Format("-i {0} -threads 0 -v quiet -vframes 1 -filter:v select=\\'eq(pict_type\\,I)\\' -vf \"scale=iw*sar:ih, scale=600:-1\" -f image2 \"{1}\"", inputPath, outputPath) :
|
||||
string.Format("-i {0} -threads 0 -v quiet -vframes 1 -vf \"scale=iw*sar:ih, scale=600:-1\" -f image2 \"{1}\"", inputPath, outputPath);
|
||||
|
||||
var probeSize = GetProbeSizeArgument(type);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue