Cannot run sample on own .h264 file

When calling the free space sample with the videos provided by nvidia it runs without any problems.
The video out.h264 runs without any problem when using ffplay.
Any suggestions what could be the Problem?

./sample_freespace_detection --video=~/Dev/Nvidia_Drive/Data/out.h264 
[4-12-2018 10:19:19] Initialize DriveWorks SDK v1.2.400
[4-12-2018 10:19:19] Release build with GNU 4.8.5 from v1.2.0-rc11-0-ga7f5475
[4-12-2018 10:19:19] Platform: Detected Generic x86 Platform
[4-12-2018 10:19:19] TimeSource: monotonic epoch time offset is 1543911029644582
[4-12-2018 10:19:19] Platform: number of GPU devices detected 1
[4-12-2018 10:19:19] Platform: currently selected GPU device discrete ID 0
[4-12-2018 10:19:19] SDK: Resources mounted from /usr/local/driveworks/samples/../data/resources
[4-12-2018 10:19:19] SensorFactory::createSensor() -> camera.virtual, maxDistance=50.0,rig=/usr/local/driveworks/samples/../data/samples/freespace/rig_freespace.json,video=~/Dev/Nvidia_Drive/Data/out.h264
[4-12-2018 10:19:19] Driveworks exception thrown: DW_SAL_CANNOT_CREATE_SENSOR: CameraNVCUVID: cannot open file ~/Dev/Nvidia_Drive/Data/out.h264

terminate called after throwing an instance of 'std::runtime_error'
  what():  [2018-12-04 10:19:19] DW Error DW_SAL_CANNOT_CREATE_SENSOR executing DW function:
 dwSAL_createSensor(&m_sensor, params, m_sal)
 at /usr/local/driveworks/samples/src/framework/SimpleCamera.cpp:51
Aborted (core dumped)

Dear Sebastian6j1z2,

Please refer to below link for your topic. Thanks.

Dear SteveNV

I rechecked the properties and they seem to be perfectly equal.

Also, my problem is not that the output when processing the video is bad but that I can’t process the video at all. As soon as I call the sample_freespace_detection it crashes with the error shown in my initial post.

Best regards

Dear Sebastian6j1z2,

Weird, I ran the sample with several video files even raw type file without any error.

sudo ./sample_freespace_detection --video=…/./data/samples/sfm/triangulation/video_0.h264
sudo ./sample_freespace_detection --video=…/./data/samples/raw/rccb.raw
sudo ./sample_freespace_detection --video=…/./data/samples/laneDetection/video_lane.h264
sudo ./sample_freespace_detection --video=…/./data/samples/stereo/rightRect.h264
sudo ./sample_freespace_detection --video=…/./data/samples/cameraBlindness/reencoded_20160808blk_50_blind.h264

Could you provide us the video file you used? Thanks.

Dear SteveNV,

the video files show potentially sensitive information. Could I give it to you via PM?
If an official channel is necessary for this I can also open a bug report for it.


Dear SteveNV,

never mind that. We got it running on a different system.
There has to be a problem with my system.

Still thanks for your time!