Package Details: mpv-build-git 0.36.0.285.gda400ed3a9-1

Git Clone URL: https://aur.archlinux.org/mpv-build-git.git (read-only, click to copy)
Package Base: mpv-build-git
Description: Video player based on MPlayer/mplayer2 (uses statically linked ffmpeg). (GIT version)
Upstream URL: http://mpv.io
Keywords: mpv
Licenses: GPL2, GPL3, BSD, LGPL3, LGPL2.1
Conflicts: mpv
Provides: libmpv.so, mpv
Submitter: sl1pkn07
Maintainer: sl1pkn07
Last Packager: sl1pkn07
Votes: 31
Popularity: 0.68
First Submitted: 2013-09-08 11:13 (UTC)
Last Updated: 2023-09-17 16:13 (UTC)

Required by (341)

Sources (6)

Latest Comments

1 2 3 4 5 6 .. 17 Next › Last »

laichiaheng commented on 2023-09-11 02:11 (UTC)

patching file libavformat/vapoursynth.c
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file libavformat/vapoursynth.c.rej
==> 錯誤: prepare() 遭遇失敗。
    正在中止...

monarc99 commented on 2023-09-10 23:23 (UTC)

patch is no longer needed, they fixed it in ffmpeg.

sl1pkn07 commented on 2023-09-09 18:48 (UTC)

tnx bro

monarc99 commented on 2023-09-09 16:15 (UTC)

one include is missing:

https://paste.cachyos.org/p/42c073b.patch

FabioLolix commented on 2023-09-09 14:31 (UTC)

no i think is not the problem here

My post wasn't related to laichiaheng

that message always appear when change the url. with change only from 'http' to 'https' do the same

I know and I have proposed a solution, it is not only a matter of 'http' to 'https', I already have ffmpeg download from an https url, the error happens because the urls are different, https://git.ffmpeg.org/ffmpeg.git vs https://github.com/ffmpeg/ffmpeg.git

sl1pkn07 commented on 2023-09-09 14:23 (UTC) (edited on 2023-09-09 14:35 (UTC) by sl1pkn07)

yes. that message always appear when change the url. with change only from 'http' to 'https' do the same, so i think is not the problem here

EDIT: https://github.com/FFmpeg/FFmpeg/commits/master and https://git.ffmpeg.org/ffmpeg.git are in sync

FabioLolix commented on 2023-09-09 14:18 (UTC)

