[MPlayer-users] Mencoder patch for-mpegopts format=dvd (Attn.:Nico)
VJ
vj at vijaygill.homelinux.net
Mon Dec 6 13:03:47 CET 2004
----- Original Message -----
From: "Nico Sabbi" <nsabbi at tiscali.it>
To: "MPlayer usage questions, feature requests, bug reports"
<mplayer-users at mplayerhq.hu>
Sent: Monday, December 06, 2004 11:39 AM
Subject: Re: [MPlayer-users] Mencoder patch for-mpegopts format=dvd
(Attn.:Nico)
> VJ wrote:
>
> >----- Original Message -----
> >From: "Nico Sabbi" <nsabbi at tiscali.it>
> >To: "MPlayer usage questions, feature requests, bug reports"
> ><mplayer-users at mplayerhq.hu>
> >Sent: Monday, December 06, 2004 10:21 AM
> >Subject: Re: [MPlayer-users] Mencoder patch for -mpegopts format=dvd
> >(Attn.:Nico)
> >
> >
> >
> >
> >>Nico Sabbi wrote:
> >>
> >>
> >>
> >>>VJ wrote:
> >>>
> >>>
> >>>
> >>>>----- Original Message ----- From: "Nico Sabbi" <nsabbi at tiscali.it>
> >>>>To: "MPlayer usage questions, feature requests, bug reports"
> >>>><mplayer-users at mplayerhq.hu>
> >>>>Sent: Monday, December 06, 2004 9:23 AM
> >>>>Subject: Re: [MPlayer-users] Mencoder patch for -mpegopts format=dvd
> >>>>(Attn.:
> >>>>Nico)
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>VJ wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>Hi Nico,
> >>>>>> I deleted the chain of mails which involved this patch so I cannot
> >>>>>>not resume the thread. I am sending this mail after patching my code
> >>>>>>successfully. The results are as following:
> >>>>>>1) The encoding starts with 20-26fps (as usual with unpatched
> >>>>>>
> >>>>>>
> >code)
> >
> >
> >>>>>>but then after one second it becomes 3fps.
> >>>>>>2) Output file created is of 0 bytes.
> >>>>>>
> >>>>>>If you need more info, please ask.
> >>>>>>
> >>>>>>Regards from
> >>>>>>VJ
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>please, post the full command-line and the output of mencoder, or I
> >>>>>can't understand what's going on.
> >>>>>Give it time to finish it work.
> >>>>>
> >>>>>_______________________________________________
> >>>>>MPlayer-users mailing list
> >>>>>MPlayer-users at mplayerhq.hu
> >>>>>http://mplayerhq.hu/mailman/listinfo/mplayer-users
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>Hi Nico,
> >>>> I understand it is under development. I did not complain, it was
> >>>>just a
> >>>>report.
> >>>>
> >>>>
> >>>>
> >>>>
> >>>I'm not angry :)
> >>>
> >>>
> >>>
> >>>>I used following command(s):
> >>>>
> >>>>
> >>>>
>
>***************************************************************************
*
> >
> >
> >>>>************
> >>>>for pass in 1 2
> >>>>do
> >>>>rm -f vidout
> >>>>rm -f audout
> >>>>nice -n 15 mythtranscode --chanid 1003 --starttime
> >>>>2004-12-04-13-00-00 --profile auto --honorcutlist --fifodir .
> >>>>1>/dev/null &
> >>>>sleep 5
> >>>>mencoder $frames -noskip -skiplimit 0 -mc 0 -sws 2 -ovc lavc -lavcopts
> >>>>
> >>>>
> >>>>
>
>vcodec=mpeg2video:preme=2:mbd=2:vqblur=0:mbqmin=1:vqmin=1:vrc_buf_size=1835
:
> >
> >
> >>>>
> >>>>
>
>vbitrate=1200:vrc_maxrate=1200:aspect=1.3333:keyint=25:vstrict=-1:scplx_mas
k
> >
> >
> >>>>
> >>>>
>
>=0.5:vqblur=0:mbqmin=1:vqmin=1:lmin=0.3:vrc_buf_size=1835:intra_matrix=8,9,
1
> >
> >
> >>>>
> >>>>
>
>2,22,26,27,29,34,9,10,14,26,27,29,34,37,12,14,18,27,29,34,37,38,22,26,27,31
,
> >
> >
> >>>>
> >>>>
>
>36,37,38,40,26,27,29,36,39,38,40,48,27,29,34,37,38,40,48,58,29,34,37,38,40,
4
> >
> >
> >>>>
> >>>>
>
>8,58,69,34,37,38,40,48,58,69,79:inter_matrix=16,18,20,22,24,26,28,30,18,20,
2
> >
> >
> >>>>
> >>>>
>
>2,24,26,28,30,32,20,22,24,26,28,30,32,34,22,24,26,30,32,32,34,36,24,26,28,3
2
> >
> >
> >>>>
> >>>>
>
>,34,34,36,38,26,28,30,32,34,36,38,40,28,30,32,34,36,38,42,42,30,32,34,36,38
,
> >
> >
> >>>>40,42,44:vpass=$pass -oac lavc -lavcopts acodec=mp2:abitrate=192 -of
> >>>>mpeg -mpegopts format=dvd -vf hqdn3d,scale=352:288 -audiofile
> >>>>./audout -audio-demuxer 20 -rawaudio
rate=48000:channels=2:on -rawvideo
> >>>>fps=25:h=576:w=720:on ./vidout -o "/myth/tmp/work/Charade.mpg"
> >>>>
> >>>>done
> >>>>
> >>>>
> >>>>
>
>***************************************************************************
*
> >
> >
> >>>>************
> >>>>
> >>>>Regards from
> >>>>VJ
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>you are using twice -lavcopts. You need it only one, concatenating the
> >>values
> >>
> >>_______________________________________________
> >>MPlayer-users mailing list
> >>MPlayer-users at mplayerhq.hu
> >>http://mplayerhq.hu/mailman/listinfo/mplayer-users
> >>
> >>
> >>
> >
> >the first lavcopts is for video params and the second is for audio
params.
> >Does it make any difference if I have it twice (spearate for audio and
> >video)?
> >
>
> yes, the second overwrites the params of the first. In your case
> vcodec=mpeg4 (the default one).
> You should append acodec=:abitrate= to the first and only instance of
> -lavcopts
> BTW, why don't you use toolame instead of acodec=mp2?
>
> >I will go home in the evening and tell you after changing the
> >command line and also first few lines of mencoder's log during encoding.
> >
> >Regards from
> >VJ
> >
> >
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
>
If the second lavc overrides the first one, how have I been getting mpeg2
files till now which could be burnt on DVD? I am so much amazed. Is mpeg2
default format for lavc? That means my KDVD matrices were not working till
now? And is toolame better them lavc's mp2?
I am now even more eager to go home and test my script with one lavc rather
than two.
Please reply
Regards from
VJ
More information about the MPlayer-users
mailing list