Searched refs:audio_st (Results 1 - 6 of 6) sorted by relevance
/third_party/ffmpeg/libavformat/ |
H A D | mxg.c | 44 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->ch_layout = (AVChannelLayout)AV_CHANNEL_LAYOUT_MONO; in mxg_read_header() 61 audio_st->codecpar->sample_rate = 8000; in mxg_read_header() 62 audio_st->codecpar->bits_per_coded_sample = 8; in mxg_read_header() 63 audio_st->codecpar->block_align = 1; in mxg_read_header() 64 avpriv_set_pts_info(audio_st, 6 in mxg_read_header() [all...] |
/third_party/ffmpeg/doc/examples/ |
H A D | muxing.c | 541 OutputStream video_st = { 0 }, audio_st = { 0 }; in main() local 588 add_stream(&audio_st, oc, &audio_codec, fmt->audio_codec); in main() 599 open_audio(oc, audio_codec, &audio_st, opt); in main() 625 audio_st.next_pts, audio_st.enc->time_base) <= 0)) { in main() 628 encode_audio = !write_audio_frame(oc, &audio_st); in main() 638 close_stream(oc, &audio_st); in main()
|
/third_party/ffmpeg/libavformat/tests/ |
H A D | movenc.c | 60 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/ |
H A D | decklink_dec.cpp | 1063 pkt.size = audioFrame->GetSampleFrameCount() * ctx->audio_st->codecpar->ch_layout.nb_channels * (ctx->audio_depth / 8); in VideoInputFrameArrived() 1065 audioFrame->GetPacketTime(&audio_pts, ctx->audio_st->time_base.den); in VideoInputFrameArrived() 1066 pkt.pts = get_pkt_pts(videoFrame, audioFrame, wallclock, abs_wallclock, ctx->audio_pts_source, ctx->audio_st->time_base, &initial_audio_pts, cctx->copyts); in VideoInputFrameArrived() 1071 pkt.stream_index = ctx->audio_st->index; in VideoInputFrameArrived() 1301 ctx->audio_st=st; in ff_decklink_read_header() 1395 av_log(avctx, AV_LOG_VERBOSE, "Using %d input audio channels\n", ctx->audio_st->codecpar->ch_layout.nb_channels); in ff_decklink_read_header() 1396 result = ctx->dli->EnableAudioInput(bmdAudioSampleRate48kHz, cctx->audio_depth == 32 ? bmdAudioSampleType32bitInteger : bmdAudioSampleType16bitInteger, ctx->audio_st->codecpar->ch_layout.nb_channels); in ff_decklink_read_header()
|
H A D | decklink_common.h | 124 AVStream *audio_st; member
|
/third_party/ffmpeg/fftools/ |
H A D | ffplay.c | 241 AVStream *audio_st; member 1234 is->audio_st = NULL; in stream_component_close() 1356 if (is->audio_st && is->show_mode != SHOW_MODE_VIDEO) in video_display() 1418 if (is->audio_st) in get_master_sync_type() 1573 if (!display_disable && is->show_mode != SHOW_MODE_VIDEO && is->audio_st) { in video_refresh() 1692 if (is->audio_st) in video_refresh() 1699 if (is->audio_st && is->video_st) in video_refresh() 1703 else if (is->audio_st) in video_refresh() 1710 (is->audio_st && is->video_st) ? "A-V" : (is->video_st ? "M-V" : (is->audio_st in video_refresh() [all...] |
Completed in 10 milliseconds