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é
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é