[opensuse-factory] ffmpeg and h264 (again) using vaapi
Hello, I am running Leap 42.3. It is stated that H.264 is disabled in ffmpeg in opensuse due to legal reasons: https://en.opensuse.org/SDB:Firefox_MP4/H.264_Video_Support However, some hardware (for instance Intel Quick Sync Video) have ability to hardware h264 decoding. And this currently works for me out of the box via gstreamer-vaapi. So, I think hardware h264 decoding is allowed in opensuse. At the same time, I've failed to achive this for ffmpeg. I am tring to follow this guide: https://trac.ffmpeg.org/wiki/Hardware/VAAPI But every time I see the following: "This build of ffmpeg does not include a "h264" decoder needed for input stream #0:0." Well, is it possible to force ffmpeg use vaapi by default to decode h264 in hardware? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday, 2017-10-28 at 23:04 +0300, Matwey V. Kornilov wrote:
Hello,
I am running Leap 42.3. It is stated that H.264 is disabled in ffmpeg in opensuse due to legal reasons:
https://en.opensuse.org/SDB:Firefox_MP4/H.264_Video_Support
However, some hardware (for instance Intel Quick Sync Video) have ability to hardware h264 decoding. And this currently works for me out of the box via gstreamer-vaapi. So, I think hardware h264 decoding is allowed in opensuse.
At the same time, I've failed to achive this for ffmpeg. I am tring to follow this guide: https://trac.ffmpeg.org/wiki/Hardware/VAAPI
But every time I see the following: "This build of ffmpeg does not include a "h264" decoder needed for input stream #0:0." Well, is it possible to force ffmpeg use vaapi by default to decode h264 in hardware?
Are you using the packman or the OSS build? - -- Cheers, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAln05/MACgkQtTMYHG2NR9V9/gCfX4uxAHS4WpYLDHjAkLaxr+q1 RMUAoJQEE/VNYPWQG8Wdr1xiqPkR5XNT =BfUn -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
28.10.2017 23:26, Carlos E. R. пишет:
On Saturday, 2017-10-28 at 23:04 +0300, Matwey V. Kornilov wrote:
Hello,
I am running Leap 42.3. It is stated that H.264 is disabled in ffmpeg in opensuse due to legal reasons:
However, some hardware (for instance Intel Quick Sync Video) have ability to hardware h264 decoding. And this currently works for me out of the box via gstreamer-vaapi. So, I think hardware h264 decoding is allowed in opensuse.
At the same time, I've failed to achive this for ffmpeg. I am tring to follow this guide: https://trac.ffmpeg.org/wiki/Hardware/VAAPI
But every time I see the following: "This build of ffmpeg does not include a "h264" decoder needed for input stream #0:0." Well, is it possible to force ffmpeg use vaapi by default to decode h264 in hardware?
Are you using the packman or the OSS build?
I am using packages OSS build.
-- Cheers, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday, 2017-10-28 at 23:30 +0300, Matwey V. Kornilov wrote:
28.10.2017 23:26, Carlos E. R. пишет:
On Saturday, 2017-10-28 at 23:04 +0300, Matwey V. Kornilov wrote:
But every time I see the following: "This build of ffmpeg does not include a "h264" decoder needed for input stream #0:0." Well, is it possible to force ffmpeg use vaapi by default to decode h264 in hardware?
Are you using the packman or the OSS build?
I am using packages OSS build.
Well, that's the reason. Try use the packman build instead. - -- Cheers, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAln066IACgkQtTMYHG2NR9Wn9ACfWmgF4otk1elY1Gz6oe2J65Lc 9ckAnjySAcwC+6eGSBtoic2Omji9s5Lr =7ZIg -----END PGP SIGNATURE-----
On 28/10/2017 22:04, Matwey V. Kornilov wrote:
Hello,
I am running Leap 42.3. It is stated that H.264 is disabled in ffmpeg in opensuse due to legal reasons:
https://en.opensuse.org/SDB:Firefox_MP4/H.264_Video_Support
However, some hardware (for instance Intel Quick Sync Video) have ability to hardware h264 decoding. And this currently works for me out of the box via gstreamer-vaapi. So, I think hardware h264 decoding is allowed in opensuse.
At the same time, I've failed to achive this for ffmpeg. I am tring to follow this guide: https://trac.ffmpeg.org/wiki/Hardware/VAAPI
But every time I see the following: "This build of ffmpeg does not include a "h264" decoder needed for input stream #0:0." Well, is it possible to force ffmpeg use vaapi by default to decode h264 in hardware?
Unfortunately ffmpeg doesn't have vaapi decoders, only encoders and vaapi is enabled in all builds. There are no options for vaapi decoders in configure only --enable-vaapi. This is from ffmpeg-3.4. Dave P -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
29.10.2017 10:07, Dave Plater пишет:
On 28/10/2017 22:04, Matwey V. Kornilov wrote:
Hello,
I am running Leap 42.3. It is stated that H.264 is disabled in ffmpeg in opensuse due to legal reasons:
https://en.opensuse.org/SDB:Firefox_MP4/H.264_Video_Support
However, some hardware (for instance Intel Quick Sync Video) have ability to hardware h264 decoding. And this currently works for me out of the box via gstreamer-vaapi. So, I think hardware h264 decoding is allowed in opensuse.
At the same time, I've failed to achive this for ffmpeg. I am tring to follow this guide: https://trac.ffmpeg.org/wiki/Hardware/VAAPI
But every time I see the following: "This build of ffmpeg does not include a "h264" decoder needed for input stream #0:0." Well, is it possible to force ffmpeg use vaapi by default to decode h264 in hardware?
Unfortunately ffmpeg doesn't have vaapi decoders, only encoders and vaapi is enabled in all builds. There are no options for vaapi decoders in configure only --enable-vaapi. This is from ffmpeg-3.4.
That is sad. Wouldn't be it cool to support H264 out of the box via VAAPI (on some machines) without legal issues?
Dave P
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 29/10/2017 10:45, Matwey V. Kornilov wrote:
29.10.2017 10:07, Dave Plater пишет:
On 28/10/2017 22:04, Matwey V. Kornilov wrote:
Hello,
I am running Leap 42.3. It is stated that H.264 is disabled in ffmpeg in opensuse due to legal reasons:
https://en.opensuse.org/SDB:Firefox_MP4/H.264_Video_Support
However, some hardware (for instance Intel Quick Sync Video) have ability to hardware h264 decoding. And this currently works for me out of the box via gstreamer-vaapi. So, I think hardware h264 decoding is allowed in opensuse.
At the same time, I've failed to achive this for ffmpeg. I am tring to follow this guide: https://trac.ffmpeg.org/wiki/Hardware/VAAPI
But every time I see the following: "This build of ffmpeg does not include a "h264" decoder needed for input stream #0:0." Well, is it possible to force ffmpeg use vaapi by default to decode h264 in hardware?
Unfortunately ffmpeg doesn't have vaapi decoders, only encoders and vaapi is enabled in all builds. There are no options for vaapi decoders in configure only --enable-vaapi. This is from ffmpeg-3.4.
That is sad. Wouldn't be it cool to support H264 out of the box via VAAPI (on some machines) without legal issues?
nvidia cuvid does this but it had to be disabled because browsers, at least firefox, mistakenly tried to use the codecs on non nvidia hardware. https://bugzilla.opensuse.org/show_bug.cgi?id=1041794 Maybe a later version of ffmpeg will support decoders. Their reason for hardware acceleration in encoders is to speed them up. Anyway there might be the same problem with vaapi as there was with cuvid. On Tumbleweed you only need unrestricted ffmpeg libraries installed and gstreamer will take care of everything, even if it was built against the restricted ffmpeg, now that gstreamer-plugins-libav is in the distribution. Dave P -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
29.10.2017 12:29, Dave Plater пишет:
On 29/10/2017 10:45, Matwey V. Kornilov wrote:
29.10.2017 10:07, Dave Plater пишет:
On 28/10/2017 22:04, Matwey V. Kornilov wrote:
Hello,
I am running Leap 42.3. It is stated that H.264 is disabled in ffmpeg in opensuse due to legal reasons:
https://en.opensuse.org/SDB:Firefox_MP4/H.264_Video_Support
However, some hardware (for instance Intel Quick Sync Video) have ability to hardware h264 decoding. And this currently works for me out of the box via gstreamer-vaapi. So, I think hardware h264 decoding is allowed in opensuse.
At the same time, I've failed to achive this for ffmpeg. I am tring to follow this guide: https://trac.ffmpeg.org/wiki/Hardware/VAAPI
But every time I see the following: "This build of ffmpeg does not include a "h264" decoder needed for input stream #0:0." Well, is it possible to force ffmpeg use vaapi by default to decode h264 in hardware?
Unfortunately ffmpeg doesn't have vaapi decoders, only encoders and vaapi is enabled in all builds. There are no options for vaapi decoders in configure only --enable-vaapi. This is from ffmpeg-3.4.
That is sad. Wouldn't be it cool to support H264 out of the box via VAAPI (on some machines) without legal issues?
nvidia cuvid does this but it had to be disabled because browsers, at least firefox, mistakenly tried to use the codecs on non nvidia hardware. https://bugzilla.opensuse.org/show_bug.cgi?id=1041794 Maybe a later version of ffmpeg will support decoders. Their reason for hardware acceleration in encoders is to speed them up. Anyway there might be the same problem with vaapi as there was with cuvid. On Tumbleweed you only need unrestricted ffmpeg libraries installed and gstreamer will take care of everything, even if it was built against the restricted ffmpeg, now that gstreamer-plugins-libav is in the distribution.
Dave P
Sure, but the latest Firefox, for instance, uses ffmpeg directly and doesn't like gstreamer, as far as I understand. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (3)
-
Carlos E. R.
-
Dave Plater
-
Matwey V. Kornilov