Video capture instructions www.BillHowell.ca Linux Mint operating system recordmydesktop DVDs sound settings alsamixer pulseaudio Status as of ?date?: endpage **************************************************************************** Waiver/ Disclaimer The contents of this document do NOT reflect the policies, priorities, directions, or opinions of any of the author's past current, or future employers, work colleagues family, friends, or acquaintances, nor even of the author himself. The contents (including but not restricted to concepts, results, recommendations) have NOT been approved nor sanctioned at any level by any person or organization. The reader is warned that there is no warranty or guarantee as to the accuracy of the information herein, nor can the [analysis, conclusions, and recommendations] be assumed to be correct. The application of any concepts or results herein could quite possibly result in losses and/or damages to the readers, their associates, organizations, or countries, or the entire human species. The author accepts no responsibility for damages or loss arising from the application of any of the concepts herein, neither for the reader nor third parties. ******************************************* Copyright © 2015 Bill Howell of Hussar, Alberta, Canada Exceptions: All papers cited are the property of the publisher or author as specified in the books and papers. All information from conversations with other individuals are potentially the property of that individual, or of third parties. Permission is granted to copy, distribute and/or modify ONLY the non-third-party content of this document under either: The GNU Free Documentation License (http://www.gnu.org/licenses/); with no Invariant Sections, Front-Cover Texts, or Back-Cover Texts. Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. It is expected that users of the content will: Acknowledge William Neil Howell and/or the specific author of content or images on this page as indicated, as the source of the image. Provide a link or reference back to this specific page. Allow any modifications made to the content to also be reused under the terms of one or both of the licenses noted above. **************************************************************************** endpage Table of Contents Introduction Linux Mint sound settings Sound Settings Linux Mint Menu -> Preferences -> System Settings -> Sound : Output tab -> select Digital Output (S/PDIF) CMI8786 (Xonar DG) Input tab -> select Digital Input (S/PDIF) CMI8786 (Xonar DG) https://community.linuxmint.com/tutorial/view/628 rmkimathi Go : Applications (Howell - LinuxMint Menu) -> Preferences -> Sound There on the Hardware tab. Choose a profile that does NOT contain anything related to digital or IEC. I chose Analog Stereo Duplex. My theory is, that if you go digital there, pulse is blocking the digital output. The sound preferences window seems to be only related to pulse, not alsa at all. gstreamer https://community.linuxmint.com/tutorial/view/628 rmkimathi Now open up a terminal window and start: gstreamer-properties On the Audio tab, select ALSA - Advanced Linux Sound Architecture, for Default Output. As Device, choose the digital device, in my case: ALC889A (my sound chip) digital. I selected ALSA also for Default Input, though I don't think Input has any effect, as long as you don't use a mic or something. In XBMC, I got both devices for audio and passthrough set to IEC958. And voila :-) I am enjoying happy sound via Alsa in Ubuntu and XBMC, via HDMI and SPDIF, including passthrough in XBMC. Hope this can help others to avoid audio troubles in Linux. Howell Music icon - right end of LinuxMint top panel Output device -> Built-in Analog Stereo audiorecorder Alsamixer To start : Install "shunt" audio cable between line/speaker out and microphone in Open a separate terminal, and start alsamixer. Hopefully settings will be the same as required, but check that : The "Capture" bar is at reasonable volume. 03Apr2014 alsamixer volume control was balanced" (L vs R), and set to two notches below red.' ; F6: Select sound card : highlights "0 Xonar DG" (??was "0 HDA Intel" for old Dell laptop?). To stop alsaMixer User to manually shut down alsamixer and its terminal ; Goto the separate terminal running alsamixer. press to exit alsamixer close the window Pulse audio volume control (pavuc) To get PulseAudio working properly, make sure the following settings apply (Lenovo desktop computer) : 1. Configuration tab : High Definition Audio Controller : Digital Stereo (HDMI) Output (a) Built-in Audio : Analog Stereo Output CMI8786 (Xonar DG) : Digital stereo (IEC958) Output 2. Input Devices : (a,b) 3. Output Devices : High Definition Audio Controller (HDMI) : HDMI / DisplayPort (a) Built-in Audio Digital stereo (IEC958) : Digital Output (S/PIF) (d) CMI8786 (Xonar DG) Digital Stereo (IEC958) : Digital Output (S/PIF) (d) 4. Recording : (c) 5. Playback : (c) System Sounds : (may be grayed out, (a)) old -> Built-in Audio Digital stereo (IEC958) : Digital Output (S/PIF) (d) CMI8786 (Xonar DG) Digital Stereo (IEC958) (a) - dont care about these items (b) - might be blank (c) - might be blank until arecorder kicks in, have to check during recording (d) - check all small boxes (EAC3 unchecks?) # 20May2014 rmd only uses this stop_PulseAudio IS { NONLOCAL PID_pulse WID_pulse ; %host link 'xdotool key --window ' WID_pulse ' ctrl+c % This doesn't work ; %host link 'kill -15 ' PID_pulse ; % Actually - this wont work, as pulseaudio autospawns (need to fix that!) ; %host link 'kill -15 ' PID_pavuc ; % ; %User to SUSTAIN alsamixer and its terminal ; ' ; ' ; It is advised that you do NOT shut down "PulseAudio Volume Control" (pavuc) nor alsamixer, ' ; as you will need to switch Configurations between digital for record and analog for playback. ' ; readscreen 'Press to continue with work that may follow this recording session....' ; ' ; } RecordmyDesktop cmd := link 'recordmydesktop -x ' x ' -y ' y ' --width ' width ' --height ' height ' --v_quality 63 --v_bitrate 2000000 --fps 30 ' ' --buffer-size 264620032 --freq 48000 ' ' -o "' pName '" & ' ; Can reset [pause, stop] shortcut keys : --pause-shortcut Default = Control+Mod1+p (Mod1 usually is laft alt) --stop-shortcut Default = Control+Mod1+s enddoc