wont upgrade
-
ffmpeg-full: requires libvpx.so=2-64
-
@Lizzi
Depencies met?
ffmpeg-compatAlso, select ‘show more’ near bottom.
EDIT:
Could you present the entire output of the pacman upgrade? Is there a lib file that won’t upgrade? Can you show which one? If so, you would be able to find out if ffmpeg owns that particular file.EDIT: I think this might work (assuming it is a codec file):
pacman -Qo /usr/include/name_of_codec_file/avfft.h
This will show you it is own by ffmpegpacman -Qo /usr/bin/ffplay
If you did this, what happens ?pacman -Sf ffmpeg
Do you have stale lib files, perhaps?
-
libavcodec/dca_xll.c: In function ‘ff_dca_xll_decode_audio’: libavcodec/dca_xll.c:382:41: warning: array subscript is above array bounds [-Warray-bounds] c[j] += ((int64_t) c[i] * r1 + 0x8000) >> 16; ^ libavcodec/dca_xll.c:383:41: warning: array subscript is above array bounds [-Warray-bounds] c[i - j - 1] += ((int64_t) c[i] * r0 + 0x8000) >> 16; ^ libavcodec/dca_xll.c:382:41: warning: array subscript is above array bounds [-Warray-bounds] c[j] += ((int64_t) c[i] * r1 + 0x8000) >> 16; ^ libavcodec/dca_xll.c:383:41: warning: array subscript is above array bounds [-Warray-bounds] c[i - j - 1] += ((int64_t) c[i] * r0 + 0x8000) >> 16; ^ libavcodec/dca_xll.c:382:41: warning: array subscript is above array bounds [-Warray-bounds] c[j] += ((int64_t) c[i] * r1 + 0x8000) >> 16; ^ libavcodec/dca_xll.c:383:41: warning: array subscript is above array bounds [-Warray-bounds] c[i - j - 1] += ((int64_t) c[i] * r0 + 0x8000) >> 16; ^ libavcodec/dca_xll.c:382:41: warning: array subscript is above array bounds [-Warray-bounds] c[j] += ((int64_t) c[i] * r1 + 0x8000) >> 16; ^ libavcodec/dca_xll.c:383:41: warning: array subscript is above array bounds [-Warray-bounds] c[i - j - 1] += ((int64_t) c[i] * r0 + 0x8000) >> 16; ^ libavcodec/dca_xll.c:382:41: warning: array subscript is above array bounds [-Warray-bounds] c[j] += ((int64_t) c[i] * r1 + 0x8000) >> 16; ^ libavcodec/dca_xll.c:383:41: warning: array subscript is above array bounds [-Warray-bounds] c[i - j - 1] += ((int64_t) c[i] * r0 + 0x8000) >> 16; ^ libavcodec/dca_xll.c:382:41: warning: array subscript is above array bounds [-Warray-bounds] c[j] += ((int64_t) c[i] * r1 + 0x8000) >> 16; ^ libavcodec/dca_xll.c:383:41: warning: array subscript is above array bounds [-Warray-bounds] c[i - j - 1] += ((int64_t) c[i] * r0 + 0x8000) >> 16; ^ libavcodec/dca_xll.c:382:41: warning: array subscript is above array bounds [-Warray-bounds] c[j] += ((int64_t) c[i] * r1 + 0x8000) >> 16; ^ libavcodec/dca_xll.c:383:41: warning: array subscript is above array bounds [-Warray-bounds] c[i - j - 1] += ((int64_t) c[i] * r0 + 0x8000) >> 16; ^ libavcodec/dca_xll.c:381:23: warning: array subscript is above array bounds [-Warray-bounds] int r1 = c[i - j - 1]; ^ libavcodec/dca_xll.c:382:41: warning: array subscript is above array bounds [-Warray-bounds] c[j] += ((int64_t) c[i] * r1 + 0x8000) >> 16; ^ libavcodec/dca_xll.c:383:26: warning: array subscript is above array bounds [-Warray-bounds] c[i - j - 1] += ((int64_t) c[i] * r0 + 0x8000) >> 16; ^ libavcodec/dca_xll.c:383:41: warning: array subscript is above array bounds [-Warray-bounds] c[i - j - 1] += ((int64_t) c[i] * r0 + 0x8000) >> 16; ^ libavcodec/dca_xll.c:383:26: warning: array subscript is above array bounds [-Warray-bounds] c[i - j - 1] += ((int64_t) c[i] * r0 + 0x8000) >> 16; ^ CC libavcodec/dcadata.o CC libavcodec/dcadec.o CC libavcodec/dcadsp.o CC libavcodec/dcaenc.o CC libavcodec/dct.o CC libavcodec/dct32_fixed.o CC libavcodec/dct32_float.o CC libavcodec/dds.o CC libavcodec/dfa.o CC libavcodec/dirac.o CC libavcodec/dirac_arith.o CC libavcodec/dirac_dwt.o CC libavcodec/dirac_parser.o CC libavcodec/diracdec.o CC libavcodec/diracdsp.o CC libavcodec/dnxhd_parser.o CC libavcodec/dnxhddata.o CC libavcodec/dnxhddec.o CC libavcodec/dnxhdenc.o CC libavcodec/dpcm.o CC libavcodec/dpx.o CC libavcodec/dpx_parser.o CC libavcodec/dpxenc.o CC libavcodec/dsddec.o CC libavcodec/dsicinaudio.o CC libavcodec/dsicinvideo.o CC libavcodec/dss_sp.o CC libavcodec/dump_extradata_bsf.o CC libavcodec/dv.o CC libavcodec/dv_profile.o CC libavcodec/dvbsub.o CC libavcodec/dvbsub_parser.o CC libavcodec/dvbsubdec.o CC libavcodec/dvd_nav_parser.o CC libavcodec/dvdata.o CC libavcodec/dvdec.o CC libavcodec/dvdsub_parser.o CC libavcodec/dvdsubdec.o CC libavcodec/dvdsubenc.o CC libavcodec/dvenc.o libavcodec/dvenc.c: In function ‘dvvideo_encode_frame’: libavcodec/dvenc.c:724:31: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] s->frame = frame; ^ libavcodec/dvenc.c: In function ‘dv_encode_video_segment’: libavcodec/dvenc.c:377:81: warning: array subscript is above array bounds [-Warray-bounds] for (a2 = a + 1; b->next[k] >= mb_area_start[a2 + 1]; a ^ libavcodec/dvenc.c:377:81: warning: array subscript is above array bounds [-Warray-bounds] CC libavcodec/dxa.o CC libavcodec/dxtory.o CC libavcodec/eac3_data.o CC libavcodec/eac3enc.o CC libavcodec/eacmv.o CC libavcodec/eaidct.o CC libavcodec/eamad.o CC libavcodec/eatgq.o CC libavcodec/eatgv.o CC libavcodec/eatqi.o CC libavcodec/elbg.o CC libavcodec/elsdec.o CC libavcodec/error_resilience.o CC libavcodec/escape124.o CC libavcodec/escape130.o CC libavcodec/evrcdec.o CC libavcodec/exif.o CC libavcodec/exr.o CC libavcodec/faandct.o CC libavcodec/faanidct.o CC libavcodec/faxcompr.o CC libavcodec/fdctdsp.o CC libavcodec/fft_fixed.o CC libavcodec/fft_fixed_32.o CC libavcodec/fft_float.o CC libavcodec/fft_init_table.o CC libavcodec/ffv1.o CC libavcodec/ffv1dec.o CC libavcodec/ffv1enc.o libavcodec/ffv1enc.c: In function ‘encode_frame’: libavcodec/ffv1enc.c:1262:5: warning: ‘coded_frame’ is deprecated [-Wdeprecated-declarations] avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I; ^ In file included from libavcodec/ffv1enc.c:35:0: libavcodec/avcodec.h:3024:35: note: declared here attribute_deprecated AVFrame *coded_frame; ^ CC libavcodec/ffwavesynth.o CC libavcodec/fic.o CC libavcodec/flac.o CC libavcodec/flac_parser.o CC libavcodec/flacdata.o CC libavcodec/flacdec.o CC libavcodec/flacdsp.o CC libavcodec/flacenc.o CC libavcodec/flashsv.o CC libavcodec/flashsv2enc.o CC libavcodec/flashsvenc.o CC libavcodec/flicvideo.o CC libavcodec/flvdec.o CC libavcodec/flvenc.o CC libavcodec/fmtconvert.o CC libavcodec/frame_thread_encoder.o CC libavcodec/fraps.o CC libavcodec/frwu.o CC libavcodec/g2meet.o CC libavcodec/g722.o CC libavcodec/g722dec.o CC libavcodec/g722dsp.o CC libavcodec/g722enc.o CC libavcodec/g723_1.o CC libavcodec/g726.o CC libavcodec/g729_parser.o CC libavcodec/g729dec.o CC libavcodec/g729postfilter.o CC libavcodec/gif.o CC libavcodec/gifdec.o CC libavcodec/golomb.o CC libavcodec/gsm_parser.o CC libavcodec/gsmdec.o CC libavcodec/gsmdec_data.o CC libavcodec/h261.o CC libavcodec/h261_parser.o CC libavcodec/h261data.o CC libavcodec/h261dec.o CC libavcodec/h261enc.o CC libavcodec/h263.o CC libavcodec/h263_parser.o CC libavcodec/h263data.o CC libavcodec/h263dec.o CC libavcodec/h263dsp.o CC libavcodec/h264.o CC libavcodec/h264_cabac.o CC libavcodec/h264_cavlc.o CC libavcodec/h264_direct.o CC libavcodec/h264_loopfilter.o CC libavcodec/h264_mb.o CC libavcodec/h264_mp4toannexb_bsf.o CC libavcodec/h264_parser.o CC libavcodec/h264_picture.o CC libavcodec/h264_ps.o CC libavcodec/h264_refs.o CC libavcodec/h264_sei.o CC libavcodec/h264_slice.o CC libavcodec/h264chroma.o CC libavcodec/h264dsp.o CC libavcodec/h264idct.o CC libavcodec/h264pred.o CC libavcodec/h264qpel.o CC libavcodec/hap.o CC libavcodec/hapdec.o CC libavcodec/hevc.o CC libavcodec/hevc_cabac.o CC libavcodec/hevc_data.o CC libavcodec/hevc_filter.o CC libavcodec/hevc_mp4toannexb_bsf.o libavcodec/hevc_mp4toannexb_bsf.c: In function ‘hevc_mp4toannexb_filter’: libavcodec/hevc_mp4toannexb_bsf.c:137:27: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] *poutbuf = buf; ^ CC libavcodec/hevc_mvs.o CC libavcodec/hevc_parse.o CC libavcodec/hevc_parser.o CC libavcodec/hevc_ps.o CC libavcodec/hevc_refs.o CC libavcodec/hevc_sei.o CC libavcodec/hevcdsp.o CC libavcodec/hevcpred.o CC libavcodec/hnm4video.o CC libavcodec/hpeldsp.o CC libavcodec/hq_hqa.o CC libavcodec/hq_hqadata.o CC libavcodec/hq_hqadsp.o CC libavcodec/hqx.o CC libavcodec/hqxdsp.o CC libavcodec/hqxvlc.o CC libavcodec/huffman.o CC libavcodec/huffyuv.o CC libavcodec/huffyuvdec.o CC libavcodec/huffyuvdsp.o CC libavcodec/huffyuvenc.o CC libavcodec/huffyuvencdsp.o CC libavcodec/idcinvideo.o CC libavcodec/idctdsp.o CC libavcodec/iff.o CC libavcodec/iirfilter.o CC libavcodec/imc.o CC libavcodec/imdct15.o CC libavcodec/imgconvert.o CC libavcodec/imx_dump_header_bsf.o CC libavcodec/indeo2.o CC libavcodec/indeo3.o CC libavcodec/indeo4.o CC libavcodec/indeo5.o CC libavcodec/intelh263dec.o CC libavcodec/interplayvideo.o CC libavcodec/intrax8.o CC libavcodec/intrax8dsp.o CC libavcodec/ituh263dec.o CC libavcodec/ituh263enc.o CC libavcodec/ivi.o CC libavcodec/ivi_dsp.o CC libavcodec/j2kenc.o CC libavcodec/jacosubdec.o CC libavcodec/jfdctfst.o CC libavcodec/jfdctint.o CC libavcodec/jpeg2000.o CC libavcodec/jpeg2000dec.o CC libavcodec/jpeg2000dsp.o CC libavcodec/jpeg2000dwt.o CC libavcodec/jpegls.o CC libavcodec/jpeglsdec.o CC libavcodec/jpeglsenc.o CC libavcodec/jpegtables.o CC libavcodec/jrevdct.o CC libavcodec/jvdec.o CC libavcodec/kbdwin.o CC libavcodec/kgv1dec.o CC libavcodec/kmvc.o CC libavcodec/lagarith.o CC libavcodec/lagarithrac.o CC libavcodec/latm_parser.o CC libavcodec/lcldec.o CC libavcodec/lclenc.o CC libavcodec/libaacplus.o CC libavcodec/libcelt_dec.o CC libavcodec/libfaac.o CC libavcodec/libfdk-aacdec.o CC libavcodec/libfdk-aacenc.o CC libavcodec/libgsmdec.o CC libavcodec/libgsmenc.o CC libavcodec/libmp3lame.o CC libavcodec/libopencore-amr.o CC libavcodec/libopenjpegdec.o CC libavcodec/libopenjpegenc.o CC libavcodec/libopus.o CC libavcodec/libopusdec.o CC libavcodec/libopusenc.o CC libavcodec/libschroedinger.o CC libavcodec/libschroedingerdec.o CC libavcodec/libschroedingerenc.o CC libavcodec/libshine.o CC libavcodec/libspeexdec.o CC libavcodec/libspeexenc.o CC libavcodec/libtheoraenc.o CC libavcodec/libtwolame.o CXX libavcodec/libutvideodec.o cc1plus: warning: command line option ‘-Wdeclaration-after-statement’ is valid for C/ObjC but not for C++ cc1plus: warning: command line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command line option ‘-Wno-pointer-to-int-cast’ is valid for C/ObjC but not for C++ cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command line option ‘-Wno-pointer-sign’ is valid for C/ObjC but not for C++ cc1plus: warning: command line option ‘-std=c99’ is valid for C/ObjC but not for C++ libavcodec/libutvideodec.cpp:59:18: warning: multi-character character constant [-Wmultichar] format = UTVF_YV12; ^ libavcodec/libutvideodec.cpp:64:18: warning: multi-character character constant [-Wmultichar] format = UTVF_YUY2; ^ libavcodec/libutvideodec.cpp:69:18: warning: multi-character character constant [-Wmultichar] format = UTVF_YV12; ^ libavcodec/libutvideodec.cpp:73:18: warning: multi-character character constant [-Wmultichar] format = UTVF_YUY2; ^ libavcodec/libutvideodec.cpp:86:18: warning: multi-character character constant [-Wmultichar] format = UTVF_v210; ^ libavcodec/libutvideodec.cpp:98:19: warning: multi-character character constant [-Wmultichar] if (format == UTVF_v210) ^ libavcodec/libutvideodec.cpp: In function ‘int utvideo_decode_init(AVCodecContext*)’: libavcodec/libutvideodec.cpp:109:12: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] avctx->coded_frame = av_frame_alloc(); ^ In file included from libavcodec/libutvideodec.cpp:29:0: libavcodec/avcodec.h:3024:35: note: declared here attribute_deprecated AVFrame *coded_frame; ^ libavcodec/libutvideodec.cpp:109:12: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] avctx->coded_frame = av_frame_alloc(); ^ In file included from libavcodec/libutvideodec.cpp:29:0: libavcodec/avcodec.h:3024:35: note: declared here attribute_deprecated AVFrame *coded_frame; ^ libavcodec/libutvideodec.cpp:109:12: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] avctx->coded_frame = av_frame_alloc(); ^ In file included from libavcodec/libutvideodec.cpp:29:0: libavcodec/avcodec.h:3024:35: note: declared here attribute_deprecated AVFrame *coded_frame; ^ libavcodec/libutvideodec.cpp:115:12: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] avctx->coded_frame->interlaced_frame = info.flags & 0x800 ? 1 : 0; ^ In file included from libavcodec/libutvideodec.cpp:29:0: libavcodec/avcodec.h:3024:35: note: declared here attribute_deprecated AVFrame *coded_frame; ^ libavcodec/libutvideodec.cpp:115:12: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] avctx->coded_frame->interlaced_frame = info.flags & 0x800 ? 1 : 0; ^ In file included from libavcodec/libutvideodec.cpp:29:0: libavcodec/avcodec.h:3024:35: note: declared here attribute_deprecated AVFrame *coded_frame; ^ libavcodec/libutvideodec.cpp:115:12: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] avctx->coded_frame->interlaced_frame = info.flags & 0x800 ? 1 : 0; ^ In file included from libavcodec/libutvideodec.cpp:29:0: libavcodec/avcodec.h:3024:35: note: declared here attribute_deprecated AVFrame *coded_frame; ^ libavcodec/libutvideodec.cpp:118:12: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] avctx->coded_frame->top_field_first = 1; ^ In file included from libavcodec/libutvideodec.cpp:29:0: libavcodec/avcodec.h:3024:35: note: declared here attribute_deprecated AVFrame *coded_frame; ^ libavcodec/libutvideodec.cpp:118:12: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] avctx->coded_frame->top_field_first = 1; ^ In file included from libavcodec/libutvideodec.cpp:29:0: libavcodec/avcodec.h:3024:35: note: declared here attribute_deprecated AVFrame *coded_frame; ^ libavcodec/libutvideodec.cpp:118:12: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] avctx->coded_frame->top_field_first = 1; ^ In file included from libavcodec/libutvideodec.cpp:29:0: libavcodec/avcodec.h:3024:35: note: declared here attribute_deprecated AVFrame *coded_frame; ^ libavcodec/libutvideodec.cpp: In function ‘int utvideo_decode_frame(AVCodecContext*, void*, int*, AVPacket*)’: libavcodec/libutvideodec.cpp:144:27: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] AVFrame *pic = avctx->coded_frame; ^ In file included from libavcodec/libutvideodec.cpp:29:0: libavcodec/avcodec.h:3024:35: note: declared here attribute_deprecated AVFrame *coded_frame; ^ libavcodec/libutvideodec.cpp:144:27: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] AVFrame *pic = avctx->coded_frame; ^ In file included from libavcodec/libutvideodec.cpp:29:0: libavcodec/avcodec.h:3024:35: note: declared here attribute_deprecated AVFrame *coded_frame; ^ libavcodec/libutvideodec.cpp:144:27: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] AVFrame *pic = avctx->coded_frame; ^ In file included from libavcodec/libutvideodec.cpp:29:0: libavcodec/avcodec.h:3024:35: note: declared here attribute_deprecated AVFrame *coded_frame; ^ libavcodec/libutvideodec.cpp:148:10: warning: ‘AVFrame::reference’ is deprecated [-Wdeprecated-declarations] pic->reference = 0; ^ In file included from libavcodec/avcodec.h:38:0, from libavcodec/libutvideodec.cpp:29: ./libavutil/frame.h:287:9: note: declared here int reference; ^ libavcodec/libutvideodec.cpp:148:10: warning: ‘AVFrame::reference’ is deprecated [-Wdeprecated-declarations] pic->reference = 0; ^ In file included from libavcodec/avcodec.h:38:0, from libavcodec/libutvideodec.cpp:29: ./libavutil/frame.h:287:9: note: declared here int reference; ^ libavcodec/libutvideodec.cpp:148:10: warning: ‘AVFrame::reference’ is deprecated [-Wdeprecated-declarations] pic->reference = 0; ^ In file included from libavcodec/avcodec.h:38:0, from libavcodec/libutvideodec.cpp:29: ./libavutil/frame.h:287:9: note: declared here int reference; ^ libavcodec/libutvideodec.cpp: In function ‘int utvideo_decode_close(AVCodecContext*)’: libavcodec/libutvideodec.cpp:237:27: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] av_frame_free(&avctx->coded_frame); ^ In file included from libavcodec/libutvideodec.cpp:29:0: libavcodec/avcodec.h:3024:35: note: declared here attribute_deprecated AVFrame *coded_frame; ^ libavcodec/libutvideodec.cpp:237:27: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] av_frame_free(&avctx->coded_frame); ^ In file included from libavcodec/libutvideodec.cpp:29:0: libavcodec/avcodec.h:3024:35: note: declared here attribute_deprecated AVFrame *coded_frame; ^ libavcodec/libutvideodec.cpp:237:27: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] av_frame_free(&avctx->coded_frame); ^ In file included from libavcodec/libutvideodec.cpp:29:0: libavcodec/avcodec.h:3024:35: note: declared here attribute_deprecated AVFrame *coded_frame; ^ CXX libavcodec/libutvideoenc.o cc1plus: warning: command line option ‘-Wdeclaration-after-statement’ is valid for C/ObjC but not for C++ cc1plus: warning: command line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command line option ‘-Wno-pointer-to-int-cast’ is valid for C/ObjC but not for C++ cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command line option ‘-Wno-pointer-sign’ is valid for C/ObjC but not for C++ cc1plus: warning: command line option ‘-std=c99’ is valid for C/ObjC but not for C++ libavcodec/libutvideoenc.cpp:46:21: warning: multi-character character constant [-Wmultichar] in_format = UTVF_YV12; ^ libavcodec/libutvideoenc.cpp:54:21: warning: multi-character character constant [-Wmultichar] in_format = UTVF_YUYV; ^ libavcodec/libutvideoenc.cpp:249:1: warning: narrowing conversion of ‘3221258240u’ from ‘unsigned int’ to ‘int’ inside { } is ill-formed in C++11 [-Wnarrowing] }; ^ CC libavcodec/libvo-aacenc.o CC libavcodec/libvo-amrwbenc.o CC libavcodec/libvorbisdec.o CC libavcodec/libvorbisenc.o CC libavcodec/libvpx.o CC libavcodec/libvpxdec.o CC libavcodec/libvpxenc.o libavcodec/libvpxenc.c:107:6: error: ‘VP8E_UPD_ENTROPY’ undeclared here (not in a function) [VP8E_UPD_ENTROPY] = "VP8E_UPD_ENTROPY", ^ libavcodec/libvpxenc.c:107:6: error: array index in initializer not of integer type libavcodec/libvpxenc.c:107:6: note: (near initialization for ‘ctlidstr’) libavcodec/libvpxenc.c:108:6: error: ‘VP8E_UPD_REFERENCE’ undeclared here (not in a function) [VP8E_UPD_REFERENCE] = "VP8E_UPD_REFERENCE", ^ libavcodec/libvpxenc.c:108:6: error: array index in initializer not of integer type libavcodec/libvpxenc.c:108:6: note: (near initialization for ‘ctlidstr’) libavcodec/libvpxenc.c:109:6: error: ‘VP8E_USE_REFERENCE’ undeclared here (not in a function) [VP8E_USE_REFERENCE] = "VP8E_USE_REFERENCE", ^ libavcodec/libvpxenc.c:109:6: error: array index in initializer not of integer type libavcodec/libvpxenc.c:109:6: note: (near initialization for ‘ctlidstr’) common.mak:57: recipe for target 'libavcodec/libvpxenc.o' failed make: *** [libavcodec/libvpxenc.o] Error 1
-
@Lizzi said:
warning: ‘AVFrame::reference’ is deprecated
Not 100 percent certain, but looking at the ‘deprecated’ portion, it might be that ffmpeg’s wrapper needs to be updated.
Rollback?
Besides, I had a quick look at the deprecated list at ffmpeg ffmpeg dedprecated list You will have to scroll around the page to get an idea
Global AVCodecContext::codec_name [32] this field is not used for anything in libavcodec
`
That’s just what I think. I might be wrong though. There are some comments on the ffmpeg-full thread at Arch but they are not relevant.
There was something that I read on the Arch Forums about ffmpeg not updating, but the thread was not continued.
Other question: Did you at some point install these instead? Because they suppossedly conflict.Conflicts: ffmpeg, ffmpeg-full-git, ffmpeg-git
-
i had ffmpeg-full installed but on a recent update had to uninstall it for the update to complete but i forget the lib file that wouldnt update with ffmpeg-full installed
-
Ok. I’m sorry. I do not think I quite understand.
Are you saying that after some update, ffmpeg which for reasons unknown, interfered with that particular update and now in order for ffmpeg to be full and complete in it’s update, you forgot to include a lib file so that ffmpeg could be completely updated?And installing
libvpx
( for libvpx.so=3-64) does not do the trick?
Here’s what I did:
pacman -Qd libvpx
and I get this.
libvpx 1.5.0-2
Ok. Great.I also did this:
pacman -Qi libvpx
just to get a quick idea if there were any depends-on missing or anything like that.
I imagine you probably installed this via AUR, correct?the current version 2.8.1 doesn't work with libvpx-1.5.0 yet, need to add the patch part to PKGBUILD before build() section prepare() { cd ${pkgname%-full}-$pkgver patch -p1 -i ../ffmpeg-2.8.1-libvpxenc-remove-some-unused-ctrl-id-mappings.patch }
From the AUR link: ffmpeg and full comments
EDIT: OK, what about using thed
flag during (re-)install. That is,-Sd
Also, other point: What about removing stale libraries?
What happens when you do this:pacman -Qo /usr/lib/libavcodec.so*
Output please. -
@Modisc pacman -Qo /usr/lib/libavcodec.so*
/usr/lib/libavcodec.so is owned by ffmpeg 1:2.8.1-4
/usr/lib/libavcodec.so.56 is owned by ffmpeg 1:2.8.1-4
/usr/lib/libavcodec.so.56.60.100 is owned by ffmpeg 1:2.8.1-4 -
yes i installed it via aur.
-
@Modisc how do i add the patch? just edit the package build and add the lines? Im sorry. I go through phases where this stuff feels like greek to me and then after a while it seems like it all makes sense again eventually. Guess where i am now…
the current version 2.8.1 doesn’t work with libvpx-1.5.0 yet, need to add the patch part to PKGBUILD before build() section
prepare() {
cd ${pkgname%-full}-$pkgver
patch -p1 -i …/ffmpeg-2.8.1-libvpxenc-remove-some-unused-ctrl-id-mappings.patch -
@Modisc thanks for your help.
pacman -Qi libvpx
Name : libvpx
Version : 1.5.0-2
Description : VP8 and VP9 codec
Architecture : x86_64
URL : http://www.webmproject.org/
Licenses : BSD
Groups : None
Provides : libvpx.so=3-64
Depends On : glibc gcc-libs
Optional Deps : None
Required By : chromium ffmpeg firefox gd gst-plugins-good
gstreamer-vaapi gstreamer0.10-bad-plugins mplayer
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 3.19 MiB
Packager : Evangelos Foutras
Build Date : Tue 10 Nov 2015 07:44:42 PM EST
Install Date : Wed 11 Nov 2015 09:28:26 PM EST
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature -
Ok. So all that output is as expected. That’s good.
So now with editing PKGBUILD, which I have never done as I have never had a need to do so, the way it works is that when PKGBUILD asks you if you want to edit your installY/N
you will choose ‘yes’ to edit it.
I have never edited PKGBUILD but from what I understand is that you copy/paste this:prepare() { cd ${pkgname%-full}-$pkgver patch -p1 -i ../ffmpeg-2.8.1-libvpxenc-remove-some-unused-ctrl-id-mappings.patch }
into your install script.
You see, PKGBUILD is essentially a ‘recipe’ of sorts for building a piece of software. So when you edit your PKGBUILD by using the makepkg utility, you are giving it instructions to that recipe you are making.
That recipe is actually the INSTALL script. The INSTALL script is going to be executing a package-specific script. This is where your editing skills will come in handy because PKGBUILD is going to customize the way you want it to be installed.
Here is an example from the Arch Wiki on a script for editing. example script
I believe that you will just copy/paste your content directly into the install script.In that link given above , do you see the following?
package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" }
Instead of this above, copy/paste that information from the ffmpeg comment (or as I have shown you) in this post, directly into your INSTALL script.
SAVE
and thenEXIT
and continue on with your installation.I was reading on unix.stackexchange.com that it is a good practice to always have a look at the install package to make sure that all is good. I would agree with that. That also goes for the comments on any of the AUR for a particular script. Read them. There might be something that is missing and might need to be added. Good advice.
-
that didnt actuall work. as i copied and pasted it only part of it went in
Please add $VISUAL to your environment variables
for example:
export VISUAL=“vim” (in ~/.bashrc)
(replace vim with your favorite editor)==> Edit PKGBUILD with: prepare() {
/usr/lib/yaourt/util.sh: line 203: prepare(): command not found
==> ffmpeg-full dependencies: -
OK. Look what your output says. It is asking you what interface you want for editing.
It is asking you this:for example: export VISUAL=“vim” (in ~/.bashrc) (replace vim with your favorite editor)
So what you will need to do is go inside your ~/.bashrc file, which is a hidden file in your
/home
directory.
Look for this. You may need to uncomment a line here as well:# Some applications read the EDITOR variable to determine your favourite text # editor. So uncomment the line below and enter the editor of your choice :-) export EDITOR=/usr/bin/vim #export EDITOR=/usr/bin/mcedit
That line says to choose editor of your choice. Whether it is Vim or some GUI type.
Remember to ensure that you select it’s source which is found in/usr/bin/
.
Do just like it says in that file.Finally, if you feel like having fun and double checking all of this, you can do the following:
echo $EDITOR
andsudo echo $EDITOR
andecho $VISUAL
If there is output, great! If there is no output (or it is blank) that means that there is no EDITOR set. Using these two commands give yourself proof that you have set an editor, whether it is vim or some other GUI - type of editor.I am none too sure if you need to logout and login to take effect. My knowledge is only so much. There might be a command for this to take effect immediatly and if there is then I don’t know of anyone.
You might need to also do what is output below. Though as I already mentioned, I am not 100 percent certain. The reason why I am stating this is because you need to export the variables globally. Otherwise, it might just remain for the session only.
I am usingvim
as an example belowexport EDITOR=vim export VISUAL=vim
or do:
export EDITOR="/usr/bin/your-favorite-text-editor
There is some information at the Arch Wiki, https://wiki.archlinux.org/index.php/Environment_variables but I did not really read it all that much. Perhaps you have more time than I do. -
i actually dont have a ~/.bashrc file but its easy enough to create it.
Thanks for your help.
Trying it now.
-
@Modisc so i installed vim and created the ~/.bashrc file with just those two lines and after i try to run the install it asks me if i wish to edit the package build and i say yes and then i get an error in spite of the fact that vim is installed and i have rebooted
==> Edit PKGBUILD ? [Y/n] (“A” to abort)
==> ------------------------------------
==>/usr/lib/yaourt/util.sh: line 203: “vim”: command not found
-
@Modisc well its coming along nicely. i guess now i need the actual patch
==> Starting prepare()…
patch: **** Can’t open patch file …/ffmpeg-2.8.1-libvpxenc-remove-some-unused-ctrl-id-mappings.patch : No such file or directory
==> ERROR: A failure occurred in prepare().
Aborting…
==> ERROR: Makepkg was unable to build ffmpeg-full.
==> Restart building ffmpeg-full ? [y/N]
==> ------------------------------------
==> -
Hi @Lizzi
Sorry. I do not know what the issue is. Your bashrc file may require a bit more than just the two lines.
Here is my bashrc file# # ~/.bashrc # # If not running interactively, don't do anything [[ $- != *i* ]] && return alias ls='ls --color=auto' PS1='[\[email protected]\h \W]\$ '
copy/ paste as needed.
By the way, would you be able to use the (`) for coding your output. There is a sticky in the forums. It really does make a diffference when trying to read someone’s output.
EDIT: So did you install the actual patch?
-
@Modisc where is the patch? its not like it exists somewhere i can d/l. I put the commands into the build but without an actual patch whats to do?
-
Ok. I’m sorry. this is going to take a bit of research as to where the actual patch is. Let me have a look around on the net. I’m as confused as you are. I’m kind of surprised as well there was no actual patch to download.
-
HI @Lizzi
Just wanted to let you know that I am Googling on the net, (specifically the Arch Forums) on your issue. From what I have been able to gather so far is that in some instances (read some, not all) that installing from AUR can prove problematic at times when wanting to patch.Apparantly, from what I understand is files are or can be modified according to the .diff patch file. You might have to use
makepkg -i
Go tomakepkg --help
or useman makepkg
for more information.
But let’s hold of on that for the moment.
I am only posting to let you know that I am searching and have not forgotten about you.
Also, keep in mind something else (it is only info that I have read while Googling for you), and that is that the patch might not be current with the current kernel that you have (which ever one you are using).
So I am just throwing it out there, that’s all.Other than that, I would not mind deferring this issue to someone with a bit more knowledge than I have.