English 中文(简体)
我怎么能把录像带给 h264?
原标题:How can I encode a video to h264?

我正试图通过全球疫苗和免疫联盟,特别是利用全球疫苗和免疫联盟,发送一个视频文件。 为了做到这一点,我首先要获得任何录像,就我们而言,我们摄取了6部关于我们挨饿和与摄像机交谈的录像。 在这样做之后,我们创建了一个“管道”档案。 我认为,使用mkfifo,用于投入和产出档案。 之后,我相信,我本来应该拯救录像带,用我发现的指挥把我带走了头264条衣着:

gst-launch -e -v v4l2src device="/dev/video1" ! video/x-raw-yuv, framerate=25/1, width=640, height=360 ! 	imeoverlay halign=right valign=bottom shaded-background=true ! 	extoverlay text="Test Video 640x360 25fps" halign=left valign=bottom shaded-background=true ! x264enc bitrate=498 ! mpegtsmux ! filesink location=test1.ts

这给我留下了一个错误:

WARNING: erroneous pipeline: no element "x264enc"

我正试图寻找如何解决这一问题,我基本上安装了可能与海豹或X264enc指挥部有关的每套或图书馆。

我如何能够解决这个问题? 提前感谢。

最佳回答

http://www.videolan.org/developers/x264.html

问题回答

<代码>gst-inspect x264enc关于指挥线。

如果能显示你有,你需要从管道合成中寻找其他一些问题。

如不显示<条码>x264enc,则需有<条码>gst-plugin, 并配有x264enc。 相应的排球可能

gst-plugins-ugly

Extract it and try installing it with:

http://www.ohchr.org。

<代码>cd至目录,然后

sudo ./configure
sudo make
sudo make install

现在也许会奏效。





相关问题
Custom Formating a DateTimePicker using CultureInfo

I am using the DateTimePicker control in a Vb.Net Windows project. I would like the date to reflect the Regional Settings on the user s computer, but also to show the month name, rather than the ...

What settings storage format to choose?

I m writing a Qt application and will need to store the settings for the program. I want them to be easily editable by non-advanced users yet be flexible enough for advanced users (thus allow easy ...

Parsing date with timezone from an email?

I am trying to retrieve date from an email. At first it s easy: message = email.parser.Parser().parse(file) date = message[ Date ] print date and I receive: Mon, 16 Nov 2009 13:32:02 +0100 But I ...

Arduino String Formatting Issue

I m making an Arduino-powered clock, and in the process, I m trying to format integers into two-digit formatted strings for the time read-out (e.g. 1 into "01"). The following gives me "error: ...

How to get fields from such a string?

I m importing some data from a database. The data has been stored by a CMS written in php where I have no control. Here is the data (a dense report from a paypal response): a:56:{ s:8:"business";s:19:...

Nginx raises 404 when using format => js

I upload images to my App using Ajax and an Iframe. In Development everything works like a charm. But in production Nginx suddenly raises a 404 error. When I look into the log, the request never hits ...

Check if string is of SortableDateTimePattern format

Is there any way I can easily check if a string conforms to the SortableDateTimePattern ("s"), or do I need to write a regular expression? I ve got a form where users can input a copyright date (as a ...

热门标签