Patch file to support latest FFmpeg SVN

Robert
2010-05-26
2013-05-02
  • Robert

    Robert - 2010-05-26

    I have spent a couple of months upgrading Tyler's ffmpeg-r9226 patch file that he supplied with the last VisualHub build 1.3x. I have managed to get VisualHub working with the LATEST FFmpeg SVN head (r23331). I would like know if there is a place to post the patch file. I have a patch file for FFMpeg SVN and FFmpeg 0.5.2. The SVN build has the following features (plus others):

    - better MKV support
    - native AAC encoder support (libaac)
    - decoding of WebM files
    - ffmpeg presets via the -vpre/-apre commands (stored in \Library\Application Support/Techspansion/ffmpeg)
    - supports the latest version of X264
    - GSM/AMR/SPEEX decoding (if libraries are present)
    - better support for DVD files (such as WALL-E - this never worked for me with FFmpeg r9226)
    - restored using flags in the command line (removed in one of the FFmeg upgrades)
    - restored using h264/xvid/mp3 as encoders (ex: -vcodec xvid, -acodec mp3 - pretty much broke FFmpeg with VH)

     
  • Lance Drake

    Lance Drake - 2010-10-04

    Does anyone know if the MPEG LA recent announcement regarding royalty free status affects the legality of including the FFmpeg software in commercial products?

    Thanks!

    Lance Drake

     
  • Robert

    Robert - 2010-11-16

    I have gotten a couple of responses for the patch file so I have posted it to my personal web site along with a binary. The binary is INTEL only. To use the patch file, you will need to check out ffmpeg revision 25685 and then apply the patch file below. See ffmpeg.org for instructions on how to check out ffmpeg. As for the binary, once extracted a folder called Techspansion should be created. Place this folder in your "/Library/Application Support" folder. Make a backup of this folder since it has the original vh131ffmpeg binary. The binary is static so you do not need any other libraries to support it. Also the binary is not localized. It is designed for the English version of Mac OS X. It looks in /Library/Application Support/Techspansion/vhpresets for the ffmpeg presets by default. You can also store presets in your home directory ~/.visualhub.

    FFmpeg r25685 patch: ftp://ftp-www.earthlink.net/visualhub/ffmpeg-r25685.diff
    FFmpeg binary for VH: ftp://ftp-www.earthlink.net/visualhub/vh131ffmpeg-bin-intel.zip

    Compiled options: env CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/ lib" ./configure -prefix=/usr/local -enable-static -disable-shared -enable-pthreads -enable-libmp3lame -enable-libxvid -enable-libx264 -enable-libtheora -enable-libvorbis -enable-libfaac - enable-libopencore-amrwb -enable-libopencore-amrnb -enable-libgsm - enable-libspeex -enable-libnut -disable-ffplay -disable-ffserver - enable-nonfree -enable-gpl -enable-version3 -disable-avfilter - enable-swscale -enable-libvpx

     
  • Robert

    Robert - 2010-11-17

    In case anyone was interested, here's the VisualHub setting that I use to convert my DVD videos to MP4. The string goes in the advanced settings. Also unchecking "H.264 Encoding" and using this string will output your MP4 videos at 720X480 (still uses X264 to convert the video):

    -vcodec libx264 -level 30 -crf 20 -qmin 10 -qmax 51 -g 240 -coder 0 -cmp +chroma -bf 0 -refs 1 -directpred 3 -trellis 0 -subq 6 -me  umh -me_range 16 -partitions +parti4x4+partp8x8+partb8x8 -flags +loop -flags2 -wpred+mbtree-dct8x8-fastpskip -qcomp 0.6 -qdiff 4 -keyint_min 24  -sc_threshold 40 -i_qfactor 0.71  -rc_lookahead 60  -deblockalpha -1 -deblockbeta -1 -maxrate 0 -bufsize 0

    This is similar to using HandBrake at 60% (20.4 CRF) with X264.

     
  • Robert

    Robert - 2011-08-04

    The binary can now be found on MediaFire. Once my Earthlink account comes back online, I am going to post an informal webpage that just links to it: http://www.mediafire.com/?zttda5sb1ss7nis.

     
  • Robert

    Robert - 2011-08-04

    The FAQ, LICENSE, CHANGELOG and source changes are located in the Techspansion folder. This folder is created when the above file is extracted. View the FAQ for installation instructions.

     
  • Tyler Loch

    Tyler Loch - 2011-08-08

    Sorry about that. I'll update the vhlion page with the new link.

     
  • Michael Schoop

    Michael Schoop - 2011-08-08

    Good to see you Tyler. I still think both your hubs are the best ever out there. I just wish I was as technically inclined as everyone here. ;-)  Michael

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks