samples
samples copied to clipboard
Three patches for sample_multi_trancode
If par file is provided each session cmd line is saved twice into m_lines. At final output it would be confusing.
The second patch is for checking opaque memory usage with output raw yuv file when -vpp_comp.
Run with this par file the sample will fail:
-i::h264 C:\data\out.h264 -o::sink -vpp_comp_dst_x 0 -vpp_comp_dst_y 0 -vpp_comp_dst_w 960 -vpp_comp_dst_h 540 -hw -join -i::h264 C:\data\out1.h264 -o::sink -vpp_comp_dst_x 960 -vpp_comp_dst_y 0 -vpp_comp_dst_w 960 -vpp_comp_dst_h 540 -hw -join -i::h264 C:\data\out2.h264 -o::sink -vpp_comp_dst_x 0 -vpp_comp_dst_y 540 -vpp_comp_dst_w 960 -vpp_comp_dst_h 540 -hw -join -i::h264 C:\data\out3.h264 -o::sink -vpp_comp_dst_x 960 -vpp_comp_dst_y 540 -vpp_comp_dst_w 960 -vpp_comp_dst_h 540 -hw -join -i::source -w 1920 -h 1080 -o::raw dump.yuv -vpp_comp 4 -hw -join
opaque memory usage is disabled in CTranscodingPipeline when output raw yuv, but for -vpp_comp inter sessions all sink sessions need to be changed, like what is done for -vpp_comp_only. Check and change it then the existing inter sessions checking code will change all sink sessions.
Third patch is to fix -fps option bug on Windows. QueryPerformanceFrequency is not always 1000000.
Please create PR against actual codebase https://github.com/Intel-Media-SDK/MediaSDK/tree/master/samples. This repo would be archived.