Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

Saving Decoded H264 Stream to a File

kate
Beginner
468 Views
Hi,
I am trying to save the decoded YUV stream from the simple_player sample program to a file. I am interested in the PSNR of the Intel H264 codec. I added an fwrite() inside H264VideoDecoder::GetFrame() however it appears that simple_player doesn't call this method to decode an H.264 video stream. The constructor of H264VideoDecoder() is called however as I can output to a file from this method. My question is, which method from which class is used to Decode H.264 video from the simple_player sample program, and what parameter can I use to write this decoded video stream to a file?
Thanks,
Kate
0 Kudos
1 Reply
Vladimir_Dudnik
Employee
468 Views

Hi,

it is not necessary to modify simple_player to get output to the file instead of screen. You can just specify video render type as -vfw to select file render.

Regards,
Vladimir

0 Kudos
Reply