diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-03-23 00:37:58 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-03-23 00:37:58 -0400 |
| commit | 8db212f6bf8e834787949ad84066cab8bf6a898e (patch) | |
| tree | 7071e43cc5532f4f5b3c811ae93cb5570ff03145 | |
| parent | 0a7abd58c8ccb15e3c743dd05a5df27f7c4a0189 (diff) | |
#77 - Thumbnail Extraction Speed up
| -rw-r--r-- | MediaBrowser.Controller/MediaInfo/FFMpegManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/MediaInfo/FFMpegManager.cs b/MediaBrowser.Controller/MediaInfo/FFMpegManager.cs index 01746c7ce..c3a5a4e4a 100644 --- a/MediaBrowser.Controller/MediaInfo/FFMpegManager.cs +++ b/MediaBrowser.Controller/MediaInfo/FFMpegManager.cs @@ -854,7 +854,7 @@ namespace MediaBrowser.Controller.MediaInfo CreateNoWindow = true, UseShellExecute = false, FileName = FFMpegPath, - Arguments = string.Format("-ss {0} -i {1} -threads 0 -v quiet -t 1 -f image2 \"{2}\"", Convert.ToInt32(offset.TotalSeconds), inputPath, outputPath), + Arguments = string.Format("-ss {0} -i {1} -threads 0 -v quiet -vframes 1 -filter:v select=\\'eq(pict_type\\,I)\\' -f image2 \"{2}\"", Convert.ToInt32(offset.TotalSeconds), inputPath, outputPath), WindowStyle = ProcessWindowStyle.Hidden, ErrorDialog = false } |
