Yes, that helps in a sense, though it doesn't solve my problem...

if mpeg2dec spits out 24fps, then, according to the yuvkineco man page,
this effectively means I cannot use yuvkeneco unless I convert to
another, intermediate format or something, since it insists on 30fps as
input...

The Fansubbing site I ran across suggests that to get a higher quality
svcd when the source is 24fps, you should perform inverse telecine
first, and then set the flags.  Any way to do this?  Here is the
snippet:

-----
The second case is by far the most common case. Here the encoder that
was used to produce the DVD will speed up the output frame rate to 30
fps and insert duplicate fields to compensate for the faster frame rate.
One thing that you can do in this case is to proceed as in the first
case, treating the video as normal 30 fps video. However, in most cases
you can gain significant encoding quality by first undoing the telecine
(in a process called "inverse telecine"), and then encoding the
untelecined video and setting the pulldown flag to tell the player to
telecine.

The program yuvkineco which comes with mjpegtools lets you do inverse
telecine in linux. To use it, just insert it in the pipe as follows:

lav2yuv 01.avi [02.avi ...] | yuvkineco -F 1 | yuvscaler -n n -O SVCD |
mpeg2enc -a 3 -f 4 -F 1 -p -S 800 -B 192 -I 0 -o output.m2v
-----

I'm trying to "gain significant encoding quality" :)

Thanks again,

Davros

On Thu, 2003-02-27 at 06:25, Bernhard Praschinger wrote:
> Hallo
> 
> > My source material is a 4:3 ntsc dvd at 24fps.  First, I encoded with no
> > options to take this into consideration.  I got 30fps out and both
> > hardware and software players play it, but, there is a slow-fast-slow
> > rhythm you can notice, for example, when people walk.
> > 
> > I re-encoded using -I 0 -p, as suggested in various places, and it took
> > care the problem.
> > 
> > My goal is a very high quality svcd, so I used this command, mostly
> > borrowed from the Linux Digital Fansubbing Guide here:
> > http://dominia.org/djao/dvdsub-5.html#frame
> 
> > cat *.vob | mpeg2dec -s -o YUV | yuvkineco -F 1 | yuvscaler -n n -O SVCD
> > -M BICUBIC |mpeg2enc -4 1 -2 1 -a 2 -f 4 -F 1 -p -S 800 -B 192 -I 0 -o
> > test.m2v
> 
> mpeg2dec will create a 24FPS movie, if the movie does not alreaddy have
> 24FPS.
> Than mpeg2enc will encode that movie and write a header that says the
> playback device hast do do the 3:2 pulldown to create NTSC video at
> 30FPS. 
>  
> > Reading the man page for yuvkineco, it seems to  _require_  30fps as
> > input, so, I'm now officially confused :)
> Hope that helps.
> 
> auf hoffentlich bald,
> 
> Berni the Chaos of Woodquarter
> 
> Email: [EMAIL PROTECTED] [EMAIL PROTECTED]
> www: http://www.lysator.liu.se/~gz/bernhard
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Scholarships for Techies!
> Can't afford IT training? All 2003 ictp students receive scholarships.
> Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
> www.ictp.com/training/sourceforge.asp




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to