Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mpv hangs when switching files in an EDL timeline if vd-queue-enable=yes #15776

Open
6 tasks done
agusdallalba opened this issue Jan 30, 2025 · 1 comment
Open
6 tasks done
Labels

Comments

@agusdallalba
Copy link

agusdallalba commented Jan 30, 2025

mpv Information

mpv v0.39.0 Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
 built on Nov 27 2024 18:31:26
libplacebo version: v7.349.0
FFmpeg version: n7.1
FFmpeg library versions:
   libavcodec      61.19.100
   libavdevice     61.3.100
   libavfilter     10.4.100
   libavformat     61.7.100
   libavutil       59.39.100
   libswresample   5.3.100
   libswscale      8.3.100

Other Information

- Linux version: Arch Linux
- Kernel Version: 6.6.70-1-lts #1 SMP PREEMPT_DYNAMIC Thu, 09 Jan 2025 13:22:24 +0000 x86_64 GNU/Linux
- GPU Model: Intel Corporation HD Graphics 5500 [8086:1616] (rev 09)
- Mesa/GPU Driver Version: 4.6 (Compatibility Profile) Mesa 24.3.4-arch1.1
- Window Manager and Version: GNOME Shell 47.3
- Source of mpv: https://archive.archlinux.org/packages/m/mpv/mpv-1%3A0.39.0-4-x86_64.pkg.tar.zst
- Latest known working version: unknown
- Issue started after the following happened: unknown

Reproduction Steps

curl 'https://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_h264.mov' > bbb1.mov
cp bbb1.mov bbb2.mov
mpv 'edl://bbb1.mov,0,10;bbb2.mov,0,10' --no-config --vd-queue-enable

Then wait 10 seconds, or attempt to seek past the 10 second mark.

Note that as long as the timeline stays within the first file, for example with edl://bbb1.mov,0,10;bbb1.mov,0,10, the player functions as expected.

Matroska ordered chapters cause the same problem.

Expected Behavior

The EDL is respected; in the example, the first 10 seconds of bbb1.mov are played before the first 10 seconds of bbb2.mov, then playback finishes.

Actual Behavior

The video hangs at the point where the EDL references a different file (in the example, at 10 seconds), audio continues playing. After attempting to seek beyond the 10 second mark, the player does not respond to any input, not even SIGTERM, I need to close it with killall -9 mpv.

Log File

I attempted to seek backwards after 29.797s of starting the player.

output.txt

gdb.txt

Sample Files

(see Reproduction Steps)

I carefully read all instruction and confirm that I did the following:

  • I tested with the latest mpv version to validate that the issue is not already fixed.
  • 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.
@guidocella
Copy link
Contributor

May be related to #10394

@agusdallalba agusdallalba changed the title MPV hangs when switching files in an EDL timeline if vd-queue-enable=yes mpv hangs when switching files in an EDL timeline if vd-queue-enable=yes Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants