mpv-player / mpv-player/mpv

Merging all dvb_teletext.

Open
#17,576 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

mpv Information
[   0.002][v][cplayer] mpv v0.41.0-324-ge96c8ed65 Copyright © 2000-2026 mpv/MPlayer/mplayer2 projects
[   0.002][v][cplayer]  built on Mar 14 2026 12:09:07
[   0.002][v][cplayer] libplacebo version: v7.362.0 (v7.360.0-11-g33b5dfa-dirty)
[   0.002][v][cplayer] FFmpeg version: N-123477-g5640bd3a4
[   0.002][v][cplayer] FFmpeg library versions:
[   0.002][v][cplayer]    libavcodec      62.29.100
[   0.002][v][cplayer]    libavdevice     62.4.100
[   0.002][v][cplayer]    libavfilter     11.15.101
[   0.002][v][cplayer]    libavformat     62.13.100
[   0.002][v][cplayer]    libavutil       60.28.100
[   0.002][v][cplayer]    libswresample   6.4.100
[   0.002][v][cplayer]    libswscale      9.7.100
Other Information
- Windows version: Windows 11
- GPU model, driver and version: Nvidia GeForce 4070 Super, NVIDIA Graphics Driver 591.44
- Source of mpv: https://github.com/zhongfly/mpv-winbuild/releases
- Latest known working version: Never worked.
- Issue started after the following happened: Always been like this.
Reproduction Steps
  1. Play the .ts file
  2. Look at available subtitle tracks.
  3. See how all are loaded on the same 1 track.

Even tho there's clearly 4 different Teletext streams, all are layered on top of each other and only 1/1 subtitles are selectable.

Video
ID : 256 (0x100)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.2
Format settings : CABAC / 1 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 1 frame
Format settings, GOP : M=1, N=100
Codec ID : 27
Duration : 23 s 210 ms
Bit rate mode : Variable
Maximum bit rate : 6 500 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 50.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709

Audio #1
ID : 257 (0x101)
Menu ID : 1 (0x1)
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Format version : Version 4
Muxing mode : ADTS
Codec ID : 15-2
Duration : 23 s 104 ms
Bit rate mode : Variable
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Delay relative to video : 6 ms
Language : English

Audio #2
ID : 258 (0x102)
Menu ID : 1 (0x1)
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Format version : Version 4
Muxing mode : ADTS
Codec ID : 15-2
Duration : 23 s 168 ms
Bit rate mode : Variable
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Delay relative to video : 6 ms
Language : Russian

Text #1
ID : 259 (0x103)-199
Menu ID : 1 (0x1)
Format : Teletext Subtitle
Language : Swedish

Text #2
ID : 259 (0x103)-299
Menu ID : 1 (0x1)
Format : Teletext Subtitle
Language : Norwegian

Text #3
ID : 259 (0x103)-599
Menu ID : 1 (0x1)
Format : Teletext Subtitle
Language : Danish

Text #4
ID : 259 (0x103)-699
Menu ID : 1 (0x1)
Format : Teletext Subtitle
Language : Finnish

Menu
ID : 4096 (0x1000)
Menu ID : 1 (0x1)
Format : AVC / AAC / AAC / Teletext Subtitle / Teletext Subtitle / Teletext Subtitle / Teletext Subtitle
Duration : 23 s 200 ms
List : 256 (0x100) (AVC) / 257 (0x101) (AAC, English) / 258 (0x102) (AAC, Russian) / 259 (0x103)-199 (Teletext Subtitle, sv) / 259 (0x103)-299 (Teletext Subtitle, no) / 259 (0x103)-599 (Teletext Subtitle, da) / 259 (0x103)-699 (Teletext Subtitle, fi)
Language : / English / Russian / Swedish / Norwegian / Danish / Finnish
Service name : Service01
Service provider : FFmpeg
Service type : digital television

Expected Behavior

4 selectable subtitle tracks.

Actual Behavior

1 selectable subtitle track with all 4 teletext subtitle streams on top of each other.

Log File

output.txt

Sample Files

dvb_teletext_example.zip

I carefully read all instruction and confirm that I did the following:
  • I tested and confirmed that the issue exists with the latest release version or newer.
  • I provided all required information including system and mpv version.
  • I produced the log file with the exact same set of files, parameters, and conditions used in "Reproduction Steps", with the addition of --log-file=output.txt.
  • I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
  • I attached the full, untruncated log file.
  • I attached the backtrace in the case of a crash.

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 by reproducing the issue with the attached dvb_teletext_example.zip and reviewing output.txt. Trace how mpv handles the four DVB Teletext subtitle streams from the sample, then verify that each language is exposed as a separate selectable subtitle track instead of being layered together.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.