
Stream Media
文章平均质量分 62
fanbird2008
这个作者很懒,什么都没留下…
展开
-
YV12 and NV12
用videoCapture和IAMStreamConfig拿到的支持的格式列表。发现支持2中图像格式,YV12和NV12。具体是怎么样的内存分布不知道。查了些文档。自己修改了几个图。看出了点端倪YV12先看看 http://www.fourcc.org/yuv.php 上比较标准的定义:YV12This is the format of choice for man转载 2012-11-28 08:06:43 · 44236 阅读 · 7 评论 -
t2
static uint8_t text2[][40]= { {0x04, 0x1d, 0x07, 0x43, 0x6f, 0x72, 0x73, 0x6f, 0x20, 0x64, 0x69, 0x20, 0x46, 0x4f, 0x52, 0x45, 0x58, 0x20, 0x07, 0x1d, 0x04, 0x20, 0x20, 0x20, 0x20, 0x20原创 2012-06-29 18:21:41 · 530 阅读 · 0 评论 -
t0
static uint8_t text0[][40]= { {0x04, 0x1d, 0x07, 0x45, 0x63, 0x6f, 0x6e, 0x6f,0x6d, 0x69, 0x61, 0x20, 0x07, 0x1d, 0x04, 0x20,0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x30,0x31, 0x2e, 0x30原创 2012-06-29 18:18:31 · 434 阅读 · 0 评论 -
2
/* * DVB subtitle encoding * Copyright (c) 2005 Fabrice Bellard * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms o原创 2012-06-29 18:11:36 · 590 阅读 · 0 评论 -
vlc-1
一、简介 VLC的全名是Video Lan Client,是一个开源的、跨平台的视频播放器。VLC支持大量的音视频传输、封装和编码格式,完整的功能特性列表可以在这里获得http://www.videolan.org/vlc/features.html,下面给出一个简要的不完整的列表: 操作系统:Windows、WinCE、Linux、MacOSX、BEOS、BSD 访转载 2012-04-13 10:37:03 · 994 阅读 · 0 评论 -
pcr theory
PCR是节目时钟参考的英文缩写。从其字面上我们可以得晓,该参量应该和解码有关,因为在解码的时候才涉及到节目的概念。在解码以前的传输阶段中,出现的都是离散的数字信号,因此我们在分析PCR的时候,可以建立在一个比较单一、理想的环境中,即编码和解码端的时钟配对问题和定时问题。在这里略去了PCR抖动—即提取到的时钟信号在中心位置上左右变化。这又使我们分析的环境简单化。TS包头自适应区中存在的6B的PCR结转载 2012-04-12 11:17:28 · 596 阅读 · 0 评论 -
Teletext
Teletext就 是我们常说的”图文电视”,当然在MPEG-2中,图文电视已经数字化,也就是说,图文信息已经做为数字化信息在TS流中传播.但最终,数字化的图文信息 都将转化为模拟的VBI信息插入到正常的电视信号中实现图文电视的显示.图文电视有很多标准,比如close caption,WSS等,欧洲的DVB使 用的teletext标准是ITU-R System B Teletext规格.该规格支持原创 2012-05-21 13:50:44 · 1447 阅读 · 0 评论 -
TS流的解码过程-ES-PES-DTS-PTS-PCR
TS 流解码过程: 1. 获取TS中的PAT 2. 获取TS中的PMT 3. 根据PMT可以知道当前网络中传输的视频(音频)类型(H264),相应的PID,PCR的PID等信息。 4. 设置demux 模块的视频Filter 为相应视频的PID和stream type等。 5. 从视频Demux Filter 后得到的TS数据包中的payload 数据就是 one piece转载 2012-05-18 09:14:58 · 617 阅读 · 0 评论 -
test
transcode_tool -service_name -provider_name -log /var/log/transcode_tool.log -telnet_port 1700 -vsync 1 -async 1 -y -progressive 1 -i /mnt/encoder/.ip_fifo_t_channel0 -croptop 0 -cropbottom 0 -cropl原创 2012-04-10 16:50:17 · 676 阅读 · 0 评论 -
flv
/usr/bin/vlc -I dummy --no-plugins-cache file/ts:///mnt/yuvad/encoder/.out_fifo_t_channel0 dummy/vlc://quit --sout #std{access=http,mux=avformat{mux=flv,fps=25},dst=:60050/live_1.flv}原创 2011-09-19 14:03:38 · 379 阅读 · 0 评论 -
imlib2 compile env build with debian linux
1. download imlib2 imlib2-1.4.5.tgz2. uncompress imlib2 packet tar zxf imlib2-1.4.5.tgz3. install dependency packet3.1 install image format dev packet apt-get install libpng12-dev原创 2012-12-03 15:29:40 · 970 阅读 · 0 评论 -
1
/* * DVB subtitle encoding * Copyright (c) 2005 Fabrice Bellard * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms o原创 2012-06-29 18:10:49 · 503 阅读 · 0 评论 -
MPEG2-TS
声明:以下内容转帖自http://blog.lmtw.com/b/moreframe/archives/2006/40865.html,作者写的非常好,感谢作者的辛苦。应该说真正了解TS,还是看了朋友推荐的《数字电视业务信息及其编码》一书之后,MPEG2 TS和数字电视是紧密不可分割的,值得总结一下其中的一些关系。ISO/IEC-13818-1:系统部分;ISO/IEC-13818-2转载 2012-05-18 09:24:12 · 929 阅读 · 0 评论 -
Packetized Elementary Stream Headers
http://dvd.sourceforge.net/dvdinfo/pes-hdr.htmlPacketized Elementary Stream HeadersDepending on the Stream ID, a Packetized Elementary Stream (PES) header may contain various components.The转载 2012-05-18 09:19:25 · 679 阅读 · 0 评论 -
multimedia sync
多媒体通信同步方法,主要有时间戳同步法、同步标记法、多路复用同步法三种。下面主要讨论时间戳同步法,特别是RTP时间戳同步。内容包括RTP媒体间同步的实现,为什么需要RTCP的NTP时间来实现媒体间同步?没有RTCP,能实现RTP媒体间的同步吗?DirectShow时间戳和RTP时间戳的区别,MPEG2-TS流的时间戳等。本文只简单讨论时间戳同步的原理,不涉及具体的实现方法,如音频帧和视频帧时间戳的转载 2012-03-29 18:19:10 · 716 阅读 · 0 评论 -
t1
static uint8_t text1[][40]= { {0x11, 0x7f, 0x7f, 0x1e, 0x7f, 0x7f, 0x17, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x11, 0x70, 0x70, 0x70, 0x70, 0x70, 0x70, 0x70原创 2012-06-29 18:19:47 · 477 阅读 · 0 评论 -
3
/* * DVB subtitle encoding * Copyright (c) 2005 Fabrice Bellard * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms o原创 2012-06-29 18:12:36 · 424 阅读 · 0 评论 -
scr pcr pts dts
17. What is a time stamp?They are two types of time stamps: The first type is usually called a reference time stamp. This time stamp is the indication of time mentioned in the previous questio转载 2012-04-12 11:14:34 · 2016 阅读 · 0 评论 -
yuv
http://www.fourcc.org/yuv.php http://msdn.microsoft.com/en-us/library/aa904813(VS.80).aspx Video Rendering with 8-Bit YUV Formats14 out of 14 rated this helpful- Rate this topicGar转载 2012-12-28 09:28:57 · 598 阅读 · 0 评论 -
音视频编解码基础知识
http://blog.youkuaiyun.com/soulxu/article/details/6528891 VBR 动态比特率, 需要容器支持提供音视频的同步方法CBR 固定比特率HDRIP: 重新编码,再次经过压缩的视频REMUX版本:意思是重新封装,从HD-DVD或者BD理提取音视频数据,封装到其他格式如TS或AVI中。容器 AVI:微软的,成熟老技术。不支持VBR,不转载 2013-02-06 11:25:31 · 695 阅读 · 0 评论 -
MPEG2-TS音视频同步原理
http://blog.chinaunix.net/uid-26000296-id-3478558.html 一、引言MPEG2系统用于视音频同步以及系统时钟恢复的时间标签分别在ES,PES和TS这3个层次中。 在TS 层, TS头信息包含了节目时钟参考PCR(Program Clock Reference), 用于恢复出与编码端一致的系统时序转载 2013-02-06 10:50:12 · 2782 阅读 · 1 评论 -
YUV format
http://blog.chinaunix.net/uid-23215128-id-2521443.html做视频采集与处理,自然少不了要学会分析YUV数据。因为从采集的角度来说,一般的视频采集芯片输出的码流一般都是YUV数据流的形式,而从视频处理(例如H.264、MPEG视频编解码)的角度来说,也是在原始YUV码流进行编码和解析,所以,了解如何分析YUV数据流对于做视频领转载 2013-03-12 10:15:00 · 1378 阅读 · 0 评论 -
Audio bit rate
Bit rateBit rate refers to the amount of data, specifically bits, transmitted or received per second.One of the most common bit rates given is that for compressed audio files.For examp转载 2013-03-25 15:43:16 · 1067 阅读 · 0 评论 -
libvorbis configure and compile
1. configure and compile libogg1.1 configure --prefix=/usr/local/ogg1.2 make1.3 make install1.4 edit /etc/ld.so.conf add one row /usr/local/ogg/lib into it.1.5 run ldconfig2. c原创 2013-05-07 16:17:52 · 942 阅读 · 0 评论 -
wireshark usage
1. filter protocolip.src == 192.168.0.159 && rtcp原创 2013-05-21 17:57:44 · 585 阅读 · 0 评论 -
使用mp4v2将H264+AAC合成mp4文件
http://www.rosoo.net/a/201305/16631.htmlhttp://bbs.rosoo.net/thread-15165-1-1.htmlhttp://wenku.baidu.com/view/673482284b73f242336c5f4c.html转载 2013-05-21 19:40:56 · 1657 阅读 · 0 评论 -
libmad compile on ubuntu
http://www.linuxfromscratch.org/blfs/view/svn/multimedia/libmad.htmllibmad-0.15.1bIntroduction to libmadlibmad is a high-quality MPEG audio decoder capable of 24-bit output.This pack转载 2013-05-09 09:53:10 · 1029 阅读 · 0 评论 -
YUV420P的格式以及转换为RGB565的代码(Android摄像头的输出一般为YUV420P)
static void cvt_420p_to_rgb565(int width,int height,constunsignedchar*src,unsignedshort*dst){ int line, col, linewidth; int y, u, v, yy, vr, ug, vg, ub; int r, g, b; const unsigned char转载 2012-11-28 07:07:33 · 3893 阅读 · 0 评论 -
compile openjpeg guide
Installation How to build and install OpenJPEG binaries Featured, Restrict-AddWikiComment-CommitUpdated Oct 15, 2012 by mathieu.malaterreUNIX/LINUX similar systemsMACOSXWINDOWSU转载 2013-05-10 11:29:02 · 1216 阅读 · 0 评论 -
fftw3 compile guide
(original version by Alfredo Correa)FFTW3 is a library designed to compute discrete Fourier transforms. As described in the the official FFTW site, there are various versions available, with dif转载 2013-05-10 09:39:22 · 1703 阅读 · 0 评论 -
libaacplus compile notes
HE-AAC audio v2 (with SBR + PS) is the superb audio encoder used to encode high quality audio at really low bitrates (32 kbit/s). Quote from Wikipedia "Data from this testing also indicated that som转载 2013-05-10 09:29:59 · 1173 阅读 · 0 评论 -
图像处理与计算机视觉:基础,经典以及最近发展
http://blog.youkuaiyun.com/loadstar_kun/article/details/8501381图像处理与计算机视觉:基础,经典以及最近发展(1)序1. 为什么要写这篇文章 从2002年到现在,接触图像快十年了。虽然没有做出什么很出色的工作,不过在这个领域摸爬滚打了十年之后,发现自己对图像处理和计算机视觉的感情越来转载 2013-03-31 10:39:50 · 1949 阅读 · 0 评论 -
YUV format bits
http://www.fourcc.org/yuv.php转载 2013-06-08 16:44:45 · 785 阅读 · 0 评论 -
Open gop and Closed gop of H264
In temporal order : Code:closed gop : PbbbPbbbPIopen gop : PbbbPbbbbIIn coding order :Code:closed gop : PPbbbPbbbIopen gop : PPbbbIbbbbNote how, in coding order (ie, in the b转载 2014-04-14 13:55:08 · 1757 阅读 · 0 评论 -
ratecontrol of H264
A qualitative overview of x264's ratecontrol methodsBy Loren MerrittHistorical note:This document is outdated, but a significant part of it is still accurate. Here are some important ways rat转载 2014-04-14 18:11:16 · 705 阅读 · 0 评论 -
timestamp and av sync
timestamp and av sync1. rtp/rtcp av sync1.1 NTP timeRFC 1305 says such that,Since NTP timestamps are cherished data and, in fact, represent the mainproduct of the protocol, a special timesta原创 2014-04-06 11:03:42 · 2097 阅读 · 0 评论 -
MP4文件格式的解析
http://www.cnblogs.com/haibindev/archive/2011/10/17/2214518.htmlMP4文件格式的解析,以及MP4文件的分割算法MP4文件格式的解析,以及MP4文件的分割算法 mp4应该算是一种比较复杂的媒体格式了,起源于QuickTime。以前研究的时候就花了一番的功夫,尤其是如何把它完美的融入到视频点播应用中,更是转载 2014-04-30 21:43:28 · 748 阅读 · 0 评论 -
ffmpeg pts dts
ffmpeg-f mpegts -i ./film1.ts -c:a libfaac -ar 48000 -ac 1 -c:v libx264 -s 720x480 -aspect 4:3 -f mpegts fm720.ts原创 2014-04-30 17:23:57 · 2591 阅读 · 0 评论 -
rtp rtcp av sync
rtp同步方法的思考由于音视频流是以两条独立的数据流在网络上传输的,如果网络质量相当差,那么在接收端收到的音视频数据流就有可能不是同步的了,为了克服这种不同步的现象,需要添加同步机制。的同步机制是使用开源库jrtplib3.7.1来实现的,严格遵守rtp协议标准。解决的方案如下: 当有数据需要发送时,往数据中加入时间戳,在接收端,读取时间戳,进行比较,如果相同或相差很近,就转载 2014-04-03 21:57:22 · 1752 阅读 · 0 评论 -
ipcam instance method from project
Mobistreams IPCamera media streams configurationinformation Stream No.Stream typeStream ConfigurationStream PathNotes原创 2014-04-22 14:57:15 · 791 阅读 · 0 评论