De wmv a avi

Cesar Miguel Ugalde Ortiz pastipaste en yahoo.com.mx
Jue Ene 18 03:14:33 GMT 2007


--- imeneo imeneo <imeneo en gmail.com> escribió:

> 2007/1/17, Cesar Miguel Ugalde Ortiz
> <pastipaste en yahoo.com.mx>:
> >
> > --- imeneo imeneo <imeneo en gmail.com> escribió:
> >
> > > Para descargar...
> > >
> > > Pasarlo a avi utilizo el comando "ffmpeg" y los
> > > siguientes parámetros:
> > >
> > __________________________________________________
> >
> > Imineo, que tal así:
> >
> > ffmpeg -i origen.wmv -b 687 destino.avi
> >
> > debes tener: libavifile-xx (lee/escribe) y
> > gstreamer-xx-xvid (codifica/decodifica)
> 
> 
> Gracias por responder, pero instalé las librerías y
> probé con los
> parámetros que indicas y genera un fichero de apenas
> 10 kbs y,
> evidentemente, no contiene nada, porque el origen es
> de 30 megas.
> 
> Este es el volcado que sale de ejecutar el comando:
> 
> imeneo en imeneo-desktop:~$ ffmpeg -i volcado.wmv -b
> 687 destino.avi
> FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2004
> Fabrice Bellard
>   configuration:  --enable-gpl --enable-pp
> --enable-pthreads
> --enable-vorbis --enable-libogg --enable-a52
> --enable-dts
> --enable-libgsm --enable-dc1394 --disable-debug
> --enable-shared
> --prefix=/usr
>   libavutil version: 0d.49.0.0
>   libavcodec version: 0d.51.11.0
>   libavformat version: 0d.50.5.0
>   built on Sep 20 2006 00:26:15, gcc: 4.1.2 20060906
> (prerelease)
> (Ubuntu 4.1.1-13ubuntu2)
> [asf @ 0xb7f33c30]Could not find codec parameters
> (Video: wmv3, 320x240)
> Input #0, asf, from 'volcado.wmv':
>   Duration: 00:00:-5.0, start: 5.000000, bitrate:
> -52546 kb/s
>   Stream #0.0: Audio: wmav2, 16000 Hz, stereo, 20
> kb/s
>   Stream #0.1: Video: wmv3, 320x240, 1000.00 fps(r)
> File 'destino.avi' already exists. Overwrite ? [y/N]
> y
> Output #0, avi, to 'destino.avi':
>   Stream #0.0: Video: mpeg4, yuv420p, 320x240,
> q=2-31, 687 kb/s, 1000.00 fps(c)
>   Stream #0.1: Audio: mp2, 16000 Hz, stereo, 64 kb/s
> Stream mapping:
>   Stream #0.1 -> #0.0
>   Stream #0.0 -> #0.1
> [wmv3 @ 0xb7e40ba8]Header: 46191A01
> Press [q] to stop encoding
> frame=    0 q=0.0 Lsize=      10kB
> time=10000000000.0 bitrate=   0.0kbits/s
> video:0kB audio:0kB global headers:0kB muxing
> overhead inf%
> 
____________________________________________________

Hola Imeneo, llamo mi atención que no obtuviste
resultado, he comparado mis lineas de salida al
ejecutar el comando y no encuentro deferencias excepto
por tus valores de cero. Intente de esta otra manera
con resultados positivos: (renombre archivos)

cmu en cmu-desktop:~/descargas$ ffmpeg -i Volcado.wmv
destino.avi
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2004
Fabrice Bellard
  configuration:  --enable-gpl --enable-pp
--enable-pthreads --enable-vorbis --enable-libogg
--enable-a52 --enable-dts --enable-libgsm
--enable-dc1394 --disable-debug --enable-shared
--prefix=/usr 
  libavutil version: 0d.49.0.0
  libavcodec version: 0d.51.11.0
  libavformat version: 0d.50.5.0
  built on Sep 20 2006 00:26:15, gcc: 4.1.2 20060906
(prerelease) (Ubuntu 4.1.1-13ubuntu2)

Seems that stream 1 comes from film source: 1000.00
(1000/1) -> 25.00 (25/1)
Input #0, asf, from 'Volcado.wmv':
  Duration: 00:03:09.7, start: 5.000000, bitrate: 206
kb/s
  Stream #0.0: Audio: wmav2, 48000 Hz, stereo, 64 kb/s
  Stream #0.1: Video: wmv2, yuv420p, 208x160, 25.00
fps(r)
File 'destino.avi' already exists. Overwrite ? [y/N] y
Output #0, avi, to 'destino.avi':
  Stream #0.0: Video: mpeg4, yuv420p, 208x160, q=2-31,
200 kb/s, 25.00 fps(c)
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 64 kb/s
Stream mapping:
  Stream #0.1 -> #0.0
  Stream #0.0 -> #0.1
Press [q] to stop encoding
frame= 4734 q=2.0 Lsize=    6365kB time=189.4 bitrate=
275.3kbits/s    
video:3132kB audio:1483kB global headers:0kB muxing
overhead 37.936038%
cmu en cmu-desktop:~/descargas$ 

...si encuentro algo te informo.

 César Miguel Ugalde Ortiz
 Tuxpan, Ver., México






	
	
		
___________________________________________________________ 
Do You Yahoo!? 
La mejor conexión a Internet y <b >2GB</b> extra a tu correo por $100 al mes. http://net.yahoo.com.mx 




Más información sobre la lista de distribución ubuntu-es