Sunday, July 7, 2013


Strip video from vob file
ffmpeg -i VTS_02_1.VOB -an -sn -vcodec copy -f rawvideo output.mpeg

Extract audio from video file
ffmpeg -i video.mp4 -vn -ac 2 -ar 44100 -ab 320k -f mp3 song.mp3

Cut vob file to certain length
ffmpeg -i VTS_02_1.VOB -vcodec copy -acodec copy -ss 00:01:00 -t 00:05:04 output.mpeg

Mux video and mp3 file together into a single container
ffmpeg -i output.mpeg -i grapes_-_I_dunno.mp3 -vcodec copy -acodec copy test.mp4

Posted by Posted by WL at 4:23 PM
Categories:

0 comments  

Monday, July 1, 2013


To see view properties like storage directory etc

clearcase lsview -properties -long view-tag

To check the cache information for a view
ct getcache -view view-tag

To set a new cache size for a view. The following command will set the cache size to 1MB.
ct setcache -view -cachesize 1024k view-tag

Posted by Posted by WL at 8:31 AM
Categories:

0 comments  

Thursday, June 6, 2013


In order to process many different log files at a single location, you could stream output from "tail -f" to a tcp port and process it that way. Here is how you could stream it

tail -f file.log > /dev/tcp/ip-address/port-num

Posted by Posted by WL at 9:49 AM
Categories:

0 comments  

 
>