VideoLabeler could not read file; Unable to initialize video properties

5 views (last 30 days)
Hi - I am trying to use videoLabeler, but I am unable to read the file due to the following error:
>> videoLabeler('right_video.mp4')
Error using groundTruthDataSource/parseAndPopulateInputs
Could not read file due to an unexpected error. Reason: Unable to initialize
the video properties
Error in groundTruthDataSource (line 194)
parseAndPopulateInputs(this, varargin{:});
Error in vision.internal.videoLabeler.videoLabelerInternal
Error in vision.internal.videoLabeler.videoLabelerInternal
Error in videoLabeler (line 101)
vision.internal.videoLabeler.videoLabelerInternal(varargin{:});

Answers (1)

Narvik
Narvik on 22 Aug 2023
Hi,
I understand that you faced an issue while using the “videoLabeler” function in MATLAB. This may occur if MATLAB cannot access the appropriate codec properties.
I advise you to follow the instructions provided in the ensuing documentation:
Hope it helps!

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!