Home
last modified time | relevance | path

Searched refs:video_st (Results 1 – 10 of 10) 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.c538 OutputStream video_st = { 0 }, audio_st = { 0 }; in main() local
580 add_stream(&video_st, oc, &video_codec, fmt->video_codec); in main()
593 open_video(oc, video_codec, &video_st, opt); in main()
621 (!encode_audio || av_compare_ts(video_st.next_pts, video_st.enc->time_base, in main()
623 encode_video = !write_video_frame(oc, &video_st); in main()
637 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()
Dswfenc.c43 AVStream *video_st; member
229 swf->video_st = s->streams[i]; in swf_write_header()
248 rate = swf->video_st->time_base.den; in swf_write_header()
249 rate_base = swf->video_st->time_base.num; in swf_write_header()
Davienc.c267 AVStream *video_st = NULL; in avi_write_header() local
308 video_st = st; in avi_write_header()
331 if (video_st) in avi_write_header()
332 avio_wl32(pb, (uint32_t) (INT64_C(1000000) * video_st->time_base.num / in avi_write_header()
333 video_st->time_base.den)); in avi_write_header()
Dmovenc.c5080 AVStream *video_st = s->streams[0]; in mov_write_uuidprof_tag() local
5084 int64_t frame_rate = video_st->avg_frame_rate.den ? in mov_write_uuidprof_tag()
5085 (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
1250 is->video_st = NULL; in stream_component_close()
1370 else if (is->video_st) in video_display()
1425 if (is->video_st) in get_master_sync_type()
1594 if (is->video_st) { in video_refresh()
1706 if (is->video_st) in video_refresh()
1711 if (is->audio_st && is->video_st) in video_refresh()
1713 else if (is->video_st) in video_refresh()
1722 … (is->audio_st && is->video_st) ? "A-V" : (is->video_st ? "M-V" : (is->audio_st ? "M-A" : " ")), in video_refresh()
1728 is->video_st ? is->viddec.avctx->pts_correction_num_faulty_dts : 0, in video_refresh()
[all …]
/third_party/ffmpeg/libavdevice/
Ddecklink_dec.cpp817 AVRational frame_rate = ctx->video_st->r_frame_rate; in get_frame_timecode()
861 AVRational frame_duration = av_inv_q(ctx->video_st->r_frame_rate); in VideoInputFrameArrived()
888 ctx->video_st->time_base.den); in VideoInputFrameArrived()
927 if (av_cmp_q(ctx->video_st->r_frame_rate, av_make_q(60, 1)) < 1) { in VideoInputFrameArrived()
964 …rame, audioFrame, wallclock, abs_wallclock, ctx->video_pts_source, ctx->video_st->time_base, &init… in VideoInputFrameArrived()
970 pkt.stream_index = ctx->video_st->index; in VideoInputFrameArrived()
1365 ctx->video_st=st; in ff_decklink_read_header()
1437 if (ctx->tc_format && !(av_dict_get(ctx->video_st->metadata, "timecode", NULL, 0))) { in ff_decklink_read_packet()
1441 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
/third_party/ffmpeg/libavformat/tests/
Dmovenc.c60 AVStream *video_st, *audio_st; variable
209 video_st = st; in init_fps()
233 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()