...
1. AAC frames of type 0 are not supported by ffmpeg decoder and will be ignored while stream pulled playback
In this case, warnings will be displayed Symptoms: warnings in the client log:
Code Block |
---|
|
10:13:06,815 WARN AAC - AudioProcessor-c6c22de8-a129-43b2-bf67-1f433a814ba9 Dropping AAC frame that starts with 0, 119056e500 |
Solution: switch to FDK AAC decoder
Code Block |
---|
|
use_fdk_aac=true |
2. Files with B-frames can be played unsmoothly, with artifacts and freezes
Symptoms: periodic freezes and artifacts while playing VOD file, warnongs in the client log
Code Block |
---|
|
09:32:31,238 WARN 4BitstreamNormalizer - RTMP-pool-10-thread-5 It is B-frame! |
Solution: reencode this file to exclude B-frames, for example
Code Block |
---|
|
ffmpeg -i bad.mp4 -preset ultrafast -acodec copy -vcodec h264 -g 24 -bf 0 good.mp4 |