31 December 2011

30 December 2011

How to make PyGimp Portable

There are become more and more plugins being implemented in python right?
This was explained two years ago in my older post here
Here is the small patch (applicable for gimp-2.7.4 too)

After build Gimp, we need to adjust the following files
lib\gimp\2.0\environ\default.env :
add the following line and remove any existing PATH declaration
#add binpath in non hardecoded way

lib\gimp\2.0\environ\pygimp.env (there should be a blank line in the end) :
; PYTHONPATH=${gimp_plug_in_dir}/python

26 December 2011

OpenEXR with MinGW

I'm planning on updating my largest compile endeavor of err GTKGraphics Suite 2.0 however inkscape 0.49 seems take a bit more time (they are waiting for cairo 1.10.3?) obviously I'm reluctant to make inkscape 0.48.x build as it was the slowest before 0.49 (refactoring release). Then I'm thrilled that nip2 finally can directly open exr without crashing (no need to manually convert into .v image first).

However I wonder why openexr can't use pthreads under MinGW (note: I'm using pthread-win32 2.9) which I follow this build guide previously. Have a look at the following headers on IlmBase 1.0.1 (also in 1.0.2):
IlmThread.h, IlmThreadMutex.h, IlmThread and IlmThreadSemaphore.h

Clearly there is #ifdefs discrepancies..

20 December 2011

FFMPEG with AoTuV win32 binary

Combining the best audio encoder: AoTuV (http://www.geocities.jp/aoyoume/aotuv/) and FFMPEG
With aotuv we can use low bitrates ~48-64Kbps ogg vorbis (still in good quailty, at least I could say 64K is similar to 128K VBR LAME) which is not available in regular libvorbis. It should beat Apple's AAC too.

Happy encoding!


Mar 4, 2012
Version 0.10 (for Core2 - i7 processor) build with MinGW-W64 GCC 4.6.2

ffmpeg-0.10.exe  6.87MB
frei0r video FX plugins
ladspa audio FX plugins
timidity GUS pats (for MIDI support, currently sounds weird)
ffmpeg-0.10-docs (ffmpeg's command options are changed overtime, be sure read this first)
configuration: --enable-gpl --enable-version3 --enable-libgsm --enable-libopencore-amrnb --enable-libschroedinger --enable-libspeex --enable-libvpx --enable-libmp3lame --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libx264 --enable-libxvid --enable-libxavs --enable-libcelt --enable-libmodplug --enable-libutvideo --enable-zlib --enable-bzlib --enable-avisynth --enable-libass --enable-libfreetype --enable-frei0r --enable-ladspa --enable-libsox --enable-libflite --enable-libcdio --enable-openal --enable-gnutls --enable-librtmp --enable-pthreads --enable-runtime-cpudetect --enable-small --disable-debug --disable-outdevs --disable-encoder='vorbis,aac' --disable-decoder='amrnb,dirac,gsm,gsm_ms,vp8'
- merged with sastes-ffmpeg
- enabling: ladspa, sox, jack (using static libjack) and flite
- force ffmpeg to accept negative value (quality), previously ffmpeg will reset (sorry)
- porting hundreds of ladspa plugins
- build experimental jack-1.9.8 for win32
- shrink frei0r plugins size by using gcc 3.4
- bundling timidity gravis GUS

Feb 10, 2012
Version 0.10 (for Core2 - i7 processor) build with MinGW-W64 GCC 4.6.2

This installer will extract ffmpeg.exe ffplay.exe and ffprobe.exe then create console-less version of the three with "w" suffix and then compress the executables with UPX. All in one go

Dec 20, 2011
Version 0.9 (for Core2 - i7 processor) build with MinGW32 GCC 4.6.2

ffmpeg with jackaudio and openal 1.1 input support (untested, explicitly require them to be installed):
configuration: --enable-gpl --enable-version3 --enable-zlib --enable-bzlib --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-libgsm --enable-libtheora --enable-libschroedinger --enable-libspeex --enable-libcelt --enable-libxavs --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-libmp3lame --enable-libutvideo --enable-libmodplug --enable-libopenjpeg --enable-libass --enable-avisynth --enable-libfreetype --enable-frei0r --enable-openal --enable-libcdio --enable-librtmp --enable-gnutls --enable-runtime-cpudetect --enable-small --enable-pthreads --disable-w32threads --disable-debug --disable-outdevs --disable-encoder='vorbis,aac,jpeg2000' --disable-decoder='gsm,gsm_ms,vp8,dirac,jpeg2000,amrnb,amrwb' --extra-libs='-ldl -lstdc++' --prefix=/local/ffmpeg
 3.88 MB
avconvw_nostd.exe 3.88 MB
ffmpeg_nostd.exe 3.89 MB
ffmpegw_nostd.exe 3.89 MB
ffmpeg.exe 3.89 MB
ffmpegw.exe 3.89 MB
avconv.exe 3.88 MB
avconvw.exe 3.88 MB
ffplay.exe 2.64 MB
ffplayw.exe 2.74 MB
ffprobe.exe 2.21 MB
ffprobew.exe 2.21 MB

Optional files
frei0r.7z 3.84 MB (place frei0r folder alongside ffmpeg executables)
ffmpeg_docs_presets.7z 9.00 MB
ffmpeg_deps.7z 3.31MB (static library and headers of ffmpeg dependencies in dwarf2 mingw32 binary, for rebuild/updating ffmpeg)

- I'm aware that due to intense UPX packing, some incompetent heuristic AV might report them as virus but I don't care...
- Executables with 'w' suffix means it wont show console dialog (mute), they maybe useful in some circumstance. Redirecting stdout to a file still works of course.
- I didn't go for performance when compiling so they might a bit slower but certainly smaller.
- GCC graphite auto-parallelism is enabled to most of external encoders. This may turn out good or bad
- Currently tested for usage with .mod, .ogg, .mp4(x264), mp3 and utvideo files.

13 December 2011

Yuk ngenet carane wong kere?

Piye tjuk lagi bokek? ra duwe duit? namung pengen fesbukan? Halah! ndeso...

Yen jenengan waos berita sa'niki, ngertos mboten soal "curi pulsa" sing tekan milyaran iku?
Nah iki dudu ngajari ben jenengan koyo ngono tjuk, cuma rada memper utawa "cara aluse"

Sa'umpamane jenengan kere mende tapi duwe kompie lan saged ngragati 'nggo tumbas modem cdma lan kertu perdana sing 7000an, kan kuwi ora larang banget tho tjuk? paling 'ntek satusan ewu ra nganti rongatus... Lah saiki jenengan pikir yen duit sakmono iso nggo ngenet sak puas'e?

03 December 2011

PyGTK 2.24.0 GTK+-2.24.8 AIO 64bit

Portable minimal 64bit PyGTK 2.24.0 with numpy (download the unoptimized one) support, without freetype, without libglade (don't confuse it with gtkbuilder) and without libffi. This one bundled with GTK+ 2.24.8 with new icons and cairo patch. Built using mingw-w64 gcc 4.6.2.

To install just extract to site-packages folder of python 2.6.x 64bit and you're ready to go.