繁体   English   中英

在Mac上,我应该使用哪种h264编码器作为gstreamer管道?

[英]What h264 encoder should I use as a gstreamer pipe on Mac?

在Mac OS X上,我已经使用以下方式安装了所有gstreamer插件:

brew install gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-ffmpeg010

我正在尝试使用以下gstreamer管道将一系列照片从延时转换为.mp4:

gst-launch-1.0 -e multifilesrc location="image_%04d.jpg" ! image/jpeg, framerate=12/1 ! decodebin ! video/x-raw, width=1296, height=976 ! progressreport name=progress ! omxh264enc target-bitrate=15000000 control-rate=variable ! video/x-h264, profile=high ! h264parse ! mp4mux ! filesink location=test.mp4

当我运行命令时,出现错误:

WARNING: erroneous pipeline: no element "omxh264enc"

是否有适用于Mac OS X的h264编码管道可以完成此管道,或者是安装omxh264enc

尝试安装gst-libav软件包并使用avenc_ *插件之一。 例如avenc_mpeg4。 它是一种软件编码器,而omxh264代表硬件编码器。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM