{"action":"created","issue":{"url":"https://api.github.com/repos/fluent-ffmpeg/node-fluent-ffmpeg/issues/417","labels_url":"https://api.github.com/repos/fluent-ffmpeg/node-fluent-ffmpeg/issues/417/labels{/name}","comments_url":"https://api.github.com/repos/fluent-ffmpeg/node-fluent-ffmpeg/issues/417/comments","events_url":"https://api.github.com/repos/fluent-ffmpeg/node-fluent-ffmpeg/issues/417/events","html_url":"https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/issues/417","id":91285799,"number":417,"title":"Pipe in and out?","user":{"login":"NegativeIQ","id":2947012,"avatar_url":"https://avatars.githubusercontent.com/u/2947012?v=3","gravatar_id":"","url":"https://api.github.com/users/NegativeIQ","html_url":"https://github.com/NegativeIQ","followers_url":"https://api.github.com/users/NegativeIQ/followers","following_url":"https://api.github.com/users/NegativeIQ/following{/other_user}","gists_url":"https://api.github.com/users/NegativeIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/NegativeIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NegativeIQ/subscriptions","organizations_url":"https://api.github.com/users/NegativeIQ/orgs","repos_url":"https://api.github.com/users/NegativeIQ/repos","events_url":"https://api.github.com/users/NegativeIQ/events{/privacy}","received_events_url":"https://api.github.com/users/NegativeIQ/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-26T15:54:19Z","updated_at":"2015-06-26T16:04:56Z","closed_at":null,"body":"Hey guys im using ytdl-core package (youtube-dl writen in pure javascript)\r\n\r\nAt the moment im downloading audioonly 256kbps mp4 like these:\r\n\r\nvar fs = require('fs');\r\nvar ytdl = require('ytdl-core');\r\n\r\nvar download = ytdl('https://www.youtube.com/watch?v=d0YNd9fPWt0', \r\n\t{ filter: 'audioonly', quality: '141' });\r\n\r\ndownload.pipe(fs.createWriteStream('shit.mp4'));\r\n\r\nNow since i still need to convert that file to mp3 i would like to pipe it to ffmpeg. Is it possible and how could i do it? Sorry for noobish question but im still getting track with node.js and all handy features it has..."},"comment":{"url":"https://api.github.com/repos/fluent-ffmpeg/node-fluent-ffmpeg/issues/comments/115742115","html_url":"https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/issues/417#issuecomment-115742115","issue_url":"https://api.github.com/repos/fluent-ffmpeg/node-fluent-ffmpeg/issues/417","id":115742115,"user":{"login":"njoyard","id":127842,"avatar_url":"https://avatars.githubusercontent.com/u/127842?v=3","gravatar_id":"","url":"https://api.github.com/users/njoyard","html_url":"https://github.com/njoyard","followers_url":"https://api.github.com/users/njoyard/followers","following_url":"https://api.github.com/users/njoyard/following{/other_user}","gists_url":"https://api.github.com/users/njoyard/gists{/gist_id}","starred_url":"https://api.github.com/users/njoyard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/njoyard/subscriptions","organizations_url":"https://api.github.com/users/njoyard/orgs","repos_url":"https://api.github.com/users/njoyard/repos","events_url":"https://api.github.com/users/njoyard/events{/privacy}","received_events_url":"https://api.github.com/users/njoyard/received_events","type":"User","site_admin":false},"created_at":"2015-06-26T16:04:56Z","updated_at":"2015-06-26T16:04:56Z","body":"Check whether ytdl can give you a ReadableStream and use it as an input for fluent-ffmpeg. Otherwise, you can use a PassThrough stream."}}