mpv icon indicating copy to clipboard operation
mpv copied to clipboard

Playlist file in profile doesn't apply

Open Piber0 opened this issue 1 year ago • 2 comments

Important Information

Provide following Information:

  • mpv version 0.38.0
  • Windows 11 23H2
  • Source of the mpv binary: https://sourceforge.net/projects/mpv-player-windows/files/release/mpv-0.38.0-x86_64-v3.7z/download
  • If known which version of mpv introduced the problem
  • GPU model, driver and version
  • Possible screenshot or video of visual glitches

If you're not using git master or the latest release, update. Releases are listed here: https://github.com/mpv-player/mpv/releases

Reproduction steps

  1. Add these lines to mpv.conf (in any order)
[extension.mkv]
brightness=-30

[extension.m3u8]
hue=-50
  1. Create a playlist file (here a .m3u8, but .m3u is also affected for example)
  2. With a text editor, add a direct link (here an mkv) into the .m3u8 file and save it
  3. Launch .m3u8 file into mpv

Expected behavior

When I open the .m3u8 file (containing .mkv link), the hue filter should apply at -50 and the brightness at -30.

Actual behavior

mpv recognizes both profiles, but only .mkv applies brightness at -30 And even if the .mkv profile doesn't exist, the .m3u8 profile doesn't apply.

Log file

Z:\>mpv --load-scripts=no playlist.m3u8
Auto-loading profile 'extension.m3u8'
Auto-loading profile 'extension.mkv'
Playing: output.mkv
 (+) Video --vid=1 (*) (h264 1920x1080 23.976fps)
 (+) Audio --aid=1 --alang=en (*) (eac3 6ch 48000Hz)
     Subs  --sid=1 --slang=fr-CA (subrip)
     Subs  --sid=2 --slang=fr-FR (subrip)

Sample files

Sample files needed to reproduce this issue can be attached to the issue (preferred), or be uploaded to https://0x0.st/ or similar sites. (Only needed if the issue cannot be reproduced without it.) Do not use garbage like "cloud storage", especially not Google Drive.

Piber0 avatar Apr 25 '24 00:04 Piber0

[m3u8]
profile-cond=playlist_path:find('m3u8')
hue-50

guidocella avatar Apr 25 '24 06:04 guidocella

It works, thank you. Last question: how do I make a profile for full blurays (BDMV structure) ? I tried [extension.m2ts] but without success.

Piber0 avatar Apr 25 '24 17:04 Piber0