[MPlayer-users] "Error reading audio: Input/output error" - mencoder TV recording

Klara Mall klara.mall at gmx.de
Mon Jul 3 21:38:53 CEST 2006


Hi all,

I recorded TV with mencoder without problems. But suddenly there is
a problem and I don't know the reason. I really don't think there
were any changes to my system which could have caused this error.

The command below was the one that worked and is now not working
anymore. I didn't have to give additional options for -tv.

---------------------------------->%--------------------------------------------------------

$ mencoder tv://21 -tv driver=v4l2 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=2000 -oac mp3lame -lameopts cbr:br=128 -o test.avi
MEncoder 1.0pre8-4.1.2 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3200+ (Family: 15, Model: 63, Stepping: 2)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
success: format: 9  data: 0x0 - 0x0
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: BT878 video (Eagle Wireless Cap
 Tuner cap:
 Tuner rxs: MONO
 Capabilites:  video capture  video overlay  VBI capture device  tuner  read/write  streaming
 supported norms: 0 = PAL; 1 = NTSC; 2 = SECAM; 3 = PAL-Nc; 4 = PAL-M; 5 = PAL-N; 6 = NTSC-JP; 7 = PAL-60;
 inputs: 0 = Television; 1 = Composite1; 2 = S-Video; 3 = Composite3;
 Current input: 0
 Current format: YVU420
v4l2: current audio mode is : MONO
Selected channel: 21 (freq: 471.250)
Audio block size too low, setting to 8192!
[V] filefmt:9  fourcc:0x32315659  size:640x480  fps:25.00  ftime:=0.0400
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 1 ch, s16le, 705.6 kbit/100.00% (ratio: 88200->88200)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (640x480 fourcc=34504d46 [FMP4])
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
MP3 audio selected.
Forcing audio preload to 0, max pts correction to 0.
Pos:   0.0s      1f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
Error reading audio: Input/output error

Error reading audio: Input/output error

---------------------------------->%--------------------------------------------------------

Of course, after a while the video buffer gets full and the frames dropped.

Watching TV with mplayer is still no problem (I get sound) even if
there's a message "Audio: no sound". But I don't know if this message
was also there when recording with mencoder was still working.

I'm using Debian GNU/Linux unstable (2.6.12-1-k7) with mencoder from
debian-multimedia.org.
MEncoder 1.0pre8-4.1.2 (C) 2000-2006 MPlayer Team


This is my hardware (lspci output):
---------------------------------->%--------------------------------------------------------
00:06.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
00:06.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
---------------------------------->%--------------------------------------------------------

Loaded modules (lsmod output):
---------------------------------->%--------------------------------------------------------
Module                  Size  Used by
tvaudio                23780  0 
udf                    93700  0 
nls_cp437               5632  0 
isofs                  37752  0 
radeon                 79232  1 
drm                    67476  2 radeon
ipv6                  260992  12 
nfs                   218056  4 
lockd                  65448  2 nfs
sunrpc                142084  3 nfs,lockd
af_packet              22408  4 
dm_mod                 60796  0 
sr_mod                 17636  0 
sbp2                   23688  0 
ide_generic             1216  0 [permanent]
ide_disk               18752  0 
ide_cd                 43332  0 
cdrom                  40480  2 sr_mod,ide_cd
snd_seq_dummy           3652  0 
snd_seq_oss            35264  0 
snd_seq_midi            9184  0 
snd_seq_midi_event      7808  2 snd_seq_oss,snd_seq_midi
snd_seq                52688  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
bt878                  10552  0 
joydev                 10176  0 
tuner                  27816  0 
evdev                   9664  1 
snd_via82xx            29184  2 
gameport               15304  1 snd_via82xx
snd_bt87x              14600  1 
snd_ac97_codec         82808  1 snd_via82xx
tda9887                14232  0 
snd_pcm_oss            54304  0 
snd_mixer_oss          19904  2 snd_pcm_oss
mousedev               11808  1 
snd_pcm                93320  4 snd_via82xx,snd_bt87x,snd_ac97_codec,snd_pcm_oss
bttv                  156944  2 bt878
video_buf              21956  1 bttv
firmware_class         10432  1 bttv
i2c_algo_bit            9608  1 bttv
snd_mpu401_uart         7296  1 snd_via82xx
v4l2_common             5760  1 bttv
btcx_risc               4936  1 bttv
snd_timer              24644  2 snd_seq,snd_pcm
usblp                  13184  0 
snd_rawmidi            25440  2 snd_seq_midi,snd_mpu401_uart
snd_seq_device          8780  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_rawmidi
i2c_viapro              8016  0 
tveeprom               13144  1 bttv
videodev                9600  2 bttv
psmouse                30980  0 
snd                    56324  16 snd_seq_oss,snd_seq,snd_via82xx,snd_bt87x,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_mpu401_uart,snd_timer,snd_rawmidi,snd_seq_device
snd_page_alloc          9924  3 snd_via82xx,snd_bt87x,snd_pcm
shpchp                 98532  0 
pci_hotplug            28340  1 shpchp
amd64_agp              12616  1 
agpgart                35464  2 drm,amd64_agp
rtc                    12408  0 
soundcore               9760  2 snd
floppy                 61140  0 
serio_raw               7172  0 
parport_pc             36804  0 
parport                36872  1 parport_pc
i2c_core               21904  7 tvaudio,tuner,tda9887,bttv,i2c_algo_bit,i2c_viapro,tveeprom
pcspkr                  3396  0 
ext3                  141320  3 
jbd                    56600  1 ext3
mbcache                 9220  1 ext3
usbhid                 36512  0 
sd_mod                 19728  5 
usb_storage            76608  0 
r8169                  26700  0 
ehci_hcd               35080  0 
sata_promise           10308  0 
sata_via                8708  4 
uhci_hcd               32016  0 
usbcore               121980  6 usblp,usbhid,usb_storage,ehci_hcd,uhci_hcd
via82cxxx              13724  0 [permanent]
ide_core              129492  5 ide_generic,ide_disk,ide_cd,usb_storage,via82cxxx
ohci1394               35700  0 
ieee1394              105144  2 sbp2,ohci1394
libata                 49348  2 sata_promise,sata_via
scsi_mod              138184  6 sr_mod,sbp2,sd_mod,usb_storage,sata_promise,libata
thermal                13320  0 
processor              21940  1 thermal
fan                     4612  0 
unix                   28016  390 
fbcon                  40000  0 
tileblit                2304  1 fbcon
font                    8192  1 fbcon
bitblit                 5760  1 fbcon
vesafb                  8088  0 
cfbcopyarea             3776  1 vesafb
cfbimgblt               2816  1 vesafb
cfbfillrect             4096  1 vesafb
softcursor              2432  1 vesafb
capability              4616  0 
commoncap               6976  1 capability

---------------------------------->%--------------------------------------------------------

I really hope that someone is able to help. Just ask for any
additional information that is needed.

Thanks in advance!
Klara
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20060703/53411d0a/attachment.pgp>


More information about the MPlayer-users mailing list