Comments

Ffmpeg MP4 Does Not Stream Qt-faststart

ffmpeg comes with a tool to re-order the MP4 “atoms” (Seriously don’t ask what are MP4 atoms it’s geek for the sake of geek).

find the file in ffmpeg_src/tools/qt-faststart.c

compile with gcc

gcc qt-faststart.c -o qt-faststart

And run.

/path/to/qt-faststart /path/to/src_vid.mp4 /path/to/output.mp4

NOTE: This only seems to work for h264 encoded videos (libx264).

Comments

Ffmpeg Installation on RHEL 4

Just try to find documentation on this … absolute nightmare is an understatement, so here are my notes of the steps I took to compile ffmpeg with a selection of codecs:

up2date automake autoconf libtool
wget https://downloads.sourceforge.net/faac/faac-1.26.tar.gz
wget https://downloads.sourceforge.net/faac/faad2-2.6.1.tar.gz
wget https://superb-west.dl.sourceforge.net/sourceforge/lame/lame-3.98b6.tar.gz
wget https://downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz
wget https://downloads.xiph.org/releases/theora/libtheora-1.0beta2.tar.gz
wget https://downloads.xiph.org/releases/vorbis/libvorbis-1.2.0.tar.gz
wget https://downloads.xvid.org/downloads/xvidcore-1.1.3.tar.gz
wget ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20080805-2245.tar.bz2

NOTE: The above are current at the time of writing, check for more recent versions at the relevant sites.

Extract:

 for i in *.tar.gz; do tar -xzvf "$i"; done
 for i in *.tar.bz2; do tar -xjvf "$i"; done

cd to relevant directories and run the following:

faac & faad2: ./bootstrap && ./configure && make && make install xvidcore: cd build/generic; ./configure && make && make install libx264: ./configure –enable-shared –disable-asm && make && make install The rest: ./configure && make && make install

NOTE: You must install libogg prior to libvorbis and libtheora

The following is required otherwise ffmpeg will display errors about being unable to find libraries:

i.e.

ffmpeg: error while loading shared libraries: libavdevice.so.52: cannot open shared object file

FIX:

echo '/usr/local/lib' > /etc/ld.so.conf.d/buzz-saiweb.conf
ldconfig

You must run “ldconfig” any time you install a new lib you want to use with ffmpeg!

Install FFMPEG

svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg

./configure --enable-libmp3lame --enable-libvorbis --enable-libxvid --enable-shared --enable-libfaac --enable-libfaad --enable-gpl --enable-libtheora --enable-libx264

make

make install

NOTE: If you allready havea checkout of ffmpeg and run an update to get the latest code, make sure you run

make distclean

Prior to running the configure line.

et voila job done ….

Comments

Ffmpeg Install With Libx264 (H264)

The information for this is VERY very sparse, so here is a summary of what I have found.

Install libx264

Get the libx264 package from here: https://www.videolan.org/developers/x264.html

Extracts the bz2 file

tar -xjvf /path/to/x264-snapshot-20080805-2245.tar.bz2

And now the useual

cd /path/to/x264-dir
./configure --enable-shared
make
make install
ldconfig

Get a nice error message:

[root@dev01 x264-snapshot-20080805-2245]# ./configure
No suitable assembler found.  Install 'yasm' to get MMX/SSE optimized code.
If you really want to compile without asm, configure with --disable-asm.

You do want MMX/SSE at somepoint for the time being I am disabling this though (lack of time to find a valid RHEL source). so I added the disable asm line.

Install ffmpeg

For this I use subversion.

cd /path/to/where/I/want/sources
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
cd /path/to/where/I/want/sources/ffmpeg
./configure --enable-libx264 --enable-gpl --enable-shared
make
make install

et voila ffmpeg is now installed with libx264 (h264).


error while loading shared libraries: libavdevice.so.52: cannot open shared object file: No such file or directory

To fix this:

vi /etc/ld.so.conf.d/custom-libs.conf

Add the line : /usr/local/lib

And run ldconfig.

UPDATE: I am writing a full set of notes blog entry for installing ffmpeg with codecs on RHEL4

Comments

Antivirus XP 2008 Removal

Rarely has an adware / spyware given me cause to chuckle, this little sod sets the desktop background with a nice bright blue and yellow warning shouting “You have a virus” … and places a desktop shortcut to the offending program Antivirus XP 2008.

On top of that in the case I am currently working on it has set the local machines GPO to hide the “Desktop” tab in the desktop properties.

The idea behind this is shock fraud, upon running the program it will tell you the computer is infected with thousands of malware and viruses, which wont show up on any other anti virus product, leaving you with supposedly one option … to PAY for their software …

Yeh like hell …

Fortunately the guys over at bleepingcomputer.com are on top of things, and provide removal instructions for this fraudulent software.

https://www.bleepingcomputer.com/malware-removal/remove-antivirus-xp-2008

I’ll be intrested to see if their removal tool resets the GPO.

UPDATE: Make sure after installing the malwarebytes’ software that you first run an update before scanning.

As mentioned in the bleeping computer article, if your antvirus let this program in, in the first place it may be worth purchasing the pro version of Malwarebytes’ to get the real time protection (NOTE: The freeware version will remove Antivirus XP 2008 regardless).

You can do this via with of the following links:

Saiweb Affiliate Link

Bleepingcomputer.com Affiliate Link

UPDATE 2: Malwarebytes’ removed Antivirus XP 2008, and restored the “display” tab, under desktop properties.

DISCLAIMER

As sad as it is, I have to include the following statement:

This information is provided as a self help guide only, by following the instructions provided you do so at your own risk.

Property Investment, the Credit Crunch and Finding the Ideal Investment Property

Property Investment is the best investment opportunity thanks to the growth of the World economy. However the property industry is cloaked in mystery and untruths such that many people are at risk of missing the real opportunity.

And what about UK Buy-to-Let? Off-plan in Romanian property or Bulgaria, Czech or Poland? Rennovate? Self-build? Property Development? Building a European Property Portfolio? Let us help you assess and understand… ” : source Propertysecrets.net

It has been a while since I posted anything about Property Investment, however with the current financial climate it may be the time again to look at Property Investment, one thing to look for in particular is “panic sales”, people worried about a Property Price Crash and bailing out before anything happens, this is text book knee jerk reaction to media ravings of a Property Price Crash, something they have been ranting about for years, and as much as I would love a cheap property I can’t see this happening anytime soon.

This means they are selling at heavily discounted prices, and whilst there is always risk involved you are buying Below Market Value making these properties ideal Investment Property, increasing the potential for profit, which is the whole idea behind Propery Investment.

If you are intrested in Property Investment and finding that ideal Investment Property, I suggest you checkout Propertysecrets.net, specifically the Property Investment page.

UPDATE: Propertysecrets.net are offering a 35% discount on 2 year membership at the moment HERE