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

Re: Pasar/editar video a mpeg



On Sat, 22 Jan 2005 02:21:57 +0100
ga <ga@kutxa.homeunix.org> wrote:

> | Pero sale esto:
> | $ mencoder c01.mpg -ovc lavc -lavcopts vcodec=mpeg1video -o salida.mpg
> | MEncoder 1.0pre5-2.95.4 (C) 2000-2004 MPlayer Team
> 
> ops... me colé, debería ser:
> 
> mencoder c01.mpg -ovc lavc -lavcopts vcodec=mpeg1video -oac copy -o
> salida.mpg
> 
> - -oac copy => para dejar el audio original sin tocar.
> 
> - -oac lavc -lavcopts acodec=mp3 => para convertir el audio original a mp3
> (puedes poner ac3 también, mira el man)
> 
> - -oac mp3lame => también convierte a mp3. por defecto stereo y a 44.1Khz.
> 
> Echa un vistazo al man, al final del todo vienen varios ejemplos.

Gracias Gus, pero creo que tengo algo mal configurado:

 mencoder c01.mpg -ovc lavc -lavcopts vcodec=mpeg1video -oac lavc -lavcopts acodec=mp3 -o salida.mpg
MEncoder 1.0pre5-2.95.4 (C) 2000-2004 MPlayer Team

CPU: Intel Pentium III Katmai/Pentium III Xeon Tanner 448.3 MHz (Family: 6, Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Reading /home/ollin/.mplayer/codecs.conf: Can't open '/home/ollin/.mplayer/codecs.conf': No existe el fichero o el directorio
Reading /etc/mplayer/codecs.conf: 73 audio & 180 video codecs
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /home/ollin/.mplayer/mencoder: No existe el fichero o el directorio
font: can't open file: /home/ollin/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
success: format: 0  data: 0x0 - 0x265FBEC
MPEG-PS file format detected.
VIDEO:  MPEG1  352x240  (aspect 12)  29.970 fps  1150.0 kbps (143.8 kbyte/s)
[V] filefmt:2  fourcc:0x10000001  size:352x240  fps:29.97  ftime:=0.0334
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 28000->176400 (224.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 240 (preferred csp: 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.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Writing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
VDec: vo config request - 352 x 240 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
videocodec: libavcodec (352x240 fourcc=3167706d [mpg1])
[mpeg1video @ 0x84cfd8c]MPEG1/2 doesnt support 2997/100 fps
Could not open codec.
FATAL: Cannot initialize video driver.
Violación de segmento 0%)   0fps Trem:   0min   1mb  A-V:0.003 [0:0]

Pues eso, leeré el man; pero creo este mensaje no me da buena espina.



Reply to: