English 中文(简体)
如何将案文(标题)添加到正文4或m4v
原标题:how to add a text stream (subtitle) into a .mp4 or .m4v

我用刺.子把使用H264的录像转换成录像带,并用FAAC转换成录音带。 产出应为:mp4或m4v,以便在Anderson和Pi。 我想增加一个题为“STREAM”的子标题,以便使用刺.,但刺 documentation文件会大有助益。

谁能帮助我这样做?

最佳回答

你们是否可以使用男性,而不是ff子? 如果是,我建议如下:

mencoder input.avi -sub subtitles.sub -ovc lavc -oac copy -o output.mp4

For ffmpeg you can also try out the following command, although I have no way to guarantee it is actually working:

ffmpeg -i inputfile.avi -i subtitlefile.srt outputfile.avi -newsubtitle
问题回答

我的指挥工作窗口7:

ffmpeg -i input.mkv -filter_complex [0:v][0:s]overlay[v] -map [v] -map 0:a -acodec libvo_aacenc -ac 2 -ar 48000 -ab 320k output.mp4

You can refer to http://ffmpeg.org/trac/ffmpeg/wiki/How%20to%20burn%20subtitles%20into%20the%20video#picturebasedsubtitles for official descriptions.





相关问题
Mojarra for JSF Encoding

Can anyone teach me how to use mojarra to encode my JSF files. I downloaded mojarra and expected some kind of jar but what i had downloaded was a folder of files i don t know what to do with

encoding of file shell script

How can I check the file encoding in a shell script? I need to know if a file is encoded in utf-8 or iso-8859-1. Thanks

Using Java PDFBox library to write Russian PDF

I am using a Java library called PDFBox trying to write text to a PDF. It works perfect for English text, but when i tried to write Russian text inside the PDF the letters appeared so strange. It ...

what is encoding in Ajax?

Generally we are using UTF-8 encoding standard for sending the request for every language. But in some language this encoding standard is not working properly,then in that case we are using ISO-8859-1....

Encoding of window.location.hash

Does window.location.hash contain the encoded or decoded representation of the url part? When I open the same url (http://localhost/something/#%C3%BC where %C3%BCtranslates to ü) in Firefox 3.5 and ...

Auth-code with A-Za-z0-9 to use in an URL parameter

As part of a web application I need an auth-code to pass as a URL parameter. I am currently using (in Rails) : Digest::SHA1.hexdigest((object_id + rand(255)).to_s) Which provides long strings like : ...

热门标签