SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Linux
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Linux Discussion related to the SageTV Media Center for Linux. Questions, issues, problems, suggestions, etc. relating to the SageTV Linux should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-18-2008, 01:41 PM
denyasis denyasis is offline
Sage User
 
Join Date: Sep 2008
Posts: 6
Audio - Or lack there of?

Good afternoon;

Is there anything specific one needs to do to enable audio on the capture device (PVR-350)? At the moment, when telling the Linux client (all on the same box) to watch Live TV, I get the picture, but no sound at all. I've tried it using both the Analog and Optical outs on my Sound card, but to no avail.

I have confirmed I do have analog 5.1 sound and IEC958 2.0 sound output from the sound card when playing sources in Nautilus and Totem (MP3's) and also w/ the speaker test.

Ubuntu 8.10
Sage 6.4
Java 1.5 or Java5 - whatever you want to call it

I used ldd so.* | grep not\ found and every library was located. The server was run using sudo, the client without.

On a side note, attempting to play an MP3 through the Sage interface generates a playback exception. Possibly related?

I have the feeling I'm missing something obvious, but after a few days of searching and tinkering, I've had no luck.

Thanks in advance!
Reply With Quote
  #2  
Old 11-23-2008, 06:41 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
If you were to capture some video from the device outside of SageTV, do you get audio?

Code:
cat /dev/video0 > /dev/null & sleep 8 && kill $!
Will give you 8 seconds. change /dev/null to ~/ and 8 to some appropriate amount of time. (Assuming video0 is the right one)

B
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #3  
Old 12-03-2008, 07:35 AM
denyasis denyasis is offline
Sage User
 
Join Date: Sep 2008
Posts: 6
Good Morning;
I apologize I have not been able to reply earlier.

I tried the code you posted, but am Unsure of it application. Does it create a file, if so where?

I tried an alternate experiment today and had Sage record Some of the Live TV as I was channel surfing (without sound). I then Played the recorded MPG's using Totem. The result was full audio and video!

Therefore I'm starting to come to the conclusion that the lack of audio is more directly related to sage. I would make the assumption that the "Playback Exception" error I get when I attempt to play an MP3 through Sage is likely related.

I attached the Sage_x.txt file that was generated during this morning channel surfing. All I did was browse several channels allowing sage to record two of the channels for a few minutes.

I noticed sever Java IO excpetions in the txt file. However I am not getting corrupted .Wiz files (Ifixed that problem by down grading to Java 5 from Java 6)

Thanks!
Attached Files
File Type: txt sagetv_0.txt (32.2 KB, 189 views)
Reply With Quote
  #4  
Old 12-03-2008, 11:41 AM
denyasis denyasis is offline
Sage User
 
Join Date: Sep 2008
Posts: 6
ok. I did some more testing. Forgive me I havne't used linux in a several years and pretty much every thing in the HTPC arena is totally new to me.

I ran modprobe ivtv | Dmesg to get more info about the Pvr-350 that I'm using.

Results (or part of):
11.705619] ivtv0: Registered device video0 for encoder MPG (4096 kB)
[ 11.705718] ivtv0: Registered device video32 for encoder YUV (2048 kB)
[ 11.705825] ivtv0: Registered device vbi0 for encoder VBI (1024 kB)
[ 11.705902] ivtv0: Registered device video24 for encoder PCM (320 kB)
[ 11.705969] ivtv0: Registered device radio0 for encoder radio
[ 11.706043] ivtv0: Registered device video16 for decoder MPG (1024 kB)
[ 11.706113] ivtv0: Registered device vbi8 for decoder VBI (64 kB)
[ 11.706187] ivtv0: Registered device vbi16 for decoder VOUT
[ 11.706261] ivtv0: Registered device video48 for decoder YUV (1024 kB)
[ 11.706265] ivtv0: Initialized card #0: Hauppauge WinTV PVR-350
[ 11.706291] ivtv: End initialization

Modprobe had no errors except for three libmouse errors which I attribute to the HTPC's non-standard mouse interface (a Logitech Dinovo thumbpad)

/dev/video0 is the correct device as far as I can tell and that's the device Sage uses. (or atleast indicates it uses, as I really have no other choices when setting up sage)

So I, wondering if perhaps the audio stream was making it to the harddrive when recording(video and audio all get combined in the encoder), but not to Pulseaudio (Evil!) when essentially 'streaming' live tv, opened up /dev/video0 in Totem.

Results, I got Live analog feed and 2.1 analog audio! Unfortunately, I don't remember how to set the channel frequency to view, so All I get is QVC (WHHHHYYYY?!?!?!)
I've also confirmed the audio is traveling over the bus, not the 350's audio out.

