This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 053822d9ce76ed82b28bc57a9885c2057d47ea6d
Author:     James Almer <[email protected]>
AuthorDate: Mon Mar 16 18:46:48 2026 -0300
Commit:     James Almer <[email protected]>
CommitDate: Thu Mar 19 11:59:59 2026 -0300

    avformat/codecstring: add support for LCEVC streams
    
    Signed-off-by: James Almer <[email protected]>
---
 libavformat/codecstring.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/libavformat/codecstring.c b/libavformat/codecstring.c
index c6672b7244..b0ccb93e8d 100644
--- a/libavformat/codecstring.c
+++ b/libavformat/codecstring.c
@@ -29,6 +29,7 @@
 #include "avc.h"
 #include "avformat.h"
 #include "internal.h"
+#include "lcevc.h"
 #include "nal.h"
 #include "vpcc.h"
 
@@ -174,6 +175,14 @@ int ff_make_codec_str(void *logctx, const 
AVCodecParameters *par,
                        profile_compatibility, tier, level, constraints);
         } else
             return AVERROR(EINVAL);
+    } else if (par->codec_id == AV_CODEC_ID_LCEVC) {
+        LCEVCDecoderConfigurationRecord lvcc;
+        int err;
+        if (!par->extradata_size)
+            return AVERROR(EINVAL);
+        if ((err = ff_lcvec_parse_config_record(&lvcc, par->extradata, 
par->extradata_size)) < 0)
+            return err;
+        av_bprintf(out, "lvc1.vprf%u.vlev%u", lvcc.profile_idc, 
lvcc.level_idc);
     } else if (par->codec_id == AV_CODEC_ID_AV1) {
         // https://aomediacodec.github.io/av1-isobmff/#codecsparam
         AV1SequenceParameters seq;

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to