[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

mencoder-Probleme



Hi Leute,

ich hab irgendwie Probleme mit mencoder (oder kalva?) in meinem Debian
Etch. Vielleicht kann mir ja jemand weiterhelfen:

Die Befehlszeile, die kalva zum Sofort-Aufnehmen ausspuckt, sieht wie
folgt aus:

dirk@rechner:~$ mencoder -v tv:// -tv
driver=v4l2:device=/dev/video0:input=0:alsa:width=720:height=576:chanlist=europe-west:channel=E5:adevice=hw.1:
audiorate=32000:amode=1:forceaudio:immediatemode=0:norm=PAL:buffersize=64
-ovc lavc -lavcopts vcodec=mjpeg:aspect=720/576 -oac pcm -mc 0 -noskip
-vf harddup -fps 25 -o tesst.avi


Dabei kommt dann als Ergebnis folgendes zustande:

MEncoder dev-SVN-rUNKNOWN-4.1.2 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3500+ (Family: 15, Model: 15,
Stepping: 0)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Configuration: --prefix=/usr --confdir=/etc/mplayer
--datadir=/usr/share/mplayer --enable-xmga --enable-mga
--enable-joystick --enable-faad-external --disable-tremor-internal
--enable-amr_nb --enable-amr_wb --language=all --enable-largefiles
--enable-menu --with-extraincdir=/usr/include/ffmpeg -I./libavformat
-I./libswscale -I./libavutil -I./libpostproc -I./libavcodec
--enable-radio --disable-libdvdcss-internal --enable-lirc
--enable-radio-capture --enable-xvmc --with-xvmclib=XvMCW
--enable-fbdev --enable-directfb --enable-win32 --enable-tdfxfb
--enable-s3fb --realcodecsdir=/usr/lib/codecs
--xanimcodecsdir=/usr/lib/codecs --disable-libavutil
--enable-libavutil_so --disable-libavcodec --enable-libavcodec_so
--disable-libavformat --enable-libavformat_so --disable-libpostproc
--enable-libpostproc_so --extra-libs=-lavcodec -lavutil -lavformat
-lpostproc --enable-runtime-cpudetection
init_freetype
get_path('font/font.desc') -> '/home/dirk/.mplayer/font/font.desc'
font: can't open file: /home/dirk/.mplayer/font/font.desc
Bitmap font /usr/share/mplayer/font/font.desc loaded successfully! (206
chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
STREAM: [tv] tv://
STREAM: Description: TV Input
STREAM: Author: Benjamin Zores, Albeu
STREAM: Comment:
success: format: 9  data: 0x0 - 0x0
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: LifeView FlyVIDEO3000
    Tuner cap: STEREO LANG1 LANG2
     Tuner rxs: MONO STEREO
      Capabilites:  video capture  video overlay  VBI capture device
     tuner  read/write  streaming
      supported norms: 0 = PAL; 1 = PAL-BG; 2 = PAL-I; 3 = PAL-DK; 4 =
     NTSC; 5 = SECAM; 6 = PAL-M; 7 = PAL-Nc; 8 = PAL-60;
      inputs: 0 = Television; 1 = TV (mono only); 2 = Composite1; 3 =
     Composite2; 4 = S-Video;
      Current input: 0
       Format GREY   ( 8 bits, 8 bpp gray): Planar Y800
        Format RGB555 (16 bits, 15 bpp RGB, le): BGR 15-bit
         Format RGB555X (16 bits, 15 bpp RGB, be): Unknown
          Format RGB565 (16 bits, 16 bpp RGB, le): BGR 16-bit
           Format RGB565X (16 bits, 16 bpp RGB, be): Unknown
            Format BGR24  (24 bits, 24 bpp RGB, le): BGR 24-bit
             Format RGB24  (24 bits, 24 bpp RGB, be): RGB 24-bit
              Format BGR32  (32 bits, 32 bpp RGB, le): BGRA
               Format RGB32  (32 bits, 32 bpp RGB, be): RGBA
                Format YUYV   (16 bits, 4:2:2 packed, YUYV): Packed
               YUY2
                Format UYVY   (16 bits, 4:2:2 packed, UYVY): Packed
               UYVY
                Format YUV422P (16 bits, 4:2:2 planar, Y-Cb-Cr): Planar
               422P
                Format YUV420 (12 bits, 4:2:0 planar, Y-Cb-Cr): Planar
               I420
                Format YVU420 (12 bits, 4:2:0 planar, Y-Cb-Cr): Planar
               YV12
                Current format: BGR24
                v4l2: current audio mode is : STEREO
                v4l2: set format: YVU420
                v4l2: set input: 0
                Selected norm: pal
                v4l2: set norm: PAL
                v4l2: set width: 720
                v4l2: set height: 576
                Selected channel list: europe-west (including 104
                channels)
                Requested channel: E5
                Selected channel: E5 (freq: 175.250)
                Current frequency: 2804 (175.250)
                Current frequency: 2804 (175.250)
                ==> Found video stream: 0
                v4l2: get format: YVU420
                v4l2: get fps: 25.000000
                v4l2: get width: 720
                v4l2: get height: 576
                Error opening audio: No such file or directory
                v4l2: set audio samplerate: 44100
                Error opening audio: No such file or directory
                Error opening audio: No such file or directory
                v4l2: 0 frames successfully processed, 0 frames
                dropped.
                v4l2: up to 0 video frames buffered.
                Speicherzugriffsfehler

Ich bin da mit meinem Latein völlig am Ende. Weiss jemand, was hier
falsch läuft? Ich habe erst auf Audio getippt, aber wenn ich das device
von hw.1 auf hw.0 ändere (gemäss folgender Ausgabe):
dirk@rechner:~$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: V8237 [VIA 8237], device 0: VIA 8237 [VIA 8237]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
 card 0: V8237 [VIA 8237], device 1: VIA 8237 [VIA 8237]
 Subdevices: 1/1
 Subdevice #0: subdevice #0

dann ergibt sich folgendes:
dirk@rechner:~$ mencoder -v tv:// -tv
driver=v4l2:device=/dev/video0:input=0:alsa:width=720:height=576:chanlist=europe-west:channel=E5:adevice=hw.0:
audiorate=32000:amode=1:forceaudio:immediatemode=0:norm=PAL:buffersize=64
-ovc lavc -lavcopts vcodec=mjpeg:aspect=720/576 -oac pcm -mc 0 -noskip
-vf harddup -fps 25 -o tesst.avi
MEncoder dev-SVN-rUNKNOWN-4.1.2 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3500+ (Family: 15, Model: 15,
Stepping: 0)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Configuration: --prefix=/usr --confdir=/etc/mplayer
--datadir=/usr/share/mplayer --enable-xmga --enable-mga
--enable-joystick --enable-faad-external --disable-tremor-internal
--enable-amr_nb --enable-amr_wb --language=all --enable-largefiles
--enable-menu --with-extraincdir=/usr/include/ffmpeg -I./libavformat
-I./libswscale -I./libavutil -I./libpostproc -I./libavcodec
--enable-radio --disable-libdvdcss-internal --enable-lirc
--enable-radio-capture --enable-xvmc --with-xvmclib=XvMCW
--enable-fbdev --enable-directfb --enable-win32 --enable-tdfxfb
--enable-s3fb --realcodecsdir=/usr/lib/codecs
--xanimcodecsdir=/usr/lib/codecs --disable-libavutil
--enable-libavutil_so --disable-libavcodec --enable-libavcodec_so
--disable-libavformat --enable-libavformat_so --disable-libpostproc
--enable-libpostproc_so --extra-libs=-lavcodec -lavutil -lavformat
-lpostproc --enable-runtime-cpudetection
init_freetype
get_path('font/font.desc') -> '/home/dirk/.mplayer/font/font.desc'
font: can't open file: /home/dirk/.mplayer/font/font.desc
Bitmap font /usr/share/mplayer/font/font.desc loaded successfully! (206
chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
STREAM: [tv] tv://
STREAM: Description: TV Input
STREAM: Author: Benjamin Zores, Albeu
STREAM: Comment:
success: format: 9  data: 0x0 - 0x0
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: LifeView FlyVIDEO3000
 Tuner cap: STEREO LANG1 LANG2
 Tuner rxs: MONO STEREO
 Capabilites:  video capture  video overlay  VBI capture device  tuner
 read/write  streaming
 supported norms: 0 = PAL; 1 = PAL-BG; 2 = PAL-I; 3 = PAL-DK; 4 = NTSC;
 5 = SECAM; 6 = PAL-M; 7 = PAL-Nc; 8 = PAL-60;
 inputs: 0 = Television; 1 = TV (mono only); 2 = Composite1; 3 =
 Composite2; 4 = S-Video;
 Current input: 0
 Format GREY   ( 8 bits, 8 bpp gray): Planar Y800
 Format RGB555 (16 bits, 15 bpp RGB, le): BGR 15-bit
 Format RGB555X (16 bits, 15 bpp RGB, be): Unknown
 Format RGB565 (16 bits, 16 bpp RGB, le): BGR 16-bit
 Format RGB565X (16 bits, 16 bpp RGB, be): Unknown
 Format BGR24  (24 bits, 24 bpp RGB, le): BGR 24-bit
 Format RGB24  (24 bits, 24 bpp RGB, be): RGB 24-bit
 Format BGR32  (32 bits, 32 bpp RGB, le): BGRA
 Format RGB32  (32 bits, 32 bpp RGB, be): RGBA
 Format YUYV   (16 bits, 4:2:2 packed, YUYV): Packed YUY2
 Format UYVY   (16 bits, 4:2:2 packed, UYVY): Packed UYVY
 Format YUV422P (16 bits, 4:2:2 planar, Y-Cb-Cr): Planar 422P
 Format YUV420 (12 bits, 4:2:0 planar, Y-Cb-Cr): Planar I420
 Format YVU420 (12 bits, 4:2:0 planar, Y-Cb-Cr): Planar YV12
 Current format: BGR24
v4l2: current audio mode is : STEREO
v4l2: set format: YVU420
v4l2: set input: 0
Selected norm: pal
v4l2: set norm: PAL
v4l2: set width: 720
v4l2: set height: 576
Selected channel list: europe-west (including 104 channels)
Requested channel: E5
Selected channel: E5 (freq: 175.250)
Current frequency: 2804 (175.250)
Current frequency: 2804 (175.250)
==> Found video stream: 0
v4l2: get format: YVU420
v4l2: get fps: 25.000000
v4l2: get width: 720
v4l2: get height: 576
Hardware PCM card 0 'VIA 8237' device 0 subdevice 0
Its setup is:
  stream       : CAPTURE
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 16
  buffer_size  : 16384
  period_size  : 4096
  period_time  : 85333
  tick_time    : 4000
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 4096
  xfer_align   : 4096
  start_threshold  : 0
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
v4l2: set audio samplerate: 44100
Hardware PCM card 0 'VIA 8237' device 0 subdevice 0
Its setup is:
  stream       : CAPTURE
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 16
  buffer_size  : 16384
  period_size  : 4096
  period_time  : 85333
  tick_time    : 4000
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 4096
  xfer_align   : 4096
  start_threshold  : 0
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
v4l2: get audio format: 9
==> Found audio stream: 0
v4l2: get audio samplerate: 48000
v4l2: get audio samplesize: 2
v4l2: get audio channels: 2
  TV audio: 2 channels, 16 bits, 48000 Hz
Audio capture - buffer 399 blocks of 16384 bytes, skew average from 16
meas.
Using a ring buffer for maximum 853 frames, 506 MB total size.
v4l2: set Brightness: 128 [0, 255]
v4l2: set Hue: 0 [-128, 127]
v4l2: set Saturation: 64 [0, 127]
v4l2: set Contrast: 68 [0, 127]
[V] filefmt:9  fourcc:0x32315659  size:720x576  fps:25.00
ftime:=0.0400
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer.
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio:
192000->192000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
[file] File size is 0 bytes
STREAM: [file] tesst.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
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 - 720 x 576 (preferred colorspace: Planar YV12)
Trying filter chain: expand lavc
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (720x576->720x576,flags=0,'MPlayer',0x32315659)
REQ: flags=0x401  req=0x0
videocodec: libavcodec (720x576 fourcc=47504a4d [MJPG])
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[libaf] Adding filter format
[format] Changing sample format from little-endian 16-bit signed int to
big-endian 8-bit signed int
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[format] Changing sample format from little-endian 16-bit signed int to
big-endian 8-bit signed int
Building audio filter chain for 48000Hz/2ch/s16le ->
48000Hz/2ch/s16le...
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[format] Changing sample format from little-endian 16-bit signed int to
big-endian 8-bit signed int
[libaf] Removing filter format
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Forcing audio preload to 0, max pts correction to 0.
v4l2: going to capture
*** [expand] Exporting mp_image_t, 720x576x12bpp YUV planar, 622080
bytes
*** [lavc] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080
bytes
Pos:   0.0s      1f ( 0%)   0fps Trem:   0min   0mb  A-V:0.000 [0:0]
A/Vms 0/15 D/B/S 0/0/0
Error reading audio: Input/output error

Error reading audio: Input/output error
Getötet

"Getötet", weil es sonst später unendlich weitergeht mit
video buffer full - dropping frame

video buffer full - dropping frame

Kann jemand helfen? Mach ich etwas falsch, oder spinnt der mencoder?
                                                                            

ciao, Dirk
-- 
|           Akkuschrauber and AEG GSM stuff           |
|  The "Ruhrgebiet", best place to live in Germany!   |
| Visit my homepage:   http://www.nutrimatic.ping.de/ |



Reply to: