自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 资源 (1)
  • 收藏
  • 关注

原创 new_pes_av_stream

static AVStream* new_pes_av_stream(PESContext *pes, uint32_t code){ AVStream *st; enum CodecID codec_id; enum CodecType codec_type; switch(pes->stream_type){ case STREAM_T

2009-01-15 10:46:00 1547 1

原创 add_pes_stream

static PESContext *add_pes_stream(MpegTSContext *ts, int pid, int pcr_pid, int stream_type){ MpegTSFilter *tss; PESContext *pes;//分配PES stream /* if no pid found, then add a pid c

2009-01-15 10:09:00 991

原创 ffmpeg for MPEG2 TS

如果RTSP传输的是RTP/MPEG2 TS数据,那么ffmpeg的数据流过程如下:rtsp_read_packet----->rtp_parse_packet--->rtp_valid_packet_in_sequence-------------------------------------------->-------------------------------->如果是MPE

2009-01-15 09:23:00 5090 1

原创 av sync

 ffmpeg avsync

2009-01-14 21:04:00 983

原创 av_read_packet

libavformat/utils.c int av_read_packet(AVFormatContext *s, AVPacket *pkt){ for(;;){ AVPacketList *pktl = s->raw_packet_buffer; if (pktl) { *pkt = pktl->pkt;

2009-01-14 20:17:00 4257

原创 av_read_frame_internal

 static int av_read_frame_internal(AVFormatContext *s, AVPacket *pkt){ //初始化AVPacketav_init_packet(pkt); for(;;) { /* select current input stream component */ st = s->cu

2009-01-14 17:30:00 3971

原创 av_find_stream_info

 int av_find_stream_info(AVFormatContext *ic){ for(i=0;inb_streams;i++) { 分析AVCodecContext的每个AVStream st = ic->streams[i]; if(st->codec->codec_type == CODEC_TYPE_VIDE

2009-01-14 17:25:00 5920 2

原创 rtsp_open_transport_ctx

 static intrtsp_open_transport_ctx(AVFormatContext *s, RTSPStream *rtsp_st){ 如果采用RTP传输数据,那么调用rtp_parse_open开启rtp传输context如果采用RTD传输数据,那么调用ff_rdt_parse_open开启rtp传输context if (rt->transport ==

2009-01-14 16:58:00 1873 2

原创 make_setup_request

static int  make_setup_request (AVFormatContext *s, const char *host, int port,                    int lower_transport, const char *real_challenge){ if (rt->transport == RTSP_TRANSPORT_RDT)

2009-01-14 16:46:00 950

原创 av_new_stream

 AVStream *av_new_stream(AVFormatContext *s, int id){    AVStream *st;    int i;    if (s->nb_streams >= MAX_STREAMS)        return NULL;   分配AVStream结构:    st = av_mallocz(sizeof(AVStream));

2009-01-14 16:17:00 5843

原创 rtsp_read_header函数

static int rtsp_read_header(AVFormatContext *s,                            AVFormatParameters *ap){RTSPState *rt = s->priv_data;该函数发起rtsp连接请求。1 .打开rtsp对应的TCP连接    /* open the tcp connexion */ 

2009-01-14 16:16:00 2455

原创 ffmpeg解析-----解析文件格式

1注册所有的av codec, av format, av device av_register_all(); 2打开文件int av_open_input_file(AVFormatContext **ic_ptr, const char *filename,                       AVInputFormat *fmt,                   

2009-01-14 15:14:00 4424

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除