Download your favorite Linux distribution at LQ ISO.
Go Back > Blogs
User Name



my dvdrip

Posted 03-15-2011 at 01:38 AM by sumeet inani
Updated 03-15-2011 at 01:56 AM by sumeet inani

Formula to calculate video bitrate
bitrate(in kb\s) = (target_size_in_Mbytes - sound_size_in_Mbytes) * 1024 * 1.024 * 8 / length_in_secs
sound_size is obtained from
mencoder INPUT_video_file -of rawaudio -oac mp3lame -ovc copy  -o sound_size.mp3
rip it
ffmpeg -i Input_video_file  -s widthxheight -f avi -vcodec mpeg4 -b from_formula -g 300 -bf 2 -acodec libmp3lame -ab 96k dvdrip.avi
If ffmpeg gives 'segmentation error' , 'cannot resample...'...
Posted in Uncategorized
Views 685 Comments 0 sumeet inani is offline

how to compile c program in linux

Posted 03-15-2011 at 01:25 AM by sumeet inani

In windows , I used to run borland C++ compiler which also provides help on all functions defined in various libraries.

In ubuntu 10.04 I do
gcc c_program.c
It will provide error output , if any. Otherwise produce a.out in current folder which can be executed
In one of my threads I learnt that you should end printf with '\n' so that buffered output is flushed on screen.
You can also use 'fflush(stdout);'...
Posted in Uncategorized
Views 2694 Comments 1 sumeet inani is offline

black stripes around mouse pointer + monitor out of range

Posted 03-15-2011 at 01:12 AM by sheyer


i have seen that for some years another person has the same question already ask, but does not received any answer.

I have also for some days receive very irritating black vertical lines spaced equally closely surrounding the mouse pointer, which does not disappear. I use the operating system Linux Debian. Under Windows ( i have both operating system on my PC) this problem does not appear.

Some more details about the appearance:
I have first...
LQ Newbie
Posted in Uncategorized
Views 3229 Comments 1 sheyer is offline


Posted 03-14-2011 at 10:52 PM by MrCode
Updated 04-02-2011 at 03:28 PM by MrCode (Major program revision)

#include <stdio.h>
#include <string.h>
#include <malloc.h>

int main(int argc,char** argv)
    char* str = malloc(1);
    if(argc >= 2)
        int i;
        for(i = 1; i < argc; i++)
            strcat(str," ");
        int len = strlen(str);
Views 1047 Comments 0 MrCode is offline

windos installer to install vinux on your systom

Posted 03-14-2011 at 05:36 PM by shade sole

hi i am trying to find a windos installer , that will install the vinux iso beside my sistom iso, or my windos iso i tryed woo by, but it did not have vinux as wone of its choises does some one no of another installer that can do that and it must work with screen readers and it must have vinux as one of its choises i might of spelled woo by rong but i am

shore that some one will know what i am talking about it is so hard finding a installer that can do this
LQ Newbie
Posted in Uncategorized
Views 515 Comments 0 shade sole is offline


All times are GMT -5. The time now is 03:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration