{"action":"created","issue":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/5619","repository_url":"https://api.github.com/repos/mpv-player/mpv","labels_url":"https://api.github.com/repos/mpv-player/mpv/issues/5619/labels{/name}","comments_url":"https://api.github.com/repos/mpv-player/mpv/issues/5619/comments","events_url":"https://api.github.com/repos/mpv-player/mpv/issues/5619/events","html_url":"https://github.com/mpv-player/mpv/issues/5619","id":304035212,"number":5619,"title":"CLI Screenshot Wrong resolution..","user":{"login":"ne0ark","id":660607,"avatar_url":"https://avatars0.githubusercontent.com/u/660607?v=4","gravatar_id":"","url":"https://api.github.com/users/ne0ark","html_url":"https://github.com/ne0ark","followers_url":"https://api.github.com/users/ne0ark/followers","following_url":"https://api.github.com/users/ne0ark/following{/other_user}","gists_url":"https://api.github.com/users/ne0ark/gists{/gist_id}","starred_url":"https://api.github.com/users/ne0ark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ne0ark/subscriptions","organizations_url":"https://api.github.com/users/ne0ark/orgs","repos_url":"https://api.github.com/users/ne0ark/repos","events_url":"https://api.github.com/users/ne0ark/events{/privacy}","received_events_url":"https://api.github.com/users/ne0ark/received_events","type":"User","site_admin":false},"labels":[{"id":16338840,"url":"https://api.github.com/repos/mpv-player/mpv/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-03-10T02:51:33Z","updated_at":"2018-03-16T18:05:18Z","closed_at":"2018-03-16T06:14:02Z","author_association":"NONE","body":"### mpv version and platform\r\n\r\nIf you're not using git master or the latest release, update.\r\nReleases are listed here: https://github.com/mpv-player/mpv/releases\r\n\r\n### Reproduction steps\r\n\r\nUsing following Parameters to take a screenshot:\r\n\r\n```args = [ Settings.MpvPath,\r\n\t\t\t\"--no-config\",\r\n\t\t\t\"--no-audio\",\r\n\t\t\t\"--no-sub\",\r\n\t\t\t\"--start\", str( int( timeInSeconds ) ),\r\n\t\t\t\"--frames\", \"1\",\r\n\t\t\t\"--screenshot-format\", \"png\",\r\n\t\t\t\"--screenshot-png-compression\", \"9\", # doesn't seem to be working\r\n\t\t\t\"--vf\", \"scale=0:0\", # 0: scaled d_width/d_height\r\n\t\t\t\"--o\", outputPngPath,\r\n\t\t\tself.InputVideoPath ]```\r\n\r\n```\r\nMediaInfo\r\n```\r\nVideo\r\nID : 224 (0xE0)\r\nFormat : MPEG Video\r\nFormat version : Version 2\r\nFormat profile : Main@Main\r\nFormat settings, BVOP : Yes\r\nFormat settings, Matrix : Custom\r\nFormat settings, GOP : Variable\r\nDuration : 20mn 47s\r\nBit rate mode : Variable\r\nBit rate : 6 071 Kbps\r\nMaximum bit rate : 9 800 Kbps\r\nWidth : 720 pixels\r\nHeight : 480 pixels\r\nDisplay aspect ratio : 16:9\r\nFrame rate : 23.976 fps\r\nStandard : NTSC\r\nColor space : YUV\r\nChroma subsampling : 4:2:0\r\nBit depth : 8 bits\r\nScan type : Progressive\r\nScan order : 2:3 Pulldown\r\nCompression mode : Lossy\r\nBits/(Pixel*Frame) : 0.733\r\nTime code of first frame : 00:20:31:14\r\nTime code source : Group of pictures header\r\nStream size : 903 MiB (88%)\r\n```\r\n\r\n\r\n### Expected behavior\r\n\r\nScreenshot resolution should be  853x480.\r\n\r\n### Actual behavior\r\n\r\nScreenshot resolution is 720x480\r\n\r\nFew version back it seems to work properly now it's broke.\r\n\r\n### Log file\r\n\r\nNA\r\n\r\n### Sample files\r\n\r\nhttps://0x0.st/sm05.VOB"},"comment":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/comments/373797873","html_url":"https://github.com/mpv-player/mpv/issues/5619#issuecomment-373797873","issue_url":"https://api.github.com/repos/mpv-player/mpv/issues/5619","id":373797873,"user":{"login":"h633537","id":15034896,"avatar_url":"https://avatars1.githubusercontent.com/u/15034896?v=4","gravatar_id":"","url":"https://api.github.com/users/h633537","html_url":"https://github.com/h633537","followers_url":"https://api.github.com/users/h633537/followers","following_url":"https://api.github.com/users/h633537/following{/other_user}","gists_url":"https://api.github.com/users/h633537/gists{/gist_id}","starred_url":"https://api.github.com/users/h633537/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h633537/subscriptions","organizations_url":"https://api.github.com/users/h633537/orgs","repos_url":"https://api.github.com/users/h633537/repos","events_url":"https://api.github.com/users/h633537/events{/privacy}","received_events_url":"https://api.github.com/users/h633537/received_events","type":"User","site_admin":false},"created_at":"2018-03-16T18:05:18Z","updated_at":"2018-03-16T18:05:18Z","author_association":"NONE","body":"@wm4 \r\nThe screenshot is the right resolution now but the image is wrong. The video is stored at 720x428 and displayed at 1024x428.\r\nhttps://i.imgur.com/ioDxKNZ.jpg\r\nIt also happens to any video when you change to a different aspect ratio with shift+A."}}
{"actor":{"display_login":"h633537"}}