[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 Reso

[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; /// f

[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
; You can try this: > > > > av_opt_set(context->priv_data, "tune", "zerolatency", 0); > > > > to see if this improves the situation. > > > > Also take a look at this: > > > > https://trac.ffmpeg.org/wiki/StreamingGuide#Latency > > > &g

[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 is

[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 = avcodec_alloc_context3

[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] undefined reference from static Libraries

2018-03-06 Thread Vittalprasad
Hi All, i have written make file to build own sample application using FFMPEG static libraries, but i'm getting more than 200+ undefined reference errors while compiling. *Error exampls:* ./lib/libavcodec.a(mscc.o): In function `decode_init': /home/bvittalprasad/ffmpeg_sources/ffmpeg/libavcodec/ms

[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 api