带 VDPAU 的 GStreamer(使用 nVidia 卡进行 h264 加速)

发布于 2024-10-03 16:16:46 字数 563 浏览 0 评论 0原文

我使用最新版本的 gstreamer 插件很糟糕,我想尝试 VDPAU。 我用搅拌机基金会的大兔子电影进行了测试。 我尝试过这个命令: gst-launch-0.10 filesrc=/home/alex/big.mp4 ! mp4复用器! vdpauh264dec ! vdpau视频后处理! vdpausink 但它无法将 mp4mux 与 vdph264dec 链接。

我还尝试使用 ffdemux_mov_mp4_m4a_3gp_3g2_mj2 而不是 mp4mux 和 gst-launch 失败,但出现错误消息:

[...]
Could not create vdpau decoder
[...]
Error returned from vdpau was: An invalid/unsupported VdpDecoderProfile value was supplied
[...]

How can I play h264 with VDPAU features of my NVIDIA 卡?

预先感谢您的任何帮助,请原谅我的英语不好。

问候,

I use last version of gstreamer plugins bad and I would like to try VDPAU.
I test with the big buck bunny movie from blender foundation.
I've try with this command :
gst-launch-0.10 filesrc=/home/alex/big.mp4 ! mp4mux ! vdpauh264dec ! vdpauvideopostprocess ! vdpausink but it could not link mp4mux with vdph264dec.

I also tried with ffdemux_mov_mp4_m4a_3gp_3g2_mj2 instead of mp4mux and gst-launch fail but with an error message :

[...]
Could not create vdpau decoder
[...]
Error returned from vdpau was: An invalid/unsupported VdpDecoderProfile value was supplied
[...]

How can I play h264 with VDPAU capabilities of my NVIDIA card?

Thanks in advance for any help, and please excuse my bad english.

Regards,

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

递刀给你 2024-10-10 16:16:46

mp4mux 是一个复用器,而不是一个解复用器。您确实应该使用 ffdemux_mov_mp4_m4a_3gp_3g2_mj2。以下命令行对我有用:

gst-launch-0.10 filesrc location=/home/manu/big.mov ! ffdemux_mov_mp4_m4a_3gp_3g2_mj2 ! vdpauh264dec ! vdpauvideopostprocess ! vdpausink

mp4mux is a muxer, not a demuxer. You should indeed use ffdemux_mov_mp4_m4a_3gp_3g2_mj2. The following command line worked for me:

gst-launch-0.10 filesrc location=/home/manu/big.mov ! ffdemux_mov_mp4_m4a_3gp_3g2_mj2 ! vdpauh264dec ! vdpauvideopostprocess ! vdpausink
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文