I have several video and audio files on my server that I wish to stream. I have converted all video files to mp4 and audio files to aac.
Now I am streaming both type of files but it seems audio files are taking longer, much longer, to begin playing than videos. Sometimes I can see it buffering the entire file before it starts playing it.
I am not sure if it has any effect but for video files I use the -movflags faststart option and it gets the job done.
I was wondering if there is something similar to be done for audio files to make them start playing faster.
EDIT:
here is how I run the command to convert the files:
ffmpeg -i OriginalPath.wma -strict experimental -c:a aac -b:a 128k -n SomePath.m4a
And I use the HTML5 web player to play them from my server.