LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

grabbing videos from youtube

Posted 12-09-2011 at 09:20 PM by sumeet inani
Updated 12-09-2011 at 09:34 PM by sumeet inani (explanation)

There are lots of full length movies (http://www.youtube.com/movies) on youtube . You cannot grab that video as it is drm encrypted . So I decided to use ffmpeg
I took a screenshot of web browser (opera) then opened jpg file in kolourpaint to find out top left & bottom right of video frame in browser . They were found out to be
24,129 & 669,524
which indicated 645x395 video dimension
So , I ran
Code:
ffmpeg -f x11grab -s 646x396  -r 30 -i :0.0+24,129 -sameq out.mpg
...
Member
Posted in Uncategorized
Views 876 Comments 1 sumeet inani is offline
Old

for loop in dos batch file

Posted 09-14-2011 at 11:25 PM by sumeet inani

Hi
i wanted to write a batch file that hides windows of particular application
It worked if I type line by line at command prompt
Code:
c:\>cmdow | find /i "gvim" | find /i "vis" | cut -f 1 -d " " > handle.txt
c:\>for /f %k in (handle.txt) do cmdow %k /hid
If you want a batch file to do that then
Code:
KEEP IN MIND
write %%k instead of %k
Later I came across http://www.jamesewelch.com/2008/05/0...through-files/...
Member
Posted in Uncategorized
Views 558 Comments 0 sumeet inani is offline
Old

hindi in terminal

Posted 08-09-2011 at 03:05 AM by sumeet inani
Updated 08-09-2011 at 03:51 AM by sumeet inani

SCIM works well in GNOME gui programs like openoffice,gedit etc.
I tried to write hindi in gnome-terminal.
Result is 'improper.jpg' attached.improper.jpg
In gvim it appears like this
gvim.jpg
The only terminal 'mlterm' supports hindi rendering.
Here is what I did with help of developer 'araki ken'

Code:
(1)installed mlterm-3.0.6post-20110807 using 

./configure --enable-fribidi --enable-ind --enable-m17nlib
...
Attached Images
File Type: jpg result.jpg (9.0 KB, 3 views)
Member
Posted in Uncategorized
Views 469 Comments 0 sumeet inani is offline
Old

installing oxford in ubuntu 10.04

Posted 07-11-2011 at 06:14 AM by sumeet inani

In windows I had to insert physical cd after installation , once , to verify that you are owner. Though I had copied all files & folders of cd. Mounting its iso using daemon tools was invain.

SURPRISE !! dd command is great

I copied the cd using
Code:
dd if=/dev/cdrom conv=notrunc of=/data/sumeet/genuine.iso
I installed libgtk1.2 namely
Code:
libglib1.2ldbl_1.2.10-19build1ak1_i386.deb  libgtk1.2-common_1.2.10-18.1build2ak1_all.deb
...
Member
Posted in Uncategorized
Views 358 Comments 0 sumeet inani is offline
Old

changing order in grub2

Posted 06-13-2011 at 04:50 AM by sumeet inani
Updated 06-13-2011 at 04:54 AM by sumeet inani

i have ubuntu 10.04(lucid)
Code:
grub-install -v
grub-install (GNU GRUB 1.98-1ubuntu5)
I tried

(1)
Code:
cat /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.

GRUB_DEFAULT=4#Did not help ?
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet
...
Member
Posted in Uncategorized
Views 395 Comments 1 sumeet inani is offline

  



All times are GMT -5. The time now is 04:35 PM.

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