-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2009-12-18 19:20, Carlos E. R. wrote:
El 2009-12-18 a las 15:06 -0300, Gabriel escribió:
Y con este ejemplo? http://lists.mplayerhq.hu/pipermail/ffmpeg-user/2006-October/004834.html
¡Si! Ese sí. Es -newaudio puesto al final.
Ahora estoy jugando con dos pases, pero no me va :-? Bueno, ahora voy a merendar.
Voy a ir apuntando aquí lo que voy sacando. Para dos pases la sintaxis es: ffmpeg -threads 4 -i ENTRADA.mpeg -pass 1 -an -f rawvideo -y /dev/null - -an anula el sonido. - -f rawvideo hace que no se entretenga en codificar el vídeo. - -y /dev/null hace que tire a la basura lo que genere (raw sería gigantesco). - -pass 1 hace que genere un fichero ffmpeg2pass-0.log con sólo las estadísticas. algo falla. No ha generado las estadísticas. Habrá que decir el codec :-? el manual dice: ffmpeg -i foo.mov -vcodec libxvid -pass 1 -an -f rawvideo -y /dev/null Vale, entonces mi línea queda en: ffmpeg -threads 4 -i ENTRADA.mpeg -pass 1 -an -f avi -y /dev/null Veamos el segundo pase. cer@bombadillo:/mnt/TestBig/Video/dvd> time ffmpeg -threads 4 -i ../Source\ El\ coleccionista\ de\ huesos.mpeg -pass 2 El\ coleccionista\ de\ huesos.avi -newaudio FFmpeg version UNKNOWN, Copyright (c) 2000-2009 Fabrice Bellard, et al. built on Nov 23 2009 22:00:22 with gcc 4.4.1 [gcc-4_4-branch revision 150839] configuration: --shlibdir=/usr/lib --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib - --enable-shared --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libspeex - --enable-libfaad --enable-libfaac --enable-nonfree --enable-libxvid --enable-postproc --enable-gpl - --enable-x11grab --enable-libschroedinger --enable-libdirac --enable-libgsm --enable-version3 - --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libdc1394 - --enable-pthreads libavutil 50. 4. 0 / 50. 4. 0 libavcodec 52.41. 0 / 52.41. 0 libavformat 52.39. 2 / 52.39. 2 libavdevice 52. 2. 0 / 52. 2. 0 libswscale 0. 7. 1 / 0. 7. 1 libpostproc 51. 2. 0 / 51. 2. 0 [mpeg @ 0x807bbc0]max_analyze_duration reached Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 25.00 (25/1) Input #0, mpeg, from '../Source El coleccionista de huesos.mpeg': Duration: 02:24:24.10, start: 36904.542956, bitrate: 3687 kb/s Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x576 [PAR 16:15 DAR 4:3], 15000 kb/s, 25 tbr, 90k tbn, 50 tbc Stream #0.1[0x1c1]: Audio: mp2, 48000 Hz, 2 channels, s16, 128 kb/s Stream #0.2[0x1c0]: Audio: mp2, 48000 Hz, 2 channels, s16, 192 kb/s File 'El coleccionista de huesos.avi' already exists. Overwrite ? [y/N] y [mpeg4 @ 0x80a4720]requested bitrate is too low Output #0, avi, to 'El coleccionista de huesos.avi': Stream #0.0: Video: mpeg4, yuv420p, 720x576 [PAR 16:15 DAR 4:3], q=2-31, pass 2, 200 kb/s, 90k tbn, 25 tbc Stream #0.1: Audio: mp2, 48000 Hz, 2 channels, s16, 64 kb/s Stream #0.2: Audio: mp2, 48000 Hz, 2 channels, s16, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Stream #0.2 -> #0.2 Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height real 0m11.315s user 0m0.565s sys 0m0.041s cer@bombadillo:/mnt/TestBig/Video/dvd> Vaya. Otro tropiezo. En dos pases no funciona. Pues probaré con "'-qscale", y mientras, veré si instalo winff. - -- Cheers / Saludos, Carlos E. R. (from 11.2 "Emerald" GM (bombadillo)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAksr+dIACgkQU92UU+smfQVmkwCgkhOFID9GmSCBe9vZXyomgK4S 15EAn3fVCa48y63SnA6+VeYIPtPjEGJm =hfsw -----END PGP SIGNATURE----- -- Para dar de baja la suscripción, mande un mensaje a: opensuse-es+unsubscribe@opensuse.org Para obtener el resto de direcciones-comando, mande un mensaje a: opensuse-es+help@opensuse.org