{"action":"opened","issue":{"url":"https://api.github.com/repos/rg3/youtube-dl/issues/6746","labels_url":"https://api.github.com/repos/rg3/youtube-dl/issues/6746/labels{/name}","comments_url":"https://api.github.com/repos/rg3/youtube-dl/issues/6746/comments","events_url":"https://api.github.com/repos/rg3/youtube-dl/issues/6746/events","html_url":"https://github.com/rg3/youtube-dl/issues/6746","id":104588243,"number":6746,"title":"Merging formats fails - Could not write header for output file #0 (incorrect codec parameters ?)","user":{"login":"przemoc","id":142372,"avatar_url":"https://avatars.githubusercontent.com/u/142372?v=3","gravatar_id":"","url":"https://api.github.com/users/przemoc","html_url":"https://github.com/przemoc","followers_url":"https://api.github.com/users/przemoc/followers","following_url":"https://api.github.com/users/przemoc/following{/other_user}","gists_url":"https://api.github.com/users/przemoc/gists{/gist_id}","starred_url":"https://api.github.com/users/przemoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/przemoc/subscriptions","organizations_url":"https://api.github.com/users/przemoc/orgs","repos_url":"https://api.github.com/users/przemoc/repos","events_url":"https://api.github.com/users/przemoc/events{/privacy}","received_events_url":"https://api.github.com/users/przemoc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-02T22:57:37Z","updated_at":"2015-09-02T22:57:37Z","closed_at":null,"body":"    youtube-dl -v \"https://www.youtube.com/watch?v=OI_YqAdLKFc\"\r\n\r\ngives following output ending with error:\r\n\r\n~~~\r\n[debug] System config: []\r\n[debug] User config: []\r\n[debug] Command-line args: [u'-v', u'https://www.youtube.com/watch?v=OI_YqAdLKFc']\r\n[debug] Encodings: locale cp1250, fs mbcs, out None, pref cp1250\r\n[debug] youtube-dl version 2015.08.28\r\n[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1\r\n[debug] exe versions: ffmpeg N-50911-g9efcfbe\r\n[debug] Proxy map: {}\r\n[youtube] OI_YqAdLKFc: Downloading webpage\r\n[youtube] OI_YqAdLKFc: Downloading video info webpage\r\n[youtube] OI_YqAdLKFc: Extracting video information\r\n[youtube] OI_YqAdLKFc: Downloading DASH manifest\r\n[youtube] OI_YqAdLKFc: Downloading DASH manifest\r\n[debug] Invoking downloader on 'https://r2---sn-f5f7ln7l.googlevideo.com/videoplayback?id=388fd8a8074b2857&itag=271&source=youtube&requiressl=yes&ms=au&mv=m&pl=17&mm=31&mn=sn-f5f7ln7l&ratebypass=yes&mime=video/webm&gir=yes&clen=167013643&lmt=1441060274597265&dur=400.566&upn=nET3XzeXQv8&fexp=9407992,9408710,9409069,9409096,9412774,9414936,9415356,9415365,9415485,9416023,9416104,9416126,9416359,9417335,9417707,9417815,9418153,9418356,9418448,9419256,9420021&sver=3&signature=11F9D290A0B9338B1C6507E10B61FC72B0193B55.3F62E7E75D70C259CE9DEA5D4C8F4BD58D20C3E9&key=dg_yt0&mt=1441234081&ip=89.74.38.183&ipbits=0&expire=1441255800&sparams=ip,ipbits,expire,id,itag,source,requiressl,ms,mv,pl,mm,mn,ratebypass,mime,gir,clen,lmt,dur'\r\n[download] Resuming download at byte 18899177\r\n[download] Destination: Linking a MIDI Controller to Track Controls In REAPER-OI_YqAdLKFc.f271.webm\r\n\r\n[download]  11.3% of 159.28MiB at 90.91KiB/s ETA 26:31\r\n[download]  11.3% of 159.28MiB at 250.00KiB/s ETA 09:38\r\n[download]  11.3% of 159.28MiB at 583.34KiB/s ETA 04:07\r\n[download]  11.3% of 159.28MiB at  1.22MiB/s ETA 01:55 \r\n[download]  11.3% of 159.28MiB at  2.16MiB/s ETA 01:05 \r\n[download]  11.4% of 159.28MiB at  2.80MiB/s ETA 00:50 \r\n[download]  11.4% of 159.28MiB at  3.65MiB/s ETA 00:38 \r\n[download]  11.5% of 159.28MiB at  3.72MiB/s ETA 00:37 \r\n[download]  11.6% of 159.28MiB at  3.62MiB/s ETA 00:38 \r\n[download]  11.9% of 159.28MiB at  3.54MiB/s ETA 00:39 \r\n[download]  12.6% of 159.28MiB at  3.51MiB/s ETA 00:39 \r\n[download]  13.8% of 159.28MiB at  3.51MiB/s ETA 00:39 \r\n[download]  16.0% of 159.28MiB at  3.50MiB/s ETA 00:38 \r\n[download]  18.2% of 159.28MiB at  3.51MiB/s ETA 00:37 \r\n[download]  20.4% of 159.28MiB at  3.51MiB/s ETA 00:36 \r\n[download]  22.6% of 159.28MiB at  3.51MiB/s ETA 00:35 \r\n[download]  24.8% of 159.28MiB at  3.51MiB/s ETA 00:34 \r\n[download]  27.1% of 159.28MiB at  3.51MiB/s ETA 00:33 \r\n[download]  29.3% of 159.28MiB at  3.51MiB/s ETA 00:32 \r\n[download]  31.5% of 159.28MiB at  3.51MiB/s ETA 00:31 \r\n[download]  33.7% of 159.28MiB at  3.51MiB/s ETA 00:30 \r\n[download]  35.9% of 159.28MiB at  3.51MiB/s ETA 00:29 \r\n[download]  38.1% of 159.28MiB at  3.51MiB/s ETA 00:28 \r\n[download]  40.3% of 159.28MiB at  3.51MiB/s ETA 00:27 \r\n[download]  42.5% of 159.28MiB at  3.51MiB/s ETA 00:26 \r\n[download]  44.7% of 159.28MiB at  3.51MiB/s ETA 00:25 \r\n[download]  46.9% of 159.28MiB at  3.51MiB/s ETA 00:24 \r\n[download]  49.1% of 159.28MiB at  3.51MiB/s ETA 00:23 \r\n[download]  51.3% of 159.28MiB at  3.51MiB/s ETA 00:22 \r\n[download]  53.5% of 159.28MiB at  3.51MiB/s ETA 00:21 \r\n[download]  55.8% of 159.28MiB at  3.51MiB/s ETA 00:20 \r\n[download]  57.9% of 159.28MiB at  3.51MiB/s ETA 00:19 \r\n[download]  60.2% of 159.28MiB at  3.51MiB/s ETA 00:18 \r\n[download]  62.4% of 159.28MiB at  3.51MiB/s ETA 00:17 \r\n[download]  64.6% of 159.28MiB at  3.51MiB/s ETA 00:16 \r\n[download]  66.8% of 159.28MiB at  3.51MiB/s ETA 00:15 \r\n[download]  69.0% of 159.28MiB at  3.51MiB/s ETA 00:14 \r\n[download]  71.2% of 159.28MiB at  3.51MiB/s ETA 00:13 \r\n[download]  73.4% of 159.28MiB at  3.51MiB/s ETA 00:12 \r\n[download]  75.6% of 159.28MiB at  3.51MiB/s ETA 00:11 \r\n[download]  77.8% of 159.28MiB at  3.51MiB/s ETA 00:10 \r\n[download]  80.0% of 159.28MiB at  3.51MiB/s ETA 00:09 \r\n[download]  82.2% of 159.28MiB at  3.51MiB/s ETA 00:08 \r\n[download]  84.4% of 159.28MiB at  3.51MiB/s ETA 00:07 \r\n[download]  86.6% of 159.28MiB at  3.51MiB/s ETA 00:06 \r\n[download]  88.8% of 159.28MiB at  3.51MiB/s ETA 00:05 \r\n[download]  91.0% of 159.28MiB at  3.51MiB/s ETA 00:04 \r\n[download]  93.3% of 159.28MiB at  3.51MiB/s ETA 00:03 \r\n[download]  95.5% of 159.28MiB at  3.51MiB/s ETA 00:02 \r\n[download]  97.7% of 159.28MiB at  3.51MiB/s ETA 00:01 \r\n[download]  99.9% of 159.28MiB at  3.51MiB/s ETA 00:00 \r\n[download] 100.0% of 159.28MiB at  3.51MiB/s ETA 00:00 \r\n[download] 100% of 159.28MiB in 00:40                  \r\n[debug] Invoking downloader on 'https://r2---sn-f5f7ln7l.googlevideo.com/videoplayback?id=388fd8a8074b2857&itag=171&source=youtube&requiressl=yes&ms=au&mv=m&pl=17&mm=31&mn=sn-f5f7ln7l&ratebypass=yes&mime=audio/webm&gir=yes&clen=5309970&lmt=1441059508900662&dur=404.531&upn=nET3XzeXQv8&fexp=9407992,9408710,9409069,9409096,9412774,9414936,9415356,9415365,9415485,9416023,9416104,9416126,9416359,9417335,9417707,9417815,9418153,9418356,9418448,9419256,9420021&sver=3&signature=159BD04F7A91CECF8242635D194CF51944240D76.3D539512F168B832C33162CB34434EEF91C3A447&key=dg_yt0&mt=1441234081&ip=89.74.38.183&ipbits=0&expire=1441255800&sparams=ip,ipbits,expire,id,itag,source,requiressl,ms,mv,pl,mm,mn,ratebypass,mime,gir,clen,lmt,dur'\r\n[download] Destination: Linking a MIDI Controller to Track Controls In REAPER-OI_YqAdLKFc.f171.webm\r\n\r\n[download]   0.0% of 5.06MiB at 90.91KiB/s ETA 00:57\r\n[download]   0.1% of 5.06MiB at 250.00KiB/s ETA 00:20\r\n[download]   0.1% of 5.06MiB at 583.33KiB/s ETA 00:08\r\n[download]   0.3% of 5.06MiB at  1.13MiB/s ETA 00:04 \r\n[download]   0.6% of 5.06MiB at  2.16MiB/s ETA 00:02 \r\n[download]   1.2% of 5.06MiB at  2.80MiB/s ETA 00:01 \r\n[download]   2.4% of 5.06MiB at  3.76MiB/s ETA 00:01 \r\n[download]   4.9% of 5.06MiB at  3.72MiB/s ETA 00:01 \r\n[download]   9.9% of 5.06MiB at  3.62MiB/s ETA 00:01 \r\n[download]  19.7% of 5.06MiB at  3.39MiB/s ETA 00:01 \r\n[download]  39.5% of 5.06MiB at  3.53MiB/s ETA 00:00 \r\n[download]  79.0% of 5.06MiB at  3.52MiB/s ETA 00:00 \r\n[download] 100.0% of 5.06MiB at  3.51MiB/s ETA 00:00 \r\n[download] 100% of 5.06MiB in 00:01                  \r\n[ffmpeg] Merging formats into \"Linking a MIDI Controller to Track Controls In REAPER-OI_YqAdLKFc.webm\"\r\n[debug] ffmpeg command line: ffmpeg -y -i 'Linking a MIDI Controller to Track Controls In REAPER-OI_YqAdLKFc.f271.webm' -i 'Linking a MIDI Controller to Track Controls In REAPER-OI_YqAdLKFc.f171.webm' -c copy -map 0:v:0 -map 1:a:0 'Linking a MIDI Controller to Track Controls In REAPER-OI_YqAdLKFc.temp.webm'\r\nERROR: Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument\r\nTraceback (most recent call last):\r\n  File \"youtube_dl\\YoutubeDL.pyo\", line 1699, in post_process\r\n  File \"youtube_dl\\postprocessor\\ffmpeg.pyo\", line 403, in run\r\n  File \"youtube_dl\\postprocessor\\ffmpeg.pyo\", line 151, in run_ffmpeg_multiple_files\r\nFFmpegPostProcessorError\r\n~~~\r\n\r\nNot sure if it is this particular format combination (271+171) or peculiarity of this particular video.\r\n\r\nI've downloaded some previous videos of this youtube user in the past and didn't have this problem, but maybe other format combinations were used then."}}