mpv-player / mpv-player/mpv

Unusual behaviour with playlists on encoding error

Open
#8,562 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Important Information
  • mpv 0.33.0-62-ga3e440c611
Reproduction steps

In encoding mode, given a playlist of media files, on encountering a serious encoding error MPV stops playback, un-initializes, but then attempts to play every file left in the playlist, failing with each subsequent file.

Preferably, I would like a way to re-initialize the encoder via the LUA interface so I can try a new configuration, to continue playback without restarting the process.

Or mpv should just cleanly exit instead of attempting to play every item in the playlist after the error occurs and inevitably failing.
For me it takes approximately 200ms for 10 files to attempt to load and fail, before it finally exits.

Log file

mpv-202111313541237.log

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 failure in encoding mode with a playlist and inspect the attached log file. Determine whether the intended outcome is encoder re-initialization through the Lua interface or clean termination after the serious error; done means the chosen behavior no longer attempts every remaining playlist item.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, lua
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.