DALI icon indicating copy to clipboard operation
DALI copied to clipboard

The test case VideoReaderDecoderGpuTest.RandomShuffle failed.

Open Fengzch opened this issue 3 months ago • 1 comments

Describe the question.

Hi, I‘m using Ubuntu22.04. I'm using Cuda 12.6 and DALI 1.40.0. When I run the test case VideoReaderDecoderGpuTest.RandomShuffle, I encountered the following error message:

unknown file: Failure C++ exception with description "Critical error in pipeline: Error in CPU operator nvidia.dali.ops.experimental.readers.Video encountered:

Assert on "ret >= 0" failed: Failed to seek to frame 30with keyframe-1in video "/test/DALI_extra//db/video/cfr/test_1.mp4" due to Operation not permitted C++ context: [/test/DALI/dali/operators/reader/loader/video/frames_decoder.cc:536] Current pipeline object is no longer valid." thrown in the test body.

what should i do? Looking forward to your response.

Check for duplicates

  • [x] I have searched the open bugs/issues and have found no duplicates for this bug report

Fengzch avatar Sep 11 '25 01:09 Fengzch

Hi @Fengzch,

Thank you for reaching out.

I cannot reproduce this failure. Based on the logs provided, it occurs because av_seek_frame returns an error code. This function comes from a library that is part of the FFmpeg bundle.

For DALI, we use a custom FFmpeg build. You can find more details on how to create it here and here.

I suggest building the custom FFmpeg and then rebuilding DALI with it to see if that resolves the issue.

JanuszL avatar Sep 15 '25 06:09 JanuszL