search for: sample_aspect_ratio

Displaying 5 results from an estimated 5 matches for "sample_aspect_ratio".

2019 Jul 11
2
Need help with streaming to Icecast
...pInputVideoStream = _pInputFormatContext->streams[i]; } } _pOutputStream->avg_frame_rate = pInputVideoStream->avg_frame_rate; _pOutputStream->time_base = pInputVideoStream->time_base; _pOutputStream->sample_aspect_ratio = pInputVideoStream->sample_aspect_ratio; ffmpeg.avcodec_parameters_copy(_pOutputStream->codecpar, pInputVideoStream->codecpar); _pOutputStream->codecpar->codec_type = AVMediaType.AVMEDIA_TYPE_VIDEO; _pOutputStream->codecpar->codec_id = AVCod...
2007 Jan 06
7
FFmpeg Theora encoding patch
Hi, Attached is my patch to add theora encoding to ffmpeg's libavcodec (by using libtheora). I am requesting help to fix the bug I mention below and am seeking general comments before I submit the patch properly. Files encoded using this encoder have a problem playing in VLC. The files will not play unless "Drop late frames" has been unticked in the advanced video settings.
2019 Jul 11
1
Need help with streaming to Icecast
...[i]; > > } > > } > > > > _pOutputStream->avg_frame_rate = > > pInputVideoStream->avg_frame_rate; > > _pOutputStream->time_base = pInputVideoStream->time_base; > > _pOutputStream->sample_aspect_ratio = > > pInputVideoStream->sample_aspect_ratio; > > ffmpeg.avcodec_parameters_copy(_pOutputStream->codecpar, > > pInputVideoStream->codecpar); > > _pOutputStream->codecpar->codec_type = > > AVMediaType.AVMEDIA_TYPE_VIDEO; > >...
2019 Jul 11
0
Need help with streaming to Icecast
...t; _pInputFormatContext->streams[i]; > } > } > > _pOutputStream->avg_frame_rate = > pInputVideoStream->avg_frame_rate; > _pOutputStream->time_base = pInputVideoStream->time_base; > _pOutputStream->sample_aspect_ratio = > pInputVideoStream->sample_aspect_ratio; > ffmpeg.avcodec_parameters_copy(_pOutputStream->codecpar, > pInputVideoStream->codecpar); > _pOutputStream->codecpar->codec_type = > AVMediaType.AVMEDIA_TYPE_VIDEO; > _pOutputStream-&gt...
2004 Nov 20
0
ffmpeg2theora start and end time support
...0*this->frame_aspect*venc->height; this->aspect_denominator=10000*venc->width; } av_reduce(&this->aspect_numerator,&this->aspect_denominator,this->aspect_numerator,this->aspect_denominator,10000); frame_aspect=this->frame_aspect; } if(venc->sample_aspect_ratio.num!=0 && this->frame_aspect==0){ // just use the ratio from the input this->aspect_numerator=venc->sample_aspect_ratio.num; this->aspect_denominator=venc->sample_aspect_ratio.den; // or we use ratio for the output if(this->output_height){ int width=venc...