Displaying 3 results from an estimated 3 matches for "avmediatype".
2019 Jul 11
2
Need help with streaming to Icecast
..._pOutputStream =
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->...
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->av...
2019 Jul 11
0
Need help with streaming to Icecast
...tream(_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;
> _pOutput...