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
-[Several Open Source Players](#several-open-source-players)
33
-
-[Contributing](#contributing)
34
-
-[Security](#security)
35
-
-[Reporting Bugs](#reporting-bugs)
33
+
-[Contributing and Reporting Bug](#contributing-and-reporting-bug)
36
34
-[Credits](#credits)
37
35
-[License](#license)
38
36
@@ -145,9 +143,9 @@ $rep_2 = (new Representation())->setKiloBitrate(300)->setResize(640 , 360);
145
143
$video->DASH()
146
144
->HEVC()
147
145
->addRepresentation($rep_1) // Add a representation
148
-
->addRepresentation($rep_2) // Add a representation
146
+
->addRepresentation($rep_2)
149
147
->setAdaption('id=0,streams=v id=1,streams=a') // Set a adaption.
150
-
->save('/var/www/media/videos/dash/test.mpd'); // It can be passed a path to the method or it can be null
148
+
->save('/var/www/media/videos/dash/test.mpd');
151
149
```
152
150
153
151
For more information about **[FFMpeg](https://ffmpeg.org/)** and its **[dash options](https://ffmpeg.org/ffmpeg-formats.html#dash-2)** please visit its website.
@@ -163,8 +161,8 @@ Create HLS files based on original video(auto generate qualities).
163
161
```php
164
162
$video->HLS()
165
163
->X264()
166
-
->autoGenerateRepresentations() // Auto generate representations
167
-
->save(); // It can be passed a path to the method or it can be null
164
+
->autoGenerateRepresentations()
165
+
->save();
168
166
```
169
167
170
168
Create multi-qualities video files using `Representation` object(set bit-rate and size manually):
@@ -326,22 +324,19 @@ You can use these players to play your packaged videos
326
324
-**Android**
327
325
- DASH and HLS: [ExoPlayer](https://github.com/google/ExoPlayer)
328
326
329
-
## Contributing
327
+
## Contributing and Reporting bug
330
328
331
329
I'd love your help in improving, correcting, adding to the specification.
332
330
Please [file an issue](https://github.com/aminyazdanpanah/PHP-FFmpeg-video-streaming/issues)
333
331
or [submit a pull request](https://github.com/aminyazdanpanah/PHP-FFmpeg-video-streaming/pulls).
334
332
335
-
Please see [Contributing File](https://github.com/aminyazdanpanah/PHP-FFmpeg-video-streaming/blob/master/CONTRIBUTING.md) for more information.
333
+
-Please see [Contributing File](https://github.com/aminyazdanpanah/PHP-FFmpeg-video-streaming/blob/master/CONTRIBUTING.md) for more information.
336
334
337
-
## Security
335
+
- Please for reporting bugs just [file an issue](https://github.com/aminyazdanpanah/PHP-FFmpeg-video-streaming/issues).
338
336
339
-
If you discover a security vulnerability within this package, please send an e-mail to Amin Yazdanpanah via:
337
+
-If you discover a security vulnerability within this package, please send an e-mail to Amin Yazdanpanah via:
340
338
contact [AT] aminyazdanpanah • com.
341
339
342
-
## Reporting Bugs
343
-
Please for reporting bugs just [file an issue](https://github.com/aminyazdanpanah/PHP-FFmpeg-video-streaming/issues).
0 commit comments