| Summary: | libxvid support? | ||
|---|---|---|---|
| Product: | Fedora | Reporter: | leigh scott <leigh123linux> |
| Component: | ffmpeg | Assignee: | Dominik 'Rathann' Mierzejewski <dominik> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | belegdol, kwizart |
| Priority: | P1 | ||
| Version: | unspecified | ||
| Hardware: | x86_64 | ||
| OS: | GNU/Linux | ||
| namespace: | |||
|
Description
leigh scott
2016-10-01 13:28:50 CEST
I guess you mean libxvid ? According to build.log, there is support ? Do you have a different output ? Actually I've checked the f23 ffmpeg 2.8 build.log and it's there. But not in f26's ffmpeg 3.1. There is still a --enable-libxvid in ffmpeg git. libxvid support is also missing in F24 ffmpeg https://koji.rpmfusion.org/koji/rpminfo?rpmID=43947 This commit seems to disable support https://pkgs.rpmfusion.org/cgit/free/ffmpeg.git/commit/?id=1c686737ff9ad8e2fdf08aef3c1216c1d5dc32bd I've committed a fix for the issue https://pkgs.rpmfusion.org/cgit/free/ffmpeg.git/commit/?id=97cbc703d7e855809b983f1e296e2c98fa1f1676 Well, have you checked that it wasn't possible to read a xvid file ? ffmpeg might have internal xvid decoder, so using the external libxvid might not be required... (In reply to Nicolas Chauvet from comment #5) > Well, have you checked that it wasn't possible to read a xvid file ? > ffmpeg might have internal xvid decoder, so using the external libxvid might > not be required... I needed the encoder [leigh@main_pc curlew-0.2.2]$ ffmpeg -encoders |grep xvid ffmpeg version 3.1.2 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 6.1.1 (GCC) 20160621 (Red Hat 6.1.1-3) configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' --extra-ldflags='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libcdio --enable-indev=jack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-nvenc --extra-cflags=-I/usr/include/nvenc --enable-openal --enable-opencl --enable-libopencv --enable-opengl --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libx264 --enable-libx265 --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect libavutil 55. 28.100 / 55. 28.100 libavcodec 57. 48.101 / 57. 48.101 libavformat 57. 41.100 / 57. 41.100 libavdevice 57. 0.101 / 57. 0.101 libavfilter 6. 47.100 / 6. 47.100 libavresample 3. 0. 0 / 3. 0. 0 libswscale 4. 1.100 / 4. 1.100 libswresample 2. 1.100 / 2. 1.100 libpostproc 54. 0.100 / 54. 0.100 [leigh@main_pc curlew-0.2.2]$ With my commit [leigh@main_pc curlew-0.2.2]$ ffmpeg -encoders |grep xvid ffmpeg version 3.1.3 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 6.2.1 (GCC) 20160916 (Red Hat 6.2.1-2) configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' --extra-ldflags='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libcdio --enable-libfdk-aac --enable-nonfree --enable-indev=jack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-nvenc --extra-cflags=-I/usr/include/nvenc --enable-openal --enable-opencl --enable-libopencv --enable-opengl --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-libmfx --enable-runtime-cpudetect libavutil 55. 28.100 / 55. 28.100 libavcodec 57. 48.101 / 57. 48.101 libavformat 57. 41.100 / 57. 41.100 libavdevice 57. 0.101 / 57. 0.101 libavfilter 6. 47.100 / 6. 47.100 libavresample 3. 0. 0 / 3. 0. 0 libswscale 4. 1.100 / 4. 1.100 libswresample 2. 1.100 / 2. 1.100 libpostproc 54. 0.100 / 54. 0.100 V..... libxvid libxvidcore MPEG-4 part 2 (codec mpeg4) (In reply to leigh scott from comment #6) > (In reply to Nicolas Chauvet from comment #5) > > Well, have you checked that it wasn't possible to read a xvid file ? > > ffmpeg might have internal xvid decoder, so using the external libxvid might > > not be required... > > I needed the encoder Is there a particular reason to use the xvidcore codec for encoding? The native MPEG-4 part 2 codec is just as good. (In reply to leigh scott from comment #4) > This commit seems to disable support > > https://pkgs.rpmfusion.org/cgit/free/ffmpeg.git/commit/ > ?id=1c686737ff9ad8e2fdf08aef3c1216c1d5dc32bd Yes, that was intentional to trim unnecessary dependencies which don't add any new features. > I've committed a fix for the issue > > https://pkgs.rpmfusion.org/cgit/free/ffmpeg.git/commit/ > ?id=97cbc703d7e855809b983f1e296e2c98fa1f1676 I'd prefer it if you didn't revert my commits without any discussion. (In reply to Dominik 'Rathann' Mierzejewski from comment #8) > (In reply to leigh scott from comment #4) > > This commit seems to disable support > > > > https://pkgs.rpmfusion.org/cgit/free/ffmpeg.git/commit/ > > ?id=1c686737ff9ad8e2fdf08aef3c1216c1d5dc32bd > > Yes, that was intentional to trim unnecessary dependencies which don't add > any new features. > > > I've committed a fix for the issue > > > > https://pkgs.rpmfusion.org/cgit/free/ffmpeg.git/commit/ > > ?id=97cbc703d7e855809b983f1e296e2c98fa1f1676 > > I'd prefer it if you didn't revert my commits without any discussion. I intend to package curlew and it complained about the missing encoder libxvid https://sourceforge.net/projects/curlew/files/ |