Fórum: MEncoder

tópico anterior

converter avi p/ mpg

olá!

estou tentando converter um arquivo avi p/ mpg usando o ffmpeg e o Konverter (frontend do MEncoder para o KDE).

no Konverter, ele diminuia 10x o tamanho do arquivo, mas só rodava o áudio no Kaffeine e dava crash no GMPlayer.

no ffmpeg, com o comando ffmpeg -i teste.avi teste.mpg aparece:


FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --prefix=/usr --libdir=${prefix}/lib --enable-shared --enable-m
p3lame --enable-gpl --enable-faad --mandir=${prefix}/share/man --enable-vorbis --
enable-pthreads --enable-faac --enable-xvid --enable-dts --enable-amr_nb --enable
-amr_wb --enable-pp --enable-libogg --enable-a52 --enable-theora --enable-libgsm
--enable-x264
libavutil version: 49.0.0
libavcodec version: 51.2.0
libavformat version: 50.2.1
built on Feb 10 2006 16:14:47, gcc: 4.0.3 20060128 (prerelease) (Debian 4.0.2-8 )
Input #0, avi, from 'teste.avi':
Duration: 00:00:20.1, start: 0.000000, bitrate: 543 kb/s
Stream #0.0, 14.93 fps(r): Video: mpeg4, yuv420p, 320x240
Stream #0.1: Audio: 0x0031, 44100 Hz, mono, 71 kb/s
File 'teste.mpg' already exists. Overwrite ? y/N y
Output #0, mpeg, to 'teste.mpg':
Stream #0.0, 15.00 fps(c): Video: mpeg1video, yuv420p, 320x240, q=2-31, 200 kb/ s
Stream #0.1: Audio: mp2, 44100 Hz, mono, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
mpeg1video @ 0xb7eda1c8MPEG1/2 does not support 15/1 fps
Error while opening codec for output stream #0.0 - maybe incorrect parameters suc h as bit_rate, rate, width or height

eu tentei outros parâmetros como -vcodec mpg e -acodec mp3 , mas nenhum funcionou... será que tenho que instalar alguma biblioteca?

[]s
enviada por:daimeluz em: 15:58 - 10/03    |    leituras: 12582    |   

Comentários

05:37
26/07/2010
Last week they released a JN0-350
ideo about the 10 Membership Site Models, which I watched and found myself compelled to take notes. One 650-195
thing I learned: you can use a membership site to manage information and services rendered for consulting and NS0-163
coaching clients! The information is exclusive to them, password protected, and etc. The great thing is you can also grant support staff access to this information so they can assist SK0-002
coaching clients as well. This was excellent content, did I mention it was free?


17:21
10/03/2006
eeerrr :$

já descobri o erro!

> mpeg1video @ 0xb7eda1c8MPEG1/2 does not support 15/1 fps
> Error while opening codec for output stream #0.0 - maybe incorrect parameters suc h as bit_rate, rate, width or height

o arquivo que estava tentando converter tinha frame rate 14.93, parece que o mpg-1 não suporta isso. eu achei que não era esse o problema pq também tinha tentando com um arquivo 29.97 e aparecia um erro similar...

agora estou rodando ele legal! nossa, como diminui o tamanho do arquivo, hein?!

arquivo sem compressão de vídeo nem áudio: 67MB
arquivo compressão de vídeo XviD, áudio sem compressão: 1,3MB
arquivo com mpg-1 (vídeo) e mp2 (áudio): 400kb

[]s



Página 1 de 1