So, Its not a hardware problem, and It doesn't appear to be a driver problem... I'm still guessing on sage/java, woo
Reply With Quote
  #5  
Old 01-03-2009, 02:10 AM
marcusjohn marcusjohn is offline
Sage User
 
Join Date: Oct 2008
Posts: 26
No Sound here as well

I have Ubuntu Hardy 8.04. I can record normally. The sound gets into the video file and I can play the sound anywhere, including an Xbox 360, my cell phone, windows media player, and various ubuntu media players.

But there is no sound on any functions of Sage client for Ubuntu.

How can I debug this?

Thanks in advance for help.

John.
Reply With Quote
  #6  
Old 01-03-2009, 03:04 PM
marcusjohn marcusjohn is offline
Sage User
 
Join Date: Oct 2008
Posts: 26
My miniclient.log

Here is the output from my miniclient.log.

Thanks for any help in advance.

Code:
Sat 1/3 15:57:57.873 stdout:ID_AUDIO_NCH=0
Sat 1/3 15:57:57.873 stdout:ID_LENGTH=7798.96
Sat 1/3 15:57:57.881 stderr:The selected video_out device is incompatible with this codec.
Sat 1/3 15:57:57.882 stderr:Try appending the scale filter to your filter list,
Sat 1/3 15:57:57.882 stderr:e.g. -vf spp,scale instead of -vf spp.
Sat 1/3 15:57:57.882 stderr:Requested video codec family [mpeg12] (vfm=libmpeg2) not available.
Sat 1/3 15:57:57.882 stderr:Enable it at compilation.
Sat 1/3 15:57:57.882 stderr:[AO_ALSA] alsa-lib: pcm_hw.c:1099:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: No such file or directory
Sat 1/3 15:57:57.882 stderr:[AO_ALSA] Playback open error: No such file or directory
Sat 1/3 15:57:57.882 stderr:Could not open/initialize audio device -> no sound.
Sat 1/3 15:57:57.893 stderr:[mpeg2video @ 0x86a9a80]ac-tex damaged at 30 0
Sat 1/3 15:57:57.894 stderr:[mpeg2video @ 0x86a9a80]Warning MVs not available
Sat 1/3 15:57:57.894 stdout:Opening video filter: [pp=fd]
Sat 1/3 15:57:57.894
Reply With Quote
  #7  
Old 01-04-2009, 12:28 AM
marcusjohn marcusjohn is offline
Sage User
 
Join Date: Oct 2008
Posts: 26
oops

Oops. I didn't mean to say the Sage client. I meant to say the sage placeshifter that comes with the linux version.

I wonder if anyone has any debugging help.

Thanks

John.
Reply With Quote
  #8  
Old 01-04-2009, 12:54 AM
marcusjohn marcusjohn is offline
Sage User
 
Join Date: Oct 2008
Posts: 26
placeshifter sound is fixed.

I installed as much of the pulseaudio support as I could find in synaptic.

I googled most of the phrases in the stderr messages in my miniclient.log.

The most helpful one was pcm_hw.c:1099. I don't know what that alsa error message means, but it let me to the command:

"asoundconf set-pulseaudio"

After I did this, and restarted things, the problem was fixed.

Very useful in debugging ubuntu was this:

http://ubuntuforums.org/showthread.php?t=843012

Following some of those links was very educational.

I hope it stays fixed.

I hope this helps someone in the future.

John.
Reply With Quote
  #9  
Old 01-04-2009, 07:55 PM
didier didier is offline
New Member
 
Join Date: Jun 2008
Posts: 1
Hi

I had the same problems, actually a lot of it, no sound, no image, no video, video and no sound, sound and no video...

It seems the problem come from gstreamer, I had all sort of gstreamer plugins installed. We deleted them all and reinstalled only the basic ones needed for Gnome. Now I got sound and video. Well the video is really bad, flickering all over the place.

Let us know if this help
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HD PVR No Audio jbert Hardware Support 11 07-28-2012 10:26 AM
Problem With Audio Dialog (Surround Sound Problem) rdsherwood SageTV Software 3 09-28-2008 06:09 AM
Dropped favorite recording -- with debug logs Surtr SageTV Software 4 02-19-2008 10:48 AM
Audio stutter in recorded HD material playback Bryann SageTV Software 8 09-12-2006 04:05 PM
Audio volume levels KarylFStein Hardware Support 0 05-21-2006 10:29 PM


All times are GMT -6. The time now is 08:00 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.