Media transcoding is a key function for live video broadcasting, streaming, and video on demand use cases in a CDN network. The CDN Transcode sample (not a finished product) provides a reference pipeline to build an out-of-box 1:N CDN streaming transcode service example.
Other
120
stars
37
forks
source link
[Stress]Video freeze when using VLC and FFPLAY to playback the streaming SVT-HEVC clip with DASH #25
Describe the bug
While using local stream as input to do SVT-HEVC transcoding with ffmpeg, and config output as streaming with DASH, then use VLC or FFPLAY to playback the generated segment file index.mpd, we found video freeze after playing some time with VLC or FFPLAY.
We tried 3 times with VLC about this issue:
1st time used about 3 minutes
2nd time used about 5 minutes
3rd time used about 5+ hours
While the issue happened, both VLC and FFPLAY print error info in terminal, please see below pictures for detail.
VLC error info:
FFPLAY error info:
To Reproduce
Steps to reproduce the behavior:
Setup the test environment based on the guide.
Run below command line to do transcoding to SVT-HEVC (make sure add parameter "-stream_loop -1" to loop input stream):
ffmpeg -re -stream_loop -1 -i Nature.mp4 -s 40962160 -c:a copy -c:v libsvt_hevc -b:v 20M -f flv rtmp://nginx_ip1/dash/4kCamera -s 40962160 -c:a copy -c:v libsvt_hevc -f flv rtmp://nginx_ip2/dash/2kCamera
Describe the bug While using local stream as input to do SVT-HEVC transcoding with ffmpeg, and config output as streaming with DASH, then use VLC or FFPLAY to playback the generated segment file index.mpd, we found video freeze after playing some time with VLC or FFPLAY.
We tried 3 times with VLC about this issue: 1st time used about 3 minutes 2nd time used about 5 minutes 3rd time used about 5+ hours
While the issue happened, both VLC and FFPLAY print error info in terminal, please see below pictures for detail. VLC error info: FFPLAY error info:
To Reproduce Steps to reproduce the behavior:
Expected behavior Video playback should be smooth, no freeze and no error.