View Single Post
Old 07-06-2012, 01:49 PM   #95
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Quote:
Originally Posted by knc1 View Post
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

Last edited by twobob; 07-06-2012 at 02:11 PM. Reason: added solution
twobob is offline   Reply With Quote