Closed MaxPleaner closed 8 years ago
This isn't really a Headless issue, you can pass any additional options to ffmpeg
through :extra
, and a quick googling reveals the options you need for a fragmented mp4.
Well anyway thanks for your help On Jul 2, 2016 12:56 AM, "Leonid Shevtsov" notifications@github.com wrote:
This isn't really a Headless issue, you can pass any additional options to ffmpeg through :extra, and a quick googling reveals the options you need for a fragmented mp4 http://stackoverflow.com/questions/8616855/how-to-output-fragmented-mp4-with-ffmpeg#9734251 .
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/leonid-shevtsov/headless/issues/79#issuecomment-230089712, or mute the thread https://github.com/notifications/unsubscribe/AEzWx2ldLN0qxfBI1WHnHBLqY_Xtaip6ks5qRhmNgaJpZM4JDiDg .
I've found that I can use the headless gem to create an mp4 like so:
And the mp4 file produces is playable.
How could I make this a fragmented mp4?
The readme shows that the following options are supported for the videos hash in Headless.new's options, but I'm not sure how to set them up:
The reason I want to make a fragmented mp4 is that it's streamable.