[SOLVED] debian wheezy only mythtv has sound - not mplayer etc
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
debian wheezy only mythtv has sound - not mplayer etc
New squeezy install, and the sound is only partially working. It's just fine viewing a video in mythtv. But no sound with mplayer, etc. Also, when I capture from /dev/video directly to a file (e.g. cat /dev/video > test.ts) I don't hear any sound on playback. However, copying that same file to my old faithful squeeze, on another system, the sound is fine. I notice that wheezy is using faac for sound, while squeeze is using faad on the same file. Any help would be appreciated.
Is there any other way I can test this or get some more data points? Mythtv sound works OK. It's just odd.
Here is the output from running mythfrontend in a terminal. I did notice that when I start a video there is a distinct pop as the audio is enabled. Notice that pulseaudio is suspended and audioplayer is enabled. Could that be an indication of what's happening? I know nothing about pulseaudio. Is there some setup I need to do, or do I need to somehow setup something else as a default audio handler?
Code:
2013-06-21 11:35:09.567901 I Setup Interrupt handler
2013-06-21 11:35:09.567927 I Setup Terminated handler
2013-06-21 11:35:09.567936 I Setup Segmentation fault handler
2013-06-21 11:35:09.567945 I Setup Aborted handler
2013-06-21 11:35:09.567954 I Setup Bus error handler
2013-06-21 11:35:09.567964 I Setup Floating point exception handler
2013-06-21 11:35:09.567973 I Setup Illegal instruction handler
2013-06-21 11:35:09.567984 I Setup Real-time signal 0 handler
2013-06-21 11:35:09.567996 I Setup User defined signal 1 handler
2013-06-21 11:35:09.568005 I Setup User defined signal 2 handler
2013-06-21 11:35:09.568124 C mythfrontend version: [v0.26.0] www.mythtv.org
2013-06-21 11:35:09.568133 C Qt version: compile: 4.8.2, runtime: 4.8.2
2013-06-21 11:35:09.568139 N Enabled verbose msgs: general
2013-06-21 11:35:09.568155 N Setting Log Level to LOG_INFO
2013-06-21 11:35:09.568409 N Using runtime prefix = /usr
2013-06-21 11:35:09.568426 N Using configuration directory = /home/bob/.mythtv
2013-06-21 11:35:09.568533 I Assumed character encoding: en_US.UTF-8
2013-06-21 11:35:09.569075 N Empty LocalHostName.
2013-06-21 11:35:09.569087 I Using localhost value of Wendy
2013-06-21 11:35:09.569125 I Testing network connectivity to '192.168.0.3'
2013-06-21 11:35:09.571641 I Starting IO manager (write)
2013-06-21 11:35:09.571750 I Starting process signal handler
2013-06-21 11:35:09.571860 I Added logging to the console
2013-06-21 11:35:09.574437 I Starting IO manager (read)
2013-06-21 11:35:09.574550 I Starting process manager
2013-06-21 11:35:09.743049 N Setting QT default locale to en_US
2013-06-21 11:35:09.743135 I Current locale en_US
2013-06-21 11:35:09.743192 N Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
2013-06-21 11:35:09.775766 I ScreenSaverX11Private: DPMS is active.
2013-06-21 11:35:09.799471 I Added logging to mythlogserver at TCP:35327
2013-06-21 11:35:09.801661 N Desktop video mode: 1280x768 59.870 Hz
2013-06-21 11:35:10.056762 I Listening on TCP 127.0.0.1:6547
2013-06-21 11:35:10.056850 I Listening on TCP 192.168.0.2:6547
2013-06-21 11:35:10.056932 I Listening on TCP [::1]:6547
2013-06-21 11:35:10.057010 I Listening on TCP [fe80::214:85ff:feee:dd9%eth0]:6547
libcec.so.1: cannot open shared object file: No such file or directory
2013-06-21 11:35:10.644921 I Loading en_us translation for module mythfrontend
2013-06-21 11:35:10.654403 E LIRC: Failed to read config file '/home/bob/.lircrc'
2013-06-21 11:35:10.654486 E JoystickMenuThread: Joystick disabled - Failed to read /home/bob/.mythtv/joystickmenurc
2013-06-21 11:35:10.664660 E CECAdapter: Failed to load libcec.
2013-06-21 11:35:10.664689 I UDPListener: Enabling
2013-06-21 11:35:10.665605 I Binding to UDP 127.0.0.1:6948
2013-06-21 11:35:10.665659 I Binding to UDP 192.168.0.2:6948
2013-06-21 11:35:10.665733 I Binding to UDP [::1]:6948
2013-06-21 11:35:10.665799 I Binding to UDP [fe80::214:85ff:feee:dd9%eth0]:6948
2013-06-21 11:35:10.665859 I Binding to UDP 192.168.0.255:6948
2013-06-21 11:35:10.719823 I Using Frameless Window
2013-06-21 11:35:10.719877 I Using Full Screen Window
2013-06-21 11:35:10.729770 I Using the Qt painter
2013-06-21 11:35:10.987629 I Current MythTV Schema Version (DBSchemaVer): 1307
2013-06-21 11:35:11.093575 E RAOP Conn: Failed to read key from: /home/bob/.mythtv/RAOPKey.rsa
2013-06-21 11:35:11.258332 N Registering Internal as a media playback plugin.
2013-06-21 11:35:11.303808 W No plugins directory /usr/lib/mythtv/plugins
2013-06-21 11:35:11.436764 N Found mainmenu.xml for theme 'Terra'
2013-06-21 11:35:11.469476 I MythCoreContext: Connecting to backend server: 192.168.0.3:6543 (try 1 of 1)
2013-06-21 11:35:11.470625 I Using protocol version 75
2013-06-21 11:35:11.698839 I Bonjour: Service registration complete: name 'Mythfrontend on Wendy' type '_mythfrontend._tcp.' domain: 'local.'
2013-06-21 11:35:15.291543 I Build background buttonlist item 300
2013-06-21 11:35:15.376582 I Build background buttonlist item 400
2013-06-21 11:35:15.503706 I Build background buttonlist item 500
2013-06-21 11:35:15.592399 I Build background buttonlist item 600
2013-06-21 11:35:15.702161 I Build background buttonlist item 700
2013-06-21 11:35:15.792869 I TV: Creating TV object
2013-06-21 11:35:15.825135 N Suspending idle timer
2013-06-21 11:35:15.830661 I TV: Created TvPlayWindow.
2013-06-21 11:35:15.874279 I TV: Attempting to change from None to WatchingPreRecorded
2013-06-21 11:35:16.203909 I Pulse: PulseAudio suspend OK
2013-06-21 11:35:16.225994 N AudioPlayer: Enabling Audio
2013-06-21 11:35:16.265722 I AFD: Opened codec 0x5cba7a0, id(MPEG2VIDEO) type(Video)
2013-06-21 11:35:16.265736 I AFD: codec MP2 has 2 channels
2013-06-21 11:35:16.265826 I AFD: Opened codec 0x5cbbde0, id(MP2) type(Audio)
2013-06-21 11:35:16.265906 I AO: Opening audio device 'sysdefault:CARD=CK804' ch 2(2) sr 48000 sf signed 16 bit reenc 0
2013-06-21 11:35:16.270034 E ALSA: Requested 500000us got 341333 buffer time
2013-06-21 11:35:16.270162 E ALSA: Try to manually increase audio buffer with: echo 128 | sudo tee /proc/asound/card0/pcm0p/sub0/prealloc
2013-06-21 11:35:16.330927 I Setup Interrupt handler
2013-06-21 11:35:16.330940 I Setup Terminated handler
2013-06-21 11:35:16.331099 I VideoOutputXv: XVideo Adaptor Name: 'NV17 Video Texture'
YadifDeint: In-Pixformat = 1 Out-Pixformat=1
2013-06-21 11:35:16.362355 I OSD: Base theme size: 1280x720
2013-06-21 11:35:16.362379 I OSD: Scaling factors: 0.5625x0.666667
2013-06-21 11:35:16.423642 I OSD: Base theme size: 1280x720
2013-06-21 11:35:16.423662 I OSD: Scaling factors: 0.5625x0.666667
2013-06-21 11:35:16.428732 I Player(0): Video timing method: USleep with busy wait
2013-06-21 11:35:16.437202 I TV: Created player.
2013-06-21 11:35:16.438251 I TV: Changing from None to WatchingPreRecorded
2013-06-21 11:35:16.451696 I TV: Main UI disabled.
2013-06-21 11:35:16.451717 I TV: Entering main playback loop.
2013-06-21 11:35:16.459726 I ScreenSaverX11Private: DPMS Deactivated 1
2013-06-21 11:35:16.478258 I OSD: Base theme size: 1280x720
2013-06-21 11:35:16.478285 I OSD: Scaling factors: 0.5625x0.666667
2013-06-21 11:35:16.579043 I VideoOutput: Created YV12 OSD.
2013-06-21 11:35:18.805851 I TV: Attempting to change from WatchingPreRecorded to None
2013-06-21 11:35:18.811004 I Setup Interrupt handler
2013-06-21 11:35:18.811022 I Setup Terminated handler
2013-06-21 11:35:19.003113 I Pulse: PulseAudio resume OK
2013-06-21 11:35:19.003590 I TV: Changing from WatchingPreRecorded to None
2013-06-21 11:35:19.003629 I TV: Exiting main playback loop.
2013-06-21 11:35:19.003867 I ScreenSaverX11Private: DPMS Reactivated 1
2013-06-21 11:35:19.020441 N Resuming idle timer
2013-06-21 11:35:19.028823 I Build background buttonlist item 800
2013-06-21 11:35:19.164119 I Build background buttonlist item 900
2013-06-21 11:35:19.254961 I Build background buttonlist item 1000
2013-06-21 11:35:20.832369 I Bonjour: De-registering service '_mythfrontend._tcp.' on 'Mythfrontend on Wendy'
2013-06-21 11:35:20.832801 I RAOP Device: Cleaning up.
2013-06-21 11:35:20.832819 I AirPlay: Cleaning up.
2013-06-21 11:35:20.832834 I Pulse: Cleaning up PulseHandler
2013-06-21 11:35:20.833247 I Deleting UPnP client...
2013-06-21 11:35:21.305072 I Waiting for threads to exit.
YadifDeint: size changed from 0 x 0 -> 720 x 480
YadifDeint: Using existing thread.
Hmm, I found another thread on this, and the following post seems to have fixed it, once I killed pulse. I'll play around with it some more and see what I can see.
Thanks for the heads up. It's strange that Debian would ship a distro that doesn't work until it's been worked over. Oh well. It's certainly not your fault. Thanks for the help! If I hadn't pulled that output I'd never have noticed the problem was related to pulse.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.