search for: avmedia_type_video

Displaying 3 results from an estimated 3 matches for "avmedia_type_video".

2019 Jul 11
2
Need help with streaming to Icecast
...eam = ffmpeg.avformat_new_stream(_pOutputFormatContext, null); AVStream* pInputVideoStream = null; for (var i = 0; i < _pInputFormatContext->nb_streams; i++) { if (_pInputFormatContext->streams[i]->codec->codec_type == AVMediaType.AVMEDIA_TYPE_VIDEO) { pInputVideoStream = _pInputFormatContext->streams[i]; } } _pOutputStream->avg_frame_rate = pInputVideoStream->avg_frame_rate; _pOutputStream->time_base = pInputVideoStream->time_base;...
2019 Jul 11
1
Need help with streaming to Icecast
...> AVStream* pInputVideoStream = null; > > > > for (var i = 0; i < _pInputFormatContext->nb_streams; i++) > > { > > if > > (_pInputFormatContext->streams[i]->codec->codec_type == > > AVMediaType.AVMEDIA_TYPE_VIDEO) > > { > > pInputVideoStream = > > _pInputFormatContext->streams[i]; > > } > > } > > > > _pOutputStream->avg_frame_rate = > > pInputVideoStream->avg_frame_rate; >...
2019 Jul 11
0
Need help with streaming to Icecast
...utFormatContext, null); > > AVStream* pInputVideoStream = null; > > for (var i = 0; i < _pInputFormatContext->nb_streams; i++) > { > if > (_pInputFormatContext->streams[i]->codec->codec_type == > AVMediaType.AVMEDIA_TYPE_VIDEO) > { > pInputVideoStream = > _pInputFormatContext->streams[i]; > } > } > > _pOutputStream->avg_frame_rate = > pInputVideoStream->avg_frame_rate; > _pOutputStream->time_bas...