* [Comm] Fwd: Re: [Kino-dev] using mplayer to convert to raw dv
@ 2006-12-21 9:39 Michael Shigorin
2006-12-21 10:04 ` Slava Dubrovskiy
0 siblings, 1 reply; 12+ messages in thread
From: Michael Shigorin @ 2006-12-21 9:39 UTC (permalink / raw)
To: community
Здравствуйте.
Вдруг кому понадобится -- как перегнать 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/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] Fwd: Re: [Kino-dev] using mplayer to convert to raw dv
2006-12-21 9:39 [Comm] Fwd: Re: [Kino-dev] using mplayer to convert to raw dv Michael Shigorin
@ 2006-12-21 10:04 ` Slava Dubrovskiy
2006-12-21 10:14 ` Michael Shigorin
0 siblings, 1 reply; 12+ messages in thread
From: Slava Dubrovskiy @ 2006-12-21 10:04 UTC (permalink / raw)
To: ALT Linux Community
[-- Attachment #1: Type: text/plain, Size: 272 bytes --]
Michael Shigorin wrote:
> Вдруг кому понадобится -- как перегнать mencoder'ом
> какое-нить видео в Raw DV (например, для обработки в kino).
>
Лучше скажи как перегнать обратно. Из Raw DV в DVD с максимальным качеством.
--
С уважением,
Дубровский Вячеслав.
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3237 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] Fwd: Re: [Kino-dev] using mplayer to convert to raw dv
2006-12-21 10:04 ` Slava Dubrovskiy
@ 2006-12-21 10:14 ` Michael Shigorin
2006-12-21 10:16 ` Motsyo Gennadi aka Drool
2006-12-21 10:29 ` Slava Dubrovskiy
0 siblings, 2 replies; 12+ messages in thread
From: Michael Shigorin @ 2006-12-21 10:14 UTC (permalink / raw)
To: ALT Linux Community
On Thu, Dec 21, 2006 at 12:04:04PM +0200, Slava Dubrovskiy wrote:
> > Вдруг кому понадобится -- как перегнать mencoder'ом
> > какое-нить видео в Raw DV (например, для обработки в kino).
> Лучше скажи как перегнать обратно. Из Raw DV в DVD с
> максимальным качеством.
Сам пока выгонял в один из MPEG4 "с максимальным качеством",
именно в MPEG2 для DVD -- не пробовал. Думал починить qdvdauthor
да пойти играться в ту сторону, пока настроения нет.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] Fwd: Re: [Kino-dev] using mplayer to convert to raw dv
2006-12-21 10:14 ` Michael Shigorin
@ 2006-12-21 10:16 ` Motsyo Gennadi aka Drool
2006-12-21 14:08 ` Michael Shigorin
2006-12-21 10:29 ` Slava Dubrovskiy
1 sibling, 1 reply; 12+ messages in thread
From: Motsyo Gennadi aka Drool @ 2006-12-21 10:16 UTC (permalink / raw)
To: shigorin, ALT Linux Community
[-- Attachment #1: Type: text/plain, Size: 228 bytes --]
Michael Shigorin <mike@osdn.org.ua> wrote:
> Думал починить qdvdauthor
> да пойти играться в ту сторону, пока настроения нет.
Миш, посмотри, если интересна эта тема, на
http://kde-apps.org/content/show.php?content=38347
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] Fwd: Re: [Kino-dev] using mplayer to convert to raw dv
2006-12-21 10:16 ` Motsyo Gennadi aka Drool
@ 2006-12-21 14:08 ` Michael Shigorin
2006-12-21 14:13 ` Motsyo Gennadi aka Drool
0 siblings, 1 reply; 12+ messages in thread
From: Michael Shigorin @ 2006-12-21 14:08 UTC (permalink / raw)
To: ALT Linux Community
On Thu, Dec 21, 2006 at 12:16:40PM +0200, Motsyo Gennadi aka Drool wrote:
> > Думал починить qdvdauthor да пойти играться в ту сторону,
> > пока настроения нет.
> Миш, посмотри, если интересна эта тема, на
> http://kde-apps.org/content/show.php?content=38347
Пымаш, умение qdvdauthor'а в kino уже встроено. :)
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] Fwd: Re: [Kino-dev] using mplayer to convert to raw dv
2006-12-21 10:14 ` Michael Shigorin
2006-12-21 10:16 ` Motsyo Gennadi aka Drool
@ 2006-12-21 10:29 ` Slava Dubrovskiy
2006-12-21 11:01 ` Andriy Dobrovolkii
2006-12-22 15:45 ` Michael Shigorin
1 sibling, 2 replies; 12+ messages in thread
From: Slava Dubrovskiy @ 2006-12-21 10:29 UTC (permalink / raw)
To: ALT Linux Community
[-- Attachment #1: Type: text/plain, Size: 1397 bytes --]
Michael Shigorin wrote:
> On Thu, Dec 21, 2006 at 12:04:04PM +0200, Slava Dubrovskiy wrote:
>
>>> Вдруг кому понадобится -- как перегнать mencoder'ом
>>> какое-нить видео в Raw DV (например, для обработки в kino).
>>>
>> Лучше скажи как перегнать обратно. Из Raw DV в DVD с
>> максимальным качеством.
>>
>
> Сам пока выгонял в один из MPEG4 "с максимальным качеством",
>
А как в MPEG4?
Что-то у меня то звук едет, то качество.
Но это я с помощью mencoder делал.
#!/bin/sh
if [ -z "$1" ]
then
echo "Не указали имя файла"
exit 65
fi
lameopts="vbr=2:q=8:aq=8:mode=1:vol=10"
lavcopts="vcodec=mpeg4:mbd=2:trell:cbp:mv0:v4mv:vbitrate=1200:vqmin=2:vqmax=21:vqcomp=0.8:vqblur=0.1:vlelim=-3:vce
namebase="result"
vfs="-vf pullup,softskip,hqdn3d"
#poss="-chapter 2 -endpos 1:00"
poss=""
extra="-aid 128 -noautoexpand -ofps 24000/1001"
mencoder $1 $extra -o /dev/null \
-oac copy \
-ovc lavc -lavcopts $lavcopts:vpass=1:turbo $vfs $poss
mencoder $1 $extra -o /dev/null \
-oac copy \
-ovc lavc -lavcopts $lavcopts:vpass=3:psnr $vfs $poss
cp divx2pass.log 2nd_divx2pass.log
mencoder $1 $extra -o "${namebase}.avi" \
-oac mp3lame -lameopts $lameopts \
-info name="Turkey 2006":comment="encoded by slava" \
-ovc lavc -lavcopts $lavcopts:vpass=3:psnr:qns=1:qpel $vfs $poss
--
С уважением,
Дубровский Вячеслав.
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3237 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2006-12-22 15:45 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-21 9:39 [Comm] Fwd: Re: [Kino-dev] using mplayer to convert to raw dv Michael Shigorin
2006-12-21 10:04 ` Slava Dubrovskiy
2006-12-21 10:14 ` Michael Shigorin
2006-12-21 10:16 ` Motsyo Gennadi aka Drool
2006-12-21 14:08 ` Michael Shigorin
2006-12-21 14:13 ` Motsyo Gennadi aka Drool
2006-12-21 10:29 ` Slava Dubrovskiy
2006-12-21 11:01 ` Andriy Dobrovolkii
2006-12-21 11:10 ` Slava Dubrovskiy
2006-12-21 11:19 ` Andriy Dobrovolkii
2006-12-21 11:56 ` Andrii Dobrovol`s`kii
2006-12-22 15:45 ` Michael Shigorin
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git