简体   繁体   English

h264提供程序开始

[英]h264 provider start

i am trying to make ffmpeg or x264 provider that will encode videos.. Well i have been looking at some tools and such and. 我试图使ffmpeg或x264提供程序将对视频进行编码。.那么我一直在寻找一些工具,诸如此类。 i don't know.. I would need to make my own api. 我不知道..我需要制作自己的api。 I have done the same 4 ffmpeg for flv1 but h264 seems much different.. 我为flv1做了相同的4 ffmpeg,但是h264似乎有很大的不同。

can anyone give me some basics where and how to start? 谁能给我一些基础知识,从何处开始?

Ah.. as i don't have any answers and i did resolve this.. here is what i did do.. After loosing a lot of time, downloading many files, reading unclear documentation and so on and so on... 啊..因为我没有任何答案,而且我确实解决了这个问题。..这就是我的工作。.浪费了很多时间,下载了许多文件,阅读了不清楚的文档后,依此类推...

best and most important thing here is avisynth tool that can load any kind of video under directshow - do really a lot (using it's own script language) and then send that script to x264.exe encoder that will create video, which u will need to include with mp3 (also extracted by using avisynth plugin) and wrap it into mp4 file with mp4box.exe. 最好和最重要的是,avisynth工具可以在directshow下加载任何类型的视频-确实做了很多(使用其自身的脚本语言),然后将该脚本发送到x264.exe编码器,该编码器将创建视频,您需要包含在mp3中(也可以通过使用avisynth插件提取),并使用mp4box.exe将其包装到mp4文件中。

All this jobs are done by running process from .net that will return output. 通过从.net运行将返回输出的进程来完成所有这些作业。

My list of tools is: avisynth - best thing for video ever made ffmpeg - to get images out but u can use it for other things if u like x264 - to get x264 video out from avs (avisynth script) mp3box - to combine 264 file with mp3 into h264 soundout - avi synth plugin to extract mp3 sound from avisynth video yadif - avi synth plugin to do some tihngs 我的工具列表是:avisynth-ffmpeg制作过的视频中最好的东西-获取图像,但是如果您喜欢x264,则可以将其用于其他事情-从avs(avisynth脚本)mp3box中获取x264视频-合并264文件与mp3插入h264声音中-avi synth插件从avisynth video yadif中提取mp3声音-avi synth插件进行一些操作

My choice would be to use Mencoder. 我的选择是使用Mencoder。

Try to find a binary version that has pre-compiled support for x264 (or compile your own!) in order to use it for H.264 encoding. 尝试找到一个预编译了对x264的支持的二进制版本(或自己编译!),以便将其用于H.264编码。 In order to see what things your Mencoder binary support, try the command 为了查看您的Mencoder二进制文件支持什么,请尝试以下命令

mencoder -ovc help

If you get x264 somewhere in that list, you are good to go. 如果您在该列表中的某处获得了x264,则可以使用。

After that, you can use Mencoder to transcode any kind of video to H.264. 之后,您可以使用Mencoder将任何类型的视频转码为H.264。 Please check the mencoder manual here to get started: 请在此处查看Mencoder手册以开始使用:

http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-x264.html http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-x264.html

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

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