mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-10-21 00:02:29 +00:00
update file system methods
This commit is contained in:
parent
0f743205c4
commit
14de062681
129 changed files with 482 additions and 872 deletions
|
|
@ -605,7 +605,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
|||
vf += string.Format(",scale=min(iw\\,{0}):trunc(ow/dar/2)*2", maxWidthParam);
|
||||
}
|
||||
|
||||
Directory.CreateDirectory(targetDirectory);
|
||||
FileSystem.CreateDirectory(targetDirectory);
|
||||
var outputPath = Path.Combine(targetDirectory, filenamePrefix + "%05d.jpg");
|
||||
|
||||
var args = string.Format("-i {0} -threads 1 -v quiet -vf \"{2}\" -f image2 \"{1}\"", inputArgument, outputPath, vf);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue