General :: Any Way To Set Default Buffer For VLC?

Sep 16, 2011

I'm often playing videos from my external hard disk, and, well, it has issues. It'll often spin down and it often takes 5-10 seconds to spin back up in order to keep reading files. This is really terrible for video playback, as it'll often completely hang until the drive spins back up. Is there a way that I can tell VLC to set a larger buffer to at least give me more buffer into the future so the drive will have time to spin up when the buffer runs out?

View 1 Replies


ADVERTISEMENT

General :: How To Clear Memory Buffer

Nov 18, 2009

I am having a Oracle server installed on Linux server. I want to clear the buffers after a certain time interval. I use the following command for the same.

echo 3 > /proc/sys/vm/drop_caches

Can I have a script which will execute the above script after certain time interval OR a script which will execute the above command when certain memory size is reached.

View 1 Replies View Related

General :: PHP - How Big Buffer Can It Bring Back

Jan 21, 2010

I need to use php to run some scripts locally. I tried it with system, exec But it only brings back on line. Ideally I want to take all the out put back on my browser.

PHP ------>shell scripts ------> error + plus out put
^--------------------------------------------|
some thing like that.

View 1 Replies View Related

General :: Copy To System Clipboard Instead Of Vim Buffer

Sep 11, 2010

I would like to set Y and P to copy and paste directly to the system clipboard instead of vim buffer. I don't want any additional commands. Just the normal ones, but they should copy to and paste from the system clipboard and bypass the vim buffer.

View 5 Replies View Related

General :: Ubuntu - How To Increase Buffer Rate On VLC

Jun 12, 2010

I've got some high quality videos I want to run on vlc, but they require a higher buffering rate then the default for vlc. With the default the video skips every second or so and pixelates now and again. I've run the video on vlc on windows before and I found a buffer rate to change to make the video run smoothly, however, I don't remember what the value I changed was and when I looked through the ubuntu vlc options I didn't recognize it immediately.

View 4 Replies View Related

General :: Pipe Output Of Shell Command Into A New Buffer In Vim?

Jun 29, 2010

How can I pipe the output of a shell command into a new buffer in Vim? The following obviously wouldn't work, but you can see what I'm getting at:

:!echo % | :newtab

View 2 Replies View Related

General :: Increase Terminal Scrollback Buffer Size?

Sep 15, 2010

I'm using CentOS 5.4 servers installed in a VMWare virtual machine with no X.Org server installed, so all access is via command line and the linux terminal. I use Shift-PgUp to view the scrollback buffer, but its size is very limited. How do I increase the size of the scrollback buffer?

View 3 Replies View Related

General :: Capturing And Parsing Xterm Cut Buffer In EMacs

Jan 17, 2010

I'd like to make an indirect control for Emacs (in Ubuntu Linux) so that I can swipe some text in an xterm with the cursor, cutting it into the X cut buffer, then run a macro in Emacs to parse the cut buffer text to look for text saying "line XXXX" where X is all digits, then go to that line in the current Emacs buffer. I think this is possible by using emacsclient to get emacs to run a macro, then the macro parsing the cut buffer, then issuing a goto-line command to the number that's been parsed. My problem is I don't know how to write the emacs script to read the X cut buffer and parse it.. I've been going through cookbook examples but none seem to fit.

