From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00, DNS_FROM_OPENWHOIS,UNPARSEABLE_RELAY autolearn=no version=3.2.5 Message-ID: <56085.195.230.140.18.1302350538.metamail@webmail.meta.ua> In-Reply-To: <4D9F7FB4.60803@gmail.com> References: <44563.195.230.140.18.1300901766.metamail@webmail.meta.ua> <20110323220530.62657e4a@bird.localdomain> <4D9F7FB4.60803@gmail.com> Date: Sat, 9 Apr 2011 15:02:18 +0300 (EEST) From: "Olexander Chernetskyy" To: "ALT Linux Community general discussions" User-Agent: MetaMail/1.0 MIME-Version: 1.0 Content-Type: text/plain;charset=koi8-r Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Browser: Opera/9.80 (X11; Linux i686; U; ru) Presto/2.7.62 Version/11.01 MetaPassport-Id: 577845 X-Gen: 0a42c67d0f787190a1f851a56637b83d Subject: Re: [Comm] =?koi8-r?b?68HLINDSwdfJzNjOzyBtcGVnINcgeDI2NCDTINDPzc/d?= =?koi8-r?b?2MAgZmZtcGVnIMvPztfF0tTJ0s/XwdTYPw==?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: sp_archer@meta.ua, ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Apr 2011 12:02:26 -0000 Archived-At: List-Archive: List-Post: Так говорит же [libx264 @ 0x9391ec0] broken ffmpeg default settings detected [libx264 @ 0x9391ec0] use an encoding preset (vpre) Нужно еще опцию vpre использовать, например "-vpre default" Присеты лежат в /usr/share/ffmpeg например libx264-default.ffpreset то, что в имени файла между libx264- и .ffpreset и есть имя присета. А вообще-то есть неплохая вещь http://winff.org/html_new/ "Convert your videos quickly, easily, and all at once with WinFF & FFmpeg". Правда под линуксом пришлось немного пошаманить, чтобы заработало. > 23.03.2011 21:05, Maks Re пишет: >>> >>> Вообщем просьба: Может кто-то уже делал такую конвертацию? Тогда >>> поделитесь готовой командной строкой. >> >> ffmpeg -i file_in -b 1024k -r 25.0 -s 848x480 -vcodec libx264 -ac 2 -acodec libmp3lame -ar 44100 -ab 128k -y file_out >> >> я вот так делал. > > > Input #0, mpeg, from './1.mpg': > Duration: 00:16:33.33, start: 0.280000, bitrate: 8647 kb/s > Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x576 [PAR 16:15 > DAR 4:3], 8500 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc > Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, 2 channels, s16, 224 kb/s > [buffer @ 0x9392b30] w:720 h:576 pixfmt:yuv420p > [scale @ 0x9397ec0] w:720 h:576 fmt:yuv420p -> w:848 h:480 fmt:yuv420p > flags:0x4 > [libx264 @ 0x9391ec0] broken ffmpeg default settings detected > [libx264 @ 0x9391ec0] use an encoding preset (vpre) > Output #0, matroska, to './1.mkv': > Stream #0.0: Video: libx264, yuv420p, 848x480 [PAR 40:53 DAR 4:3], > q=2-31, 1024 kb/s, 90k tbn, 25 tbc > Stream #0.1: Audio: libmp3lame, 44100 Hz, 2 channels, s16, 128 kb/s > Stream mapping: > Stream #0.0 -> #0.0 > Stream #0.1 -> #0.1 > Error while opening encoder for output stream #0.0 - maybe incorrect > parameters such as bit_rate, rate, width or height > > > rpm -q ffmpeg > ffmpeg-0.6-alt0.svn24911.M50P.1 > [drool@drool 1]$ rpm -q libx264 > libx264-106-alt1.M50P.1 > _______________________________________________ > community mailing list > community@lists.altlinux.org > https://lists.altlinux.org/mailman/listinfo/community -- Best regards, ArCher Jabber: antonio_gaudi{at}jabber.ru