-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
arecord creates a lot of useless files #178
Comments
What are the other files created ? Also .wav files ? |
yes exactly a lot of wav files that can't be read. Wave files 44bits in size not usable except the first one... I haven't see this behavior when tested on raspberry pi for example... |
Is the behavior identical when the file is stored on flash, sd and usbFlash ? |
same thing! |
@ukicar can you please take a look at new version or alternative solution. Please research and advise how to proceed with this. |
To be tested with the new openWRT version |
How to over come the issue??any clue? |
Is this re-appearing in the new version v1.2 as well? |
I don't have an USB soundcard. @ukicar, can you try with v1.2 ? |
I was struggling with this as well but this is these are the parameters that allowed me to record a 10 second wav file with no other files being created. arecord -D plughw:1,0 -d 10 test.wav |
Well I have some other bug that seems to record to the .wav file okay but doesn't output sound with I play or use sox to "play." So I can arecord with a -f command that outputs thousands of blank .wav files or I can leave out the -f and get a .wav file that seems to have when played with with sox but doesn't actually output anything. |
The problem seems to appear on ARM architecture starting from 1.0.28 |
navimov - any way you could share how you downgraded alsa-utils? the apt repository on jessie does not seem to list older versions and I'm a bit new to this. |
I am not able to downgrade alsa-utils. I get this:
|
@dmarman |
ARM Raspberry Pi 3
|
@dmarman have you modified your |
Do I have to uncomment that? |
|
I can confirm this is a bug , It happened with me on my pi 3 |
The same happens on my Pi 3 with Jessie. This command creates small files and does not stop in 5 seconds: |
This is a bug in alsa 1.0.28 on ARM. A solution is to upgrade your alsa-utils to 1.1.3 from source code. I followed the last answer here: If I remember correctly I got a problem with the installation. I think I didn't have libasound2 installed in my raspberry. |
When trying to record sound arecord produces a huge amount of useless files, only the first one in the chain has sound. Other thing is that program don't exit when duration of recording is expired. I'm afraid that our arecord has some kind of bug... tested the same program under Rpi where it works well
here is test instruction
cd /tmp
arecord -f cd -d 5 tt.wav
instruction means : record in cd quality duration of 5 seconds
The text was updated successfully, but these errors were encountered: