fid-ffmpeg 0.3.8__tar.gz → 0.4.0__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.
- {fid_ffmpeg-0.3.8 → fid_ffmpeg-0.4.0}/PKG-INFO +12 -3
- {fid_ffmpeg-0.3.8 → fid_ffmpeg-0.4.0}/README.md +12 -3
- {fid_ffmpeg-0.3.8 → fid_ffmpeg-0.4.0}/fid/fid.py +2 -2
- {fid_ffmpeg-0.3.8 → fid_ffmpeg-0.4.0}/fid/welcome.py +2 -3
- {fid_ffmpeg-0.3.8 → fid_ffmpeg-0.4.0}/fid_ffmpeg.egg-info/PKG-INFO +12 -3
- {fid_ffmpeg-0.3.8 → fid_ffmpeg-0.4.0}/pyproject.toml +1 -1
- {fid_ffmpeg-0.3.8 → fid_ffmpeg-0.4.0}/LICENSE +0 -0
- {fid_ffmpeg-0.3.8 → fid_ffmpeg-0.4.0}/fid/__init__.py +0 -0
- {fid_ffmpeg-0.3.8 → fid_ffmpeg-0.4.0}/fid_ffmpeg.egg-info/SOURCES.txt +0 -0
- {fid_ffmpeg-0.3.8 → fid_ffmpeg-0.4.0}/fid_ffmpeg.egg-info/dependency_links.txt +0 -0
- {fid_ffmpeg-0.3.8 → fid_ffmpeg-0.4.0}/fid_ffmpeg.egg-info/entry_points.txt +0 -0
- {fid_ffmpeg-0.3.8 → fid_ffmpeg-0.4.0}/fid_ffmpeg.egg-info/requires.txt +0 -0
- {fid_ffmpeg-0.3.8 → fid_ffmpeg-0.4.0}/fid_ffmpeg.egg-info/top_level.txt +0 -0
- {fid_ffmpeg-0.3.8 → fid_ffmpeg-0.4.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fid-ffmpeg
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4.0
|
|
4
4
|
Summary: based ffmpeg CLI for video operations
|
|
5
5
|
Author-email: omar_abdalgwad <ahlawyomar95@gmail.com>
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
@@ -9,7 +9,14 @@ Requires-Dist: typer>=0.7
|
|
|
9
9
|
Dynamic: license-file
|
|
10
10
|
|
|
11
11
|
# fid-ffmpeg
|
|
12
|
-
|
|
12
|
+
ffmpeg based cli for video operations
|
|
13
|
+
```bash
|
|
14
|
+
fid
|
|
15
|
+
```
|
|
16
|
+
https://github.com/user-attachments/assets/abcc8aa0-3ada-4548-8f99-987687cfccd9
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
https://github.com/user-attachments/assets/abcc8aa0-3ada-4548-8f99-987687cfccd9
|
|
13
20
|
|
|
14
21
|
## installation
|
|
15
22
|
|
|
@@ -20,7 +27,7 @@ simple ffmpeg based cli for video operations
|
|
|
20
27
|
pip install fid-ffmpeg
|
|
21
28
|
```
|
|
22
29
|
## installation demo
|
|
23
|
-
https://github.com/user-attachments/assets/
|
|
30
|
+
https://github.com/user-attachments/assets/6063b46b-dd4a-4cb3-a318-869f37bcf60f
|
|
24
31
|
|
|
25
32
|
## Commands
|
|
26
33
|
| Command | Description |
|
|
@@ -31,3 +38,5 @@ https://github.com/user-attachments/assets/5c1bb2ac-1793-44b8-8240-bc71a1919d5a
|
|
|
31
38
|
| `fid mute "videoPath"` | `mute the video` |
|
|
32
39
|
| `fid gif "videoPath"` | `make a gif from the video` |
|
|
33
40
|
| `fid frames "videoPath"` | `extract all video frames and add them in a folder`|
|
|
41
|
+
| `fid frames "videoPath"` | `extract all video frames and add them in a folder`|
|
|
42
|
+
| `fid compress "videoPath"` | `Compress the video to reduce its file size`|
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# fid-ffmpeg
|
|
2
|
-
|
|
2
|
+
ffmpeg based cli for video operations
|
|
3
|
+
```bash
|
|
4
|
+
fid
|
|
5
|
+
```
|
|
6
|
+
https://github.com/user-attachments/assets/abcc8aa0-3ada-4548-8f99-987687cfccd9
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
https://github.com/user-attachments/assets/abcc8aa0-3ada-4548-8f99-987687cfccd9
|
|
3
10
|
|
|
4
11
|
## installation
|
|
5
12
|
|
|
@@ -10,7 +17,7 @@ simple ffmpeg based cli for video operations
|
|
|
10
17
|
pip install fid-ffmpeg
|
|
11
18
|
```
|
|
12
19
|
## installation demo
|
|
13
|
-
https://github.com/user-attachments/assets/
|
|
20
|
+
https://github.com/user-attachments/assets/6063b46b-dd4a-4cb3-a318-869f37bcf60f
|
|
14
21
|
|
|
15
22
|
## Commands
|
|
16
23
|
| Command | Description |
|
|
@@ -20,4 +27,6 @@ https://github.com/user-attachments/assets/5c1bb2ac-1793-44b8-8240-bc71a1919d5a
|
|
|
20
27
|
| `fid audio "videoPath"` | `extract audio from the video` |
|
|
21
28
|
| `fid mute "videoPath"` | `mute the video` |
|
|
22
29
|
| `fid gif "videoPath"` | `make a gif from the video` |
|
|
23
|
-
| `fid frames "videoPath"` | `extract all video frames and add them in a folder`|
|
|
30
|
+
| `fid frames "videoPath"` | `extract all video frames and add them in a folder`|
|
|
31
|
+
| `fid frames "videoPath"` | `extract all video frames and add them in a folder`|
|
|
32
|
+
| `fid compress "videoPath"` | `Compress the video to reduce its file size`|
|
|
@@ -34,7 +34,7 @@ def audio(vid: Path):
|
|
|
34
34
|
ffmpeg()
|
|
35
35
|
ckvideo(vid)
|
|
36
36
|
audio=vid.with_suffix(".mp3")
|
|
37
|
-
subprocess.run(["ffmpeg", "-i", str(vid), "-vn", "-acodec", "
|
|
37
|
+
subprocess.run(["ffmpeg", "-i", str(vid), "-vn", "-acodec", "libmp3lame", "-y", str(audio)], check=True)
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
@app.command()
|
|
@@ -51,7 +51,7 @@ def gif(vid: Path):
|
|
|
51
51
|
ffmpeg()
|
|
52
52
|
ckvideo(vid)
|
|
53
53
|
gif=vid.with_suffix(".gif")
|
|
54
|
-
subprocess.run(["ffmpeg", "-i", str(vid), "-t", "
|
|
54
|
+
subprocess.run(["ffmpeg", "-i", str(vid), "-t", "5", "-vf", "scale=320:-1", "-y", str(gif)], check=True)
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
@app.command()
|
|
@@ -10,7 +10,7 @@ def welcome():
|
|
|
10
10
|
logo = Text(ascii)
|
|
11
11
|
logo.stylize("bold gradient(blue, magenta)")
|
|
12
12
|
console.print(logo, justify="center")
|
|
13
|
-
content =
|
|
13
|
+
content =(
|
|
14
14
|
"[bold]fid-ffmpeg Helper[/bold]\n\n"
|
|
15
15
|
"[green]Commands:[/green]\n"
|
|
16
16
|
" • info Show video info\n"
|
|
@@ -20,5 +20,4 @@ def welcome():
|
|
|
20
20
|
" • mute Remove audio\n"
|
|
21
21
|
" • compress Compress video\n\n"
|
|
22
22
|
"[dim]Run : fid <command> <video path>[/dim]")
|
|
23
|
-
console.print(
|
|
24
|
-
Panel(content,title="fid-ffmpeg",border_style="cyan",expand=True))
|
|
23
|
+
console.print(Panel(content,title="fid-ffmpeg",border_style="cyan",expand=True))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fid-ffmpeg
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4.0
|
|
4
4
|
Summary: based ffmpeg CLI for video operations
|
|
5
5
|
Author-email: omar_abdalgwad <ahlawyomar95@gmail.com>
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
@@ -9,7 +9,14 @@ Requires-Dist: typer>=0.7
|
|
|
9
9
|
Dynamic: license-file
|
|
10
10
|
|
|
11
11
|
# fid-ffmpeg
|
|
12
|
-
|
|
12
|
+
ffmpeg based cli for video operations
|
|
13
|
+
```bash
|
|
14
|
+
fid
|
|
15
|
+
```
|
|
16
|
+
https://github.com/user-attachments/assets/abcc8aa0-3ada-4548-8f99-987687cfccd9
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
https://github.com/user-attachments/assets/abcc8aa0-3ada-4548-8f99-987687cfccd9
|
|
13
20
|
|
|
14
21
|
## installation
|
|
15
22
|
|
|
@@ -20,7 +27,7 @@ simple ffmpeg based cli for video operations
|
|
|
20
27
|
pip install fid-ffmpeg
|
|
21
28
|
```
|
|
22
29
|
## installation demo
|
|
23
|
-
https://github.com/user-attachments/assets/
|
|
30
|
+
https://github.com/user-attachments/assets/6063b46b-dd4a-4cb3-a318-869f37bcf60f
|
|
24
31
|
|
|
25
32
|
## Commands
|
|
26
33
|
| Command | Description |
|
|
@@ -31,3 +38,5 @@ https://github.com/user-attachments/assets/5c1bb2ac-1793-44b8-8240-bc71a1919d5a
|
|
|
31
38
|
| `fid mute "videoPath"` | `mute the video` |
|
|
32
39
|
| `fid gif "videoPath"` | `make a gif from the video` |
|
|
33
40
|
| `fid frames "videoPath"` | `extract all video frames and add them in a folder`|
|
|
41
|
+
| `fid frames "videoPath"` | `extract all video frames and add them in a folder`|
|
|
42
|
+
| `fid compress "videoPath"` | `Compress the video to reduce its file size`|
|
|
@@ -3,7 +3,7 @@ requires = ["setuptools>=61.0", "wheel"]
|
|
|
3
3
|
build-backend = "setuptools.build_meta"
|
|
4
4
|
[project]
|
|
5
5
|
name = "fid-ffmpeg"
|
|
6
|
-
version = "0.
|
|
6
|
+
version = "0.4.0"
|
|
7
7
|
description = " based ffmpeg CLI for video operations"
|
|
8
8
|
readme = "README.md"
|
|
9
9
|
authors = [{ name = "omar_abdalgwad", email = "ahlawyomar95@gmail.com" }]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|