libavcodec compilation (h264 disabled & hw-accels enabled)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

libavcodec compilation (h264 disabled & hw-accels enabled)

Rémi Latapy
Hi,

I'm trying to build ffmpeg with hardware decoding enabled but without any decoders, like h264 decoder.. Is it possible ?
From what I understanding, enabling hw accels makes h264 decoder enabled too.
This is for a legal issue.

Thanks
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: libavcodec compilation (h264 disabled & hw-accels enabled)

Moritz Barsnick
On Mon, Jun 12, 2017 at 07:19:55 +0000, Rémi Latapy wrote:
> I'm trying to build ffmpeg with hardware decoding enabled but without
> any decoders

If you don't want *any* decoders, why do you need hardware decoding?

> , like h264 decoder.. Is it possible ?

configure has the option:
  --disable-decoder=NAME(s)

See here:
https://www.ffmpeg.org/ffmpeg-codecs.html#Decoders

I believe --disable-decoder takes a comma-separated list.

> This is for a legal issue.

I hope your lawyer is giving you good advice. If you explicitly disable
the H.264 codecs, ffmpeg will probably still be able to decode HEVC and
many other codecs, many of which *may* also have legal issues
(depending on what you're exactly trying to achieve or comply to).

IIANL,
Moritz
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: libavcodec compilation (h264 disabled & hw-accels enabled)

Rémi Latapy-2
> If you don't want *any* decoders, why do you need hardware decoding?

I mean I only want decoders which use os api. Using only hw decoders in ffmpeg should fit this requirement. But dxva2_h264 or vda_h264 are not standalone decoders and need the "full" h264 decoders, if I well understand. When if I disable h264 decoder, it disable dxva2 hw accel. If I force enable dxva2, it re-enable h264 decoder.
Yes I already disable everything else. (except what come with h264 decoder like demuxer, parsers...)
So I think what I'm looking for is not possible today.
Thanks

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".