# wowza + live + ffmpeg + hls player, how to create the playlist.m3u8?

**URL:** <https://community.wowza.com/t/wowza-live-ffmpeg-hls-player-how-to-create-the-playlist-m3u8/51254>\
**Category:** Wowza Streaming Engine\
**Created:** [May 3, 2018, 4:51pm UTC](https://community.wowza.com/t/wowza-live-ffmpeg-hls-player-how-to-create-the-playlist-m3u8/51254 "2018-05-03T16:51:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ziv\_Barber](https://avatars.discourse-cdn.com/v4/letter/z/e95f7d/32.png) [@Ziv\_Barber](https://community.wowza.com/u/Ziv_Barber)\
**Post date:** [May 3, 2018, 4:51pm UTC](https://community.wowza.com/t/wowza-live-ffmpeg-hls-player-how-to-create-the-playlist-m3u8/51254/1 "2018-05-03T16:51:17Z")

</div>

I’m trying to setup a wowza live test server and then I can play hls from my mobile app. It do work without any problem for vod. I can play it in my app. I can also see the .m3p8 file if I enter this uri in the browser. I tried to do the same in live mode (my goal is to test some streaming parameters for live streaming). I tried to use ffmpeg to create the live stream:

ffmpeg -re -i “myInputTestVideo.mp4” -vcodec libx264 -vb 150000 -g 60 -vprofile baseline -level 2.1 -acodec aac -ab 64000 -ar 48000 -ac 2 -vbsf h264\_mp4toannexb -strict experimental -f mpegts udp://127.0.0.1:10000

I created a “source file” and connected it to the “Incoming Streams”. I can see in my application’s Monitoring / Network tab that it do getting the data from ffmpeg.

My problem is how to get the playlist.m3p8 file so I can play it from inside my app (hls based)?

Again, for now I need a way to test playing with the streaming settings and in real live I’ll have a real live streaming source.

---

<div class="post-metadata">

**Author:** ![Ziv\_Barber](https://avatars.discourse-cdn.com/v4/letter/z/e95f7d/32.png) [@Ziv\_Barber](https://community.wowza.com/u/Ziv_Barber)\
**Post date:** [May 11, 2018, 4:11pm UTC](https://community.wowza.com/t/wowza-live-ffmpeg-hls-player-how-to-create-the-playlist-m3u8/51254/2 "2018-05-11T16:11:50Z")

</div>

The solution is to change the output of ffmpeg to:

-f rtsp rtsp://127.0.0.1:1935/live/myStream.stream
