mod_mp4v2

Skip to end of metadata
Go to start of metadata

About

mod_mp4v2 implemented a record_mp4 APP and the mp4 file format.

  Click here to expand Table of Contents

Configuration

mod_mp4v2 implemented a record_mp4 APP and the mp4 file format.

So you could do (with video echoed back like record_fsv)

< action application = "record_mp4" data = "/tmp/test.mp4" />

or the record APP (without video echoed back, and need code in the video-media-bug branch to work), be sure to disable file write buffering, needed for audio/video(ear-mouth) sync.

< action application = "export" data = "enable_file_write_buffering=false" />
< action application = "record" data = "/tmp/test.mp4" />

Also uuid_record should work

uuid_record < uuid > start /tmp/test.mp4

Status

It's currently in the video-media-bug branch.

Audio codec using PCMU and video is H264 only.

There's a mod_mp4 which implemented play_mp4. However it need the mp4 file be probably "hinted". I haven't find a tool that can hint an existing mp4 file so I never get it work.

I tried to contact the original author but got no response. And also because mod_mp4 is C++ and I'm more happy to C, so I created mod_mp4v2. And also because I added the file format interface, I think it's more reasonable to put it under mod/formats.

Video has tons of params and most are hard coded. To make everything work still need a lot of work...

Compile

The current Makefile need mp4v2-2.0.0 in the current(mod_mp4v2) directory.

Download from http://code.google.com/p/mp4v2/downloads/list

git checkout video-media-bug
cd src/mod/formats/mod_mp4v2
cd mp4v2-2.0.0
make
cd ..
make install

Have fun.

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值