Problema: Mencoder não captura ->

1. Problema: Mencoder não captura ->

andre uebe
andreuebe

(usa Linux Mint)

Enviado em 11/09/2007 - 10:08h

Amigos

Nunca tive problemas com o mencoder (comando utilizado para capturar imagem da minha placa de captura de video), no aspecto descrito a seguir, de modo que qualquer dica é bem vinda para tentar elucidar o problema:

Ao executar, no shell, o seguinte comando:


mencoder tv:// -tv driver=v4l2:input=1:normid=4:width=384:height=288 -ovc lavc -ofps 29.97 -lavcopts vcodec=mpeg4:vbitrate=900 -oac mp3lame -lameopts q=5:vbr=2:abr=160:aq=5:ratio=50:mode=0:vol=4.5 -endpos 00:00:05.0 -of avi -o teste.avi



Que, em resumo, é:

mencoder <dispositivo de captura> <parametros> <arquivo de saida>



Tenho o seguinte retorno de erro de audio:


******************

MEncoder 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
CPU: AMD Sempron(tm) Processor 2600+ (Family: 15, Model: 28, Stepping: 0)
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
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: BT878 video (Prolink Pixelview
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;
Current input: 1
Current format: YVU420
v4l2: current audio mode is : MONO
[V] filefmt:9 fourcc:0x32315659 size:384x288 fps:29.97 ftime:=0.0334
==========================================================================
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 - 384 x 288 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (384x288 fourcc=34504d46 [FMP4])
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
Pos: 0.0s 1f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]

video buffer full - dropping frame

video buffer full - dropping frame

video buffer full - dropping frame

(...)

video buffer full - dropping frame

video buffer full - dropping frame

(...)

video buffer full - dropping frame

Error reading audio: Input/output error

video buffer full - dropping frame

video buffer full - dropping frame

(...)

video buffer full - dropping frame

video buffer full - dropping frame

Error reading audio: Input/output error

video buffer full - dropping frame

video buffer full - dropping frame

(...)

video buffer full - dropping frame

video buffer full - dropping frame

Error reading audio: Input/output error

video buffer full - dropping frame

(...)

video buffer full - dropping frame

video buffer full - dropping frame
^X
video buffer full - dropping frame
[1] Morto mencoder tv:// -tv driver=v4l2:input=1:normid=4:width=384:height=288 -ovc lavc -ofps 29.97 -lavcopts vcodec=mpeg4:vbitrate=900 -oac mp3lame -lameopts q=5:vbr=2:abr=160:aq=5:ratio=50:mode=0:vol=4.5 -endpos 00:00:05.0 -of avi -o teste.avi

[2]+ Stopped mencoder tv:// -tv driver=v4l2:input=1:normid=4:width=384:height=288 -ovc lavc -ofps 29.97 -lavcopts vcodec=mpeg4:vbitrate=900 -oac mp3lame -lameopts q=5:vbr=2:abr=160:aq=5:ratio=50:mode=0:vol=4.5 -endpos 00:00:05.0 -of avi -o teste.avi >log
kurumin@moab:~$ kedit log

**************************


Como podem reparar, ao final, tive que "matar" o processo pois ficou executando indefinidamente.


Alguém saberia alguma dica do que pode estar acontecendo?

Obrigado desde já

Andre Uebe



  


2. lame

Alex
energumino

(usa Fedora)

Enviado em 10/12/2007 - 11:16h

verifique se o lame está instalado, já tive um problema parecido, e era porq o lame estava com problemas, reinstalei e funcionou.


3. Re: Problema: Mencoder não captura ->

andre uebe
andreuebe

(usa Linux Mint)

Enviado em 12/12/2007 - 16:54h

obrigado pela dica! :)