This is a oneliner to convert an avi-file to the correct dimensions of a Nokia E71. The screen is small, but sure beats to buy an iTouch if your cell already can play movies for you. :)
$ ffmpeg -y -i input.avi -acodec libfaac -ab 72k -s 320x176 -aspect 16:9 -vcodec libx264 -b 300k -qcomp 0.6 -r 25 -qmin 16 -qmax 51 -qdiff 4 -flags +loop -cmp +chroma -subq 7 -refs 6 -g 250 -keyint_min 25 -rc_eq 'blurCplx^(1-qComp)' -sc_threshold 40 -me_range 12 -i_qfactor 0.71 -directpred 3 output.mp4
So, yesterday was the day that we finally went to the ultrasound to see how our new baby was doing. According to the doctor everything seemed just as it should be, good health, good length and width, and weight, nonetheless. :) It seems Michael will be getting a little brother around December! We’ve decided to name him Noah Galvarino, Galvarino being my grandfather’s name. I’ve always noticed that brothers create strong bonds between them, and I always wanted a brother to look up to. Or down. :P In any case, our family is expanding, and words can’t express how happy we are. :) Kids, you’ve got to love them.
I’d like to start this post by having a look at normal people. The definition of normal people first perhaps. Not that I have any clue of what normal is anymore. I mean, can you honestly say that you know what normal is? I guess the definition of normal is “what most people do” or “something occurs most frequently”. Anyway, the reason I start like this is because I sometimes have to laugh when I think of what makes me happy. Getting my Xbox 360 to work with my FreeNAS-server makes me happy. In fact, I feel the urge to do a little victory-dance when just thinking of it. That’s me, always the geek. I often wish I was different though, that I was perhaps doing something that made more sense. Like being a carpenter, plumber. Not sitting on my arse all day working. I am trying to improve though, taking the initiative to be the handyman at home, which is going better.
Anyway! FreeNAS and Xbox, they work damn well together! Finally! I have my decoder and Xbox hooked up to my home cinema system, while Xbox streams the content from the FreeNAS server. Gotta love it!
Now if you’ll excuse me, a victory-dance is in order (again).
Often found that Samba is slow, for some reason?
The socket option TCP_NODELAY is the one that seems to make the biggest single difference for most networks. Many people report that adding socket options = TCP_NODELAY doubles the read performance of a Samba drive. The best explanation I have seen for this is that the Microsoft TCP/IP stack is slow in sending TCP ACKs.
Simply add this following line under the [global]-section of your smb.conf:
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=65535 SO_RCVBUF=65535
And restart the service. Notice the difference?
If not, it might be a problem with Windows. Often a speed problem can be traced to the client. The client (for example Windows for Workgroups) can often be tuned for better TCP performance. Check out this article to find out more about what you can do to increase the speed.
Good luck!
I do love discovering new music. I always find myself thinking of a little kid in a candystore, never quite knowing where to start. Yesterday I discovered a band called Operatika. They’ve only two albums though, but boy do I like them. I recently discovered Delain as well, and Adagio. Just my type of music. It’s odd though, I’ve never come to talk to anyone who likes the same type of music as I do. Most nerds these days (those who I have come upon anyway) seem to like techno/trance. Some is good, don’t get me wrong. But there’s nothing like the sound of Gothic Rock in the morning!