EDL demuxer does not work well with VC-1 video codec segments...

Open
#9,889 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start with the EDL demuxer and reproduce both command lines using the linked VC-1 sample file. Compare log1.txt and log2.txt around segment transitions; done means repeated VC-1 segments play without staggered output, video PTS errors, or freezing after the first segment.

Written by the indexing model from the issue text.

Description

Important Information

mpv version:
mpv 0.34.0-198-gbc9805c71a

Reproduction steps

I've got an EDL containing segments of video using the VC-1 codec and mpv acts screwy.

The following works but results in a staggered output stream and video PTS error at the beginning of every segment after the first:

mpv "edl://test.mkv,10,1;test.mkv,10,1;test.mkv,10,1;test.mkv,10,1;test.mkv,10,1;test.mkv,10,1;test.mkv,10,1" --log-file=log2.txt

log1.txt

The following just completely freezes after the first segment:

mpv "edl://!delay_open,media_type=video;test.mkv,10,1;test.mkv,10,1;test.mkv,10,1;test.mkv,10,1;test.mkv,10,1;test.mkv,10,1;test.mkv,10,1" --log-file=log2.txt

log2.txt

I use EDLs a lot and with a variety of codecs, but I have not experienced this with any other video codec.

Sample files

https://0x0.st/o8dW.mkv

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

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.

More from mpv-player/mpv

All issues in mpv-player/mpv

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.