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%2520Vibrante%2520Linux%2520DPX%2520Development%2520Guide%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.
https://superuser.com/questions/322354/using-ffmpeg-to-encode-a-raw-video-to-h-264-format