main: changes, fixes
- refactors http session usage across modules - adjusts video info extraction - improves temporary directory, concurrency limits, buffering, and error handling in download routines
This commit is contained in:
parent
10c113f400
commit
58bd5827b3
12 changed files with 171 additions and 51 deletions
|
@ -12,10 +12,7 @@ func ExtractVideoThumbnail(
|
|||
Input(videoPath).
|
||||
Output(thumbnailPath, ffmpeg.KwArgs{
|
||||
"vframes": 1,
|
||||
"f": "image2",
|
||||
"ss": "00:00:01",
|
||||
"c:v": "mjpeg",
|
||||
"q:v": 10, // not sure
|
||||
}).
|
||||
Silent(true).
|
||||
OverWriteOutput().
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue