[alsa-devel] How to save playback out in a file too
17 Oct
2011
17 Oct
'11
8:45 a.m.
Hi, I want to same output of playback in a file.
We are developing IEC958 device but to debug want to save output of IEC958 plug in a file.
Please suggest how to do that?
Best Regards, Ajay
17 Oct
17 Oct
11:56 a.m.
Hi, I want to same output of playback in a file.
We are developing IEC958 device but to debug want to save output of IEC958 plug in a file.
Please suggest how to do that?
You could use the "file" plugin. Extend your ~/.asoundrc with something like
pcm.write_file { type file slave { pcm hw:0 } file "/home/user/alsafile.wav" format "wav" }
Then use the "write_file" device for playback. E.g. for mplayer mplayer -ao alsa:device=write_file myvideo.mkv
Sebastian
4816
Age (days ago)
4816
Last active (days ago)
1 comments
2 participants
participants (2)
-
ajay khandelwal
-
Sebastian H.