Package Details: x262-git 0.142.2631+93.9679f15-1

Git Clone URL: https://aur.archlinux.org/x262-git.git (read-only, click to copy)
Package Base: x262-git
Description: x264 with MPEG-2 video support (GIT version)
Upstream URL: https://www.videolan.org/developers/x262.html
Licenses: GPL
Conflicts: x262
Provides: x262
Submitter: sl1pkn07
Maintainer: sl1pkn07
Last Packager: sl1pkn07
Votes: 0
Popularity: 0.000000
First Submitted: 2013-09-15 16:29 (UTC)
Last Updated: 2024-03-18 00:09 (UTC)

Latest Comments

1 2 Next › Last »

a821 commented on 2024-02-26 09:01 (UTC)

@sl1pkn07: Indeed it was the lto the culprit. It compiles on a clean chroot and on the live system.

Side note, IIRC extra-x86_64-build uses /usr/share/devtools/makepkg.conf.d/x86_64.conf as configuration rather that /etc/makepkg.conf, which has lto enabled (among other differences), and this results in differences sometimes... just to keep in mind :)

sl1pkn07 commented on 2024-02-25 14:10 (UTC) (edited on 2024-02-25 14:10 (UTC) by sl1pkn07)

found it! damn lto... try again @a821

sl1pkn07 commented on 2024-02-25 13:49 (UTC)

is strange because build fine for me in chroot or live system

configure:17900: $? = 0
configure:17919: result: FFmpeg
configure:17924: checking whether FFmpeg works
configure:17948: gcc -o conftest -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/tmp/makepkg/x262-git/src=/usr/src/debug/x262-git -I/tmp/makepkg/x262-git/src/fakeroot/include  -D__STDC_CONSTANT_MACROS -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now conftest.c  -L/tmp/makepkg/x262-git/src/fakeroot/lib -lavformat -lavcodec -lxcb -lxcb-shm -lxcb-xfixes -lxcb-shape -lX11 -lSDL -llzma -lbz2 -lz -pthread -lswresample -lswscale -lavutil -lm >&5
In file included from /tmp/makepkg/x262-git/src/fakeroot/include/libavutil/common.h:452,
                 from /tmp/makepkg/x262-git/src/fakeroot/include/libavutil/avutil.h:289,
                 from /tmp/makepkg/x262-git/src/fakeroot/include/libavutil/samplefmt.h:24,
                 from /tmp/makepkg/x262-git/src/fakeroot/include/libavcodec/avcodec.h:31,
                 from conftest.c:27:
/tmp/makepkg/x262-git/src/fakeroot/include/libavutil/mem.h:185:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes]
  185 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size);
      | ^~~~~~~~~~~~~
configure:17948: $? = 0
configure:17958: result: yes

i'm not sure wat happen here

a821 commented on 2024-02-25 13:20 (UTC)

@sl1pkn07: Thanks for your efforts! However it still does not work. It fails in the same place (inside a chroot (with extra-x86_64-build) and also on the live system). I even tried in a different computer and the same. Here are the config.log and build.log of the chroot build. Does it build for you on a clean chroot? If so, are you sure your chroot is fresh? (I remember some issues ago with an old chroot on another package).

@MarsSeed: I agree that this library is basically dead (someone asked the same question in 2017 but got no response). I do not see activity on the mailing list either. Still, I think it's fair to give the maintainer the chance to try to keep this alive if he wants. And also, there are a lot of pending requests; I don't believe this is of high priority.

MarsSeed commented on 2024-02-25 13:20 (UTC)

In reply to @sl1pkn07's deleted comment:

@marseed H264 exist in ffmpeg, but you not try to remove X264 from official repos...

It is not correct. x264 is separate from ffmpeg, it does not exist inside ffmpeg.

The FFmpeg code itself seens to only contain a h264_qsv decoder, which can only be used with Intel QuickSync.

But in any case, your argument is flawed. x264 still works with current ffmpeg, whereas this one does not.

sl1pkn07 commented on 2024-02-25 12:42 (UTC)

@a821 try now(?)

MarsSeed commented on 2024-02-25 11:47 (UTC)

This package is based on the ancient ffmpeg 2.7.7.

The current ffmpeg already includes an MPEG2 (H.262 Part 2) codec.

There is no need to keep this discontinued library from 2015; alsp there is no legit use case or consuming applications.

a821 commented on 2024-02-25 11:26 (UTC)

Here is the config.log found in src/build-ffms2 https://0x0.st/H5CK.log

sl1pkn07 commented on 2024-02-25 11:06 (UTC)

please post the FFmpegsource config.log file