You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Convert MP3 to M4A, set conversion quality to high, delete the MP3 source file afterwards:
114
-
```python
114
+
```bash
115
115
python any_to_any.py -i /path/to/file.mp3 -f m4a -q high -d
116
116
```
117
117
118
118
Convert MP4 to HLS streams:
119
-
```python
119
+
```bash
120
120
python any_to_any.py -i /path/to/file.mp4 -f hls
121
121
```
122
122
The option for `hls` creates a directory with distinct folders for stream fragments of resolutions `426x240`, `640x360`, `842x480`, `1280x720`, and `1920x1080`.
123
123
124
124
If you feel like it, you can even convert an MP4 file to a PDF, that PDF to a GIF and the GIF back to MP4:
125
-
```python
125
+
```bash
126
126
# Create the PDF containing the movie's frames [Movie -> Document]
127
127
python any_to_any.py -i /path/to/file.mp4 -f pdf
128
128
# Create the GIF from your PDF [Document -> Image]
0 commit comments