General :: `mencoder` Captures 10 Minutes Of Audio In Less Than 10 Minutes?

Mar 15, 2011

I'm using mencoder to capture audio from a Encore ENLTV-FM3 video capture device. I have recently noticed that, since one week ago, when the machine was forcibly restarted due to a power outage, all recordings are slightly pitched, they play back slower than they should.

I narrowed down the problem to the following command line:

$ time mencoder -really-quiet -tv driver=v4l2:device=/dev/video1:chanlist=us-cable:audiorate=32000:alsa:adevice=hw.1:input=0:amode=1:normid=11 -endpos 00:10:00 -ovc copy -oac pcm -of rawaudio -o test-32000.wav tv://69
real 9m54.886s
user 0m5.536s
sys 0m1.740s
$ ls -l test-32000.wav
-rw-r--r--@ 1 martin martin 76800000 Mar 15 17:20 test-32000.wav

Somehow, mencode managed to gather precisely 10 minutes worth of raw audio in 9m 55s. That's not physically possible, unless the capture device's A/D converters are "overclocked". I can't think of any other explanation besides hardware failure. Can that be? Could it be that something got burnt during the power outage and now the capture device's internal clock went nuts?

Since the machine's restart, I've also noticed dmesg is flooded with entries like this:

CE: hpet increased min_delta_ns to XXX nsec

Which seem to indicate that the computer's high precision event timer is somehow out of sync. Does this have to do with the audio issue? Can it be that the audio converter's sample rate is linked to the HPET? I'm totally lost here. Has anyone bumped into something similar?

View 2 Replies


Debian Hardware :: Playing A52 Audio Kills All Sound After Few Minutes

Mar 28, 2016

Whenever I try to play AC3 audio, after a few minutes, the audio dies and never recovers. This doesn't occur with mp3's / etc, although once the audio dies because of AC3, it's gone for good. So this is probably related to surround sound(?).

After I lose audio, speaker-test produces

Code: Select allWrite error: -5,Input/output error
xrun_recovery failed: -5,Input/output error
Transfer failed: Input/output error

K-Mixer won't even open afterwards. I flipped from GNOME to KDE because of this problem (PulseAudio freezed the system entirely).

Additional info:

Code: Select allAudio device: Creative Labs EMU20k2 [X-Fi Titanium Series] (rev 04)
Output device: IEC958 Non-audio output

View 6 Replies View Related

Ubuntu Multimedia :: Sound To Usb Audio Device Cuts Out After A Few Minutes?

Mar 27, 2010

i am using ubuntu studio karmic and i have a digitech vx400 audio effects pedal which serves as an audio in/out midi in/out device via usb. i can sucessfully set it as the system sound device in system>preferences>sound for both input and output. but, when i play audio through it it only works for a few minutes before the sound stops completely. if i leave the system settings set to the internal sound card and configure jack audio connection kit to go to the usb device, i get the same results on the usb sound. a few minutes of playback at the most.i can restart sound with either "pulseaudio --kill && pulseaudio --start" or "alsactl init" in either situation. just requires restarting the programs. same results after restarting. i think this is alsa related as i have both the system sound and jack using the alsa driver, but i don't truly understand the relationship between pulseaudio and alsa.

View 5 Replies View Related

General :: Get App To Run Every 30 Minutes?

Jun 9, 2011

I have a app that fetches some feeds, is there a way i can get it to be done every 30 minutes?

View 4 Replies View Related

General :: Run A Script Every 30 Minutes?

Sep 23, 2010

how to run it every 3o minutes please?

will a script run hourly if i put the script in the /etc/cron.hourly/ folder?

View 6 Replies View Related

General :: Ubuntu Keeps Freezing Every Few Minutes

Jan 21, 2011

I am new to Ubuntu. I had it installed on an 8gb Medion USB key and for some reason Ubuntu keeps freezing every few minutes. The application that I would be using would freeze for a few seconds.

View 4 Replies View Related

General :: Set Mysql To Start 3 Minutes Before Httpd?

Sep 22, 2010

I have a big database, which should "build up" before receiving requests, so i need httpd to start about 3 minutes after mysql start, so it prevents the visitors to start querys to the database, and making server load high. How can i do this.

View 10 Replies View Related

General :: How To Remove All Files That Created N Minutes Ago

Mar 4, 2010

I guess in most cases when extracting a tar achive ,we will get a directory with the same name as the archive file but different suffix. but in some unlucky case, as I met today, after extract a tar bar I find lots of files spread in the working directory, which is really what I want to learn from you is that how can I move thoes newly created files ? I know it should be some "find plus rm" fancy approch there, but I don't know exactly how.

View 3 Replies View Related

General :: Emacs + Git: Auto Commit Every 5 Minutes?

Apr 18, 2010

How can I set up emacs to automatically git commit every time I save an open file or periodically?

View 4 Replies View Related

General :: Its Taking About 2 Or 3 Minutes For Boot And Startup?

Jan 25, 2011

I have ubuntu 10.10 installedWhen it was new It was too speedy in starting upbut, Now It is taking about two to three minutes to getting started.I tried to remove some applications from System/Preferences/Startup Applications,But no differenceI want to speed my systemIt has no problem in speed after starting up

