Quote:
Originally Posted by knc1
arecord -r 8000 | tee tmp.file > video
Might work, (the ./ path is the default) and that would do both, record as a file and pass-thru.
(tail might be expecting text line endings and the above is binary data)
|
The "
video" in the call is the binary. surely that would replace it with junk from the mic
But
arecord -f cd -r 192000 | tee tmp.file | ./video
works great! thanks KNC!
Blatant device abuse lol:
Code:
[root@kindle video]# arecord -D hw -f dat -fs24_le | tee tmp.file | ./gmplay-org
Recording WAVE 'stdin' : Signed 24 bit Little Endian, Rate 48000 Hz, Stereo
overrun!!! (at least 1448.915 ms long)
overrun!!! (at least 1.691 ms long)
overrun!!! (at least 2.336 ms long)
overrun!!! (at least 15.986 ms long)
overrun!!! (at least 3.154 ms long)
overrun!!! (at least 4.272 ms long)
arecord: pcm_read:1349: read error: Input/output error
27 frames in 22.1 secs = 1.2 FPS