摘要:
Here is a small bash script for automatically cutting a video file into smaller chunks of fixed length. ffmpeg cannot output multiple files, but it has start offset and duration parameters which my script uses to actually split the file.For example, if we have a video called 'video.mpeg' whi 阅读全文
摘要:
#TOP1 All in one SEO Pack本来我以为wordpress下载量第一的应该是akisment这样神一般的插件,没想到排名第一的是SEO的插件,看来SEO还是很重要啊。 迄今为止,这款插件的下载次数为8739345.之前有人说过这个插件对中文的支持不好,不知道是真是假。moioi使用的SEO插件是headspace2 SEO。#TOP2 Akismet神一样的插件,防止垃圾评论特别有效,而且不需要用户输入验证码。启用Akismet插件之后需要输入一枚Akismet API KEY。注册wordpress.com就能获得Akismet API key。目前这款插件的下载次数是7 阅读全文
摘要:
1,检查防火墙2,打开防火墙时若显示“由于不可识别问题 windows 无法显示 windows 防火墙设置。”解决: 将下列文本复制到“记事本”中,然后将文件另存为 Sharedaccess.reg: Windows Registry Editor Version 5.00 [-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess] [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess] "DependOnGroup" 阅读全文
摘要:
AVPacket AVPacket定义在avcodec.h中,如下: typedefstructAVPacket { /** * Presentation timestamp in AVStream->time_base units; the time at which * the decompressed packet will be presented to the user. * Can be AV_NOPTS_VALUE if it is not stored in the file. * pts MUST be larger or equal to dts a... 阅读全文
摘要:
AVFormatContext 这个结构体描述了一个媒体文件或媒体流的构成和基本信息,定义如下: typedefstructAVFormatContext { constAVClass *av_class; /**< Set by avformat_alloc_context. */ /* Can only be iformat or oformat, not both at the same time. */ structAVInputFormat *iformat; structAVOutputFormat *oformat; void *priv_data; ... 阅读全文