Difference between revisions of "Talk:Mythbuntu"

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search
(transcoding, re-encoding, compressing, and archiving)
 
(11 intermediate revisions by one user not shown)
Line 6: Line 6:
 
  sudo bash
 
  sudo bash
 
  gnome-control-center sound
 
  gnome-control-center sound
 +
pavucontrol
 
   
 
   
 
  aplay /usr/share/sounds/alsa/Front_Center.wav
 
  aplay /usr/share/sounds/alsa/Front_Center.wav
Line 15: Line 16:
 
   
 
   
 
  alsamixer
 
  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 ==
 
== ubuntu version ==
Line 22: Line 31:
 
  Ubuntu 12.04.3 LTS
 
  Ubuntu 12.04.3 LTS
 
  precise
 
  precise
 +
 +
== HDMI Audio with Intel PCH ==
 +
 +
To verify your HDMI is on #3 do:
 +
 +
sources:
 +
# [http://ubuntuforums.org/archive/index.php/t-1772652.html ubuntu Sandy Bridge HDMI sound output]
 +
# [http://ubuntuforums.org/showthread.php?t=2090360 Audio over HDMI issues]
 +
 +
== VLC VideoLAN Player for MythTV playback ==
 +
 +
 +
vlc as default video player for mkv files
 +
* http://ubuntuforums.org/showthread.php?t=1729767
 +
 +
== 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;
 +
* http://www.mythtv.org/wiki/Transcoding
 +
** http://www.mythtv.org/wiki/Mythtranscode
 +
** http://www.mythtv.org/wiki/User_Manual:Daily_Use#Editing.2C_Transcoding.2C_Removing_Commercials
 +
** http://www.mythtv.org/wiki/Transcode_Video
 +
 +
discussion on transcoding to H.264
 +
* http://www.mythtvtalk.com/transcoding-woes-mpeg4-just-not-cutting-14908/
 +
* http://blog.gorwits.me.uk/index.html%3Fp=614.html
 +
* http://ubuntuforums.org/showthread.php?t=1673463

Latest revision as of 17:25, 23 July 2014

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