Unusual behaviour with playlists on encoding error
Nobody has claimed this yet.
- 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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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