New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When recording in HEVC format, it is not possible to segment the recording by time intervals. #3904
Comments
winlinvip
changed the title
录制HEVC时无法按照时间分段录制
When recording in HEVC format, it is not possible to segment the recording by time intervals.
Dec 9, 2023
winlinvip
added
DVR
DVR to FLV or MP4.
Codec
HEVC, FFmpeg for ingesting, trascoding or codec.
labels
Mar 6, 2024
Welcome to patch. |
Eson-Jia
added a commit
to Eson-Jia/srs
that referenced
this issue
Mar 9, 2024
Eson-Jia
added a commit
to Eson-Jia/srs
that referenced
this issue
Mar 19, 2024
Eson-Jia
added a commit
to Eson-Jia/srs
that referenced
this issue
Mar 26, 2024
Eson-Jia
added a commit
to Eson-Jia/srs
that referenced
this issue
Mar 26, 2024
Eson-Jia
added a commit
to Eson-Jia/srs
that referenced
this issue
Apr 1, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Enable DVR recording configuration to record in segments based on duration. When streaming in HEVC, segmentation does not occur and a .tmp file is continuously generated, whereas streaming in H.264 functions normally.
Version
v6.0-d3
To Reproduce
./configure --h265
../objs/srs -c conf/dvr.segment.conf
..flv.tmp
file is continuously being created without generating a complete.flv
file according to the specified duration.Expected behavior
Stream using HEVC encoding and record segmented files based on the
dvr_duration
setting.Additional context
In the
update_duration
function within thesrs_app_dvr.cpp
file, when the duration threshold is reached, the file is segmented at the next keyframe. However, it seems that only H.264 keyframes are being checked for, and there might be an oversight in not checking for H.265 keyframes.TRANS_BY_GPT4
The text was updated successfully, but these errors were encountered: