Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

on the fly transcode video file for download

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

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>