•  · 17 friends

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?

image_transcoder.php?o=bx_froala_image&h=4151&dpx=2&t=1603149196

Thank you.

Best regards
Mayki

0 0 0 0 0 0
  • 166
Replies (7)
  • 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.

    0 0 0 0 0 0
    • that will do it.   :)  btw, LeonidS , do we set the encoder flags ^ as shown, or where they actually appear in config files? :p this is, ^^^  a new developement...

      =] 

      0 0 0 0 0 0
      • Hi Omar Amer !

        Please show the example.

        0 0 0 0 0 0
        • 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:

          image_transcoder.php?o=bx_froala_image&h=4163&dpx=2&t=1603447053


          image_transcoder.php?o=bx_froala_image&h=4162&dpx=2&t=1603447010


          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

          0 0 0 0 0 0
          • 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,
                );    
            0 0 0 0 0 0
            • 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 ?  

              0 0 0 0 0 0
              • Yep, Mayki , it is the "core" file and you will need to change it again after the upgrade.

                0 0 0 0 0 0
                Not logged in users can't 'Comments Post'.
                3
                3
                1
                1
                Labels:
                Added:
                Category:

                UNA - Social Media Software Framework

                Close