#18078: ffmpeg SVN-r15261 Unable to use x264 -----------------------------+---------------------------------------------- Reporter: fclaire@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: ffmpeg x264 | Port: ffmpeg -----------------------------+---------------------------------------------- I've successfully installed ffmpeg on my Leopard 10.5.6: {{{ sudo port install ffmpeg +gpl +postproc +extvorbis +xvid +x264 +a52 +avfilter ---> Fetching ffmpeg ---> Verifying checksum(s) for ffmpeg ---> Extracting ffmpeg ---> Applying patches to ffmpeg ---> Configuring ffmpeg ---> Building ffmpeg ---> Staging ffmpeg into destroot ---> Installing ffmpeg @15261_0+a52+avfilter+darwin_i386+extvorbis+gpl+postproc+x264+xvid ---> Activating ffmpeg @15261_0+a52+avfilter+darwin_i386+extvorbis+gpl+postproc+x264+xvid ---> Cleaning ffmpeg }}} But when I try to convert an mpeg video into a mp4/x264 format it doesn't work: {{{ ffmpeg -i myvid.mpg -ac 1 -vcodec libx264 -s 480x384 -b 450000 myvid.mp4 FFmpeg version SVN-r15261, Copyright (c) 2000-2008 Fabrice Bellard, et al. configuration: --prefix=/opt/local --mandir=/opt/local/share/man --enable-shared --enable-pthreads --disable-mmx --cc=gcc-4.0 --enable-gpl --enable-postproc --enable-libvorbis --enable-libxvid --enable-libx264 --enable-liba52 --enable-swscale --enable-avfilter libavutil 49.10. 0 / 49.10. 0 libavcodec 51.71. 0 / 51.71. 0 libavformat 52.22. 1 / 52.22. 1 libavdevice 52. 1. 0 / 52. 1. 0 libavfilter 1. 1. 0 / 1. 1. 0 libswscale 1. 6. 1 / 1. 6. 1 libpostproc 51. 2. 0 / 51. 2. 0 built on Jan 18 2009 11:33:02, gcc: 4.0.1 (Apple Inc. build 5490) Input #0, mpeg, from 'myvid.mpg': Duration: 00:04:03.96, start: 0.132111, bitrate: 12397 kb/s Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x576 [PAR 16:15 DAR 4:3], 12000 kb/s, 25.00 tb(r) Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 256 kb/s Output #0, mp4, to 'myvid.mp4': Stream #0.0: Video: libx264, yuv420p, 480x384 [PAR 16:15 DAR 4:3], q=2-31, 450 kb/s, 25.00 tb(c) Stream #0.1: Audio: 0x0000, 48000 Hz, mono, s16, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 [libx264 @ 0x1003a00]using SAR=16/15 [libx264 @ 0x1003a00]using cpu capabilities: MMX2 SSE2Fast SSSE3 PHADD SSE4 Cache64 Unsupported codec for output stream #0.1 }}} So despite libx264 is well present in the configure line, it isn't listed in the list of libraries together with libavutil, libavcodec, etc... Did I miss something to get the x264 codec support with ffmpeg ? -- Ticket URL: <http://trac.macports.org/ticket/18078> MacPorts <http://www.macports.org/> Ports system for Mac OS