[Libav-user] FFMPEG H264 Encoder speed

2018-05-03 Thread Vittalprasad
Hi Team, I am comparing encoding speed of FFMPEG H264 and OPENH264. I have found that with single thread, *OPENH264 is 4 times faster than the FFMPEG H264*. Below i attached a table for reference. *please let me know how to increase the encoding speed of FFMPEGH264.* File name No of frames

[Libav-user] Entropy Method

2018-04-18 Thread Vittalprasad
Hi Team, Is there any way to specify Entropy method to H264 encoder? AVCodecContext *c_enc = NULL; c_enc->width =iwidth;// 320;// c_dec->width;// 352; c_enc->height = iheight;// 240;// c_dec->height;// 288; //c_enc->sample_aspect_ratio = c_dec->sample_aspect_ratio; ///

[Libav-user] Constrained Encoding Mode in H264

2018-04-10 Thread Vittalprasad
Hi Team, How to set/enable Constrained in H264? i followed this way, but not effective. //av_opt_set(c_en->priv_data, "maxrate", "100", 0); //av_opt_set(c_en->priv_data, "bufsize", "200", 0); In one document i saw this statement, * Turn on Constrained (VBV )with the -maxrate and

Re: [Libav-user] avcodec_receive_packet output for every input frame

2018-04-05 Thread Vittalprasad
e#Latency > > > > > > > > > > > > > > *Van:* Libav-user <libav-user-boun...@ffmpeg.org> *Namens *Vittalprasad > *Verzonden:* donderdag 5 april 2018 11:03 > *Aan:* libav-user@ffmpeg.org > *Onderwerp:* [Libav-user] avcodec_receive_packet outpu

[Libav-user] avcodec_receive_packet output for every input frame

2018-04-05 Thread Vittalprasad
At the beginning of encoding, the H264 Encoder is accepting multiple input frames without returning a encoded stream, in my case it is accepting 58 input frames. what changes are required at encoder side to get output frame for every input frame, i.e o/p frame for i/p frame iteration? below

[Libav-user] H264 profiles and Levels

2018-03-29 Thread Vittalprasad
Hi Team, I have written sample application using FFMPEG Libraries to encode YUV, but here i would like to know how to specify H264 profile and levels for encoder. This is how i'm filling Encode context const AVCodec *codec_enc; AVCodecContext *c_enc = NULL; c_enc =

[Libav-user] h264 with SVC

2018-03-12 Thread Vittalprasad
Hi All, Does Latest FFMPEG supports h264 SVC extension? Thanks & Regards Vittal Prasad B R ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

[Libav-user] Fwd: ffmpeg scaling example.

2018-03-01 Thread Vittalprasad
Hi All, Scaling_video.c example file modified to convert 1080p_YUV420 file to 240pYUV420. After conversion Luma content is fine, but chroma(color) contents are mismatching with original file. I attached modified code, please direct me to get correct chroma contents also. long int resol = (src_w

[Libav-user] Transcoding sample app for Resizing video

2018-03-01 Thread Vittalprasad
Hi All, i tried transcoding sample application shared with examples. As i'm new to video codecs didnot understand fully , how to scale a resolution of video i.e if input of 720p trancode to 240p without changing video codec. i tried to enhance transcoding sample with sws_scale(); i.e scaling