Home
last modified time | relevance | path

Searched refs:audio_st (Results 1 – 6 of 6) sorted by relevance

/third_party/ffmpeg/libavformat/
Dmxg.c44 AVStream *video_st, *audio_st; in mxg_read_header() local
55 audio_st = avformat_new_stream(s, NULL); in mxg_read_header()
56 if (!audio_st) in mxg_read_header()
58 audio_st->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; in mxg_read_header()
59 audio_st->codecpar->codec_id = AV_CODEC_ID_PCM_ALAW; in mxg_read_header()
60 audio_st->codecpar->channels = 1; in mxg_read_header()
61 audio_st->codecpar->channel_layout = AV_CH_LAYOUT_MONO; in mxg_read_header()
62 audio_st->codecpar->sample_rate = 8000; in mxg_read_header()
63 audio_st->codecpar->bits_per_coded_sample = 8; in mxg_read_header()
64 audio_st->codecpar->block_align = 1; in mxg_read_header()
[all …]
/third_party/ffmpeg/doc/examples/
Dmuxing.c538 OutputStream video_st = { 0 }, audio_st = { 0 }; in main() local
585 add_stream(&audio_st, oc, &audio_codec, fmt->audio_codec); in main()
596 open_audio(oc, audio_codec, &audio_st, opt); in main()
622 audio_st.next_pts, audio_st.enc->time_base) <= 0)) { in main()
625 encode_audio = !write_audio_frame(oc, &audio_st); in main()
639 close_stream(oc, &audio_st); in main()
/third_party/ffmpeg/libavformat/tests/
Dmovenc.c60 AVStream *video_st, *audio_st; variable
225 audio_st = st; in init_fps()
234 audio_duration = 1024LL * audio_st->time_base.den / audio_st->codecpar->sample_rate; in init_fps()
236 audio_preroll = 2048LL * audio_st->time_base.den / audio_st->codecpar->sample_rate; 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.cpp1064 …pkt.size = audioFrame->GetSampleFrameCount() * ctx->audio_st->codecpar->channels * (ctx->audio_dep… in VideoInputFrameArrived()
1066 audioFrame->GetPacketTime(&audio_pts, ctx->audio_st->time_base.den); in VideoInputFrameArrived()
1067 …rame, audioFrame, wallclock, abs_wallclock, ctx->audio_pts_source, ctx->audio_st->time_base, &init… in VideoInputFrameArrived()
1072 pkt.stream_index = ctx->audio_st->index; in VideoInputFrameArrived()
1302 ctx->audio_st=st; in ff_decklink_read_header()
1396 …av_log(avctx, AV_LOG_VERBOSE, "Using %d input audio channels\n", ctx->audio_st->codecpar->channels… in ff_decklink_read_header()
1397 …? bmdAudioSampleType32bitInteger : bmdAudioSampleType16bitInteger, ctx->audio_st->codecpar->channe… in ff_decklink_read_header()
Ddecklink_common.h121 AVStream *audio_st; member
/third_party/ffmpeg/fftools/
Dffplay.c242 AVStream *audio_st; member
1246 is->audio_st = NULL; in stream_component_close()
1368 if (is->audio_st && is->show_mode != SHOW_MODE_VIDEO) in video_display()
1430 if (is->audio_st) in get_master_sync_type()
1585 if (!display_disable && is->show_mode != SHOW_MODE_VIDEO && is->audio_st) { in video_refresh()
1704 if (is->audio_st) in video_refresh()
1711 if (is->audio_st && is->video_st) in video_refresh()
1715 else if (is->audio_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()
2681 is->audio_st = ic->streams[stream_index]; in stream_component_open()
[all …]