{"action":"created","issue":{"url":"https://api.github.com/repos/rg3/youtube-dl/issues/5710","labels_url":"https://api.github.com/repos/rg3/youtube-dl/issues/5710/labels{/name}","comments_url":"https://api.github.com/repos/rg3/youtube-dl/issues/5710/comments","events_url":"https://api.github.com/repos/rg3/youtube-dl/issues/5710/events","html_url":"https://github.com/rg3/youtube-dl/issues/5710","id":76718515,"number":5710,"title":"get filename not working?","user":{"login":"undefinedstudio","id":1323600,"avatar_url":"https://avatars.githubusercontent.com/u/1323600?v=3","gravatar_id":"","url":"https://api.github.com/users/undefinedstudio","html_url":"https://github.com/undefinedstudio","followers_url":"https://api.github.com/users/undefinedstudio/followers","following_url":"https://api.github.com/users/undefinedstudio/following{/other_user}","gists_url":"https://api.github.com/users/undefinedstudio/gists{/gist_id}","starred_url":"https://api.github.com/users/undefinedstudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/undefinedstudio/subscriptions","organizations_url":"https://api.github.com/users/undefinedstudio/orgs","repos_url":"https://api.github.com/users/undefinedstudio/repos","events_url":"https://api.github.com/users/undefinedstudio/events{/privacy}","received_events_url":"https://api.github.com/users/undefinedstudio/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rg3/youtube-dl/labels/bug","name":"bug","color":"ff0303"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-15T12:48:48Z","updated_at":"2015-08-09T20:22:56Z","closed_at":null,"body":"\"--get-filename\" returns a different name from a normal execution.\r\n\r\n~# youtube-dl -o 'test.%(ext)s' --prefer-ffmpeg --get-filename https://www.youtube.com/watch?v=f3gNU0rNIIo\r\ntest.webm\r\n\r\n:~# youtube-dl -o 'test.%(ext)s' --prefer-ffmpeg  https://www.youtube.com/watch?v=f3gNU0rNIIo\r\n[youtube] f3gNU0rNIIo: Downloading webpage\r\n[youtube] f3gNU0rNIIo: Extracting video information\r\n[youtube] f3gNU0rNIIo: Downloading DASH manifest\r\nWARNING: You have requested formats incompatible for merge. The formats will be merged into mkv\r\n[download] Destination: test.f248.webm\r\n[download] 100% of 83.44MiB in 00:02\r\n[download] Destination: test.f141.m4a\r\n[download] 100% of 7.24MiB in 00:00\r\n[ffmpeg] Merging formats into \"test.mkv\"\r\nDeleting original file test.f248.webm (pass -k to keep)\r\nDeleting original file test.f141.m4a (pass -k to keep)\r\n~# ls\r\ntest.mkv\r\n\r\n\r\nI am expecting the two commands to return the same filename (either .mkv or .webm).\r\n\r\nWhat am I doing wrong?\r\nThanks\r\n"},"comment":{"url":"https://api.github.com/repos/rg3/youtube-dl/issues/comments/129234644","html_url":"https://github.com/rg3/youtube-dl/issues/5710#issuecomment-129234644","issue_url":"https://api.github.com/repos/rg3/youtube-dl/issues/5710","id":129234644,"user":{"login":"eriktjacobsen","id":1156604,"avatar_url":"https://avatars.githubusercontent.com/u/1156604?v=3","gravatar_id":"","url":"https://api.github.com/users/eriktjacobsen","html_url":"https://github.com/eriktjacobsen","followers_url":"https://api.github.com/users/eriktjacobsen/followers","following_url":"https://api.github.com/users/eriktjacobsen/following{/other_user}","gists_url":"https://api.github.com/users/eriktjacobsen/gists{/gist_id}","starred_url":"https://api.github.com/users/eriktjacobsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eriktjacobsen/subscriptions","organizations_url":"https://api.github.com/users/eriktjacobsen/orgs","repos_url":"https://api.github.com/users/eriktjacobsen/repos","events_url":"https://api.github.com/users/eriktjacobsen/events{/privacy}","received_events_url":"https://api.github.com/users/eriktjacobsen/received_events","type":"User","site_admin":false},"created_at":"2015-08-09T20:22:56Z","updated_at":"2015-08-09T20:22:56Z","body":"@jaimeMF If there is no extension used, such as simply `-o output`, shouldn't it not matter whether any formats have to be merged and just use the output name? Instead of appending any extensions?\r\n\r\nOr an option to force not using an extension so we can trust what we pass to the `-o` option will be whats written?"}}