Get all supported FPS values of a camera in Microsoft Media Foundation
location: linuxexchange.com - date: June 14, 2015
I want to get a list of all FPS values that my webcam supports.
In How to Set the Video Capture Frame Rate msdn article it says that I can query the system for maximum and minimum supported FPS of a particular camera.
It also says:
The device might support other frame rates within this range.
And in MF_MT_FRAME_RATE_RANGE_MIN it says:
The device is not guaranteed to support every increment within this range.
So it sounds like there is no way to get all of the supported FPS values by the camera in Media Foundation, just the max and min.
I know that on Linux v4l2-ctl --list-formats-ext command prints a lot more of the supported FPSes than just min and max.
Here are just a few examples from Linux using different cameras:
$ v4l2-ctl --list-formats-ext
Index : 0
Type : Video Capture
Pixel Format: 'YUYV'
Name : YUV 4:2:2 (YUYV)
Size: Discrete 160x120
Interval: Discrete 0.033s (30.000 fps)
Advance Programming in the Unix Environment: Get Configuration Limits Figure 2.12 “Build C Program to print all supported configuration limits”
location: linuxexchange.com - date: December 16, 2011
The author claims that his awk script will print out all the limits for a POSIX.1 and XSI compliant system. I am using Red Hat Enterprise Linux Server release 6.0 (Santiago). When I run his awk script it does not seem to be printing out the #ifdef portion of the C program. My thoughts are that sysconf.sym do not exist on this distribution, therefore the while loops never run. Could someone please confirm that? If this is the case what changes would I need to make to the awk script to get it to print out the #ifdef portion of the code? The awk script is:
# Run with awk -f <awk_script>
printf("int log_to_stderr = 0;\n")
printf("static void pr_sysconf(char *, int);\n")
printf("static void pr_pathconf(char *, char *, int);\n")
How to get all MAC address and port number of IP camera on a LAN network using C++? [closed]
location: linuxexchange.com - date: January 1, 1970
I have many IP cameras on the same LAN network. I want to get MAC address and port number of each camera, although I don't know ip address of them. Furthermore, if the ip and port of a camera is changed, how to detect it?
I've also searched on internet about this problem. Most of people responded using some of the Window functions such as SendARP () or using command line "arp -a". But if do it, then get all MAC address of the LAN network that regardless of the camera's or the computer's.
Please help me!
[SOLVED] No Boot, fd1 cannot get c/h/s values, "grub rescue>", no such device
- date: May 22, 2010
Hello from a first-time-Ubuntu-install person
I installed Ubuntu 10.04 on an XP machine from the Live disk. Since then I haven't been able to boot at all.
After restarting the computer I get"error: no such device: acc09210- ...
grub rescue>"or I get the
"fd1 cannot get C/H/S values "I have found some postings about similar issues but after trying some of the solutions (without really understanding what I was doing) I still have not resolved the problem.
after typing "ls" at the "grub rescue>" I got (hd0) (hd0,5) (hd0,1) (fd0) (fd1)
error: fd1 cannot get C/H/S values
grub rescue>Following a suggestion at
and running from the Live Disk I did
:~$ sudo fdisk -l
and the result was--- begin result
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Helpful commands to get all hardware info?
location: ubuntuforums.com - date: December 9, 2009
I am interested in a list of all common commands related to discovering system hardware information (maybe with brief explanations).
I started by searching for a list of widely used trouble shooting commands or a FAQ. I didn't find one. Surely something like that must exist. I did not find it yet. Until I do, I'll start such a list by mentioning a few "hardware discovery" commands I know:
The last one (dmidecode) lists the machine's DMI or SMBIOS table contents in a friendly format. This DMI or SMBIOS contains a description of the system's hardware components and other useful information such as serial numbers and BIOS revision. This is a really powerful command. It was already available in my install of Mythbuntu 9.10 as well as in Ubuntu 9.04 on my desktop.
I ran it like this:
sudo dmidecode | less
udevadm is another powerful tool for discovering hardware info. Here's a doc that gives a nice udev overview (although the purpose of
How to get all those extra mouse buttons to work
location: ubuntuforums.com - date: April 12, 2012
I just bought a logitech m510 mouse. It has extra buttons. The scroll wheel even has a side to side click thingy. I'm wondering how to make use of these extra buttons--in particular when activating compiz effects. I know button1 is left click, and button2 is right click, and I also see button3 (i think this is pressing down the scroll wheel) and button4 (i think this is scrolling up), but what about the buttons on the side of the mouse (there are 2 on the left side and none on the right, and I think the extra articulations on the scroll wheel count as some sort of buttons as well).
On a similar note, I remember back in 2010 when I was trying ubuntu that I was able to initiate the ever famous desktop cube by holding down button1 and button2 at the same time, but I can't find out how to set that up again (I know the cube has issues in the new desktop, but knowing how to activate SOMETHING using this combination would help me.)
How do I get all the memory of my PC available in Linux ?
location: ubuntuforums.com - date: February 22, 2013
With all 32bit Ubuntu or PXLinuxOS systems I installed on my PC came 4 GB of Memory .
When I upgraded the kernel to a pae version, I got 8 GB . The same amount I had wen I installed a 64bit Linux Mint or PCLOS ....
The question is : my desktop has 16 GB of DDR3 RAM, which is also available in the preinstalled Windows 7 .
What does it take to have that 16 GB availbable in Linux systems ?
Thanks for enlightening me !
Technical specifications :
Lenovo Ideacentre B540P All-in-One PC 58,42 cm (23")
Operating system: Windows 7 Home Premium 64bits
Processor: Intel® Core™ i7-3770 Processor (8M Cache, 3.90 GHz) - integrated Intel HD Graphics 4000
Memory: 16Gb (4x4Gb) DDR3 1333MHz
Memory Slot: 4
Display: 23” Full HD (1920x1080), 16:9 widescreen frameless display
Graphics: NVIDIA® GeForce™ GT650M 2Gb
Speakers: Integrated stereo speakers supporting Dolby Advanced Audio V2
Integrated camera: Integrated L
[SOLVED] error: hd0,msdos1 cannot get C/H/S values.
location: linuxquestions.com - date: February 13, 2013
I have been struggling with this for quite some time. I have installed two complete version of debian, reformatted, re-partitioned, etc. and read form threads for hours. This first happened when I upgraded to the latest stable release, after which I could not boot the machine. I have a backup of my data, but have never spent this kind of time with a simple "install". Any data or output I will gladly provide to obtain another set of eyes on this issue. Please let me know. Thanks in advance.
Attempt system boot -- get the following:
Welcome to GRUB!
error: hd0,msdos1 cannot get C/H/S values.
Entering rescue mode...
Have tried all bios settings, etc too!
error: fd0 cannot get C/H/S values. grub rescue>
location: ubuntuforums.com - date: November 23, 2010
installed via wubi on win 7 64bit asus ul30j
worked fine **** might have hit the fan when i installed the updates in ubuntu b4 turning off the computer b4 sleeping yesterday when i woke up today all i get is:
error: fd0 cannot get C/H/S values.
ls gives hd0 and fd0
trying to load win 7 recovery (my puter has no cd and i have no usb stick) only gives some maybe 20 or 30 string of - and letters in capslock and ńumbers
although i dont want to have to recover or reinstall anything i figure it should be possible to somehow recover find out what went wrong
it seems otherwise my only option is to obtain an usb stick and reinstall ubuntu but how iwould recover win 7 i have no clue
well what i want is to recover my **** i am sure there is just some minor adjustment that needs to be done possible only one or a few commands
i do have usb stick but they are only on 1 gb so if u have suggestions for that im okay, let me repeat i do not want to reinst
Microsoft Media Server (MMS) protocol source plugin
location: ubuntuforums.com - date: May 13, 2008
Is there a link for the Microsoft Media Server (MMS) protocol source plugin?
Page: 1 2 3 4 5 6 7 8 9 10