From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 21 Dec 2006 11:39:52 +0200 From: Michael Shigorin To: community@lists.altlinux.org Message-ID: <20061221093952.GO4653@osdn.org.ua> Mail-Followup-To: community@lists.altlinux.org Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4.2.1i Subject: [Comm] Fwd: Re: [Kino-dev] using mplayer to convert to raw dv X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 Precedence: list Reply-To: shigorin@gmail.com, ALT Linux Community List-Id: ALT Linux Community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Dec 2006 09:40:06 -0000 Archived-At: List-Archive: List-Post: Здравствуйте. Вдруг кому понадобится -- как перегнать mencoder'ом какое-нить видео в Raw DV (например, для обработки в kino). ----- Forwarded message from Dan Dennedy ----- Date: Thu, 21 Dec 2006 00:59:25 -0800 From: Dan Dennedy To: kino-dev/lists.sourceforge.net Subject: Re: [Kino-dev] using mplayer to convert to raw dv Cc: Georg Ostertag On Wednesday 20 December 2006 14:04, Georg Ostertag wrote: > I observed, that there were some discussions about using mplayer to > convert some video file to a raw dv file for using with kino. > > I had the same problem and solved it after hours of research and want > to share it here, as mplayers strength is to be able to read many > different formats. > > mencoder -o "$OUT" \ > -of lavf \ > -lavfopts format=dv \ > -af resample=48000:0:0,channels=2 \ > -srate 48000 \ > -oac pcm \ > -fps 25 \ > -vf scale=720:576,harddup,dsize="4:3",rgb2bgr \ > -ovc libdv \ > -mc 0 \ > "$IN" > > does the trick for me, to encode directly to PAL raw dv with mplayer. > This uses less diskspace and I/O bandwidth than the media.sh script > shipped with kino, which does decoding with mencoder and encoding with > ffmpeg. The crucial point is to use -of lavf and -lavfopts format=dv, > which uses libavcodec for encoding the fileformat instead of mplayers > standard built-in avi engine. This is not documented in the manpage. Thanks, I agree that a direct conversion is more desirable when available. I will merge this after adding detection for -ovc libdv (my current build does not) and testing after rebuilding mplayer with libdv. ----- End forwarded message ----- -- ---- WBR, Michael Shigorin ------ Linux.Kiev http://www.linux.kiev.ua/