peg-this 3.0.2__py3-none-any.whl → 4.1.0__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.
- peg_this/features/__init__.py +0 -0
- peg_this/features/audio.py +85 -0
- peg_this/features/batch.py +151 -0
- peg_this/features/convert.py +309 -0
- peg_this/features/crop.py +207 -0
- peg_this/features/inspect.py +110 -0
- peg_this/features/join.py +137 -0
- peg_this/features/subtitle.py +397 -0
- peg_this/features/trim.py +56 -0
- peg_this/peg_this.py +53 -622
- peg_this/utils/__init__.py +0 -0
- peg_this/utils/ffmpeg_utils.py +129 -0
- peg_this/utils/ui_utils.py +52 -0
- peg_this/utils/validation.py +228 -0
- peg_this-4.1.0.dist-info/METADATA +283 -0
- peg_this-4.1.0.dist-info/RECORD +21 -0
- {peg_this-3.0.2.dist-info → peg_this-4.1.0.dist-info}/WHEEL +1 -1
- peg_this-3.0.2.dist-info/METADATA +0 -87
- peg_this-3.0.2.dist-info/RECORD +0 -8
- {peg_this-3.0.2.dist-info → peg_this-4.1.0.dist-info}/entry_points.txt +0 -0
- {peg_this-3.0.2.dist-info → peg_this-4.1.0.dist-info}/licenses/LICENSE +0 -0
- {peg_this-3.0.2.dist-info → peg_this-4.1.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
peg_this/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
peg_this/peg_this.py,sha256=1a0VAS0CTBNdZryytW2nlk-KsDXMW-MEfuXrTyi89xM,5256
|
|
3
|
+
peg_this/features/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
peg_this/features/audio.py,sha256=pYhLdULtumuJlsVWczf7dh3N2uKaJkRYWdr74Lo4gBw,2611
|
|
5
|
+
peg_this/features/batch.py,sha256=4l1zx1iB23WLdJ2yncQnm2CjOsEwErgrVwnZo0uFF8Y,6180
|
|
6
|
+
peg_this/features/convert.py,sha256=poqtBkXppL2nd0MiK09SRHB0SBLkTYvVtgtOhr9oYaY,10250
|
|
7
|
+
peg_this/features/crop.py,sha256=btg8o4USoPUh86LoBk1G13HMwxTyW3fA5u0dI96mjdk,7689
|
|
8
|
+
peg_this/features/inspect.py,sha256=XCPY7Qx3vj7n55MBaqsGesCmqdWl2W5d-y1D_a5tdbE,3958
|
|
9
|
+
peg_this/features/join.py,sha256=SAloJR6zZPcAUD1DkqVPXyUMgvpaGMLfs-zQ49N12O0,5193
|
|
10
|
+
peg_this/features/subtitle.py,sha256=3r1FGhPV9ii64IjtazUv-CpPYo4uYQfKQLxREhtJlbE,15776
|
|
11
|
+
peg_this/features/trim.py,sha256=WUF9XBZCPb9V7eDQ5LX6G9I6xlkwVxvKj-njfSuXoJM,1732
|
|
12
|
+
peg_this/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
13
|
+
peg_this/utils/ffmpeg_utils.py,sha256=rmkfOXMNAKqRo3Dkv0aUnUSLxsTdjxDeKMdw3VSCtOU,5409
|
|
14
|
+
peg_this/utils/ui_utils.py,sha256=aIGmRuZEHnp9rAo-WlsfxAESrSTD0bXQMGXqWtnw9TI,1776
|
|
15
|
+
peg_this/utils/validation.py,sha256=S_1t40j-ECj4B9RaH8E6vIsQuz34OWDmoY0lsK3VZM4,6866
|
|
16
|
+
peg_this-4.1.0.dist-info/licenses/LICENSE,sha256=WL1MklYSco7KZvDjbf191tIKOxWQdekqda7dDJc6Wn8,1067
|
|
17
|
+
peg_this-4.1.0.dist-info/METADATA,sha256=Ph4tpWzbtePYqqRgSRDrFbiIp3JhZiH60zXH-VzMiqs,11722
|
|
18
|
+
peg_this-4.1.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
19
|
+
peg_this-4.1.0.dist-info/entry_points.txt,sha256=9GVTFuE1w_wgY-Tz3--wI5j52BAKrt4atphVD8ioHhQ,52
|
|
20
|
+
peg_this-4.1.0.dist-info/top_level.txt,sha256=kSS5jZg3KN2kJqYZwMvQnI4gvlFxsUNzIm3QJsbKFdc,9
|
|
21
|
+
peg_this-4.1.0.dist-info/RECORD,,
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: peg_this
|
|
3
|
-
Version: 3.0.2
|
|
4
|
-
Summary: A powerful, intuitive command-line video editor suite, built on FFmpeg.
|
|
5
|
-
Author-email: Hariharen S S <thisishariharen@gmail.com>
|
|
6
|
-
Project-URL: Homepage, https://github.com/hariharen9/ffmpeg-this
|
|
7
|
-
Project-URL: Bug Tracker, https://github.com/hariharen9/ffmpeg-this/issues
|
|
8
|
-
Project-URL: Releases, https://github.com/hariharen9/ffmpeg-this/releases
|
|
9
|
-
Classifier: Programming Language :: Python :: 3
|
|
10
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
-
Classifier: Operating System :: OS Independent
|
|
12
|
-
Classifier: Topic :: Multimedia :: Video :: Conversion
|
|
13
|
-
Classifier: Topic :: Multimedia :: Video :: Non-Linear Editor
|
|
14
|
-
Requires-Python: >=3.8
|
|
15
|
-
Description-Content-Type: text/markdown
|
|
16
|
-
License-File: LICENSE
|
|
17
|
-
Requires-Dist: ffmpeg-python==0.2.0
|
|
18
|
-
Requires-Dist: questionary>=2.0.0
|
|
19
|
-
Requires-Dist: rich>=13.0.0
|
|
20
|
-
Requires-Dist: Pillow>=9.0.0
|
|
21
|
-
Dynamic: license-file
|
|
22
|
-
|
|
23
|
-
# 🎬 ffmPEG-this
|
|
24
|
-
|
|
25
|
-
> Your Video editor within CLI 🚀
|
|
26
|
-
|
|
27
|
-
A powerful and user-friendly batch script for converting, manipulating, and inspecting media files using the power of FFmpeg. This script provides a simple command-line menu to perform common audio and video tasks without needing to memorize complex FFmpeg commands.
|
|
28
|
-
|
|
29
|
-
## ✨ Features
|
|
30
|
-
|
|
31
|
-
- **Inspect Media Properties**: View detailed information about video and audio streams, including codecs, resolution, frame rate, bitrates, and more.
|
|
32
|
-
- **Convert & Transcode**: Convert videos and audio to a wide range of popular formats (MP4, MKV, WebM, MP3, FLAC, WAV, GIF) with simple quality presets.
|
|
33
|
-
- **Join Videos (Concatenate)**: Combine two or more videos into a single file. The tool automatically handles differences in resolution and audio sample rates for a seamless join.
|
|
34
|
-
- **Trim (Cut) Videos**: Easily cut a video to a specific start and end time without re-encoding for fast, lossless clips.
|
|
35
|
-
- **Visually Crop Videos**: An interactive tool that shows you a frame of the video, allowing you to click and drag to select the exact area you want to crop.
|
|
36
|
-
- **Extract Audio**: Rip the audio track from any video file into MP3, FLAC, or WAV.
|
|
37
|
-
- **Remove Audio**: Create a silent version of your video by stripping out all audio streams.
|
|
38
|
-
- **Batch Conversion**: Convert all media files in the current directory to a specified format in one go.
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
## 🚀 Usage
|
|
42
|
-
|
|
43
|
-
There are three ways to use `peg_this`:
|
|
44
|
-
|
|
45
|
-
### 1. Pip Install (Recommended)
|
|
46
|
-
|
|
47
|
-
This is the easiest way to get started. This will install the tool and all its dependencies, including `ffmpeg`.
|
|
48
|
-
|
|
49
|
-
```bash
|
|
50
|
-
pip install peg_this
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
Once installed, you can run the tool from your terminal:
|
|
54
|
-
|
|
55
|
-
```bash
|
|
56
|
-
peg_this
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
### 2. Download from Release
|
|
60
|
-
|
|
61
|
-
If you don't want to install the package, you can download a pre-built executable from the [Releases](https://github.com/hariharen9/ffmpeg-this/releases/latest) page.
|
|
62
|
-
|
|
63
|
-
1. Download the executable for your operating system (Windows, macOS, or Linux).
|
|
64
|
-
2. Place the downloaded file in a directory with your media files.
|
|
65
|
-
3. Run the executable directly from your terminal or command prompt.
|
|
66
|
-
|
|
67
|
-
### 3. Run from Source
|
|
68
|
-
|
|
69
|
-
If you want to run the script directly from the source code:
|
|
70
|
-
|
|
71
|
-
1. **Clone the repository:**
|
|
72
|
-
```bash
|
|
73
|
-
git clone https://github.com/hariharen9/ffmpeg-this.git
|
|
74
|
-
cd ffmpeg-this
|
|
75
|
-
```
|
|
76
|
-
2. **Install dependencies:**
|
|
77
|
-
```bash
|
|
78
|
-
pip install -r requirements.txt
|
|
79
|
-
```
|
|
80
|
-
3. **Run the script:**
|
|
81
|
-
```bash
|
|
82
|
-
python src/peg_this/peg_this.py
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
## 📄 License
|
|
86
|
-
|
|
87
|
-
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
|
peg_this-3.0.2.dist-info/RECORD
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
peg_this/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
peg_this/peg_this.py,sha256=JSxUYO5zjg0URu6SG3I1AWio_yQ8t8wKW9yqP-pRbUY,30228
|
|
3
|
-
peg_this-3.0.2.dist-info/licenses/LICENSE,sha256=WL1MklYSco7KZvDjbf191tIKOxWQdekqda7dDJc6Wn8,1067
|
|
4
|
-
peg_this-3.0.2.dist-info/METADATA,sha256=suW_MI8jSHxZXEKKOsrry7QnXoHyVZ0s6ZFljc-RKy8,3527
|
|
5
|
-
peg_this-3.0.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
6
|
-
peg_this-3.0.2.dist-info/entry_points.txt,sha256=9GVTFuE1w_wgY-Tz3--wI5j52BAKrt4atphVD8ioHhQ,52
|
|
7
|
-
peg_this-3.0.2.dist-info/top_level.txt,sha256=kSS5jZg3KN2kJqYZwMvQnI4gvlFxsUNzIm3QJsbKFdc,9
|
|
8
|
-
peg_this-3.0.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|