Skip to content

Commit d8d39bb

Browse files
update readme
1 parent e1ec1ea commit d8d39bb

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed

README.md

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,10 @@ This package provides an integration with [PHP-FFmpeg](https://github.com/PHP-FF
2727
- [Create HLS Files](#create-hls-files)
2828
- [Encrypted HLS](#encrypted-hls)
2929
- [Transcoding](#transcoding)
30-
- [Save to Amazon S3](#)
30+
- [Save to Amazon S3](#save-to-amazon-s3)
3131
- [Other Advanced Features](#other-advanced-features)
3232
- [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)
3634
- [Credits](#credits)
3735
- [License](#license)
3836

@@ -145,9 +143,9 @@ $rep_2 = (new Representation())->setKiloBitrate(300)->setResize(640 , 360);
145143
$video->DASH()
146144
->HEVC()
147145
->addRepresentation($rep_1) // Add a representation
148-
->addRepresentation($rep_2) // Add a representation
146+
->addRepresentation($rep_2)
149147
->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');
151149
```
152150

153151
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).
163161
``` php
164162
$video->HLS()
165163
->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();
168166
```
169167

170168
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
326324
- **Android**
327325
- DASH and HLS: [ExoPlayer](https://github.com/google/ExoPlayer)
328326

329-
## Contributing
327+
## Contributing and Reporting bug
330328

331329
I'd love your help in improving, correcting, adding to the specification.
332330
Please [file an issue](https://github.com/aminyazdanpanah/PHP-FFmpeg-video-streaming/issues)
333331
or [submit a pull request](https://github.com/aminyazdanpanah/PHP-FFmpeg-video-streaming/pulls).
334332

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.
336334

337-
## Security
335+
- Please for reporting bugs just [file an issue](https://github.com/aminyazdanpanah/PHP-FFmpeg-video-streaming/issues).
338336

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:
340338
contact [AT] aminyazdanpanah • com.
341339

342-
## Reporting Bugs
343-
Please for reporting bugs just [file an issue](https://github.com/aminyazdanpanah/PHP-FFmpeg-video-streaming/issues).
344-
345340
## Credits
346341

347342
- [Amin Yazdanpanah](https://www.aminyazdanpanah.com/?u=github.com/aminyazdanpanah/PHP-FFmpeg-video-streaming)

0 commit comments

Comments
 (0)