Skip to content

Several videoio MPEG encoding tests fails with Gstreamer on Ubuntu 24.04 #25547

@asmorkalov

Description

@asmorkalov

System Information

OS: Ubuntu 24.04
Failed cases:

2024-05-06T08:12:14.0128972Z [  FAILED  ] videoio/videoio_synthetic.write_read_position/9, where GetParam() = (640x480, FOURCC(MPEG), .avi, GSTREAMER, 28dB)
2024-05-06T08:12:14.0133508Z [  FAILED  ] videoio/videoio_synthetic.write_read_position/12, where GetParam() = (640x480, FOURCC(MPEG), .mkv, GSTREAMER, 28dB)
2024-05-06T08:12:14.0138253Z [  FAILED  ] videoio/videoio_synthetic.write_read_position/25, where GetParam() = (976x768, FOURCC(MPEG), .avi, GSTREAMER, 28dB)
2024-05-06T08:12:14.0142758Z [  FAILED  ] videoio/videoio_synthetic.write_read_position/28, where GetParam() = (976x768, FOURCC(MPEG), .mkv, GSTREAMER, 28dB)
2024-05-06T08:12:14.0147930Z [  FAILED  ] videoio/videowriter_acceleration.write/40, where GetParam() = (FOURCC(MPEG), .mkv, GSTREAMER, 29dB, NONE, false)
2024-05-06T08:12:14.0152402Z [  FAILED  ] videoio/videowriter_acceleration.write/42, where GetParam() = (FOURCC(MPEG), .mkv, GSTREAMER, 29dB, ANY, false)

Detailed description

The test produces video with synthetic frames and decodes it with same backend. GStreamer back-end produced video with some duplicated frames and loose user frames.

Steps to reproduce

  1. Install GStreamer
  2. Run videoio test ./bin/opencv_test_videoio

Issue submission checklist

  • I report the issue, it's not a question
  • I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
  • I updated to the latest OpenCV version and the issue is still there
  • There is reproducer code and related data files (videos, images, onnx, etc)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions