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=-0.3 required=5.0 tests=AWL,BAYES_00, DNS_FROM_OPENWHOIS,SPF_NEUTRAL autolearn=no version=3.2.5 Message-ID: <4D9F7FB4.60803@gmail.com> Date: Sat, 09 Apr 2011 00:35:48 +0300 From: Motsyo Gennadi aka Drool User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.2.14pre) Gecko/20110125 Thunderbird/3.1.8pre MIME-Version: 1.0 To: ALT Linux Community general discussions References: <44563.195.230.140.18.1300901766.metamail@webmail.meta.ua> <20110323220530.62657e4a@bird.localdomain> In-Reply-To: <20110323220530.62657e4a@bird.localdomain> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit 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: 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: Fri, 08 Apr 2011 21:35:55 -0000 Archived-At: List-Archive: List-Post: 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