fid-ffmpeg 0.3.8__py3-none-any.whl → 0.3.9__py3-none-any.whl

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/fid.py CHANGED
@@ -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", "mp3", "-y", str(audio)], check=True)
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", "3", "-vf", "scale=320:-1", "-y", str(gif)], check=True)
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()
fid/welcome.py CHANGED
@@ -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.8
3
+ Version: 0.3.9
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
- simple ffmpeg based cli for video operations
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/5c1bb2ac-1793-44b8-8240-bc71a1919d5a
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`|
@@ -0,0 +1,9 @@
1
+ fid/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ fid/fid.py,sha256=9ruT8fdwZLY30vRQrL4TsJxWFL8X4IrglmeACuOII1M,2101
3
+ fid/welcome.py,sha256=rt8TZb9oDzHHYKuUCvO1lz4k_1bvThNc6vomaChE3ww,816
4
+ fid_ffmpeg-0.3.9.dist-info/licenses/LICENSE,sha256=8HFb3MtS3r_RTfGUr8mm6IbZocu4o4vc2f2U00Z3Tmc,255
5
+ fid_ffmpeg-0.3.9.dist-info/METADATA,sha256=9jT6Mw3iNgxGrjNBAhPHBLO6GvF9az3Zc4sKPn1NFOw,1465
6
+ fid_ffmpeg-0.3.9.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
7
+ fid_ffmpeg-0.3.9.dist-info/entry_points.txt,sha256=wc8Iju3nkXAuyqF5NB1276l_AGtakuifMGR3D42dqB8,36
8
+ fid_ffmpeg-0.3.9.dist-info/top_level.txt,sha256=5jgogeo314G3j_oXUp3BE4wBE3t82ijRwLwF1KnYiDg,4
9
+ fid_ffmpeg-0.3.9.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.9.0)
2
+ Generator: setuptools (80.10.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,9 +0,0 @@
1
- fid/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- fid/fid.py,sha256=o9o5y_s_2lR2bBrBP9FgH8VMr5nyQJt5_c6HrVRQw6Q,2094
3
- fid/welcome.py,sha256=hUyKUfdTlfROwZaHvqTQ_tNP_1ZLiV2iCYeddYOcHhI,827
4
- fid_ffmpeg-0.3.8.dist-info/licenses/LICENSE,sha256=8HFb3MtS3r_RTfGUr8mm6IbZocu4o4vc2f2U00Z3Tmc,255
5
- fid_ffmpeg-0.3.8.dist-info/METADATA,sha256=8SVS9YdsKZct1GzlAmvCSAYtvyeRvBfcd-YudAeHCSU,1126
6
- fid_ffmpeg-0.3.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
7
- fid_ffmpeg-0.3.8.dist-info/entry_points.txt,sha256=wc8Iju3nkXAuyqF5NB1276l_AGtakuifMGR3D42dqB8,36
8
- fid_ffmpeg-0.3.8.dist-info/top_level.txt,sha256=5jgogeo314G3j_oXUp3BE4wBE3t82ijRwLwF1KnYiDg,4
9
- fid_ffmpeg-0.3.8.dist-info/RECORD,,