About 07_video_convert

Hello,

07 I have a question about the command line argument of video_decode.
It says prefix

Shouldn’t it be the path and name of the output file?

Thank you.

Hi,
It is typo. Should be <out-file> only.
Above is wrong. Please check this comment.

Hello,

Check this please,

① If I put the output file name here, it is appended with 0 after the file name. (like test.yuv0, test.jpg0 etc…)
Please confirm.

② What extension of the result file can I use when specifying outfixformat as ABGR32, XRGB32, ARGB32?
(something like jpg, png etc…)

Thank you.

Hi,
Sorry I did not give correct information. <out-file-prefix> is correct and is for demonstrating multi threads:

-t,--num-thread <number>     Number of thread to process [Default = 1]

If you set –num-thread 2, you will see test.yuv0 and test.yuv1.

You can customize the naming in

    tctx->out_file = new ofstream(out_file_path + to_string(index));
1 Like

Hello,

What file extension can I choose?

Thank you.

Hi,
There is no naming rule for dumping raw frames, so you can give arbitrary extension. Maybe like .RGBA, .yuv420, .nv12 to distinguish the formats.

1 Like