Change the video bitrates for Dreambox ReStream

Profile picture for user theyosh
How to reduce the amount of bit rates for Dreambox ReStreaming.

Sometimes it looks like that the CPU does not have enough power to transcode the stream. By default Dreambox ReStream has two bit rates enabled. This is the 512 Kbps and the 200Kbps version.

To change the bit rates and or the amount of bit rates do the following:

Edit the file VLCServer.class.php and look for the following lines

// HD Profile// $this->lProfiles[] = array("name" => "HD",         "width" => 1280, "height" => 720, "videocodec" => "h264", "videobitrate" => 1200, "videofps" => 25, "audiocodec" => "mp4a", "audiobitrate" => 192, "audiosamplerate" => 48000);// Main Profile$this->lProfiles[] = array("name" => "SD",         "width" => 640, "height" => 360, "videocodec" => "h264", "videobitrate" => 512, "videofps" => 25, "audiocodec" => "mp4a", "audiobitrate" => 128, "audiosamplerate" => 48000);// Mobile Profile$this->lProfiles[] = array("name" => "Mobile",     "width" => 320, "height" => 180, "videocodec" => "h264", "videobitrate" => 200, "videofps" => 25, "audiocodec" => "mp4a", "audiobitrate" => 96, "audiosamplerate" => 48000);

To disable a bit rate just add '//' in front the of bit rate line. To enable a bit rate, just remove the '//' from the line. After changing the code, you will have to zap to a channel before the changes will work.

Another option is to reduce the resolution and or bit rate value. You can change the width, height, videobitrate and audiobitrate value in the bit rate line. This will change the settings for VLC transcoding.