FW: Πρόβλημα ήχου σε κάρτα TV
panagiotis takis_rs
takispadaz at hotmail.com
Thu Feb 19 00:30:35 EET 2009
> >02-00: SAA7134 PCM : SAA7134 PCM : capture 1
>
> αρα η 2 καρτα ειναι το tv-tuner
> > 11: [ 2- 0]: digital audio capture
>
> αρα το alsa "2-0" μας δινει ηχο
> >http://img12.imageshack.us/img12/2674/alsaky1.png
>
> >οκ δεν είναι??
>
> το CAPTURE στο τελος μπορει να πατηθει και αυτο ταυτοχρονα,
> δοκιμασε το (και τα δυο μαζι και ξεχωριστα)
Μπα τίποτα εδώ και με κανένα τρόπο.
> > http://www.linuxtv.org/wiki/index.php/Pinnacle_PCTV_%28310i%29
> > http://www.linuxtv.org/wiki/index.php/Saa713x_devices
> > http://en.gentoo-wiki.com/wiki/Saa7134 (παλιο)
> > http://www.gentoo-wiki.info/SAA7134
> > http://www.gentoo-wiki.info/Saa7134_quick_guide
> >
>
> τα δυο τελευταια ειναι πολυ βοηθητικα
>
>
> > mplayer tv:// -tv driver=v4l2:norm=PAL:input=0:amode=1:forceaudio:normid=0:audio\
> > rate=32000:alsa:adevice=hw.1,0:width=768:height=576:outfmt=yuy2:device=/dev/vide\
> > o0:chanlist=europe-west
>
> :immediatemode=0
>
> μπορει να χρειαστει να κοτσαρεις και το παραπανω στο τελος της εντολης
> (μαζι με το " : ")
>
> εδω λογικα το κανεις adevice=hw.2,0 (για να βρεις καναλι παιζεις με το h και το k πληκτρα
> μεχρι να δεις στο terminal απο πισω να φτασει σε chan 21 - 64 , να φυγει
> απο τα S1 - S2 -- E3 κλπ)
>
> μπορει να πρεπει να κανεις το normid=4 ή 5
ΕΠΙΤΕΛΟΥΣ ΗΧΟΣ:))))))))))
ΜΠΡΑΒΟ ΡΕ ΜΑΓΚΑ!!!
ΕΤΡΕΞΑ ΑΥΤΟ.....
mplayer tv:// -tv driver=v4l2:norm=PAL:input=0:amode=1:forceaudio:normid=4:audiorate=32000:alsa:adevice=hw.2,0:width=768:height=576:outfmt=yuy2:device=/dev/video0:chanlist=europe-west:immediatemode=0
....χωρίς το :immediatemode=0 δεν είχε ήχο
MPlayer dev-SVN-r27637-4.3-openSUSE Linux 11.1 (i686)-Packman (C) 2000-2008 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 2.53GHz (Family: 15, Model: 2, Stepping: 4)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing tv://.
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <olschewski at zpr.uni-koeln.de>
comment: first try, more to come ;-)
Selected device: Pinnacle PCTV 310i
Tuner cap: STEREO LANG1 LANG2
Tuner rxs: MONO
Capabilites: video capture video overlay VBI capture device tuner read/write streaming
supported norms: 0 = NTSC; 1 = NTSC-M; 2 = NTSC-M-JP; 3 = NTSC-M-KR; 4 = PAL; 5 = PAL-BG; 6 = PAL-H; 7 = PAL-I; 8 = PAL-DK; 9 = PAL-M; 10 = PAL-N; 11 = PAL-Nc; 12 = PAL-60; 13 = SECAM; 14 = SECAM-B; 15 = SECAM-G; 16 = SECAM-H; 17 = SECAM-DK; 18 = SECAM-L; 19 = SECAM-Lc;
inputs: 0 = Television; 1 = Composite1; 2 = Composite2; 3 = S-Video;
Current input: 0
Current format: BGR24
v4l2: current audio mode is : STEREO
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 720 x 576 (preferred colorspace: Packed YUY2)
VDec: using Packed YUY2 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 720x576 => 720x576 Packed YUY2
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==========================================================================
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 32000 Hz, 2 ch, s16le, 1024.0 kbit/100.00% (ratio: 128000->128000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
AO: [oss] 32000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Selected channel: 52 (freq: 719.250).252 100/100 0% 8% 0.1% 1 0
Selected channel: 53 (freq: 727.250).253 126/126 0% 9% 0.1% 9 0
Selected channel: 54 (freq: 735.250).252 153/153 0% 9% 0.1% 17 0
Selected channel: 55 (freq: 743.250).253 176/176 0% 9% 0.1% 25 0
Selected channel: 56 (freq: 751.250).253 197/197 0% 9% 0.1% 33 0
Selected channel: 57 (freq: 759.250).253 219/219 0% 9% 0.1% 41 0
Selected channel: 58 (freq: 767.250).253 242/242 0% 9% 0.1% 48 0
Selected channel: 59 (freq: 775.250).253 264/264 0% 9% 0.1% 57 0
Selected channel: 60 (freq: 783.250).253 292/292 0% 9% 0.1% 65 0
Selected channel: 61 (freq: 791.250).253 395/395 0% 9% 0.1% 71 0
Selected channel: 62 (freq: 799.250).252 419/419 0% 9% 0.1% 78 0
Selected channel: 63 (freq: 807.250).252 440/440 0% 9% 0.1% 85 0
Selected channel: 64 (freq: 815.250).252 460/460 0% 9% 0.1% 92 0
Selected channel: 65 (freq: 823.250).252 481/481 0% 9% 0.1% 100 0
Selected channel: 66 (freq: 831.250).252 503/503 0% 9% 0.1% 107 0
Selected channel: 67 (freq: 839.250).253 514/514 0% 9% 0.1% 115 0
************************************************
**** Your system is too SLOW to play this! ****
************************************************
Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
- Try -ao sdl or use the OSS emulation of ALSA.
- Experiment with different values for -autosync, 30 is a good start.
- Slow video output
- Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
- Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
- Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
- Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
- Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.
Selected channel: 68 (freq: 847.250).250 567/567 0% 9% 0.1% 125 0
Selected channel: 69 (freq: 855.250).252 594/594 0% 9% 0.1% 132 0
Selected channel: 68 (freq: 847.250).252 782/782 0% 9% 0.1% 139 0
Selected channel: 67 (freq: 839.250).253 803/803 0% 9% 0.1% 146 0
Selected channel: 66 (freq: 831.250).252 840/840 0% 9% 0.1% 153 0
Selected channel: 65 (freq: 823.250)
Selected channel: 64 (freq: 815.250)
Selected channel: 63 (freq: 807.250)
Selected channel: 62 (freq: 799.250)
Selected channel: 61 (freq: 791.250)
...
...
...
Βέβαια με το που ξεκινάει να δείχνει ενα κανάλι μετα απο λίγα δευτερόλεπτα χάνεται.
Επίσης λειτούργησε και αυτό...... tvtime | arecord -D hw:2,0 -r 32000 -c 2 -f S16_LE | aplay -
....μόνο που ο ήχος με την είκονα δεν ήταν συγχρονισμένος, εκτός και αν δεν πέτυχε το playback o Ρουβας :P:P:P
Επίσης δοκίμασα και αυτό το script αλλά δεν έβγαζε ήχο.Δεν ξέρω αν πρέπει να αλλάξω κάποιους παραμέτρους.
sox -c 2 -s -w -r 32000 -t ossdsp /dev/dsp2 -t ossdsp -w -r 32000 /dev/dsp &
tvtime --mixer=/dev/mixer:pcm
wait tvtime
t=`pidof sox`;
kill $t;
amixer -c 0 sset PCM 80%,80% unmute
Γενικότερα υπάρχει τρόπος να έχω ήχο χωρίς αυτό το sox ή arecord?
Ή τουλάχιστον να είναι συγχρονισμένος??
Ευχαριστώ και πάλι!!
_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hellug.gr/pipermail/linux-greek-users/attachments/20090219/8a75e77d/attachment.htm>
More information about the Linux-greek-users
mailing list