Wowza Community

How to live stream mp4 content?

Hi,

I want to live stream content from recorder. Its generating small chunks mp4, ts and m3u8 playlist. How can I send the generated content to woza to make it live streaming? Can I use any encoder or if I pass playlist with mp4 files is that sufficient for wowza to live stream?

How to configure wowza to live stream above mp4 content to live stream?

With ffmpeg:

ffmpeg -re -i “myFile.mp4” -pix_fmt yuv420p -vsync 1 -threads 0 -vcodec libx264 -r 30 -g 60 -sc_threshold 0 -b:v 640k -bufsize 768k -maxrate 800k -preset veryfast -profile:v baseline -tune film -acodec aac -b:a 128k -ac 2 -ar 48000 -af “aresample=async=1:min_hard_comp=0.100000:first_pts=0” -bsf:v h264_mp4toannexb -f rtsp rtsp://127.0.0.1:1935/live/myStream.stream

Then in wowza use the stream source:

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