clinton 0.0.3__tar.gz → 0.0.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {clinton-0.0.3 → clinton-0.0.4}/Clinton/__init__.py +1 -1
- {clinton-0.0.3 → clinton-0.0.4}/Clinton/functions/function02.py +5 -1
- {clinton-0.0.3/clinton.egg-info → clinton-0.0.4}/PKG-INFO +2 -2
- {clinton-0.0.3 → clinton-0.0.4}/README.md +1 -1
- {clinton-0.0.3 → clinton-0.0.4/clinton.egg-info}/PKG-INFO +2 -2
- {clinton-0.0.3 → clinton-0.0.4}/Clinton/functions/__init__.py +0 -0
- {clinton-0.0.3 → clinton-0.0.4}/Clinton/functions/collections.py +0 -0
- {clinton-0.0.3 → clinton-0.0.4}/Clinton/functions/function01.py +0 -0
- {clinton-0.0.3 → clinton-0.0.4}/Clinton/scripts/__init__.py +0 -0
- {clinton-0.0.3 → clinton-0.0.4}/Clinton/scripts/script01.py +0 -0
- {clinton-0.0.3 → clinton-0.0.4}/Clinton/scripts/script02.py +0 -0
- {clinton-0.0.3 → clinton-0.0.4}/Clinton/scripts/script05.py +0 -0
- {clinton-0.0.3 → clinton-0.0.4}/LICENSE +0 -0
- {clinton-0.0.3 → clinton-0.0.4}/clinton.egg-info/SOURCES.txt +0 -0
- {clinton-0.0.3 → clinton-0.0.4}/clinton.egg-info/dependency_links.txt +0 -0
- {clinton-0.0.3 → clinton-0.0.4}/clinton.egg-info/requires.txt +0 -0
- {clinton-0.0.3 → clinton-0.0.4}/clinton.egg-info/top_level.txt +0 -0
- {clinton-0.0.3 → clinton-0.0.4}/setup.cfg +0 -0
- {clinton-0.0.3 → clinton-0.0.4}/setup.py +0 -0
|
@@ -50,7 +50,11 @@ class Media:
|
|
|
50
50
|
ffmpeg.input(file, ss=duration).output(output, vframes=1).run(quiet=True)
|
|
51
51
|
ouoing = output if os.path.lexists(output) else None
|
|
52
52
|
return ouoing
|
|
53
|
-
except
|
|
53
|
+
except ffmpeg.Error as errors:
|
|
54
|
+
print(errors)
|
|
55
|
+
return None
|
|
56
|
+
except Exception as errors:
|
|
57
|
+
print(errors)
|
|
54
58
|
return None
|
|
55
59
|
|
|
56
60
|
#====================================================================================================
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: clinton
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.4
|
|
4
4
|
Summary: ㅤ
|
|
5
5
|
Home-page: https://github.com/Clinton-Abraham
|
|
6
6
|
Author: Clinton-Abraham
|
|
@@ -35,7 +35,7 @@ async def main():
|
|
|
35
35
|
duration = 7000 # IN SECONDS
|
|
36
36
|
save = "./Home/" # OUTPUT LOCATION
|
|
37
37
|
file = "./Home/Video.mp4" # FILE LOCATION
|
|
38
|
-
result = await Media.screenshot(file,
|
|
38
|
+
result = await Media.screenshot(file, save, duration)
|
|
39
39
|
print(result)
|
|
40
40
|
|
|
41
41
|
asyncio.run(main())
|
|
@@ -10,7 +10,7 @@ async def main():
|
|
|
10
10
|
duration = 7000 # IN SECONDS
|
|
11
11
|
save = "./Home/" # OUTPUT LOCATION
|
|
12
12
|
file = "./Home/Video.mp4" # FILE LOCATION
|
|
13
|
-
result = await Media.screenshot(file,
|
|
13
|
+
result = await Media.screenshot(file, save, duration)
|
|
14
14
|
print(result)
|
|
15
15
|
|
|
16
16
|
asyncio.run(main())
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: clinton
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.4
|
|
4
4
|
Summary: ㅤ
|
|
5
5
|
Home-page: https://github.com/Clinton-Abraham
|
|
6
6
|
Author: Clinton-Abraham
|
|
@@ -35,7 +35,7 @@ async def main():
|
|
|
35
35
|
duration = 7000 # IN SECONDS
|
|
36
36
|
save = "./Home/" # OUTPUT LOCATION
|
|
37
37
|
file = "./Home/Video.mp4" # FILE LOCATION
|
|
38
|
-
result = await Media.screenshot(file,
|
|
38
|
+
result = await Media.screenshot(file, save, duration)
|
|
39
39
|
print(result)
|
|
40
40
|
|
|
41
41
|
asyncio.run(main())
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|