[Comm] Fwd: Re: [Kino-dev] using mplayer to convert to raw dv
Michael Shigorin
=?iso-8859-1?q?mike_=CE=C1_osdn=2Eorg=2Eua?=
Чт Дек 21 12:39:52 MSK 2006
Здравствуйте.
Вдруг кому понадобится -- как перегнать mencoder'ом
какое-нить видео в Raw DV (например, для обработки в kino).
----- Forwarded message from Dan Dennedy <dan/dennedy.org> -----
Date: Thu, 21 Dec 2006 00:59:25 -0800
From: Dan Dennedy <dan/dennedy.org>
To: kino-dev/lists.sourceforge.net
Subject: Re: [Kino-dev] using mplayer to convert to raw dv
Cc: Georg Ostertag <georg/ostertage.de>
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 <mike на altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
Подробная информация о списке рассылки community