Welcome! Log In Create A New Profile

Advanced

on the fly transcode video file for download

Posted by timbiker 
on the fly transcode video file for download
April 30, 2015 03:21AM
Dears,
I am planning on using Nginx to setup a vod system with multi-lingual video files.
The files would be stored on the server as one single mp4 file, with multiple audio tracks in it.

For the vod part, I believe this will be quite easy, I create a main local publishing point on this and then uses an ffmpeg command to create some mono-language publishing points by remapping the audio (should be quite low processing power as this is only remapping, no encoding).

However I also want to make the files available for standard download, with only the right audio track in it.
Is there a way to “pipe” a download file through a command before it is sent to the client, if possible with just a simple configuration as with the rtmp module ?
I am thinking that the way forward could be to make a custom cgi to do so, but I have no clue on how to.

Rgds,
Timothé
Re: on the fly transcode video file for download
August 31, 2015 02:21PM
use rtmp module, this module use ffmpeg to transcode stream, may be work for you, for me work very well, (live) rtsp, mpeg or mjpeg stream --> rtmp -> hls / dash & recording flv stream in mp4(vod) container.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 174
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready