{"action":"created","issue":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/6160","repository_url":"https://api.github.com/repos/mpv-player/mpv","labels_url":"https://api.github.com/repos/mpv-player/mpv/issues/6160/labels{/name}","comments_url":"https://api.github.com/repos/mpv-player/mpv/issues/6160/comments","events_url":"https://api.github.com/repos/mpv-player/mpv/issues/6160/events","html_url":"https://github.com/mpv-player/mpv/issues/6160","id":364513049,"node_id":"MDU6SXNzdWUzNjQ1MTMwNDk=","number":6160,"title":"mpv shouldn't honor italics styling in mp4 files","user":{"login":"YamashitaRen","id":4103637,"node_id":"MDQ6VXNlcjQxMDM2Mzc=","avatar_url":"https://avatars0.githubusercontent.com/u/4103637?v=4","gravatar_id":"","url":"https://api.github.com/users/YamashitaRen","html_url":"https://github.com/YamashitaRen","followers_url":"https://api.github.com/users/YamashitaRen/followers","following_url":"https://api.github.com/users/YamashitaRen/following{/other_user}","gists_url":"https://api.github.com/users/YamashitaRen/gists{/gist_id}","starred_url":"https://api.github.com/users/YamashitaRen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YamashitaRen/subscriptions","organizations_url":"https://api.github.com/users/YamashitaRen/orgs","repos_url":"https://api.github.com/users/YamashitaRen/repos","events_url":"https://api.github.com/users/YamashitaRen/events{/privacy}","received_events_url":"https://api.github.com/users/YamashitaRen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-09-27T14:46:24Z","updated_at":"2018-10-20T14:01:50Z","closed_at":null,"author_association":"NONE","body":"### mpv version and platform\r\n```\r\n$ mpv --version\r\nmpv 0.29.0-35-g9c184078a6 Copyright © 2000-2018 mpv/MPlayer/mplayer2 projects\r\n built on Thu Sep 27 16:00:46 CEST 2018\r\nffmpeg library versions:\r\n   libavutil       56.14.100\r\n   libavcodec      58.18.100\r\n   libavformat     58.12.100\r\n   libswscale      5.1.100\r\n   libavfilter     7.16.100\r\n   libswresample   3.1.100\r\nffmpeg version: n4.0.2\r\n```\r\nOS : Archlinux x86_64\r\n\r\n### Reproduction steps\r\n1) Download Big Buck Bunny : http://download.blender.org/peach/bigbuckbunny_movies/\r\n2) Here's a subtitle for the movie :\r\n```\r\n1\r\n00:00:00,000 --> 00:05:00,000\r\n[Dramatic music throughout but no speaking] \r\n\r\n2\r\n00:05:00,000 --> 00:10:00,000\r\n<i>[Dramatic music throughout but no speaking]</i>\r\n```\r\n3) Mux them in a mp4 using ffmpeg or a tool of your choice : \r\n`ffmpeg -i big_buck_bunny_480p_h264.mov -i big_buck_bunny_480p_h264.srt -map 0:0 -map 0:1 -map 1:0 -c: copy -c:s mov_text big_buck_bunny_480p_h264.mp4`\r\n4) Play the resulting mp4 in mpv\r\n\r\n### Expected behavior\r\nSubtitles should honor my mpv.conf preferences. Italics subtitles included.\r\n\r\n### Actual behavior\r\nSubtitles honor my mpv.conf preferences the 5 first minutes. The 5 next minutes, they use a different style for italics subtitles.\r\nVLC doesn't have this issue.\r\n\r\n### Log file\r\nRelevant part of the log file :\r\n```\r\n[sub/ass] fontselect: (sans-serif, 400, 0) -> /usr/share/fonts/TTF/DejaVuSans.ttf, 0, DejaVuSans\r\n[sub/ass] fontselect: (sans-serif, 400, 100) -> /usr/share/fonts/TTF/DejaVuSans-Oblique.ttf, 0, DejaVuSans-Oblique\r\n[sub/ass] fontselect: (Serif, 400, 100) -> /usr/share/fonts/TTF/DejaVuSerif-Italic.ttf, 0, DejaVuSerif-Italic\r\n```\r\n\r\nHere's what I get with another file I \"found\" on internet : \r\n```\r\n[sub/ass] fontselect: (sans-serif, 400, 0) -> /usr/share/fonts/TTF/DejaVuSans.ttf, 0, DejaVuSans\r\n[sub/ass] fontselect: (sans-serif, 400, 100) -> /usr/share/fonts/TTF/DejaVuSans-Oblique.ttf, 0, DejaVuSans-Oblique\r\n[sub/ass] fontselect: (Arial, 400, 100) -> /usr/share/fonts/WindowsFonts/ariali.ttf, 0, Arial-ItalicMT\r\n```\r\nNice Arial : https://pix.louiz.org/o/sMHgl.png\r\nShould have looked like the next subtitle (but in italics) instead : https://pix.louiz.org/o/WqCEL.png"},"comment":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/comments/431584559","html_url":"https://github.com/mpv-player/mpv/issues/6160#issuecomment-431584559","issue_url":"https://api.github.com/repos/mpv-player/mpv/issues/6160","id":431584559,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTU4NDU1OQ==","user":{"login":"haasn","id":1149047,"node_id":"MDQ6VXNlcjExNDkwNDc=","avatar_url":"https://avatars0.githubusercontent.com/u/1149047?v=4","gravatar_id":"","url":"https://api.github.com/users/haasn","html_url":"https://github.com/haasn","followers_url":"https://api.github.com/users/haasn/followers","following_url":"https://api.github.com/users/haasn/following{/other_user}","gists_url":"https://api.github.com/users/haasn/gists{/gist_id}","starred_url":"https://api.github.com/users/haasn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haasn/subscriptions","organizations_url":"https://api.github.com/users/haasn/orgs","repos_url":"https://api.github.com/users/haasn/repos","events_url":"https://api.github.com/users/haasn/events{/privacy}","received_events_url":"https://api.github.com/users/haasn/received_events","type":"User","site_admin":false},"created_at":"2018-10-20T14:01:50Z","updated_at":"2018-10-20T14:01:50Z","author_association":"MEMBER","body":"Also, I can't reproduce. Works fine for me - displays exactly the same for both, including all styling. (Using your exact config)"}}
{"actor":{"display_login":"haasn"}}