samples icon indicating copy to clipboard operation
samples copied to clipboard

Three patches for sample_multi_trancode

Open xzhangxa opened this issue 7 years ago • 3 comments

If par file is provided each session cmd line is saved twice into m_lines. At final output it would be confusing.

xzhangxa avatar Mar 03 '17 11:03 xzhangxa

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.

xzhangxa avatar Mar 04 '17 13:03 xzhangxa

Third patch is to fix -fps option bug on Windows. QueryPerformanceFrequency is not always 1000000.

xzhangxa avatar Mar 21 '17 09:03 xzhangxa

Please create PR against actual codebase https://github.com/Intel-Media-SDK/MediaSDK/tree/master/samples. This repo would be archived.

onabiull avatar Apr 01 '19 14:04 onabiull