一、将264文件进行解码,得到相应的YUV文件
修改ldecod方案中的decoder.cfg文件中的参数
InputFile = "demo.264" # H.264/AVC coded bitstream
OutputFile = "demo.yuv" # Output file, YUV/RGB
RefFile = "demo_rec.yuv" # Ref sequence (for SNR)
SourceWidth = 854 # Source frame width
SourceHeight = 480 # Source frame height
SourceResize = 0 # Resize source size for output
OutputWidth = 854 # Output frame width
OutputHeight = 480 # Output frame height
运行ldecode程序,结果如下: