3

I have wowza 4.4.0 & ffmpeg installed on two different ec2 instances. ffmpeg trancodes the .dav videos and convert them in .mp4 extension, then it uploads the file in s3 bucket. same s3 bucket is mounted on wowza server at /usr/local/WowzaStremingEngine/Content using s3fs, i am streaming the videos from the mounted s3 bucket folder. sometimes vod play smoothly, whereas mostly vod stucks after playing for 2-3 sec.

I also tried playing vod directly from s3 bucket, but that was too slow

Chandan
  • 85
  • 1
  • 8

1 Answers1

0

I would suggest trying a different source file as well. Use the sample.mp4 file that comes default with your Wowza install and upload it to your s3 bucket. See if you are experiencing the same issues then.

If that remains an issue, you could look at increasing the DefaultBlockSize (page 25) within your MediaCache configuration. I'd suggest trying 1-2M and decrease the readahead threshold, restart and try again

Matt
  • 201
  • 1
  • 3
  • I did defaultBlockSize to 2M and readAheadThreshold to 15, but it does not work. – Chandan Mar 04 '16 at 07:07
  • I uploaded sample.mp4 and it streaming great but my transcoded file does not. As I mentioned for transcoding, am using ffmpeg. ffmepg video codec is libx264 with bitrate 1024 and audio codec libmp3lame with bitrate 128k. – Chandan Mar 04 '16 at 07:27
  • Sounds like it definitely has to do with the encoding then. What is the full command you are using? – Matt Mar 08 '16 at 00:44