arecord - bug with big file?
Bugtracker is down ->
https://bugtrack.alsa-project.org/alsa-bug
from main page ->
http://alsa-project.org
So, excuse my reporting here.
I can't record with arecord for long periods.
time arecord -f dat -D hw:0,0 | aplay
Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo Playing WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
real 186m25.375s
user 1m26.204s
sys 0m20.772s
It seems that this bug was also reported there.
https://bugzilla.redhat.com/show_bug.cgi?id=213783
cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version k3.12.9x40-122l. (custom kernel)
arecord --version
arecord: version 1.0.27.1 by Jaroslav Kysela <[email protected]>
I now trying with sox (rec test.wav) to check if sox is ok.
Thank you for reading this!
Quoted 7 lines · korgman
Bugtracker is down ->
https://bugtrack.alsa-project.org/alsa-bug
from main page ->
http://alsa-project.orgSo, excuse my reporting here.
Quoted 7 lines
I can't record with arecord for long periods.
time arecord -f dat -D hw:0,0 | aplay
Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo Playing WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereoreal 186m25.375s
What architecture (uname -a) and distribution is this? Was your libc and alsa-lib compiled with LARGEFILE support?
Daniel
Quoted 7 lines · korgman
I can't record with arecord for long periods.
time arecord -f dat -D hw:0,0 | aplay
Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo Playing WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereoreal 186m25.375s
This is the time needed for 2^31 bytes. Stopping recording after that is a feature because .wav files (as supported by arecord) have a 2 GB limit. When recording to a file, it would be possible to create multiple files, but this is not possible with stdout.
Use "-t raw" to avoid the .wav restrictions. (This requires you to tell aplay about the format.)
Regards,
Clemens