View 14 Replies View Related

General :: Fedora 12 System Hangs After 30 Minutes?

Feb 17, 2010

I have installed Fedora 12 as a workstation successfully, my hardware specification is Pentium 4 system with 2.8 GHz Processor having 512 MB Ram, which has 80 GB HDD, the primary partition where fedora 12 is installed is 20 GB, in primary part my root part is 5 GB, having 2 GB Swap part, also has Home partition which has 12 GB.

The system installed in KDE mode and works nicely, but after 30 or 40 minutes, it is hanged. I don't know why, then I restart the system to resolve it.

View 1 Replies View Related

General :: Get Crontab To Execute Process Every 10 Minutes?

Jan 31, 2011

I am trying to get a process ( SARG access log report tool ) to run every 10 minutes but I cannot get it to work.
Here is the content of the crontab file
# m h dom mon dow user command


View 5 Replies View Related

General :: Wireless Connection Dropping About Every 2 Minutes?

Jan 28, 2011

I am having an issue with my wireless connection dropping about every 2 minutes (web pages timing out), then working for a couple of minutes then dropping again. The connection icon in the task bar says I'm still connected at about 70%.I have a dual boot system and the wireless works fine in opensuse but not in Ubuntu 10.10 I have an Asus G50vt-X5 laptop but I am not sure about the wireless chipset.

View 10 Replies View Related

General :: Lock The Console After 5 Minutes Of Inactivity

Sep 16, 2010

How would i force The server console to be locked automatically after 5 minutes ?

I want it to happen for X as well as terminal session of the machine.

My Linux distribution details.


View 13 Replies View Related

General :: Script With Funtions, Everything Worked Until 15 Minutes Ago?

Apr 28, 2011

made a script with funtions, everything worked until 15 minutes ago, and i can't figure out what did go wrong.I think it has to do something with the 3 first rules of code... but for my opinion that should be fine (i used '777' just to be sure)

test_mount() {
$touch /current_mount


View 4 Replies View Related

General :: Ssh Sessions In Xterms Freeze For Many Minutes Whenever They Disconnect?

Jun 2, 2010

If I ssh to a remote machine and then lose internet connectivity, the session freezes. I can't control-c or otherwise abort and go back to my local xterm or terminal prompt but if I wait several minutes it will do so.
There must be some way to force it to abort the remote ssh session when connectivity is lost. I'm on a Mac but I believe this happens on cygwin or linux as well.

View 2 Replies View Related

General :: Crontab Syntax - Running Script Once Every Five Minutes

Jan 25, 2010

I am planning on running a script once every five minutes, and the syntax that comes to mind in doing this is the following:

5 10 15 20 25 30 35 40 45 50 55 * * * * /apps/<script>.pl
Is there a better syntax to use to accomplish this task, or is the above example the way to go?

View 2 Replies View Related

General :: Make Sudo Session An Hour And Not Few Minutes In Ubuntu 10.04?

Jun 7, 2010

How I can make sudo Ubuntu 10.04 session an hour and not few minutes?

Now I have to write my password for sudo commands every few minutes.

View 4 Replies View Related

General :: Fullscreen GLUT App Display Blanks After Approx 30 Minutes

Apr 6, 2010

I'm running a fullscreen display app which shows a 3D scene in OpenGL. The app runs continiously throughout the day unattended.

Here's the sequence of events in how it's loaded:

1) The computer is turned on, and boots into F11 (x86_64)

2) A non-privileged user is automatically logged on

3) The gnome startup applications list contains an entry for a loading script

4) The loading script waits for the network interface (eth0) to ccome up, then starts the display program

This all works just fine, except that about 30 minutes after the computer is turned on and the app starts running, the screen blanks out. Attaching a mouse to the system and moving it around a bit brings the screen back to life. Likewise, SSHing into the machine and killing / restarting the application works as well. Once either of these fixes has been performed, it runs flawlessly for the rest of the day.

I have turned off the screen saver, and set the power settings for monitor shutdown to 'never'.

View 2 Replies View Related

General :: Search A String In Logs Of Last 15 Minutes From Current Time?

Aug 26, 2010

I want to run a script that runs after every 15 minutes that i will do using crontab. But in script want to search a string from the last 15 minutes logs in log file containing data of whole day.

how i can search the string according to time difference that is logs from from current time and current time - 15 minutes.

Sample logs are as follows:

