HD video more then 720p
Hi,
Would it be possible to consider UNA's video module to convert and play videos in higher resolution then 720p, let's say at lest 1080p or more?
Thank you.
Best regards
Mayki
-
-
·
LeonidS
- ·
Hello Mayki !
You may try to apply the following MySQL query (backup the `sys_transcoder_filters ` table first):
UPDATE `sys_transcoder_filters` SET `filter_params` = 'a:3:{s:1:"h";s:4:"1080";s:13:"video_bitrate";s:4:"1536";s:10:"force_type";s:3:"mp4";}' WHERE `transcoder_object`='bx_videos_video_mp4_hd' LIMIT 1;
Then clear all caches via Studio->Dashboard.
-
·
LeonidS
-
-
-
·
LeonidS
-
·
In reply to Omar Amer
- ·
Hi Omar Amer !
Please show the example.
-
·
LeonidS
-
- · Mayki
-
·
In reply to LeonidS
- ·
Hello Mayki !
You may try to apply the following MySQL query (backup the `sys_transcoder_filters ` table first):
UPDATE `sys_transcoder_filters` SET `filter_params` = 'a:3:{s:1:"h";s:4:"1080";s:13:"video_bitrate";s:4:"1536";s:10:"force_type";s:3:"mp4";}' WHERE `transcoder_object`='bx_videos_video_mp4_hd' LIMIT 1;
Then clear all caches via Studio->Dashboard.
Hello LeonidS
thank you for your explanation on how to do it. I have made the change and tried to upload HD video to our site. I monitored server with:
watch -n5 'ps aux | grep ffmpeg'
and I saw that video gets transcoded twice (I believe once for SD and once for HD quality, correct?)
Two qustions/problems:
1.) I wish that videos would be available in SD , 720p and 1080p and that the site memebers would have choice to select the quality from player.
2.) Even if the video now is transcoded to 1080p this is not an option in player:
And just another question if I may...., about reverting the change in `sys_transcoder_filters ` table. Would this do the trick?
UPDATE `sys_transcoder_filters` SET `filter_params` = 'a:3:{s:1:"h";s:3:"720";s:13:"video_bitrate";s:4:"1536";s:10:"force_type";s:3:"mp4";}' WHERE `transcoder_object`='bx_videos_video_mp4_hd' LIMIT 1;
Thank you very much for your answers.
Mayki
-
-
·
Alex T⚜️
- ·
Despite it shows 720, it should load your custom extension, 720 is hardcoded in inc/classes/BxDolPlayer.php near 77 line:
protected $_aSizes = array( 'sd' => 480, 'hd' => 720, );
-
·
Alex T⚜️
-
- · Mayki
-
·
In reply to Alex T⚜️
- ·
Despite it shows 720, it should load your custom extension, 720 is hardcoded in inc/classes/BxDolPlayer.php near 77 line:
protected $_aSizes = array( 'sd' => 480, 'hd' => 720, );
I have changed 720 to 1080 in mentioned file and now player shows 1080. Thank you very much Alex T⚜️ . I believe, that this my change back at future upgrades of una ?
-
-
·
LeonidS
-
·
In reply to Mayki
- ·
Yep, Mayki , it is the "core" file and you will need to change it again after the upgrade.
-
·
LeonidS
-
-
-
·
LeonidS
-
·
In reply to Scotti
- ·
Hello Scotti !
Yes, the changes in the mentioned PHP file will remove the 720 mode.
-
·
LeonidS