NMM视频技术(旧)

 找回密码
 成为会员
搜索
查看: 5931|回复: 5

[AVC(H.264)] 求助~~Linux下使用X264编码

[复制链接]
发表于 2007-10-30 09:26 | 显示全部楼层 |阅读模式
因工作需要实现linux下的h.264编码工作,以前用的是MainConcept的编码软件
编码的文件用MediaInfo查看
General #0
Complete name        : check.mpg
Format               : MPEG-4 Transport
Format/Family        : MPEG-4
File size            : 5.92 MiB
PlayTime             : 33s 16ms
Bit rate             : 1504 Kbps

Video #0
Codec                : AVC
Codec/Info           : MPEG-4 AVC
Codec profile        : Main@L3.1
PlayTime             : 33s 16ms
Bit rate             : 1345 Kbps
Width                : 720 pixels
Height               : 576 pixels
Aspect ratio         : 4/3
Standard             : PAL
PixelAspectRatio     : 1.091
DisplayAspectRatio   : 1.364

Audio #0
Codec                : MPEG-1 Audio layer 2
Bit rate             : 128 Kbps
Bit rate mode        : CBR
Channel(s)           : 2 channels
Sampling rate        : 48 KHz
Resolution           : 16 bits
Writing library      : Xing (new)
我以前从未搞过视频这块,真正的菜鸟
我现在在Fedora 7上安装了x264,ffmpeg
我用x264怎么也编不出上面的格式,每次都不对
General #0
Complete name        : x001.264
Format               : AVC
Format/Info          : Advanced Video Codec
Format/Family        : AVC
File size            : 3.63 MiB

Video #0
Codec                : AVC
Codec/Info           : MPEG-4 AVC
Codec profile        : Main@L5.1
Width                : 720 pixels
Height               : 576 pixels
Aspect ratio         : 5/4
Standard             : PAL
PixelAspectRatio     : 1.000
DisplayAspectRatio   : 1.250

请各位大侠出手相助,需要怎么设置x264的参数?或者说什么别的办法?谢谢
发表于 2010-2-18 08:56 | 显示全部楼层
LINUX没法使用avisynth,压片时反交错咋弄?还有CROP.RESIZE等.
有可以代替的软件吗?
发表于 2010-2-18 09:09 | 显示全部楼层
本帖最后由 a4840639 于 2010-2-18 09:12 编辑

不知道你的意思是哪里不对,如果是说比例的话在x264的参数里头加上--sar 12:11
如果是封装不对的话可以用用FFMPEG把输出的.264文件和音频合成转封,不过MPEG-4 TS这东西还真是没怎么听说过,估计和MPEG-4 AAC一样是个马甲吧
发表于 2010-2-18 09:42 | 显示全部楼层
aki似乎以前跟我提到过,说MPEG-4 AAC和MPEG-2 AAC不完全一样。我对音频是外行,详细不知道。
Linux下可以用ffmpeg压嘛……现在x264支持ffms了,将来实现全平台对应也是指日可待的。不过这个帖子发出来的时候(2007年)可没这么睾级的东西。
发表于 2010-2-18 10:28 | 显示全部楼层
好吧,没注意居然是个坟...无语了
发表于 2010-2-23 19:10 | 显示全部楼层
回复 2# nmm520


    there have ,named avisynth 3

but a dead project.

hard to compile

i failed
您需要登录后才可以回帖 登录 | 成为会员

本版积分规则

小黑屋|手机版|NMM视频技术

GMT+8, 2025-5-5 22:56 , Processed in 0.123974 second(s), 14 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表