26-Aug-2010 16:38:46,055|9172310750|subscription_app|31ba267e%3A12aadd47bdc%3A50e9|ChargeAmount|ChargingIntercep tor - subscriber details processed sucessfully- {arg0.referenceCode=balanceEnquiry:true;subsChannel:Unknown;channelType:Subscription;transactionId:3


View 6 Replies View Related

General :: Laptop Logging Out Of Window Manager A Few Minutes After Boot Up And Login

Sep 1, 2010

I have a troubling issue. I log into Linux Mint 9 (fully up-to-date) on my Samsung Q320 laptop with power connected and after a few minutes it seems like the entire X session dies, I am logged out, all processes are killed and I am presented with the normal GDM login screen. When I first installed Linux Mint, this never happened. I have the NVidia closed-source driver installed and when the system logs me out, it immediately restarts X loading the NVidia driver which flashes the logo on screen. This all happens instantaneously, so it is not a reboot of the machine, just a restart of the display manager it seems.

There does not seem to be any cause for this. I have disabled all screen saver and power management settings that may lead my system to auto-logout of Gnome. The system log doesn't indicate anything unusual happening. Confused about where to to take it from here bar and fresh install of the OS. Perhaps there are some X11 logs I should be checking.

Update: Moved to Ubuntu 10.10 and its recommended NVidia driver and have not experienced this problem since.

View 1 Replies View Related

General :: Screen Goes Blank For Few Minutes During Booting To Print The Login Page?

Jan 3, 2011

My screen goes blank for few minutes during booting to print the login page.

When I press ctrl+alt+f1 it shows and hangs at

Enabling /etc/fstab swaps

I show below the output of some commands:

[root@ws-test ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 76G 55G 18G 76% /
tmpfs 3.9G 0 3.9G 0% /dev/shm
/dev/sda3 56G 34G 20G 64% /hdd-1


View 2 Replies View Related

General :: Extract Audio From Video File Using Mencoder?

Feb 2, 2011

mencoder The.Negotiator.mkv -of rawaudio -oac mp3lame -ovc copy -o sound-mencoder.mp3
I got a 195.3MB mp3 file


View 2 Replies View Related

General :: Home Broadband (TWC/RoadRunner/San Diego) Intermittently Drops Out For Minutes At A Time?

Nov 19, 2010

Our home broadband (TWC/RoadRunner/San Diego) intermittently drops out for minutes at a time. In WinXP, I had a logger that would ping one or more sites (e.g., log the ping times, and display the data in an interactive graph. This was very useful in showing the ISP tech (I didn't know about Shibboleet then).The problem is still unsolved after two visits, but now I'm using Ubuntu 10.04. I'm looking for a similar tool. I'm a Linux newb (i.e. "just write a script" isn't helpful at this point), so I'm hoping for something user-friendly with a GUI.Can anyone recommend a Linux utility that...Logs ping timesDisplays results graphicallyDoesn't require advanced Linux skills to set up

View 1 Replies View Related

General :: Automatically Set Screensaver Activation Back At 30 Minutes Each Time The Normal Screen Is Reactivated?

Mar 16, 2011

I'm running Fedora 14 and set the screensaver (in System>Preferences on the Gnome GUI) to activate after the computer is idle for 30 minutes. After the screensaver is activated, and a press a key or the mouse, the screen is back to normal -- no problem.After the screensaver has been activated once, however, it comes back on very quickly -- usually in 2 or 3 minutes if the computer is idle. The only way I have found to correct this (and set activation back at 30 minutes again) is to log out and back in again.How can I correct this, and automatically set screensaver activation back at 30 minutes each time the normal screen is reactivated?

View 1 Replies View Related

Debian :: After Several Minutes Network Down?

Sep 7, 2011

Problem: after several minutes network down, ping (gateway) -> (Destination Host Unrechable).

Hardware: netbook Asus 1215p, netcard - Atheros Communications AR8152 v2.0, controller - Broadcom BCM4313

Debian 6.0

auto lo
iface lo inet loopback
allow-hotplug eth0


PS on win7 and ubuntu with the same config I don't have this problem..

View 1 Replies View Related

Fedora :: Sleep Once After 10 Minutes

Dec 24, 2009

I am using fedora 11. I have disable power management and screensaver.


However, when I reboot my computer, it will still come to a black screen after 10 minutes. When I move my mouse once, it never sleep again.

View 8 Replies View Related

Fedora :: X Crashes Exactly 10 Minutes After Log On ?

Mar 3, 2010

X crashes exactly 10 minutes after log on, and I am returned to log in screen. I am running: Kernel Linux Gnome 2.26.3. on a Dell Laptop.

View 3 Replies View Related

Ubuntu :: Freezes After Several Minutes Of Use

Aug 2, 2010

I have just installed ubuntu on my second laptop. However, this one is giving me some grief. After several minutes, it completely locks up. No mouse, keyboard, anything. Just frozen solid. I had some issues installing it, and got around them by checking something like "nolacpi" and "noacpi" with the live cd, but now I don't know how to re enable those options. I'm quite computer savvy, but am still learning how linux works. For refrence, this is the system specs:

HP Pavilion Zx5000
Pentium 4 3.06GHz
ATI Mobility Radeon 9200 GPU
60GB IDE Hard drive

View 3 Replies View Related

Ubuntu :: Locks Up After Less Than 5 Minutes Of Use?

Aug 18, 2010

I have to type this quick because Ubuntu will lock up on me.The screen goes black, the cursor does NOT move, and the only way to recover is to do a hard reboot. This happened when I had windows XP installed as well, only it would reboot the machine after 5 minutes.I barely have time to open one program and it locks up.Could this be a hardware issue?I tried taking out the video card I had bought, thinking it would solve the problem, but it does not.

View 6 Replies View Related

Copyrights 2005-15, All rights reserved