Welcome to this article where we'll look at how to configure the transcoding of your videos in Nudgis.
When you add a video file to Nudgis, it is transcoded by default in different formats (M3U8, MP4, MP3, etc.) and different qualities (2160p, 1440p, 1080p, etc.).
This allows Nudgis to choose a file that matches the usage (downloading, online playback, etc.) or restrictions (bandwidth).
M3U8 archives contain HLS files and are better suited to online playback (via the Nudgis player, for example), whereas MP4 files are preferred for downloading (for offline viewing on a player such as VLC, or for backup). The different qualities can be adapted to the user's bandwidth (i.e. the speed of their Internet connection).
Where to configure transcoding
To configure transcoding, go to Menu > Administration > Site settings > Transcoding settings.
Note: To access these settings your user account must have the "Can edit site settings" permission.
Let's take a closer look at the different options.
First of all, you can choose the different qualities in which your videos will be transcoded. It's important to note that highest quality depends on the quality of the original file. For example, if the original file is 1080p, it will not be possible to transcode to 1440p or 2160p.
The single MP4 mode allows MP4 transcoding to be limited to a single file. This limits the amount of storage used by your video. The file will be of the best quality available.
To explain the 'Create tagged MP4 files' option, we'll first take a quick look at how some of the Nudgis player settings work. In particular, what we're interested in here are the pre-roll, post-roll and logo options.
In the Nudgis player, you can add pre-roll and post-roll to your videos: these are videos that are played before and after your content (a bit like a playlist), and you'll notice that while the start credits are playing, the time indicator in the player control bar has a negative value and is counting down. The logo is superimposed over the video. The way this works has been designed to allow these different elements to be replaced as required (change of logo, new credits, moving the logo).
Returning now to our tagged MP4s, these are created to enable your content to be downloaded, including the opening and closing credits and the logo. If this option is activated, the marked MP4 file will be the only one available in the download section and will also be used for RSS feeds. It will be of the best quality available.
Finally, the last options allow you to define which optional file formats you wish to transcode. There are two video file formats (M3U8/HLS and WEBM) and two audio formats (MP3 and OGA).
Restart transcoding of a video
If you have modified the transcoding settings, they will only be applied to new media. If you wish to apply the settings to a video that has been transcoded using the old settings, go to the video editing page, Resources tab.
In the 'Restart transcoding' section, you can choose a priority for the task (low, normal or high) and select the actions to perform on existing resources. There are three possible actions:
-Keep all files: the files from the previous transcoding will be kept.
-Delete superfluous files: files that do not match the current settings will be deleted.
-Delete all files except best quality: All files are deleted except the best quality, which is used for transcoding.
Finally, click on the "Restart transcoding" button.
One parameter in particular has an effect on the management of transcoded files. This is the expiry of original resources. To access it, go to Menu > Administration > Player settings > Control and resource settings.
To optimise storage, the original resources are automatically deleted after 14 days by default.
To disable the expiry of original resources use the value 0 in the field, then save.
Thank you for following this article on transcoding management in Nudgis. Don't hesitate to visit the Nudgis section of our documentation to learn more about the solution's features!
To continue : "The Dynamic RichMedia player in Nudgis (coming soon)"