Skip to content
This repository was archived by the owner on Nov 11, 2024. It is now read-only.
This repository was archived by the owner on Nov 11, 2024. It is now read-only.

[Stress]Video freeze when using VLC and FFPLAY to playback the streaming SVT-HEVC clip with DASH #25

@liweki

Description

@liweki

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:
image
FFPLAY error info:
image

To Reproduce
Steps to reproduce the behavior:

  1. Setup the test environment based on the guide.
  2. 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
  3. Run below command to use VLC and FFPLAY playback:
    ffplay http://host_ip:port_ID/dash/4kCamera/index.mpd
    vlc http://host_ip:port_ID/dash/4kCamera/index.mpd

Expected behavior
Video playback should be smooth, no freeze and no error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions