mpv-player / mpv-player/mpv

Got `Error parsing OBU data` for playing AV1 video clip

Open
#12,326 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

Info

$ cat /etc/fedora-release 
Fedora release 39 (Thirty Nine)
$ uname -ar
Linux shrimp-paste 6.5.0-57.fc39.ppc64le #1 SMP Mon Aug 28 11:46:04 UTC 2023 ppc64le GNU/Linux
mpv 0.36.0 Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects
 built on UNKNOWN
libplacebo version: v6.292.1
FFmpeg version: 6.0
FFmpeg library versions:
   libavutil       58.2.100
   libavcodec      60.3.100
   libavformat     60.3.100
   libswscale      7.1.100
   libavfilter     9.3.100
   libswresample   4.10.100
dnf5 info libdav1d
Updating and loading repositories:
 Fedora 39 openh264 (From Cisco) - ppc64le                                                     100% |   2.1 KiB/s |   5.1 KiB |  00m02s
 RPM Fusion for Fedora 39 - Free - Test Updates                                                100% |   8.4 KiB/s |  22.0 KiB |  00m03s
 RPM Fusion for Fedora 39 - Nonfree - NVIDIA Driver                                            100% |  17.1 KiB/s |  19.0 KiB |  00m01s
 RPM Fusion for Fedora 39 - Free                                                               100% |  96.3 KiB/s | 163.0 KiB |  00m02s
 Fedora 39 - ppc64le - Updates                                                                 100% |  13.3 KiB/s |  11.0 KiB |  00m01s
 Fedora 39 - ppc64le                                                                           100% |   1.6 MiB/s |  32.4 MiB |  00m21s
Repositories loaded.
Installed packages
Name            : libdav1d
Epoch           : 0
Version         : 1.2.1
Release         : 2.fc39
Architecture    : ppc64le
Installed size  : 785.4 KiB
Source          : dav1d-1.2.1-2.fc39.src.rpm
From repository : anaconda
Summary         : Library files for dav1d
URL             : https://code.videolan.org/videolan/dav1d
License         : BSD
Description     : Library files for dav1d, the AV1 cross-platform Decoder.
Vendor          : Fedora Project

When I play an AV1 encoded video clip with vaapi, I got following error in the mpv output:

[ffmpeg/video] libdav1d: Error parsing OBU data
Error while decoding frame!

Full log: https://gist.github.com/runlevel5/403ecaa87dc4bff9e88f6ff35c1fa16e

I am totally unsure if this is a bug or not so I resolve to ask a question instead.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked full log and the reported mpv, FFmpeg, libdav1d, Fedora, and Linux versions, then compare the AV1 clip's behavior when played with vaapi. The issue is done when the failure is reproducible and its responsible component or required follow-up is identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.