Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* arecord - bug with big file?
@ 2014-05-04 20:30 korgman
  2014-05-04 23:04 ` Daniel Mack
  2014-05-05  9:46 ` Clemens Ladisch
  0 siblings, 2 replies; 3+ messages in thread
From: korgman @ 2014-05-04 20:30 UTC (permalink / raw)
  To: alsa-devel

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 <perex@perex.cz>

I now trying with sox (rec test.wav) to check if sox is ok.

Thank you for reading this!

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: arecord - bug with big file?
  2014-05-04 20:30 arecord - bug with big file? korgman
@ 2014-05-04 23:04 ` Daniel Mack
  2014-05-05  9:46 ` Clemens Ladisch
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel Mack @ 2014-05-04 23:04 UTC (permalink / raw)
  To: korgman; +Cc: alsa-devel

On 05/04/2014 10:30 PM, korgman wrote:
> 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

What architecture (uname -a) and distribution is this? Was your libc and
alsa-lib compiled with LARGEFILE support?


Daniel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: arecord - bug with big file?
  2014-05-04 20:30 arecord - bug with big file? korgman
  2014-05-04 23:04 ` Daniel Mack
@ 2014-05-05  9:46 ` Clemens Ladisch
  1 sibling, 0 replies; 3+ messages in thread
From: Clemens Ladisch @ 2014-05-05  9:46 UTC (permalink / raw)
  To: korgman, alsa-devel

korgman wrote:
> 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

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-05-05  9:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-04 20:30 arecord - bug with big file? korgman
2014-05-04 23:04 ` Daniel Mack
2014-05-05  9:46 ` Clemens Ladisch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox