2012年2月23日

Android中的模块(module)与设备(device)

摘要: http://blog.csdn.net/a345017062/article/details/6423866http://hi.baidu.com/henry_wen/blog/item/96a95bf59c10f9f07609d78d.html 阅读全文

posted @ 2012-02-23 22:34 eustoma 阅读(182) 评论(0) 推荐(0)

视频、音频打时间戳的方法

摘要: http://blog.csdn.net/wfqxx/article/details/54971381. 视频时间戳 pts = inc++ *(1000/fps); 其中inc是一个静态的,初始值为0,每次打完时间戳inc加1. 在ffmpeg,中的代码为 pkt.pts= m_nVideoTimeStamp++ * (m_VCtx->time_base.num * 1000 / m_VCtx->time_base.den);2. 音频时间戳 pts = inc++ * (frame_size * 1000 / sample_rate) 在ffmpeg中的代码为 pkt.pts= 阅读全文

posted @ 2012-02-23 13:19 eustoma 阅读(709) 评论(0) 推荐(0)

导航