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
Copy file name to clipboardExpand all lines: README.md
+35-6Lines changed: 35 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ This package uses the **[FFmpeg](https://ffmpeg.org)** to package media content
33
33
## Requirements
34
34
1. This version of the package is only compatible with **[Python 3.6](https://www.python.org/downloads/)** or higher.
35
35
36
-
2. To use this package, you need to **[install the FFMpeg](https://ffmpeg.org/download.html)**. You will need both FFMpeg and FFProbe binaries to use it.
36
+
2. To use this package, you need to **[install the FFmpeg](https://ffmpeg.org/download.html)**. You will need both FFMpeg and FFProbe binaries to use it.
37
37
38
38
## Installation
39
39
The latest version of `ffmpeg-streaming` can be acquired via pip:
You can pass a local path of video(or a supported resource) to the `open` method:
50
+
You can pass a local path of video(or a supported resource) to the method(`hls` or `dash`):
51
51
```python
52
52
video ='/var/www/media/videos/video.mp4'
53
53
```
@@ -60,7 +60,7 @@ video = 'https://www.aminyazdanpanah.com/PATH/TO/VIDEO.MP4'
60
60
```
61
61
62
62
#### 2. From Clouds
63
-
You can open a file from a cloud by passing an array of cloud configuration to the`openFromCloud` method.
63
+
You can open a file from a cloud by passing a tuple of cloud configuration to the method.
64
64
65
65
In **[this page](https://video.aminyazdanpanah.com/python/start/clouds?r=open)**, you will find some examples of opening a file from **[Amazon S3](https://aws.amazon.com/s3)**, **[Google Cloud Storage](https://console.cloud.google.com/storage)**, **[Microsoft Azure Storage](https://azure.microsoft.com/en-us/features/storage-explorer/)**, and a custom cloud.
@@ -219,10 +248,10 @@ It can also be null. The default path to save files is the input path.
219
248
.package(progress=progress)
220
249
)
221
250
```
222
-
**NOTE:** If you open a file from a cloud and do not pass a path to save the file to your local machine, you will have to pass a local path to the `save` method.
251
+
**NOTE:** If you open a file from a cloud and do not pass a path to save the file to your local machine, you will have to pass a local path to the `package` method.
223
252
224
253
#### 2. To Clouds
225
-
You can save your files to a cloud by passing an array of cloud configuration to the `package` method.
254
+
You can save your files to a cloud by passing a tuple of cloud configuration to the `package` method.
226
255
227
256
In **[this page](https://video.aminyazdanpanah.com/python/start/clouds?r=save)**, you will find some examples of saving files to **[Amazon S3](https://aws.amazon.com/s3)**, **[Google Cloud Storage](https://console.cloud.google.com/storage)**, **[Microsoft Azure Storage](https://azure.microsoft.com/en-us/features/storage-explorer/)**, and a custom cloud.
0 commit comments