How Can I convert .h264 encoding to .raw encoding or .raw to .h264 on DrivePX2?

Hi, NVIDIA’s experts.

I was able to get .h264 encoding video file and .raw encoding video file using recoder tools of driveworks samples. In the following environment :

  • DriveInstall 4.1.6.1
  • Driveworks 0.3.0
  • Sekonix Camera SF3323 RGGB

But, I want to get a video file on exactly the same scene to check each performance of different algorithm.

How Can I convert .h264 encoding to .raw encoding or .raw to .h264 on DrivePX2?

Hello groot,

Could you please see “Video Encode(nvmvid_enc) part in https://docs.nvidia.com/drive/nvvib_docs/index.html#page/NVIDIA%20Vibrante%20Linux%20DPX%20Development%20Guide%2Fnvmedia_nvmvid_enc.html%23”? Thanks.

I saw “Video Encode(nvmvid_enc) part”.
but It explain InputFileFormat including IYUV, YV12, PPM, PNG not .raw obtained through /driveworks/tools/recoder.

If I convert .raw encoding to above-mentioned InputFileFormat, I maybe will be able to use the nvmvid_enc.

Is .raw and InputFileFormat same?

Hello groot,

Could you please try to compile ffmpeg on DPX2? Thanks.