Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/video/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/google-sheets/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Video HEVC:编码器产生的每个NUL单元的NAL单元跟踪文件_Video_Video Processing_Hevc_H.265 - Fatal编程技术网

Video HEVC:编码器产生的每个NUL单元的NAL单元跟踪文件

Video HEVC:编码器产生的每个NUL单元的NAL单元跟踪文件,video,video-processing,hevc,h.265,Video,Video Processing,Hevc,H.265,我使用HM14.0作为参考。有没有办法获得NAL单位的具体信息,比如 (a) type (b) num_bytes (c) frame_no (d) decode_time (e) priority (f) timestamp 前两个我可以通过annexBbytecount获得,但是其余的呢?参考编解码器带有一个内置的跟踪器,非常强大 按如下方式启用它: diff --git a/source/Lib/TLibCommon/TComRom.h b/source/Lib/TLibCommon/T

我使用HM14.0作为参考。有没有办法获得NAL单位的具体信息,比如

(a) type
(b) num_bytes
(c) frame_no
(d) decode_time
(e) priority
(f) timestamp

前两个我可以通过annexBbytecount获得,但是其余的呢?

参考编解码器带有一个内置的跟踪器,非常强大

按如下方式启用它:

diff --git a/source/Lib/TLibCommon/TComRom.h b/source/Lib/TLibCommon/TComRom.h
index 5a59809..1930809 100644
--- a/source/Lib/TLibCommon/TComRom.h
+++ b/source/Lib/TLibCommon/TComRom.h
@@ -158,7 +158,7 @@ extern const UChar g_aucDCTDSTMode_Hor[NUM_INTRA_MODE];
 extern       Char   g_aucConvertToBit  [ MAX_CU_SIZE+1 ];   // from width to log2(width)-2

 #ifndef ENC_DEC_TRACE
-# define ENC_DEC_TRACE 0
+# define ENC_DEC_TRACE 1
 #endif
例如,我对
BQMall_832x480_60.yuv
启用跟踪时

编码/解码后,使用:

./TAppEncoderStatic -c ../cfg/encoder_intra_main.cfg  -c ../cfg/per-sequence/BQMall.cfg
./TAppDecoderStatic -b str.bin 
生成跟踪文件(相当大的文件!)

$ll-rt
总数247100
drwxrwxr-x 12 xx xx 4096 jun 27 10:01../
-RWXR-x 1 xx xx 2912618 jun 27 10:06 TAPPDECODESERSTATICD*
-RWXR-x 1 xx xx 627714 jun 27 10:06 TapperStatic*
-rwxrwxr-x 1 xx xx 4036611 jun 27 10:06 TAppEncoderStaticd*
-rwxrwxr-x 1 xx xx 1133295 jun 27 10:06挺杆编码器静态*
-RWXR-x 1 xx xx 87319 jun 27 10:06附录B*
-RWXR-x 1 xx xx 29963 jun 27 10:06附录B静态*
-RWXR-x 1 xx xx 369365 jun 27 10:06转换为YCbCrStaticd*
-RWXR-x 1 xx xx 113252 6月27日10:06转换为静态*
-rw-rw-r--1 xx xx 442122 jun 28 21:29 str.bin
-rw-rw-r--1 xx xx 11980800 jun 28 21:29 rec.yuv

-rw-rw-r--1 xx xx 168288021 jun 28 21:29 TraceEnc.txt谢谢,到目前为止,我已经成功创建了TraceEnc.txt,但是我看到唯一对我有用的部分是我使用annexbbytecont也得到的唯一类型。你能告诉我哪一个是帧号、时间戳还是字节数吗?提前谢谢你!我发现帧号是POC和切片类型。目前我没有发现时间戳、字节数和优先级。有没有办法找到TraceEnc文件中每个数据包的字节数?我不这么认为。我目前正在度假,只有gsm边缘覆盖,所以很难访问。当我再次回到文明社会时,我会帮助你:-)好的,弗雷德里克,谢谢你。我会等的!玩得开心!
$ ll -rt 
total 247100
drwxrwxr-x 12 xx xx      4096 jun 27 10:01 ../ 
-rwxrwxr-x  1 xx xx   2912618 jun 27 10:06 TAppDecoderStaticd*
-rwxrwxr-x  1 xx xx    627714 jun 27 10:06 TAppDecoderStatic*
-rwxrwxr-x  1 xx xx   4036611 jun 27 10:06 TAppEncoderStaticd*
-rwxrwxr-x  1 xx xx   1133295 jun 27 10:06 TAppEncoderStatic*
-rwxrwxr-x  1 xx xx     87319 jun 27 10:06 annexBbytecountStaticd*
-rwxrwxr-x  1 xx xx     29963 jun 27 10:06 annexBbytecountStatic*
-rwxrwxr-x  1 xx xx    369365 jun 27 10:06 convert_NtoMbit_YCbCrStaticd*
-rwxrwxr-x  1 xx xx    113252 jun 27 10:06 convert_NtoMbit_YCbCrStatic*
-rw-rw-r--  1 xx xx    442122 jun 28 21:29 str.bin
-rw-rw-r--  1 xx xx  11980800 jun 28 21:29 rec.yuv
-rw-rw-r--  1 xx xx 168288021 jun 28 21:29 TraceEnc.txt    <----
drwxrwxr-x  2 xx xx      4096 jun 28 21:31 ./
-rw-rw-r--  1 xx xx  62975377 jun 28 21:31 TraceDec.txt    <----