My goal is to ease development. When I have an error/information/status message printed in an xterm, I want to swipe the error message which says something like "syntax error on line 2776" then press a keyboard shortcut which Ubuntu will interpret to launch emacsclient, which causes my already-open Emacs to grab that text, parse it, and go to the line number I just swiped. Only this last step of parsing is the hard part. (Yes, I know you can run a shell INSIDE of emacs, but this is doesn't fit my workflow). How would I make emacs look at that X cut buffer and parse out the line number and issue the "goto-line" command to the current buffer?

View 2 Replies View Related

General :: Shared Buffer Between User And Kernel Space

May 3, 2010

I need a shared buffer between user and kernel space. I read that one way is to allocated buffer in kernel and then call mmap from the user space. I searched for an example but couldn't find something useful. If you know, could you please send me any links or sample code that does this..

View 1 Replies View Related

General :: Cannot Read The Chip Data On The Buffer File

Sep 1, 2010

Im having xeltek eeprom programer but I cannot read the chip data on the buffer file, when I read the chip using programer the datas are being sent to the buffer I can just see the adress line ,hex line and ascii line then I dont know which is the exactly data ,

View 1 Replies View Related

General :: Vi/vim: Undoing After A Mistake Has Made Vi Cancel Changes To The Buffer?

Dec 15, 2010

perhaps I've been typing for 20m and, in command mode, I accidentally press a key that undoes all of my work. What would be one of the more elementary undo commands

View 4 Replies View Related

General :: Buffer I/O Error While Booting From Backtrack 4.0 Live CD Using Virtual Box

May 28, 2011

I am facing a problem while installing backtrack 4.0 on my virtual box. After assigning a hard drive and booting from the live cd, i am receiving a error message as follows:

Loading, please wait...
Buffer I/O error on device hdc, logical block 76636
(this statement gets repeated like four times with different logical block id.
SQUASHFS error: squashfs_read_data failed to read block 0x5bb337b9
SQUASHFS error: unable to read is index table.

It is not the first time i install operating systems on virtual box though it is the first time i receive such an error with backtrack.

View 1 Replies View Related

General :: Change Size Of Network Data Receiving Buffer On OS?

Jan 21, 2010

We know that, in a network, data transfer time is dependent on capacity of the receiving node. I have two Linux systems A (sender) and B (receiver) connected. I want to simulate congetion in a network, that means I want to increse the time taken to transfer some data. I believe, I can do this if I can reduce the capacity of the receiver node B. That perhaps possible by decreasing the receiving buffer size of B. How can I change the receiving buffer size of this linux system B?

View 1 Replies View Related

General :: Recover A SDHC Card - After Getting A Buffer I/o Error Mesg From Dmesg(1)?

May 24, 2011

After reading a SDHC (camera) card with my computer in a non-HC compatible card reader, i guess i destroyed the partition table.

After getting a SDHC-compatible reader i found it seems there is no part. table on the card and no fdisk(1), badblocks(1) can read that card.

Seems they will wait forever to get a part table.

dmesg says:

How to recover the card?

View 2 Replies View Related

General :: External Hard Drive Is No Longer Recognized - Buffer I/O Error On Device Sdb1, Logical Block 6160408

Feb 28, 2010

The external hard drive which contains all my photos and where I backed-up all my important documents is no longer recognized. It is a three month old 500GB Iomage Prestige Desktop Hard Drive.When I plug it in, it is recognised as a USB device, because it shows up when I type lsusb, but dmesg gives this error message.

[19712.013250] usb 2-2: new high speed USB device using ehci_hcd and address 21
[19712.145347] usb 2-2: configuration #1 chosen from 1 choice
[19712.147214] scsi25 : SCSI emulation for USB Mass Storage devices

[code]....

I popped the disk out of the casing put it on a SATA connect internally and then tried the file recovery programs testdisk/photorec and SpinRite, but both failed because they couldn't recognize the external hard disk.

View 4 Replies View Related

General :: Cannot Play Audio Cds: "Buffer I/O Error On Device Sr0"

Aug 26, 2010

i got a Thinkpad R61 with a Matshita drive and, as the title says, I cannot play audio cds. After inserted a cd, syslog shows:

[Code]...

I did't know if this is an hardware issue so i tried an external dvd drive but i got the same errors. To play cds i tried different programs: xmms2, cdcd, mplayer and sound-juicer and different cds (all original if this matter) but without luck. I also tried a different kernel version, actually i'm using a custom one, using a debian precompiled ones (package linux-image-2.6.32-5-amd64) but again without luck. Here a relevant kernel configuration:

[Code]....

View 1 Replies View Related

Fedora Networking :: No Buffer Space Available?

Feb 23, 2009

I am using FC10 and recently there has been an error for ssh or telnet "No buffer space available". I rebooted the machine

View 7 Replies View Related

Ubuntu :: Keystrokes Not Getting In The Buffer While Saving?

Jan 4, 2011

Issue: My wife can type about 70wpm. And uses the computer to write short stories. She has been bitten before and as a results saves often. In fact she CTRL+S (saves) at the end of most sentences and every paragraph out of habit. In MS Word she could keep typing while the computer saved, and once MS Word was done saving it would drop all the buffered text onto the page. OpenOffice3.2 doesn't work this way. She has discovered that while it is saving and she is still typing the text doesn't go into the buffer and she looses the text she has typed. She is reporting to me that she looses a couple of words since the saving takes about 1-3 seconds.

My thoughts before I get home tonight: I was thinking of whipping out the video camera and showing everyone.Switch to LibreOfficeSee if it happens in other applications, maybe plop her down in gedit and see what happens, it could be an when writing to HDD keyboard buffer doesn't work.

View 1 Replies View Related

Red Hat / Fedora :: Buffer IO Error On Device /dev/sdb?

Jul 20, 2010

I have a one problem when i mapped a SAN to the linux box RHEL 5.3 i show the following messeage Buffer IO error on Device /dev/sdband unable to find it in fdisk -l

View 2 Replies View Related

Server :: Buffer I/O Error On Device?

Mar 15, 2010

cciss :cmd ffff880074984e00 has check condition byte 2 = 0x3
Printk : 30 messages suppressed
Buffer I/O error on device cciss/c0d0p2 logical Block 2211585 to 2211594

View 1 Replies View Related

Software :: Check For Buffer I/O Errors?

Aug 30, 2010

Howto check a hard disk for Buffer I/O Errors and fix them using linux Live CD, without damaging OS?

View 4 Replies View Related

Programming :: Eliminate Garbage From Buffer C++

Mar 4, 2010

Code:
char retBuffer[100];
recv(sock , retBuffer ,sizeof(retBuffer) , 0);

if i send a string smaller then my buffer size retBuffer always have garbage of the end of it....what can i do to eliminate tis problem ?

View 2 Replies View Related

Programming :: Check If Buffer Is Empty In C?

Apr 12, 2011

Greetings EveryOne

how to check if buffer is empty in c?

View 14 Replies View Related

Programming :: Store A Packet In Buffer?

May 19, 2010

writing a code in C program for debugging error and sendingror messagein routingprotocols. please answer with code

View 2 Replies View Related

Debian :: Increasing Scroll-back Buffer?

Jul 6, 2010

how to increase the scroll-back buffer? In LXTerminal, I can only scroll back about three screens.

View 6 Replies View Related

OpenSUSE :: Burning Iso With K3b Its Slow - Buffer Is Underrunning

Feb 5, 2010

When I am burning iso with k3b its slow, buffer is underrunning. Burning under root account is fine, no buffer underruns. I think this is permission problem....

View 1 Replies View Related

Ubuntu Security :: Exploiting A Buffer Overflow?

Jan 26, 2010

I have to give it up for the Ubuntu developers. It is nearly impossible to exploit a simple stack overflow. I'm studying overflows for a project so I need it to work. I set /proc/sys/kernel/randomize_va_space to 0 and when I compiled my program I used -mpreferred-stack-boundary=2 and -fno-stack-protector. But for some reason no matter how much input I enter it won't overwrite the EIP. What is stopping this from working that other linux versions don't have? And does anyone know of a way to bypass it?

View 1 Replies View Related

Ubuntu Installation :: Make /tmp Buffer Larger?

Mar 16, 2010

I have read that if /tmp is too small, videos choke, and other problems occur.

On my machine, one of the problems was that I couldn't download things because /tmp got full and when I went in to delete some tmp files, I wrecked the system...(not too intuitive I guess).

So this time around, how can I increase the size of /tmp, as well as have it emptied on startup?

I don't want to have it emptied on shutdown, because if I get a crash, the /tmp will still be full...shutdown just doesn't seem to be a reliable place to put essential housekeeping tasks.

View 9 Replies View Related

Ubuntu Multimedia :: Too Many Audio Packets In The Buffer?

Oct 12, 2010

i got major problems with mencoder.I work like this.1.) Demux Audio.2.) 2 Passes Encode. The second Encode includes the Audio.And there i got the problem:Too many audio packets in the buffer: (4100 in 1043395 bytes).Maybe you are playing a non-interleaved stream/file or the codec failed?For AVI files, try to force non-interleaved mode with the -ni option.I tried likely anything possible.How to fix that ?Before that i got the issue with demuxing the audio where i got a massive amount of "Too many buffered pts" errors. I overcame this by adding the nocorrect-pts option.

View 1 Replies View Related

Programming :: Capture Packet From DMA Ring Buffer?

Jul 21, 2010

I wanna capture network packets from DMA ring buffer, just like netfilter. i wanna capture it from DMA, because i wanna get MAC address of I/O packets, so netfilter not included MAC address of out going packets because its on IP level and Ebtables is like that too. how i can capture network packets from DMA ring buffer.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved