Saturday, March 20, 2010

 

This blog has moved


This blog is now located at http://sybrand.blogspot.com/.
You will be automatically redirected in 30 seconds, or you may click here.

For feed subscribers, please update your feed subscriptions to
http://sybrand.blogspot.com/feeds/posts/default.

Friday, March 19, 2010

 

Evolution - GMail - IMAP

Lies and more lies.

Here's how I got evolution to work with Gmail using IMAP

Receive:

IMAP

imap.gmail.com:993

SSL

Send:

SMTP

smtp.gmail.com:465

server requires authentication

ssl encryption

authentication type PLAIN



Monday, January 25, 2010

 

ffmpeg and mp3

I went to the trouble of compiling ffmpeg on windows - but there was an issue with compiling lame. It felt so unnatural on windows anyway. I'm so used to just having all the tools right there. With Ubuntu it's just so EASY. Most programs are just a quick apt-get away. If I need to compile something, it's just make install and you're away!

I'm supposed to be studying - but looks like this post : http://symbiotix.net/articles/compiling-ffmpeg-mp3-ubuntu-revised-ubuntu-gutsy-server is what I need. I'll give it a try when I have time - or maybe medibuntu has a ffmpeg with it build in?

Stolen from his site:
"However, we’re using Ubuntu based servers and Ubuntu has a strict policy not to include non-free software. This means that the ffmpeg version in the repositories is not built with essential functionality, like mp3 support for audio conversion.

Solution: compile from source. Don’t run away screaming. It’s real easy.

1. enable universe and multiverse repositories
UbuntuGuide » general notes » how to add extra repositories

2. get your tools

sudo apt-get install checkinstall build-essential subversion 

3. get the latest ffmpeg sources

cd /usr/local/src sudo svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg 

4. get the necessary dependencies

sudo apt-get install liblame-dev libfaad-dev libfaac-dev libxvidcore4-dev liba52-0.7.4 liba52-0.7.4-dev libx264-dev  

5. configure

cd ffmpeg sudo ./configure --enable-gpl --enable-liba52 --disable-debug --enable-libmp3lame --enable-libfaad --enable-libfaac --enable-pthreads --disable-vhook 

6. compile

sudo make 

7. go have a snack

8. create the .deb package

sudo checkinstall 

note: just press [return] each time when asked for a configuration option

9. install the .deb package

sudo dpkg -i [ffmpeg_your_version.deb] 

10. rejoice "


Sunday, December 27, 2009

 

ffmpeg - MTS to MOV with DNxHD

So I'm trying to get some insane high quality .MTS video, down to the same quality as my DSC's .MP4 stuff in DNxHD.

I can't for the life of me convince ffmpeg to get the FPS right. So for now my solution is NOT to take it to DNxHD, but to MJPEG

The video is easier than the sound - due to Vegas having that stupid sound bug. I spent more than an hour today trying to find an audio stream that Vegas likes. So far I have this:

ffmpeg -i source.MTS -vcodec mjpeg -s 1280x720 -qscale 1 -r 30 -acodec ac3 -ac 2 -ab 192k -ar 44100 target.AVI

Video works sweet - sound still messed up!



Friday, December 25, 2009

 

Sony Vegas - it's worth the trouble to get it to work

After battling for hours - I have the solution.

Problem: Sony Vegas won't play audio for .MP4 - they blame QuickTime (LAME!!). All other non-pro video editors suck. Apart from the ones I blogged about - I tried a whole bunch of open source ones. They all suck.

Solution:
1. Pay for Sony Vegas (incentive to get it to work + I'm a Sony whore even though their laptops suck)
2. Download DNxHD codec from Avid woohoo for open standards!
3. Set up a nice Ubuntu install in VirtualBox (I'll have to dual boot until Civilization and Vegas run native under Linux.) Skip this step if you are hard core enough to compile ffmpeg to work under Windows.
4. Praise the mighty ffmpeg

ffmpeg -i INPUT.MP4 -vcodec dnxhd -b 60Mb -acodec pcm_s16be OUTPUT.MOV

5. Boom. You're ready!!!


Labels:


Wednesday, December 23, 2009

 

Video Editing - With Adobe Premier Elements 8

Awesome i7 chip, 7200rpm drive is decent enough - lets give this a spin

1) Massive download, install Adobe Premier Elements 8
2) Woohoo! It can edit .MP4 files!!!
3) Ok. It stopped working. W.T.F???
3.1) Damnit! Fine - I'm learning how to use ffmpeg
3.2) Install ubuntu in virtualbox - I'm not rebooting all the time
3.3) ffmpeg -i M4H00471.MP4 -vcodec mjpeg -sameq output.avi
4) Ok - sweet - I can open my files
4.1) I wonder if it works in Vegas now?
4.1.1) Nope
5) Ok - lets do some easy fade in / fade out effects
5.1) Damn this shit is slow.
5.2) DAMN!!! THIS IS SLOW!!!
5.3) W.T.F? It's not even touching my processor! My machine is just sitting back and relaxing!
5.3.1) Lots of free memory also... hmmm...
5.4) Ok ok - maybe I need to defrag?
5.5) Still slow as all hell.

Come on!!! How hard can this be! I just want to edit some some video mp4 video from my little digital camera. 720p 30 - that's not even a crazy high resolution. It should be a dream!

Labels:


Monday, December 07, 2009

 

Video Editing - With Kdenlive

New laptop with Ubuntu Karmic Koala. Time to edit those holiday videos.

1) Hello Kdenlive. Ok.. lets load in all the clips... BOOM CRASH.
2) Ok. Let's try only one. Hmm... sound playback kinda broken. Let's drag it on anyway. BOOM CRASH.

SOD THIS!

Labels:


 

Video Editing - With Sony Vegas Platinum 9.0

New laptop with Windows 7. Time to edit those holiday videos.

1) After messing around and trying to figure out what I was doing wrong.... No sound? Oh excuse me - mp4 from my Sony DVC doesn't provide a understandable audio track?
1.1) Ok - I'll convert it to something else
1.1.1) To VLC!
1.1.1.1) .OGG maybe? .OGG with VLC - bad quality, and sound is skippy. And Vegas can't play it.
1.1.1.2) .ASF then. Blegh. I think VLC is a bit ill.
1.1.2) Sod VLF - there must be something else! Ooow how about handbrake?
1.1.2.1) Nope - only for transcoding to nice little happy viewable formats.
1.1.3) MediaCoder?
1.1.3.1) Need 7zip to extract
1.1.3.2) Error code 8? That doesn't help me!

Forget this!!! I'm booting back into ubuntu!

Labels:


This page is powered by Blogger. Isn't yours?