Talk:Mythbuntu

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search

PlaybackBuiltinAudioAnalogStereoPulseAudioMixer

ALSA:dmix:CARD=PCH,DEV=3

sudo bash
gnome-control-center sound
pavucontrol

aplay /usr/share/sounds/alsa/Front_Center.wav

Playing WAVE '/fc.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono

speaker-test -c 2 -r 48000 -D hw:0,3
aplay -D plughw:0,3 /fc.wav

alsamixer

sound config files

  • /etc/modprobe.d/alsa-base.conf
  • /etc/pulse/default.pa
  • Start PulseAudio: start-pulseaudio-x11
  • Stop PulseAudio: killall pulseaudio

ubuntu version

# lsb_release -a

Ubuntu 12.04.3 LTS
precise

HDMI Audio with Intel PCH

To verify your HDMI is on #3 do:

sources:

  1. ubuntu Sandy Bridge HDMI sound output
  2. Audio over HDMI issues

VLC VideoLAN Player for MythTV playback

vlc as default video player for mkv files

screen blanking

> (screensaver and DPMS). > > Please type "xset q" ... and these two sections are interesting: > > [...] > Screen Saver: > prefer blanking: yes allow exposures: yes > timeout: 600 cycle: 600 > [...] > DPMS (Energy Star): > Standby: 240 Suspend: 240 Off: 240 > DPMS is Enabled > Monitor is On > [...] > > To completely disable screen-saver and DPMS: > > xset dpms force on > xset -dpms > xset s off > > "xset q" should print now: > [...] > Screen Saver: > prefer blanking: yes allow exposures: yes > timeout: 0 cycle: 600 > [...] > DPMS (Energy Star): > Standby: 240 Suspend: 240 Off: 240 > DPMS is Disabled > [...] > > > This works for some boxes running several days. >

xset and reboot

for your current session, copy/paste these commands one at a time in a terminal... Code:

xset -dpms
xset s noblank
xset s off

If that works and you want it to persist on reboot, you'll need to create/modify the file /etc/X11/xorg.conf. If you don't have the file create it and add the following, if you do have that file add the following under Section "Monitor", leaving out the Section "Monitor" and EndSection lines... Code:

Section "Monitor"
Option          "NODPMS"
EndSection

Reboot and see if it works. If not, try these lines, again leaving out the Section/EndSection lines if you already have those sections and rebooting afterwards... Code:

Section "Monitor"
Option          "DPMS"
EndSection

Section "ServerLayout"
Option          "BlankTime"     "0"
Option          "StandbyTime"   "0"
Option          "SuspendTime"   "0"
Option          "OffTime"       "0"
EndSection

transcoding, re-encoding, compressing, and archiving

Transcoding is when you decode video compressed in one format, and re-encode it in another. Usually, it's done for 2 reasons:

Removing Commercials - decompressing a compressed video, removing the parts marked to be removed (the commercials) and re-encoding the video stream, to the original or to a different video encoder using a codec.

To free up hard disk space; by reducing the quality or changing the encoding of the video to a more efficient codec (or a combination of these) space can be saved.

references;

discussion on transcoding to H.264