{"action":"created","issue":{"url":"https://api.github.com/repos/rg3/youtube-dl/issues/1027","labels_url":"https://api.github.com/repos/rg3/youtube-dl/issues/1027/labels{/name}","comments_url":"https://api.github.com/repos/rg3/youtube-dl/issues/1027/comments","events_url":"https://api.github.com/repos/rg3/youtube-dl/issues/1027/events","html_url":"https://github.com/rg3/youtube-dl/issues/1027","id":16639557,"number":1027,"title":"mp4 recode broken","user":{"login":"EricBelanger","id":127451,"avatar_url":"https://avatars.githubusercontent.com/u/127451?v=3","gravatar_id":"","url":"https://api.github.com/users/EricBelanger","html_url":"https://github.com/EricBelanger","followers_url":"https://api.github.com/users/EricBelanger/followers","following_url":"https://api.github.com/users/EricBelanger/following{/other_user}","gists_url":"https://api.github.com/users/EricBelanger/gists{/gist_id}","starred_url":"https://api.github.com/users/EricBelanger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EricBelanger/subscriptions","organizations_url":"https://api.github.com/users/EricBelanger/orgs","repos_url":"https://api.github.com/users/EricBelanger/repos","events_url":"https://api.github.com/users/EricBelanger/events{/privacy}","received_events_url":"https://api.github.com/users/EricBelanger/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rg3/youtube-dl/labels/postprocessors","name":"postprocessors","color":"02d7e1"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2013-07-11T16:11:24Z","updated_at":"2015-09-06T10:21:24Z","closed_at":null,"body":"Recoding the video to mp4 using ffmpeg doesn't work:\r\n\r\n$ youtube-dl --recode-video=mp4 http://www.youtube.com/watch?v=iiFWoXQPOJc\r\n[youtube] Setting language\r\n[youtube] iiFWoXQPOJc: Downloading video webpage\r\n[youtube] iiFWoXQPOJc: Downloading video info webpage\r\n[youtube] iiFWoXQPOJc: Extracting video information\r\n[download] Destination: Work Done by Isothermic Process-iiFWoXQPOJc.flv\r\n[download] 100.0% of 21.94MiB at 864.23KiB/s ETA 00:00\r\n[ffmpeg] Converting video from flv to mp4, Destination: Work Done by Isothermic Process-iiFWoXQPOJc.mp4\r\nERROR: The encoder 'aac' is experimental but experimental codecs are not enabled, add '-strict -2' if you want to use it.\r\n"},"comment":{"url":"https://api.github.com/repos/rg3/youtube-dl/issues/comments/138063479","html_url":"https://github.com/rg3/youtube-dl/issues/1027#issuecomment-138063479","issue_url":"https://api.github.com/repos/rg3/youtube-dl/issues/1027","id":138063479,"user":{"login":"DavidS","id":27712,"avatar_url":"https://avatars.githubusercontent.com/u/27712?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidS","html_url":"https://github.com/DavidS","followers_url":"https://api.github.com/users/DavidS/followers","following_url":"https://api.github.com/users/DavidS/following{/other_user}","gists_url":"https://api.github.com/users/DavidS/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidS/subscriptions","organizations_url":"https://api.github.com/users/DavidS/orgs","repos_url":"https://api.github.com/users/DavidS/repos","events_url":"https://api.github.com/users/DavidS/events{/privacy}","received_events_url":"https://api.github.com/users/DavidS/received_events","type":"User","site_admin":false},"created_at":"2015-09-06T10:21:24Z","updated_at":"2015-09-06T10:21:24Z","body":"This is still happening:\r\n\r\n```\r\ndavid@zion:/net/Multimedia/Movies/yt$ youtube-dl --recode-video=mp4 https://www.youtube.com/watch?v=DDDD --verbose\r\n[debug] System config: []\r\n[debug] User config: []\r\n[debug] Command-line args: [u'--recode-video=mp4', u'https://www.youtube.com/watch?v=DDDD', u'--verbose']\r\n[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8\r\n[debug] youtube-dl version 2015.06.04.1\r\n[debug] Python version 2.7.10 - Linux-4.1.0-1-amd64-x86_64-with-debian-stretch-sid\r\n[debug] exe versions: avconv 11.4-6, avprobe 11.4-6, rtmpdump 2.4\r\n[debug] Proxy map: {}\r\n[youtube] DDDD: Downloading webpage\r\n[youtube] DDDD: Extracting video information\r\n[youtube] DDDD: Downloading DASH manifest\r\nWARNING: Requested formats are incompatible for merge and will be merged into mkv.\r\n[download] DDDD.mkv has already been downloaded and merged\r\n[ffmpeg] Converting video from mkv to mp4, Destination: DDDD.mp4\r\n[debug] ffmpeg command line: avconv -y -i 'DDDD.mkv' 'DDDD.mp4'\r\nERROR: Add '-strict experimental' if you want to use it.\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py\", line 1548, in post_process\r\n    files_to_delete, info = pp.run(info)\r\n  File \"/usr/lib/python2.7/dist-packages/youtube_dl/postprocessor/ffmpeg.py\", line 302, in run\r\n    self.run_ffmpeg(path, outpath, [])\r\n  File \"/usr/lib/python2.7/dist-packages/youtube_dl/postprocessor/ffmpeg.py\", line 152, in run_ffmpeg\r\n    self.run_ffmpeg_multiple_files([path], out_path, opts)\r\n  File \"/usr/lib/python2.7/dist-packages/youtube_dl/postprocessor/ffmpeg.py\", line 148, in run_ffmpeg_multiple_files\r\n    raise FFmpegPostProcessorError(msg)\r\nFFmpegPostProcessorError\r\n\r\ndavid@zion:/net/Multimedia/Movies/yt$ \r\n```\r\n\r\nThis is a pretty current Debian testing:\r\n\r\n```\r\ndavid@zion:~$ avconv -version\r\navconv version 11.4-6:11.4-2, Copyright (c) 2000-2014 the Libav developers\r\n  built on Jun  3 2015 22:51:42 with gcc 4.9.2 (Debian 4.9.2-19)\r\navconv 11.4-6:11.4-2\r\nlibavutil     54.  3. 0 / 54.  3. 0\r\nlibavcodec    56.  1. 0 / 56.  1. 0\r\nlibavformat   56.  1. 0 / 56.  1. 0\r\nlibavdevice   55.  0. 0 / 55.  0. 0\r\nlibavfilter    5.  0. 0 /  5.  0. 0\r\nlibavresample  2.  1. 0 /  2.  1. 0\r\nlibswscale     3.  0. 0 /  3.  0. 0\r\ndavid@zion:~$ youtube-dl --version\r\n2015.06.04.1\r\ndavid@zion:~$ \r\n```\r\n\r\nrunning the recoding step manually with `avconv -y -i 'DDDD.mkv' -strict experimental 'DDDD.mp4'` worked."}}