FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    FAF Website Main Video

    Scheduled Pinned Locked Moved Contribution
    51 Posts 15 Posters 3.4k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • RoweyR Offline
      Rowey
      last edited by

      the only issue a lot of them are limited to 720p Res hence why I was asking about if he had the original file

      "The needs of the many outweigh the needs of the few" - Spock

      1 Reply Last reply Reply Quote 0
      • KazbekK Offline
        Kazbek
        last edited by

        Give me a place where I can place 500mb file. After you can crop what you want on it.

        archsimkatA 1 Reply Last reply Reply Quote 0
        • archsimkatA Offline
          archsimkat @Kazbek
          last edited by

          @kazbek https://wetransfer.com/

          1 Reply Last reply Reply Quote 0
          • speed2S Offline
            speed2
            last edited by

            Having an auto playing video on the website doesnt sounds like a good idea

            JipJ 1 Reply Last reply Reply Quote 1
            • KazbekK Offline
              Kazbek
              last edited by

              https://we.tl/t-5ykTUuXYpX

              1 Reply Last reply Reply Quote 0
              • JipJ Offline
                Jip @speed2
                last edited by

                @speed2 said in FAF Website Main Video:

                Having an auto playing video on the website doesnt sounds like a good idea

                It won't make sound - just an animation sequence like BAR has:

                • https://www.beyondallreason.info/news

                A work of art is never finished, merely abandoned

                speed2S 1 Reply Last reply Reply Quote 0
                • Brutus5000B Offline
                  Brutus5000 FAF Server Admin
                  last edited by

                  You can't put a 5mb+ file as a background video on the main page...

                  "Nerds have a really complicated relationship with change: Change is awesome when WE'RE the ones doing it. As soon as change is coming from outside of us it becomes untrustworthy and it threatens what we think of is the familiar."
                  – Benno Rice

                  1 Reply Last reply Reply Quote 1
                  • RoweyR Offline
                    Rowey
                    last edited by Rowey

                    @Brutus5000 can you explain why its a 5mb+ cap for the main page. whats the limitation ? the clip being use was ripped from the C&C website for testing and its 8.7Mb

                    "The needs of the many outweigh the needs of the few" - Spock

                    Eternal-E 1 Reply Last reply Reply Quote 0
                    • Eternal-E Offline
                      Eternal- @Rowey
                      last edited by Eternal-

                      @rowey i think it should be light to load it faster

                      Profile | Eternal MOD pack | Check new client

                      1 Reply Last reply Reply Quote 0
                      • TheVVheelboyT Offline
                        TheVVheelboy
                        last edited by TheVVheelboy

                        Yeah, you don't wanna have a mobile user suddenly see 500mb disappear from their packet.
                        Though it's entirely possible to get this video 2 min video to like 30-40MB. Though I still think this is gonna be too much.

                        1 Reply Last reply Reply Quote 0
                        • RoweyR Offline
                          Rowey
                          last edited by

                          the current clip was using is 20 seconds and is only 8.8mb wich to me doesn't seem that much of a streach

                          "The needs of the many outweigh the needs of the few" - Spock

                          1 Reply Last reply Reply Quote 0
                          • Eternal-E Offline
                            Eternal-
                            last edited by

                            can be used webp, or smt that is better. Or some other types of streaming content

                            Profile | Eternal MOD pack | Check new client

                            1 Reply Last reply Reply Quote 0
                            • AskaholicA Offline
                              Askaholic
                              last edited by

                              You need to make sure it works on mobile. I’ve had videos like this cause all sorts of issues like completely freezing the page or crashing the browser or like others said just eating a ton of data. Don’t assume that you know what is “ok” for someone else’s data usage. Just because your mobile plan can handle it doesn’t mean that others can.

                              You also need to make sure that it scales properly on small screens and doesn’t make the whole website derp out. You can use CSS to load different resources depending on the screen size, so I’d recommend either loading a lower res version of the video or maybe not loading a video at all on mobile.

                              1 Reply Last reply Reply Quote 1
                              • speed2S Offline
                                speed2 @Jip
                                last edited by

                                @jip said in FAF Website Main Video:

                                @speed2 said in FAF Website Main Video:

                                Having an auto playing video on the website doesnt sounds like a good idea

                                It won't make sound - just an animation sequence like BAR has:

                                • https://www.beyondallreason.info/news

                                It still has 7,5MB
                                So if you're browsing on a phone and eats that much data for news, in our case for a webpage. I'd rather have a simple image

                                JipJ 1 Reply Last reply Reply Quote 0
                                • H-masterH Offline
                                  H-master
                                  last edited by

                                  Sounds good, for sure much better than an image from supcom 2.

                                  Check out my maps here:

                                  Madness 1 - 10

                                  https://forum.faforever.com/topic/480/h-master-s-maps

                                  1 Reply Last reply Reply Quote 0
                                  • Brutus5000B Offline
                                    Brutus5000 FAF Server Admin
                                    last edited by

                                    Since it's a background video it can be scaled down and have reduced framerate. I remember back in the days people had contests how they could fit best looking videos into tiny gifs. No clue what can be reached today but I would aim for 2mb max on the main page.

                                    "Nerds have a really complicated relationship with change: Change is awesome when WE'RE the ones doing it. As soon as change is coming from outside of us it becomes untrustworthy and it threatens what we think of is the familiar."
                                    – Benno Rice

                                    1 Reply Last reply Reply Quote 1
                                    • SwkollS Offline
                                      Swkoll Global Moderator
                                      last edited by

                                      For context, the existing image is already 2.3mb.

                                      K 1 Reply Last reply Reply Quote 1
                                      • TheVVheelboyT Offline
                                        TheVVheelboy
                                        last edited by TheVVheelboy

                                        Well on a certain game we are using webm and manage to get 720p 30fps videos that are 1.30 minute long in a range of 10-30Mb depending on how much action there is in it. So honestly I can see 720p 30s video at 15fps doable in range of like 5Mb.

                                        Actually might as well try seeing what will the trailer end up after moving it through ffmpeg with said settings in webm container.

                                        1 Reply Last reply Reply Quote 0
                                        • JipJ Offline
                                          Jip @speed2
                                          last edited by

                                          @speed2 said in FAF Website Main Video:

                                          @jip said in FAF Website Main Video:

                                          @speed2 said in FAF Website Main Video:

                                          Having an auto playing video on the website doesnt sounds like a good idea

                                          It won't make sound - just an animation sequence like BAR has:

                                          • https://www.beyondallreason.info/news

                                          It still has 7,5MB
                                          So if you're browsing on a phone and eats that much data for news, in our case for a webpage. I'd rather have a simple image

                                          I get your concerns - we could detect the fact that you're on a phone and show a static image instead.

                                          A work of art is never finished, merely abandoned

                                          1 Reply Last reply Reply Quote 2
                                          • K Offline
                                            Katharsas @Swkoll
                                            last edited by Katharsas

                                            First of all i think that pages that auto-play videos in the background suck in general, i would leave such a page as fast as possible. Kinda has this trashy "we are trying to be flashy at the cost of usability" vibe.

                                            @swkoll said in FAF Website Main Video:

                                            For context, the existing image is already 2.3mb.

                                            And that is why i have used my ad-blocker to block that image, because the image used to load really slowly for me and blocked other parts of the page from working fast. If it is a full HD picture then it should be possible to get it to be under 700KB in size, if you use a good format like JPG at reasonable quality

                                            As for video content, I generally think a better idea would be to embed a Youtube trailer in the page, so that people can decide if they want to pay the data cost. Then there is the simple fact that hosting a video yourself SUCKS. A Youtube video will be

                                            • encoded in the best way possible to be as small as possible
                                            • will auto-downscale the video so that multiple resolutions are available
                                            • will automatically select a good quality level depending on connection
                                            • allows people to easily share that video on social media if it is actually a good trailer

                                            I can tell you right now that you will not be able to get it working well by coding stuff yourself. Just use Youtube, please.

                                            1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post