@sl1pkn07 for ffmpeg source please use the same source of ffmpeg-git AUR pkgbuild (source=('git+https://git.ffmpeg.org/ffmpeg.git') or rename it; otherwise build will fail for who have configure common source destination

 * [new tag]               v0.36.0               -> v0.36.0
==> ERROR: /mnt/1TBWDBLACK/source/ffmpeg is not a clone of https://github.com/ffmpeg/ffmpeg.git
    Aborting...
==> ERROR: Could not download sources.

sl1pkn07 commented on 2023-09-09 14:10 (UTC)

seems ffmpeg issue

laichiaheng commented on 2023-09-09 13:52 (UTC)

src/libavformat/vapoursynth.c: In function 'free_frame':
src/libavformat/vapoursynth.c:302:5: error: unknown type name 'AVFrame'; use 'struct' keyword to refer to the type
  302 |     AVFrame *frame = (AVFrame *)data;
      |     ^~~~~~~
      |     struct 
src/libavformat/vapoursynth.c:302:23: error: 'AVFrame' undeclared (first use in this function)
  302 |     AVFrame *frame = (AVFrame *)data;
      |                       ^~~~~~~
src/libavformat/vapoursynth.c:302:23: note: each undeclared identifier is reported only once for each function it appears in
src/libavformat/vapoursynth.c:302:32: error: expected expression before ')' token
  302 |     AVFrame *frame = (AVFrame *)data;
      |                                ^
src/libavformat/vapoursynth.c:304:5: error: implicit declaration of function 'av_frame_free' [-Werror=implicit-function-declaration]
  304 |     av_frame_free(&frame);
      |     ^~~~~~~~~~~~~
src/libavformat/vapoursynth.c: In function 'read_packet_vs':
src/libavformat/vapoursynth.c:339:5: error: unknown type name 'AVFrame'; use 'struct' keyword to refer to the type
  339 |     AVFrame *frame = NULL;
      |     ^~~~~~~
      |     struct 
src/libavformat/vapoursynth.c:385:13: error: implicit declaration of function 'av_frame_alloc'; did you mean 'av_image_alloc'? [-Werror=implicit-function-declaration]
  385 |     frame = av_frame_alloc();
      |             ^~~~~~~~~~~~~~
      |             av_image_alloc
src/libavformat/vapoursynth.c:385:11: warning: assignment to 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  385 |     frame = av_frame_alloc();
      |           ^
src/libavformat/vapoursynth.c:391:10: error: request for member 'format' in something not a structure or union
  391 |     frame->format       = st->codecpar->format;
      |          ^~
src/libavformat/vapoursynth.c:392:10: error: request for member 'width' in something not a structure or union
  392 |     frame->width        = st->codecpar->width;
      |          ^~
src/libavformat/vapoursynth.c:393:10: error: request for member 'height' in something not a structure or union
  393 |     frame->height       = st->codecpar->height;
      |          ^~
src/libavformat/vapoursynth.c:394:10: error: request for member 'colorspace' in something not a structure or union
  394 |     frame->colorspace   = st->codecpar->color_space;
      |          ^~
src/libavformat/vapoursynth.c:397:10: error: request for member 'colorspace' in something not a structure or union
  397 |     frame->colorspace       = get_vs_prop_int(s, props, "_Matrix",      frame->colorspace);
      |          ^~
src/libavformat/vapoursynth.c:397:78: error: request for member 'colorspace' in something not a structure or union
  397 |     frame->colorspace       = get_vs_prop_int(s, props, "_Matrix",      frame->colorspace);
      |                                                                              ^~
src/libavformat/vapoursynth.c:398:10: error: request for member 'color_primaries' in something not a structure or union
  398 |     frame->color_primaries  = get_vs_prop_int(s, props, "_Primaries",   frame->color_primaries);
      |          ^~
src/libavformat/vapoursynth.c:398:78: error: request for member 'color_primaries' in something not a structure or union
  398 |     frame->color_primaries  = get_vs_prop_int(s, props, "_Primaries",   frame->color_primaries);
      |                                                                              ^~
src/libavformat/vapoursynth.c:399:10: error: request for member 'color_trc' in something not a structure or union
  399 |     frame->color_trc        = get_vs_prop_int(s, props, "_Transfer",    frame->color_trc);
      |          ^~
src/libavformat/vapoursynth.c:399:78: error: request for member 'color_trc' in something not a structure or union
  399 |     frame->color_trc        = get_vs_prop_int(s, props, "_Transfer",    frame->color_trc);
      |                                                                              ^~
src/libavformat/vapoursynth.c:402:14: error: request for member 'color_range' in something not a structure or union
  402 |         frame->color_range = AVCOL_RANGE_JPEG;
      |              ^~
src/libavformat/vapoursynth.c:404:10: error: request for member 'sample_aspect_ratio' in something not a structure or union
  404 |     frame->sample_aspect_ratio.num = get_vs_prop_int(s, props, "_SARNum", 0);
      |          ^~
src/libavformat/vapoursynth.c:405:10: error: request for member 'sample_aspect_ratio' in something not a structure or union
  405 |     frame->sample_aspect_ratio.den = get_vs_prop_int(s, props, "_SARDen", 1);
      |          ^~
In file included from src/libavformat/vapoursynth.c:31:
src/libavformat/vapoursynth.c:407:61: error: request for member 'width' in something not a structure or union
  407 |     av_assert0(vs->vsapi->getFrameWidth(vsframe, 0) == frame->width);
      |                                                             ^~
src/libavutil/avassert.h:41:11: note: in definition of macro 'av_assert0'
   41 |     if (!(cond)) {                                                      \
      |           ^~~~
src/libavformat/vapoursynth.c:408:62: error: request for member 'height' in something not a structure or union
  408 |     av_assert0(vs->vsapi->getFrameHeight(vsframe, 0) == frame->height);
      |                                                              ^~
src/libavutil/avassert.h:41:11: note: in definition of macro 'av_assert0'
   41 |     if (!(cond)) {                                                      \
      |           ^~~~
src/libavformat/vapoursynth.c:410:37: error: request for member 'format' in something not a structure or union
  410 |     desc = av_pix_fmt_desc_get(frame->format);
      |                                     ^~
src/libavformat/vapoursynth.c:414:34: error: request for member 'height' in something not a structure or union
  414 |         ptrdiff_t plane_h = frame->height;
      |                                  ^~
src/libavformat/vapoursynth.c:416:14: error: request for member 'data' in something not a structure or union
  416 |         frame->data[i] = (void *)vs->vsapi->getReadPtr(vsframe, p);
      |              ^~
src/libavformat/vapoursynth.c:417:14: error: request for member 'linesize' in something not a structure or union
  417 |         frame->linesize[i] = vs->vsapi->getStride(vsframe, p);
      |              ^~
src/libavformat/vapoursynth.c:419:14: error: request for member 'buf' in something not a structure or union
  419 |         frame->buf[i] = av_buffer_ref(vsframe_ref);
      |              ^~
src/libavformat/vapoursynth.c:420:19: error: request for member 'buf' in something not a structure or union
  420 |         if (!frame->buf[i]) {
      |                   ^~
src/libavformat/vapoursynth.c:431:14: error: request for member 'buf' in something not a structure or union
  431 |         frame->buf[i]->data = frame->data[i];
      |              ^~
src/libavformat/vapoursynth.c:431:36: error: request for member 'data' in something not a structure or union
  431 |         frame->buf[i]->data = frame->data[i];
      |                                    ^~
src/libavformat/vapoursynth.c:432:14: error: request for member 'buf' in something not a structure or union
  432 |         frame->buf[i]->size = frame->linesize[i] * plane_h;
      |              ^~
src/libavformat/vapoursynth.c:432:36: error: request for member 'linesize' in something not a structure or union
  432 |         frame->buf[i]->size = frame->linesize[i] * plane_h;
      |                                    ^~
cc1: some warnings being treated as errors
make: *** [/var/tmp/pamac-build-laichiaheng/mpv-build-git/src/mpv-build/ffmpeg/ffbuild/common.mak:81: libavformat/vapoursynth.o] Error 1
make: *** Waiting for unfinished jobs....
src/libavformat/rtsp.c: In function 'ff_rtsp_make_setup_request':
src/libavformat/rtsp.c:1584:30: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=]
 1584 |                  "Transport: %s\r\n",
      |                              ^~
 1585 |                  transport);
      |                  ~~~~~~~~~    
In file included from /usr/include/stdio.h:964,
                 from src/libavutil/common.h:38,
                 from src/libavutil/avutil.h:296,
                 from src/libavutil/opt.h:31,
                 from src/libavformat/rtsp.c:33:
In function 'snprintf',
    inlined from 'ff_rtsp_make_setup_request' at src/libavformat/rtsp.c:1583:9:
/usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 14 and 4109 bytes into a destination of size 4096
   54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   55 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
make: Leaving directory '/var/tmp/pamac-build-laichiaheng/mpv-build-git/src/mpv-build/ffmpeg_build'

mackel commented on 2023-09-06 10:59 (UTC)

Thanks, it works now.