How to convert h264 video data to png or jpg file

Deer sir.
We are using Drivepx2 AutoChauffer and drive5.0.5.0 SDK and collected h264 cordec format video data .

how to convert h264 to png or jpg image data to use any machine learning data.


You can use python and openCV to open the file and save single frame as image.
Please have a look here:

Muchas gracias.