Search found 10 matches

by francesco
Thu Feb 23, 2017 11:47 am
Forum: Compiling
Topic: Error compiling with visual studio 2015, libmfx static
Replies: 2
Views: 3254

Error compiling with visual studio 2015, libmfx static

Hi Zeranoe I'm attempting to compile ffmpeg statically using VS2015 and including libmfx. It seems simple but when doing things it's not... Installed VS2015 community, mingw64, and downloaded ffmpeg-3.2.4 with latest version of IntelMedisSDK and libmfx. Compiling libmfx using visual studio is quite ...
by francesco
Fri Oct 09, 2015 11:01 am
Forum: Developement with FFmpeg
Topic: JPEG2000 compression using libavcodec
Replies: 0
Views: 1910

JPEG2000 compression using libavcodec

Hi to all I'm attempting to encode in JPEG2000 using latest version of libavcodec (57.3.100). The row image is 1920x540 4:2:2 format 8bit per pixel. Desired compression order is LRCP with 6 decomposition levels, 1 layer and codeblock of 64x128. Here is the code: /* find the jpeg2000 video encoder */...
by francesco
Fri Dec 12, 2014 3:50 pm
Forum: Developement with FFmpeg
Topic: CODEC_FLAG2_STRICT_GOP flag
Replies: 1
Views: 1287

CODEC_FLAG2_STRICT_GOP flag

In latest version of libavcodec this flag is not defined. The result is that the output GOP size is now 10 instead of 12 with same AVCodecContext setup as previous version. How to force CODEC_FLAG2_STRICT_GOP ?
regards
by francesco
Fri Dec 05, 2014 4:43 pm
Forum: Developement with FFmpeg
Topic: ffmpeg -non_linear_quant and -intra_vlc options
Replies: 0
Views: 1123

ffmpeg -non_linear_quant and -intra_vlc options

Anyone knows what parameter, in AVCodecContext structure, are influenced by these settings ?
Used codec is mpeg2.
by francesco
Fri Dec 05, 2014 3:25 pm
Forum: Developement with FFmpeg
Topic: Concat / Merge videos Problem
Replies: 2
Views: 1537

Re: Concat / Merge videos Problem

Hi
try this:

fmpeg -i concat:"file1|file2" -c copy "finalFileName"
by francesco
Fri Dec 05, 2014 3:20 pm
Forum: Developement with FFmpeg
Topic: Encoding MJPEG video (C++)
Replies: 2
Views: 3087

Re: Encoding MJPEG video (C++)

Hi
take a look at :

http://dvd.sourceforge.net/dvdinfo/mpeghdrs.html

my be helpful
by francesco
Wed Dec 03, 2014 3:59 pm
Forum: Developement with FFmpeg
Topic: Compressing in MPEG2 with libavcodec generate only P frame
Replies: 1
Views: 1298

Re: Compressing in MPEG2 with libavcodec generate only P fra

Partially solved (but not totally). Changing the parameter b_frame_strategy I can obtain a GOP sequence of IPBBPBBPBBPB but not the desired one IBBPBBPBBPBB. How can I force the desired sequence ?
by francesco
Wed Nov 12, 2014 9:33 am
Forum: Developement with FFmpeg
Topic: Compressing in MPEG2 with libavcodec generate only P frame
Replies: 1
Views: 1298

Compressing in MPEG2 with libavcodec generate only P frame

Hi to all I'm using libavcodec library (version 55.54.100) in order to generate XDCAM mxf files closed GOP. My settings are: pCodecCtx->rc_max_rate = pCodecCtx->rc_min_rate =pCodecCtx->bit_rate = 50000000; pCodecCtx->time_base.num = 1; pCodecCtx->time_base.den = 25; pCodecCtx->pix_fmt = (AVPixelForm...
by francesco
Tue Jan 10, 2012 2:12 pm
Forum: Developement with FFmpeg
Topic: How to bypass av_open_input_file
Replies: 2
Views: 3005

How to bypass av_open_input_file

Hi to all up to now I used the subsequent code for initializing the AVFormatContext structure before decoding an image (mpeg2 one): AVFormatContext *pFormatCtx; av_init_packet(&packet); if(av_open_input_file(&pFormatCtx,filename.c_str(),NULL,0,NULL)!=0) {Memo1->Lines->Add("Error opening file"); goto...
by francesco
Tue Dec 20, 2011 3:55 pm
Forum: Developement with FFmpeg
Topic: Need help on usage of libavcodec
Replies: 3
Views: 3899

Need help on usage of libavcodec

Hi to all I am new in ffmpeg usage. I download the code and compile it under windows using MSYS. The question at now is : How can I use it ? When I type make it creates an exe file. I need the library only. The only library I see is (for example) libavcodec.a but, as I know, *.a extension is for lin...
'