Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generating the playlist.m3u8 #62

Open
Syedwaheed opened this issue Dec 8, 2017 · 1 comment
Open

Generating the playlist.m3u8 #62

Syedwaheed opened this issue Dec 8, 2017 · 1 comment
Labels

Comments

@Syedwaheed
Copy link

I m having problem with generating the playlist.m3u8 with my static videos and then use this link with adaptive bitrate to select the proper video according to bitrate. i have seen tutorial for wowza streaming engine (trial version) but it different format for live application. I wanted to use playlist for my static video. any help to generate the static playlist for my static videos. Thanks for you reply.

@leandromoreira
Copy link
Member

You can use FFMpeg.

ffmpeg -re -pix_fmt  -i "<MYFILE>" -c:v libx264 \
-x264opts keyint=30:min-keyint=30:scenecut=-1 -pix_fmt yuv420p \
-preset superfast -profile:v baseline -level 3.0 -tune zerolatency -r 15 \
-s 360x220 -b:v 400k -bufsize 2 -hls_start_number_source epoch \
-f hls stream.m3u8

http-server -a :: -p 8081 --cors -c-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants