Home
last modified time | relevance | path

Searched refs:video_st (Results 1 – 11 of 11) sorted by relevance

/third_party/ffmpeg/doc/examples/
Dqsvdec.c140 AVStream *video_st = NULL; in main() local
169 if (st->codecpar->codec_id == AV_CODEC_ID_H264 && !video_st) in main()
170 video_st = st; in main()
174 if (!video_st) { in main()
200 if (video_st->codecpar->extradata_size) { in main()
201 decoder_ctx->extradata = av_mallocz(video_st->codecpar->extradata_size + in main()
207 memcpy(decoder_ctx->extradata, video_st->codecpar->extradata, in main()
208 video_st->codecpar->extradata_size); in main()
209 decoder_ctx->extradata_size = video_st->codecpar->extradata_size; in main()
241 if (pkt.stream_index == video_st->index) in main()
Dmuxing.c539 OutputStream video_st = { 0 }, audio_st = { 0 }; in main() local
581 add_stream(&video_st, oc, &video_codec, fmt->video_codec); in main()
594 open_video(oc, video_codec, &video_st, opt); in main()
622 (!encode_audio || av_compare_ts(video_st.next_pts, video_st.enc->time_base, in main()
624 encode_video = !write_video_frame(oc, &video_st); in main()
638 close_stream(oc, &video_st); in main()
/third_party/ffmpeg/libavformat/
Dmxg.c44 AVStream *video_st, *audio_st; in mxg_read_header() local
48 video_st = avformat_new_stream(s, NULL); in mxg_read_header()
49 if (!video_st) in mxg_read_header()
51 video_st->codecpar->codec_type = AVMEDIA_TYPE_VIDEO; in mxg_read_header()
52 video_st->codecpar->codec_id = AV_CODEC_ID_MXPEG; in mxg_read_header()
53 avpriv_set_pts_info(video_st, 64, 1, 1000000); in mxg_read_header()
Dswf.h135 AVStream *video_st; member
Dswfenc.c211 swf->video_st = s->streams[i]; in swf_write_header()
230 rate = swf->video_st->time_base.den; in swf_write_header()
231 rate_base = swf->video_st->time_base.num; in swf_write_header()
Davienc.c265 AVStream *video_st = NULL; in avi_write_header() local
302 video_st = st; in avi_write_header()
325 if (video_st) in avi_write_header()
326 avio_wl32(pb, (uint32_t) (INT64_C(1000000) * video_st->time_base.num / in avi_write_header()
327 video_st->time_base.den)); in avi_write_header()
Dmovenc.c4942 AVStream *video_st = s->streams[0]; in mov_write_uuidprof_tag() local
4946 int64_t frame_rate = video_st->avg_frame_rate.den ? in mov_write_uuidprof_tag()
4947 (video_st->avg_frame_rate.num * 0x10000LL) / video_st->avg_frame_rate.den : in mov_write_uuidprof_tag()
/third_party/ffmpeg/fftools/
Dffplay.c285 AVStream *video_st; member
1253 is->video_st = NULL; in stream_component_close()
1373 else if (is->video_st) in video_display()
1428 if (is->video_st) in get_master_sync_type()
1597 if (is->video_st) { in video_refresh()
1709 if (is->video_st) in video_refresh()
1714 if (is->audio_st && is->video_st) in video_refresh()
1716 else if (is->video_st) in video_refresh()
1725 … (is->audio_st && is->video_st) ? "A-V" : (is->video_st ? "M-V" : (is->audio_st ? "M-A" : " ")), in video_refresh()
1731 is->video_st ? is->viddec.avctx->pts_correction_num_faulty_dts : 0, in video_refresh()
[all …]
/third_party/ffmpeg/libavformat/tests/
Dmovenc.c59 AVStream *video_st, *audio_st; variable
208 video_st = st; in init_fps()
232 duration = video_st->time_base.den / fps; in init_fps()
255 if (av_compare_ts(audio_dts, audio_st->time_base, video_dts, video_st->time_base) < 0) { in mux_frames()
/third_party/ffmpeg/libavdevice/
Ddecklink_dec.cpp709 AVRational frame_duration = av_inv_q(ctx->video_st->r_frame_rate); in VideoInputFrameArrived()
737 ctx->video_st->time_base.den); in VideoInputFrameArrived()
806 …rame, audioFrame, wallclock, abs_wallclock, ctx->video_pts_source, ctx->video_st->time_base, &init… in VideoInputFrameArrived()
812 pkt.stream_index = ctx->video_st->index; in VideoInputFrameArrived()
1203 ctx->video_st=st; in ff_decklink_read_header()
1261 if (ctx->tc_format && !(av_dict_get(ctx->video_st->metadata, "timecode", NULL, 0))) { in ff_decklink_read_packet()
1265 if (av_packet_unpack_dictionary(side_metadata, size, &ctx->video_st->metadata) < 0) in ff_decklink_read_packet()
Ddecklink_common.h122 AVStream *video_st; member