{"action":"opened","issue":{"url":"https://api.github.com/repos/rg3/youtube-dl/issues/8269","labels_url":"https://api.github.com/repos/rg3/youtube-dl/issues/8269/labels{/name}","comments_url":"https://api.github.com/repos/rg3/youtube-dl/issues/8269/comments","events_url":"https://api.github.com/repos/rg3/youtube-dl/issues/8269/events","html_url":"https://github.com/rg3/youtube-dl/issues/8269","id":127249300,"number":8269,"title":"youtube-dl should be able to execute last ffmpeg command in stream","user":{"login":"bertho-zero","id":8525267,"avatar_url":"https://avatars.githubusercontent.com/u/8525267?v=3","gravatar_id":"","url":"https://api.github.com/users/bertho-zero","html_url":"https://github.com/bertho-zero","followers_url":"https://api.github.com/users/bertho-zero/followers","following_url":"https://api.github.com/users/bertho-zero/following{/other_user}","gists_url":"https://api.github.com/users/bertho-zero/gists{/gist_id}","starred_url":"https://api.github.com/users/bertho-zero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bertho-zero/subscriptions","organizations_url":"https://api.github.com/users/bertho-zero/orgs","repos_url":"https://api.github.com/users/bertho-zero/repos","events_url":"https://api.github.com/users/bertho-zero/events{/privacy}","received_events_url":"https://api.github.com/users/bertho-zero/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-18T15:27:00Z","updated_at":"2016-01-18T15:27:00Z","closed_at":null,"body":"I would like to know if is possible to add a parameter (e.g: --stream) for execute the last ffmpeg command with the argument `pipe:1` instead of `file:xxx`.\r\n\r\nThe utility of this argument is that we can make on-the-fly conversion.\r\n\r\nFor example:\r\n\r\n\r\n>python __main__.py -v -x --audio-format mp3 'https://www.youtube.com/watch?v=oavMtUWDBTM'\r\n>[debug] System config: []\r\n>[debug] User config: []\r\n>[debug] Command-line args: [u'-v', u'-x', u'--audio-format', u'mp3', u'https://www.youtube.com/watch?v=oavMtUWDBTM']\r\n>[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8\r\n>[debug] youtube-dl version 2016.01.15\r\n>[debug] Git HEAD: a2badb1\r\n>[debug] Python version 2.7.10 - Linux-4.2.0-23-generic-x86_64-with-Ubuntu-15.10-wily\r\n>[debug] exe versions: ffmpeg 2.7.4-0ubuntu0.15.10.1, ffprobe 2.7.4-0ubuntu0.15.10.1\r\n>[debug] Proxy map: {}\r\n>[youtube] oavMtUWDBTM: Downloading webpage\r\n>[youtube] oavMtUWDBTM: Downloading video info webpage\r\n>[youtube] oavMtUWDBTM: Extracting video information\r\n>[youtube] oavMtUWDBTM: Downloading DASH manifest\r\n>[youtube] oavMtUWDBTM: Downloading DASH manifest\r\n>[debug] Invoking downloader on  ...\r\n>[.........]\r\n>[download] Mr. Trololo original upload-oavMtUWDBTM.m4a has already been downloaded\r\n>[download] 100% of 4.91MiB\r\n>[ffmpeg] Correcting container in \"Mr. Trololo original upload-oavMtUWDBTM.m4a\"\r\n>[debug] ffmpeg command line: ffmpeg -y -i 'file:Mr. Trololo original upload-oavMtUWDBTM.m4a' -c copy -f mp4 'file:Mr. Trololo original upload-oavMtUWDBTM.temp.m4a'\r\n>[debug] ffmpeg command line: ffprobe -show_streams 'file:Mr. Trololo original upload-oavMtUWDBTM.m4a'\r\n>[ffmpeg] Destination: Mr. Trololo original upload-oavMtUWDBTM.mp3\r\n>[debug] ffmpeg command line: ffmpeg -y -i *'pipe:1'* -vn -acodec libmp3lame -q:a 5 **'file:Mr. Trololo original upload-oavMtUWDBTM.mp3'**\r\n>Deleting original file Mr. Trololo original upload-oavMtUWDBTM.m4a (pass -k to keep)\r\n\r\nbecome:\r\n\r\n>python __main__.py -v -x --audio-format mp3 'https://www.youtube.com/watch?v=oavMtUWDBTM'\r\n>[debug] System config: []\r\n>[debug] User config: []\r\n>[debug] Command-line args: [u'-v', u'-x', u'--audio-format', u'mp3', u'https://www.youtube.com/watch?v=oavMtUWDBTM']\r\n>[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8\r\n>[debug] youtube-dl version 2016.01.15\r\n>[debug] Git HEAD: a2badb1\r\n>[debug] Python version 2.7.10 - Linux-4.2.0-23-generic-x86_64-with-Ubuntu-15.10-wily\r\n>[debug] exe versions: ffmpeg 2.7.4-0ubuntu0.15.10.1, ffprobe 2.7.4-0ubuntu0.15.10.1\r\n>[debug] Proxy map: {}\r\n>[youtube] oavMtUWDBTM: Downloading webpage\r\n>[youtube] oavMtUWDBTM: Downloading video info webpage\r\n>[youtube] oavMtUWDBTM: Extracting video information\r\n>[youtube] oavMtUWDBTM: Downloading DASH manifest\r\n>[youtube] oavMtUWDBTM: Downloading DASH manifest\r\n>[debug] Invoking downloader on ...\r\n>[.........]\r\n>[debug] ffmpeg command line: ffmpeg -y -i *'pipe:1'* -vn -acodec libmp3lame -q:a 5 **'pipe:1'**\r\n>Deleting original file Mr. Trololo original upload-oavMtUWDBTM.m4a (pass -k to keep)\r\n\r\nThat would be really cool and it would help me a lot for a personal project, thank you in advance."}}