General :: How To Calculate Video Resolutions
Jun 2, 2011
I am familiar with common video resolutions like 320x240, 640x480 and 720x480. Sometimes I want to use other video resolutions when encoding videos. Is there a formula to calculate the unknown value for the heightxwidth if one value is supplied? For example, if I want my video to be 480xWidth, what value should Width be to get proper aspect.
View 2 Replies
ADVERTISEMENT
Mar 10, 2011
Just did a new install of 11.4 over top of my 11.3 and when I reboot into the OS it seems to boot just fine but the video is unreadable. When I boot into the failsafe the screen has a lot of gitter and the monitor tells me it's not in preferred mode of 1680x1050 at 60hz. All resolutions higher than 1280x1024 are unreadable. Tried booting nomodeset as I've read previous ... no luck. I'm still learning linux.
View 9 Replies
View Related
May 31, 2009
I've got Ubuntu 9.04 Jaunty + lxde. My video card is Nvidia FX 5200 (Nvidia driver ver. 173.14.18). My monitor is a lcd Acer mod. x193w (widescreen). At present I cannot choose the 1280x800 resolution as I was used to when I was using Ubuntu 8.04 Hardy. Nvidia X Server settings offers several resolutions (included the native monitor resolution, 1440x900) but not 1280x800 as before. I wonder why. I even added mode 1280x800 in the Section "Screen" of xorg.conf but it was ignored.
View 2 Replies
View Related
May 1, 2010
I have a problem with Plymouth. It works pretty well on low res, but on higher resolution some strange video artefacts appear - see attachments.
I use ATI proprietary drivers, if it has something to do with it.
The resolution is set in /etc/default/grub like this:
Code:
GRUB_GFXMODE=1024x768
GRUB_GFXPAYLOAD_LINUX=1024x768x32
edit: reducing colour depth doesn't help /end edit
I don't know whether it has anything to do with the current problem, but Plymouth used not to appear at all until I followed these instructions (or actually I took them from another thread but I can't find it at the moment and these are the same).
I don't know whether it's possible to take them during booting so I've taken these photos with a mobile and retouched in gimp to remove reflections (more or less), and since I'm no pro photographer nor photoshop/gimp master they look as they look. They should do to demonstrate the problem, though.
View 5 Replies
View Related
Sep 1, 2010
I have a csv file (id, loc, timestamp, impressions) that I need to derive some low-level calculations from. Im ok with basic sort and grep operations, but this one is challenging my feeble scripting skills (normally I�d throw it into a spreadsheet, but in this case Id like to ultimately create a script that I could automate). Ive already used cat/sort to order the csv file first on location and then timestamp so it looks like this:
Abt001, AA, 2009-01-01 10:51:00, 231
Cup002, AA, 2009-01-01 10:54:00, 3
Saf001, AB, 2009-01-01 10:51:00, 25
[code]....
What Id like to do is output to file a record of the total, min, and max number of impressions for each location. , e.g.
AA6504 3231
AB252525
AC37925109
ZZ35512341
how to do this and Im kind of stuck on how to approach it I think the combined steps of looping through the locations along with the min/max/sum calculations are throwing me. Eventually Id also like to do additional calculations like average, ect. but I think I can figure that out on my own if I can just get this part down.
View 10 Replies
View Related
Sep 3, 2010
I`m looking to calculate my Local Time in seconds from APOC - 1970.I found only - date +%s -> that display the UTC and not my Local Time.
View 3 Replies
View Related
Dec 13, 2010
Between the dates 21-June-2007 to 12-December-2010 there are 1270 days. If the total cumulative time a hard drive has been active is 344 days (found this via Disk Utility in Ubuntu 10.10) since it was bought 1270 days ago. What is the average usage hours per day?
View 2 Replies
View Related
Nov 15, 2010
I would like to subtract the end time with a start time in bash. How can I do it?
Here's a script of example of what I want:
View 8 Replies
View Related
Mar 16, 2011
Now i am writting one bash script. in that my requirement is i need to create one directory and that the directory details to be stored in one file Ex. date/time and all in one file. after that i need to delete the folder automatically exactly after 3months. between these time period in 2month itself i need to send one mail to admin "regarding this still one month only more to delete the folder" . is it possible to do like that date calculation in script.
View 10 Replies
View Related
Sep 20, 2010
is there a way to calculate the total memory consumed by user ?
View 12 Replies
View Related
Mar 10, 2010
How do you calculate the number of usable bytes on a disk partition? When I do an fdisk -l I get this:
Disk /dev/md0: 192.0 GB, 192069500928 bytes
2 heads, 4 sectors/track, 46891968 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
[code]...
View 7 Replies
View Related
Sep 7, 2010
My shell script is calculating the count of each shortcode series wise whose sample output is as follows:
Code:
56882
9124 1
9172 1
9173 4
[code]....
View 1 Replies
View Related
Aug 22, 2011
I am looking for software (Windows or Linux) that can do the following: Resize one image to several provided sizes. Detects the type of the picture (wide, normal) and does the resize based on that. What I mean by that is that it should not break the image by shrinking it more in one direction then in the other so it looks weird. The purpose of this is my Blog. If I want to give my readers a wallpaper, I want to give them several options for the sizes so they can have it in their own preferred screen resolution. The image must however keep its original aspect ratio.
View 2 Replies
View Related
Aug 5, 2011
These following ext3 partitions contain identical data. As we can see, the larger the partition size, the more space is required for the same files:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/loop11 3965777 561064 3199964 15% [...]
/dev/loop19 573029 543843 29186 95% [...]
[code]....
View 2 Replies
View Related
Sep 3, 2010
I am trying to grep a particular string from the files of 2 different servers without copying and calculate the total count of its occurence on both files. File structure is same on both servers and for reference as follows:
Code:
27-Aug-2010 10:04:30,601|919122874903|phtunes_app|1282243292627|NotifySmsReception|DMGenerateLogInterceptor - ExternalTransactionID:SDP-DM-26713018, TransactionStatus:Requested
27-Aug-2010
[code]....
View 6 Replies
View Related
May 6, 2010
I have a Asus EEE PC 1005P which I installed a Command-line system on using the Alternate Installer CD of Ubuntu Lucid Lynx. Altough I think this is a general linux and grub2 question. I do not have (or want) the X Window System installed. I want to change my console screen resolution (not inside X) to 1024x600. But it isn't reported when I use vbeinfo inside grub:
grub> vbeinfo
VBE info: version: 3.0 OEM software rev: 1.0
total memory: 8128 KiB
List of compatible video modes:
Legend: P=Packed pixel, D=Direct color, mask/pos=R/G/B/reserved
0x112: 640 x 480 x 32 Direct, mask: 8/8/8/8 pos: 16/8/0/24
[Code]...
Does it mean I have the driver? how to set it to 1024 x 600 in grub2?
View 1 Replies
View Related
Aug 21, 2010
I am using Fedora 13 x86_64 on a Acer Aspire 7730ZG laptop with: 01:00.0 VGA compatible controller: nVidia Corporation G98 [GeForce 9300M GS] (rev a1) I have kmod-nvidia-2.6.33.6-147.2.4.fc13.x86_64-195.36.31-1.fc13.2.x86_64 installed from rpmfuison when I plug in the hdmi cable to the tv, my tv says the resoultion is at 720p, and I can not get any of the resolutions settings to look right on seperate x screen with the nvidia X server settings gui. my tv is a vizo 42inch. also another question is their a way to set the video card to output at 1080? this might be part of my problem?
View 14 Replies
View Related
Jul 19, 2010
How would i calculate following values.Initial file
10 3
20 4
How would i calculate 3rd column which should be addition of value in 1 and 2nd column.File after calculation
10 3 13
20 4 24
View 14 Replies
View Related
Mar 18, 2011
I'm looking for a Linux tool that allows me to transcode videos to a video codec that is highly compatible to the Windows platform. We produce large scientific videos from measurements and would like to show those videos during presentations and submit the videos to journals. We want to be as compatible as possible (we can not influence for example the codes installed on the presentation system or on the journal reviewers system).
Virtualdub suggests one of these codecs:
* Radius Cinepak
* Intel Indeo R3.2
* Microsoft Video 1
We tried ffmpeg, mencoder and Virtualdub under wine, none of those tools could produce videos encoded with the aforementioned codecs.
View 1 Replies
View Related
Feb 13, 2011
I installed Debian recently, and everything seems to be working fine, except some video games are unusually slow compared to what they would normally be. Tremulous, for example, worked reasonably fine on this computer with Windows XP, but now (Debian) for some reason it's laggy even on the title screen.
Something wrong with my video drivers?
All of the information I know:
The computer is a Dell Dimension 3000
RAM: 256mb? Gnome System Monitor says 247.1mb, SWAP: about 730mb
Processor: Intel Celeron 2.40GHz
HD: 25gb out of a 40gb HD free, and an external 1tb HD with about 920gb free
Debian Release 6.0 (squeeze)
Kernel Linux 2.6.32-5-686
GNOME 2.30.2 (I've tried LXDE also, no noticeable change)
Only linux on the machine.
glxinfo told me this:
Code:
64 GLX Visuals
128 GLXFBConfigs:
lspci told me this:
Code:
View 9 Replies
View Related
May 29, 2010
I can't upgrade. I get:
Quote:
Could not calculate the upgrade
An unresolvable problem occurred while calculating the upgrade: The package 'skype-common' is marked for removal but it is in the removal blacklist.
This can be caused by:
* Upgrading to a pre-release version of Ubuntu
* Running the current pre-release version of Ubuntu
* Unofficial software packages not provided by Ubuntu
This is most likely a transient problem, please try again later.
I tried again several times in different days and it is the same. I have 10.4 recently updated from my original installation of 9.10. I think it was not a pre-release, I did it automatically from the website and it took a long time. As far as I know, all I have installed is official, except perhaps Skype itself. There seems to be something connected with Skype. But I have exactly the same Skype I had with 9.10, where I updated every few days with no trouble. It is something peculiar in 10.4
View 7 Replies
View Related
Feb 17, 2010
I am a brand new member
here is my question :
in a RedHat configuration :
i need to be sure that a partition has been formatted with those parameters code...
View 3 Replies
View Related
Jul 26, 2010
I use a 17" laptop with a 22" secondary monitor running Ubuntu 10.04 LTS. The res on the laptop screen is 1440x900 (16:10) and the secondary monitor mirrors this. Problem is that because the secondary monitor aspect ratio the display is somewhat distorted. It's not so bad that it is unreadable but I work in IT so I am at my computer for around 8hours a day so it wear thin after a while.
Is there a way for me to set different resolutions on each screen? The laptop have an ATI Radeon Graphics card and cannot change the Resolution above 1440x900 even within ATI Catlyst control center.
View 1 Replies
View Related
Apr 30, 2011
I'm running Kubuntu, OS Version: Linux 2.6.35-28 generic KDE SC Version: 4.5.8
I have a large monitor, and the max resolution of KDE (1280 x 1024) doesn't fill the screen. That seems rather small for a max resolution. Is it possible to get a larger one?
View 2 Replies
View Related
Jul 7, 2011
Under system > preferences > monitor I can select either 640 x 480 or 800 x 600 or 1024 x 768 which are all 4:3 aspect ratios, as my screen is 16:9 everything looks stretched. How can I set a 16:9 aspect ratio screen resolution?
View 5 Replies
View Related
May 3, 2010
I tried to upgrade Ubuntu Server Edition 9.10 to 10.04. Gives me this warning:
Code:
Could not calculate the upgrade An unresolvable problem occurred while calculating the upgrade: E:Unable to correct problems, you have held broken packages.However, the packages appear to be fine. Checked with apt-get and nothing wrong.
View 9 Replies
View Related
Jul 19, 2010
i have problem with upgrade manager. i try upgrade fron 8.04 to 8.10. where is my main.log:
2010-07-19 15:52:51,749 INFO release-upgrader version '0.93.34' started
2010-07-19 15:52:51,752 DEBUG Using 'DistUpgradeViewText' view
2010-07-19 15:52:51,795 DEBUG enable dpkg --force-overwrite
[code]....
View 1 Replies
View Related
May 30, 2011
I received the following error today and I did a search on the net. I tried sudo rm /var/cache/apt/archives/* but it didn't help. Could not calculate the upgrade An unresolvable problem occurred while calculating the upgrade. report this bug against the 'update-manager' package and include the following error message: 'E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.'
View 9 Replies
View Related
Jan 4, 2010
I am working one project and i want to know that is it possible to find out the DNS (BIND) QPS (query per second). I mean how many QPS BIND can handle.
View 2 Replies
View Related
Jun 30, 2010
I want to calculate length of my array, say Unix here.
Code:
[linux1@HMLINUX1 abc]$ declare -a Unix=('Debian' 'Red Hat' 'Suse' 'Fedora');
[linux1@HMLINUX1 abc]$
[linux1@HMLINUX1 abc]$ echo ${#Unix[@]}
5
This should be ideally 4, but somehow it is showing as 5. However, when I am removing the space as RedHat instead of Red Hat, it is working perfectly.
Code:
[linux1@HMLINUX1 abc]$ declare -a Unix=('Debian' 'Redhat' 'Suse' 'Fedora');
[linux1@HMLINUX1 abc]$ echo ${#names[@]}
4
View 4 Replies
View Related