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

Video play with libsvt_hevc is stuck when play more then 7 hours #24

Open
enzomao opened this issue Apr 24, 2019 · 2 comments
Open

Video play with libsvt_hevc is stuck when play more then 7 hours #24

enzomao opened this issue Apr 24, 2019 · 2 comments

Comments

@enzomao
Copy link

enzomao commented Apr 24, 2019

Issue Description:
While using local stream as input (Intelligent.mp4 we used) to do SVT-HEVC transcoding with ffmpeg, and cofnig output as streaming with HLS (command line copied below), then use VLC or FFPLAY to playback the generated split file index.m3u8, the Intelligent_1920x1080 will be play stuck when play more then 7 hours.
HTTP-HLS output Intelligent_1280x720 show normally after do reload at VLC side, but the Intelligent_1920x1080 will still be stuck next frame after reload, VLC error log show as screenshot attached. After reset Nginx, playback is normal.

Reproduce Steps:

  1. Setup v0.3 1toN Xcode Sample test environment based on the guide (CDN_Transcode_Sample_Getting_Started_Guide.md) in the E5 server.
  2. Run following three command lines were tried as required, and the results were the same.
    ffmpeg -re -stream_loop -1 -i /var/share/Intelligent.mp4 -vf scale=1920:1080 -c:v libsvt_hevc -b:v 20M -f flv rtmp://host IP/hls/Intelligent_1920x1080 -vf scale=1280:720 -c:v libx264 -b:v 10M -f flv rtmp://host IP/hls/Intelligent_1280x720 -abr_pipeline
    ffmpeg -re -stream_loop -1 -i /var/share/Intelligent.mp4 -vf scale=1920:1080 -c:v libsvt_hevc -b:v 10M -g 90 -r 30 -f flv rtmp://host IP/hls/Intelligent_1920x1080 -vf scale=1280:720 -c:v libx264 -b:v 10M -g 90 -r 30 -bf 0 -f flv rtmp://host IP/hls/Intelligent_1280x720 -abr_pipeline
    ffmpeg -re -stream_loop -1 -i stream/Intelligent.mp4 -vf scale=1920:1080 -c:v libsvt_hevc -b:v 10M -g 90 -r 30 -f flv rtmp://CDN IP/hls/Intelligent_1920x1080 -vf scale=1280:720 -c:v libx264 -b:v 10M -g 90 -r 30 -bf 0 -f flv rtmp://CDN IP/hls/Intelligent_1280x720 -abr_pipeline
  3. Run below command to use VLC and FFPLAY playback:
    http://host IP/hls/Intelligent_1920x1080/index.m3u8
    http://host IP/hls/Intelligent_1280x720/index.m3u8

VLC_Intelligent_1920x1080

@enzomao enzomao changed the title 1toN XcodeSample Stress Video play with libsvt_hevc is stuck when play more then 7 hours Video play with libsvt_hevc is stuck when play more then 7 hours Apr 24, 2019
@TangZhiZhen
Copy link
Contributor

it looks like it is timestamp issue.

@xinglongx
Copy link

xinglongx commented Jun 12, 2019

still exist in the lastest code.
commit id: 9512773
message

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants