Announcement

Collapse
No announcement yet.

The Video Acceleration State On Linux GPU Drivers

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Originally posted by Hamish Wilson View Post
    I was under the impression that the new encoding scheme had not even been cracked yet for basic playback. Can you provide us with anymore information with how this was done?
    It hasn't been cracked, and can't be cracked once and for all, unlike CSS.

    But people have figured out how to extract keys from the discs, and if you get your hands on the crypto key, you can play the movie. One crypto key per movie, remember, so they have to keep cracking them and you need to keep getting them.

    Comment


    • #17
      Originally posted by pingufunkybeat View Post
      It hasn't been cracked, and can't be cracked once and for all, unlike CSS.

      But people have figured out how to extract keys from the discs, and if you get your hands on the crypto key, you can play the movie. One crypto key per movie, remember, so they have to keep cracking them and you need to keep getting them.
      Exaclty. However, I don't need to find the crypto key for each movie, I (somewhere) got my hands on a file with host certificates, and am using that. Until I stumble upon a disc with those revoked, I'm fine.

      edit : Actually the "somewhere" turns out to be linked to on the archlinux wiki page about bluray, I forgot that part. I guess I'll need to find an up to date list
      Last edited by Serafean; 02-05-2013, 08:13 PM.

      Comment


      • #18
        This method works with AACS protected bluray discs.
        But what about BD+ protection, is that defeated too?

        Comment


        • #19
          Originally posted by MastaG View Post
          This method works with AACS protected bluray discs.
          But what about BD+ protection, is that defeated too?
          MakeMkv decrypts them, it seems… http://www.makemkv.com/faq/item/9

          Comment


          • #20
            Originally posted by phoronix View Post
            Phoronix: The Video Acceleration State On Linux GPU Drivers

            For those of you curious about the state of hardware-assisted video playback acceleration on the Linux graphics drivers, here's a brief overview...

            http://www.phoronix.com/vr.php?view=MTI5Mzk
            Michael, the article contains some omissions. VA-API features the following capabilities today:

            * Decoding:
            - JPEG
            - MPEG-2
            - MPEG-4:2
            - H.264
            - VC-1

            * Encoding:
            - MPEG-2
            - MPEG-4:2
            - H.264

            * Video processing (WIP):
            - Noise reduction
            - Color balance (ProcAmp)
            - Color conversion between various formats
            - Advanced de-interlacing (temp/spatial) but no strong driver implementation yet

            * Rendering:
            - Raw DRM for transcoding pipelines without any display server or even monitor attached
            - X11
            - GLX (deprecated)
            - EGL
            - Wayland

            As you mentioned, VA-API is constantly improving, so more capabilities are in the works.

            Note: 10-bit per YUV component is not supported. i.e. no Hi10P.

            Besides, VA-API is nothing without HW coverage (drivers) and SW coverage (applications). So far, I can count around 5 different types of hardware that could be supported by around 6 different drivers or shim layers. On the software side, most applications support VA-API nowadays too. i.e. HW and SW coverage indeed looks quite good.

            Comment


            • #21
              Originally posted by gbeauche View Post
              Besides, VA-API is nothing without HW coverage (drivers) and SW coverage (applications).
              gbeauche, could you point me to SW which uses the VAAPI encode capabilities? Thanks.

              Comment


              • #22
                @thofke:
                Please check out the libva github, here an example of howto using the encoder within vaapi is demonstrated. Pretty limited, but a good starting point.

                Comment


                • #23
                  err, sorry freedesktop of course.

                  Comment


                  • #24
                    5 years ago it would be nice, now not so much.

                    For about 2 or 3 years I've been using mutithreaded mplayer with multithreaded ffmpeg (now in mainline), my mobile 1.6GHz Core2 Duo can play nearly all full HD content smoothly (there are problems only in very dynamic scenes), has no problem with 10bit encoding and plays basically anything I can throw at it. A mobo with inegrated GPU and 2GHz i3 will cost less than anything with a modern nVidia GPU (HTPC cases are small so most people will have to buy a new mobo anyway).

                    So I simply don't get the point of all of it now. The (non existing) 4K content?!

                    Comment


                    • #25
                      AMD/ATi

                      I know you guys use Nvidia, or most of you do. But I just have to say I have never had any luck with Nvidia on any Linux system I ever built. I always ran into crash after crash and lockups. I'm not talking about two or three systems either, more like ten with all different hardware. Looking at Launch Pad bug reports, seems like many users have the same problems I did yet people still recommend Nvidia.

                      On the other hand, I currently use AMD/ATI cards in my boxes and finally have the pleasure of some stability; I haven't had any problems with games either. Now why is this? Is it some kind of ignorance or fanboy tendencies to use Nvidia? because I much prefer Stability.

                      Later today, since I'm not busy, I'm going to try Linux on some of my old boxes so I can give them away to less fortunate people. They have Voodoo, S3 Virge and other cards, I'll see how well those react. I hear the S3's should do pretty good in a 2D environment. Any of you had any luck with new distros on old systems?.

                      Comment


                      • #26
                        Surprisingly nobody mentioned 24p which is only possible on nvidia as far as I know. My TV is two years old now and supports a multiple of 24Hz, so I would assume most modern TV's can do it as well. All blu-ray material is in 24p.

                        Comment


                        • #27
                          Originally posted by thofke View Post
                          gbeauche, could you point me to SW which uses the VAAPI encode capabilities? Thanks.
                          * libva (avcenc):
                          http://cgit.freedesktop.org/vaapi/libva/

                          * VLC:
                          https://github.com/BtbN/vlc/ ("vaapi" branch)

                          * gstreamer-vaapi:
                          http://gitorious.org/~windyuan/vaapi...streamer-vaapi ("encoder" branch)

                          Note: the API for encoding will slightly evolve in the next weeks to make it easier to use and get it actually used in more projects. Comments from the community are also welcome.

                          Comment


                          • #28
                            Originally posted by duby229 View Post
                            What other choice is there? BD is the only HD format being sold nowadays.
                            If you're not allowed to play BluRay, then don't buy BluRay. If BluRay is the only thing being sold, then don't choose things-that-are-sold.

                            Personally, my own solution to their "we don't want your money" position, is to let someone else buy the disks and deal with all the hassles caused by the DRM. This keeps my dirty offensive "Linux money" (?) out of the studios' pockets, so they won't be offended by its odious qualities.

                            The studios have the satisfaction of knowing they're untainted by Linux users' funding, and we get to continue using Linux to play the movie files, and we save a lot of money as a side-effect. Everyone wins.

                            It's not a solution that I would have thought up on my own, and I don't think it's perfect, but it's the best we can do within the constraints imposed by one of the parties in question. If they ever change their minds about some sniggling minor detail that apparently no one cares about (like, oh, I don't know .. REVENUE???) then they can drop the damn "Just Say No to customers" crypto.

                            Comment


                            • #29
                              Originally posted by Mike Frett View Post
                              Later today, since I'm not busy, I'm going to try Linux on some of my old boxes so I can give them away to less fortunate people. They have Voodoo, S3 Virge and other cards, I'll see how well those react. I hear the S3's should do pretty good in a 2D environment. Any of you had any luck with new distros on old systems?.
                              I hope you don't have any Sis graphics in those machines, because some of those don't even have the VESA BIOS Extensions implemented correctly...

                              Comment


                              • #30
                                More propaganda. I've got a 9 year old Athlon64 1.8 GHz single-thread and a very modest radeon 5450 card and I'm watching a 1080p .mp4 movie with mplayer and it is using a grand total of that cpu of ...wait for it... 10%. Oh no how dare AMD use up 10% of a single thread to play a 1080p movie? How can we tolerate this? Michael I hope you read this cause I'm sick of this crap you post on your website. Soon will be time to get my linux news from a website that doesn't have an axe to grind. Like I need this along with your insane advertisement saturation?

                                Comment

                                Working...
                                X