Thursday, August 27, 2009

vlc subtitles video

So in the last time i was playing a with vlc (working actually) so here i got a few tips and tricks for all:
  • Stream a file over the network in realtime using multicast:
    vlc file.avi :sout-all ":sout=#std{access=udp{ttl=1},mux=ts,dst=226.0.0.10:1234}"
    
    Then you can open it with :
    vlc udp://@226.0.0.10:1234
    
  • Adding .srt subtitles to a video , hardcoding subtitles, burning subtitles :
    Note that burning subtitles require encoding the video, so you may loose quality.
    vlc file.avi :sub-file="subfile.srt" :subsdec-align=0 :freetype-rel-fontsize=16 :sout-all  \
    ":sout=#transcode{vcodec=mp2v,vb=1000,soverlay}:std{access=file,mux=ps,dst=file.ps}"
    
    Note that you specify codec here :
    transcode{vcodec=mp2v,vb=1000,soverlay}
    
This was tested under linux, for windows it should also work.

Friday, July 31, 2009

H1N1 DNA from geeks point of view

Here is a nice article about DNA, H1N1, and geeks :
"The Influenza virus is quite fascinating. Allow me to ramble on…
Comparison to Computer Viruses :
How many bits does it take to kill a human? "

source : http://www.bunniestudios.com/blog/?p=353

vlc transcoding entire folder

Here is a script to use vlc to transcode videos stored in a folder :
#!/bin/sh
DIR_TRANS='transcoded'

mkdir -p $DIR_TRANS

for filename in `ls *.mp4`
do
 vlc $filename ":sout=#transcode{vcodec=h264,vb=1200,scale=1,acodec=mp4a,ab=256,channels=2}\
:duplicate{dst=std{access=file,mux=mp4,dst=$DIR_TRANS/$filename}}" --play-and-exit
done

Tuesday, July 28, 2009

Gadget for my lady ...

A while ago we ordered a gadget, my wife's decision.
I got delivered 2 weeks ago on 15 of July at 12 , it was expect to arrive in the beginning of august.
The specialized personnel helped us to unpack the fragile gadget.
So here is what we got : a baby girl of 2.7 kg and 48 cm.
When unboxing she was demonstrating her voice and it was the sweetest sounds of life. Happy birthday Milena.

Tuesday, July 14, 2009

The Legend lives on

Sunday 12 July 2009, i had the luck to be at Alice Cooper concert/show, so i got only good emotions, THE LEGEND is still alive i say. i still can't come back to life after the show, and i just cant understand how did i managed to live until now without this. so here i got these videos using nokia 5800:
TODO
anyways it was good, the man still rocks, and we were rocked good that night.