Should fix ticket 11543
if input url is relative path, the seg-url would make absolute url twice in
get_content_url and open_input function
but it doesn't need make absolute url in open_input since we set it already
Signed-off-by: Jack Lau
---
libavformat/dashdec.c | 2 +-
1 file changed, 1 i
fix ticket #11531
the rtsp aac did not marked keyframe which cannot easy copy to output.
because f265f9c9d04863180503707bfad285f48e6bf080 commit change the AAC props to
match xHE-AAC.
in some formats like MOV, need_parsing is set, so AAC can be still parsed be
keyframe
but rtsp did not, so this
The previous code sets the bitrate to be calculated only when duration>0.5,
which is obviously not general enough.
In some scenarios, we may need to set hls_time<0.5, then the generated segments
are all <0.5. At this time, because the bitrate is not calculated, max_bitrate
is empty, and ff_hls_
fix ticket: 11316
add set_hevc_codec_str function refer to hlsenc.c but do some necessary changes
Signed-off-by: Jack Lau
---
libavformat/dashenc.c | 81 +++
1 file changed, 81 insertions(+)
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
index
fix ticket: 10786
parse the SPS from extradata and get profile_compatibility, tier, constraints
which was been hard code before.
HEVC CODECS Attribute reference to: ISO/IEC14496-15
Signed-off-by: Jack Lau
---
libavformat/hlsenc.c | 38 +++---
1 file changed, 35 i
fix ticket: 10786
parse the SPS from extradata and get profile_compatibility, tier, constraints
which was been hard code before.
HEVC CODECS Attribute reference to: ISO/IEC14496-15
Signed-off-by: Jack Lau
---
libavformat/hlsenc.c | 38 +++---
1 file changed, 35 i
fix ticket: 10786
parse the SPS from extradata and get profile_compatibility, tier, constraints
which was been hard code before.
HEVC CODECS Attribute reference to: ISO/IEC14496-15
Signed-off-by: Jack Lau
---
libavformat/hlsenc.c | 41 ++---
1 file changed, 3
fix ticket: 10786
parse the SPS from extradata and get profile_compatibility, tier, constraints
which was been hard code before.
HEVC CODECS Attribute reference to: ISO/IEC14496-15
Signed-off-by: Jack Lau
---
libavformat/hlsenc.c | 37 ++---
1 file changed, 34 in
---
libavformat/hls.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/hls.c b/libavformat/hls.c
index 3bdc1bc848..c2130bb883 100644
--- a/libavformat/hls.c
+++ b/libavformat/hls.c
@@ -1993,7 +1993,7 @@ static int hls_read_header(AVFormatContext *s)
return r
Increase the default buffer size to match more modern encoding scenarios.
---
libavformat/mpegenc.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/libavformat/mpegenc.c b/libavformat/mpegenc.c
index 6b6763c30f..2b3b98b894 100644
--- a/libavformat/mpegenc.c
+++ b/libavform
From: Jack Lau
The `dec_ctx->time_base` was incorrectly default set by avcodec_open2(), while
`enc_ctx->time_base` was derived from `dec_ctx->framerate`. This mismatch could
cause incorrect video duration in the output.
This patch corrects the issue by adjusting the `enc_ctx->time_base` calcul
The `dec_ctx->time_base` was incorrectly default set by avcodec_open2(), while
`enc_ctx->time_base` was derived from `dec_ctx->framerate`. This mismatch could
cause incorrect video duration in the output.
This patch corrects the issue by adjusting the `enc_ctx->time_base` calculation
to accoun
12 matches
Mail list logo