2.音频与视频数据缓冲对象增加时钟数据 @interface FFQueueAudioObject : NSObject @property (nonatomic, assign, readonly)float pts; @property (nonatomic, assign, readonly)float duration; - (instancetype)initWithLength:(int64_t)length pts:(float)pts duration:(float)duration; - (uint8_t *)data; -...
FFQueue is a graphical user interface for FFMpeg with comprehensive support for both the basic features but also the more advanced features like filtergraphs. FFQueue makes it easy to create multiple jobs and process them as a single queue. FFQueue can sort out the most significant output from F...
linux ffmpeg简易压缩视频 有时候录制的视频需要微信或者邮件发送,不需要画质多清晰,只需要在能看清内容的情况下,尽可能小,在windows下有格式工厂可以压缩,在linux下试了几个,都不好用,还是需要ffmepg直接操作。 linux下的图形化工具 ffqueue不能选择中文,使用有点麻烦,功能还算正常 handbrake功能可以满足需求,安装使用...
2.音频与视频数据缓冲对象增加时钟数据 @interfaceFFQueueAudioObject:NSObject @property(nonatomic,assign,readonly)floatpts; @property(nonatomic,assign,readonly)floatduration; - (instancetype)initWithLength:(int64_t)length pts:(float)pts duration:(float)duration; - (uint8_t *)data; - (int64_t)lengt...
pthread_mutex_lock(&(self->mutex));/// 读取当前的音频时钟时间double ac=self->audio_clock;pthread_mutex_unlock(&(self->mutex));FFQueueVideoObject*obj=NULL;/// 统计路过的视频帧数量int readCount=0;/// 首先读取一帧视频数据obj=[self.videoFrameCacheQueue dequeue];readCount++;/// 计算当前视频...