[FFmpeg-cvslog] avformat/hevc: also print NALU ids

James Almer git at videolan.org
Mon Dec 9 00:14:38 EET 2024


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sun Dec  8 19:09:02 2024 -0300| [e2953fedf99f6ed91191196a5b2d9f535e155b0d] | committer: James Almer

avformat/hevc: also print NALU ids

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e2953fedf99f6ed91191196a5b2d9f535e155b0d
---

 libavformat/hevc.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/libavformat/hevc.c b/libavformat/hevc.c
index 23ebbc5bff..5cde2abf8f 100644
--- a/libavformat/hevc.c
+++ b/libavformat/hevc.c
@@ -948,6 +948,12 @@ static int hvcc_write(void *logctx, AVIOContext *pb,
             if (is_lhvc && array->nal[k].nuh_layer_id == 0)
                 continue;
 
+            av_log(logctx, AV_LOG_TRACE,
+                    "nuh_layer_id[%u][%u]:                  %"PRIu8"\n",
+                   j, k, array->nal[k].nuh_layer_id);
+            av_log(logctx, AV_LOG_TRACE,
+                    "parameter_set_id[%u][%u]:              %"PRIu8"\n",
+                   j, k, array->nal[k].parameter_set_id);
             av_log(logctx, AV_LOG_TRACE,
                     "nalUnitLength[%u][%u]:                 %"PRIu16"\n",
                    j, k, array->nal[k].nalUnitLength);



More information about the ffmpeg-cvslog mailing list