I'm just gonna keep adding as much info as i can here in the hopes that some kind soul will come along and notice something i'm overlooking
Code: Select all
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: M5455 [ALi M5455], device 0: Intel ICH [ALi M5455]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: M5455 [ALi M5455], device 2: Intel ICH - IEC958 [ALi M5455 - IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0
$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: M5455 [ALi M5455], device 0: Intel ICH [ALi M5455]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: M5455 [ALi M5455], device 1: Intel ICH - MIC ADC [ALi M5455 - MIC ADC]
Subdevices: 1/1
Subdevice #0: subdevice #0
so no, my capture card is not being picked up by alsa (but like I said, 'mplayer /dev/video0' does produce audio, so it's there)
$ mplayer -ao alsa:device=hw=0,0 -tv driver=v4l2:immediatemode=0:norm=NTSC-M tv://
Code: Select all
...
bt_audio_service_open: connect() failed: Connection refused (111)
MPlayer SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team
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@zpr.uni-koeln.de>
comment: first try, more to come ;-)
Selected device: ASUS PVR-416
Tuner cap: STEREO LANG1 LANG2
Tuner rxs: MONO STEREO
Capabilites: video capture VBI capture device tuner read/write streaming
supported norms: 0 = NTSC-M; 1 = NTSC-M-JP; 2 = NTSC-443; 3 = PAL-BG; 4 = PAL-I; 5 = PAL-DK; 6 = PAL-M; 7 = PAL-N; 8 = PAL-Nc; 9 = PAL-60; 10 = SECAM-B; 11 = SECAM-G; 12 = SECAM-H; 13 = SECAM-DK; 14 = SECAM-L;
inputs: 0 = Television; 1 = S-Video;
Current input: 8
Current format: BGR24
v4l2: current audio mode is : STEREO
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
Audio block size too low, setting to 16384!
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] Can't open /dev/fb0: Permission denied.
[VO_3DFX] Unable to open /dev/3dfx.
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred colorspace: Packed UYVY)
VDec: using Packed UYVY as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x480 => 640x480 Packed UYVY
Selected video codec: [rawuyvy] vfm: raw (RAW UYVY)
==========================================================================
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
v4l2: 993 frames successfully processed, 0 frames dropped.0.8% 0 0
Exiting... (Quit)
and still hearing nothing...
just for fun (don;t know anything about the v4l2 driver but saw it mentioned in `mplayer -ao help`)
$ mplayer -ao v4l2 -tv driver=v4l2:immediatemode=0:norm=NTSC-M tv://
Code: Select all
...
bt_audio_service_open: connect() failed: Connection refused (111)
MPlayer SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team
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@zpr.uni-koeln.de>
comment: first try, more to come ;-)
Selected device: ASUS PVR-416
Tuner cap: STEREO LANG1 LANG2
Tuner rxs: MONO STEREO
Capabilites: video capture VBI capture device tuner read/write streaming
supported norms: 0 = NTSC-M; 1 = NTSC-M-JP; 2 = NTSC-443; 3 = PAL-BG; 4 = PAL-I; 5 = PAL-DK; 6 = PAL-M; 7 = PAL-N; 8 = PAL-Nc; 9 = PAL-60; 10 = SECAM-B; 11 = SECAM-G; 12 = SECAM-H; 13 = SECAM-DK; 14 = SECAM-L;
inputs: 0 = Television; 1 = S-Video;
Current input: 0
Current format: BGR24
v4l2: current audio mode is : STEREO
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
Audio block size too low, setting to 16384!
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] Can't open /dev/fb0: Permission denied.
[VO_3DFX] Unable to open /dev/3dfx.
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred colorspace: Packed UYVY)
VDec: using Packed UYVY as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x480 => 640x480 Packed UYVY
Selected video codec: [rawuyvy] vfm: raw (RAW UYVY)
==========================================================================
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
Failed to initialize audio driver 'v4l2'
Could not open/initialize audio device -> no sound.
Audio: no sound
Starting playback...
v4l2: 304 frames successfully processed, 0 frames dropped.
Exiting... (Quit)
at this point it feels like theres something REALLY obvious that i'm missing!!
and here is the only way I can get audio so far:
$ mplayer /dev/video1
Code: Select all
...
bt_audio_service_open: connect() failed: Connection refused (111)
MPlayer SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team
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 /dev/video1.
...
Cannot seek backward in linear streams!
Seek failed
MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 2) 29.970 fps 8000.0 kbps (1000.0 kbyte/s)
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] Can't open /dev/fb0: Permission denied.
[VO_3DFX] Unable to open /dev/3dfx.
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Unsupported PixelFormat -1
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 224.0 kbit/14.58% (ratio: 28000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 720x480 => 720x540 Planar YV12
A: 39.4 V: 38.7 A-V: 0.633 ct: -0.539 1129/1129 11% 0% 10.1% 50 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.
A: 52.6 V: 52.6 A-V: -0.001 ct: -0.282 1544/1544 11% 0% 12.5% 78 0
Exiting... (Quit)
a steady stream of these lines:
...
Cannot seek backward in linear streams!
Seek failed
...
has been truncated
as an aside the line(s) (which also show up multiple times at launch):
...
bt_audio_service_open: connect() failed: Connection refused (111)
...
are just helpfully reminding me that I don't have any bluetooth devices, yes?
$ dmesg | grep cx88
Code: Select all
[ 7.837105] cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.7 loaded
[ 7.841616] cx88[0]: subsystem: 1043:4823, board: ASUS PVR-416 [card=12,autodetected], frontend(s): 0
[ 7.841621] cx88[0]: TV tuner type 43, Radio tuner type -1
[ 8.093819] cx88/0: cx2388x v4l2 driver version 0.0.7 loaded
[ 8.507551] tuner 1-0060: chip found @ 0xc0 (cx88[0])
[ 8.735345] tuner 1-0043: chip found @ 0x86 (cx88[0])
[ 8.952840] cx88[0]/2: cx2388x 8802 Driver Manager
[ 8.952857] cx88-mpeg driver manager 0000:04:07.2: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[ 8.952866] cx88[0]/2: found at 0000:04:07.2, rev: 5, irq: 22, latency: 32, mmio: 0xfc000000
[ 8.952874] IRQ 22/cx88[0]: IRQF_DISABLED is not guaranteed on shared IRQs
[ 8.952945] cx8800 0000:04:07.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[ 8.952952] cx88[0]/0: found at 0000:04:07.0, rev: 5, irq: 22, latency: 32, mmio: 0xfd000000
[ 8.952962] IRQ 22/cx88[0]: IRQF_DISABLED is not guaranteed on shared IRQs
[ 8.953040] cx88[0]/0: registered device video0 [v4l2]
[ 8.953067] cx88[0]/0: registered device vbi0
[ 8.953095] cx88[0]/0: registered device radio0
[ 9.006375] cx88/2: registering cx8802 driver, type: blackbird access: shared
[ 9.006379] cx88[0]/2: subsystem: 1043:4823, board: ASUS PVR-416 [card=12]
[ 9.006383] cx88[0]/2: cx23416 based mpeg encoder (blackbird reference design)
[ 9.006603] cx88[0]/2-bb: Firmware and/or mailbox pointer not initialized or corrupted
[ 9.015886] cx88-mpeg driver manager 0000:04:07.2: firmware: requesting v4l-cx2341x-enc.fw
[ 11.596448] cx88[0]/2-bb: Firmware upload successful.
[ 11.607149] cx88[0]/2-bb: Firmware version is 0x02060039
[ 11.615579] cx88[0]/2: registered device video1 [mpeg]
[ 20.697842] cx88[0]/2-bb: VIDIOC_TRY_FMT: w: 720, h: 480, f: 4
[20802.075670] cx88[0]/2-bb: VIDIOC_TRY_FMT: w: 720, h: 480, f: 4
[20833.312578] cx88[0]/2-bb: VIDIOC_TRY_FMT: w: 720, h: 480, f: 4
[21065.958006] cx88[0]/2-bb: VIDIOC_TRY_FMT: w: 720, h: 480, f: 4
[31254.568025] cx88[0]/2-bb: VIDIOC_TRY_FMT: w: 720, h: 480, f: 4
[41888.054142] cx88[0]/2-bb: VIDIOC_TRY_FMT: w: 720, h: 480, f: 4
[42709.686827] cx88[0]/2-bb: VIDIOC_TRY_FMT: w: 720, h: 480, f: 4
and for those of you playing along at home,
this page has provided the meat and potatoes of what I know about my card (asus pvr-416)
[edit] added mplayer /dev/video1 output
[edit] just keep adding system infos!