Hi!

I recorded a nature documentary on television.
The transport stream is 720x576. Okay, that is a little unusual,
normally transport streams are 480x576.
Anyway, the source stream is interlaced.
Since I want to fit the whole series on DVD I want to shrink it.
Until a couple of weeks ago I used to deinterlace and re-encode. Usually
with good results.

Now I tried that rule of thumb that keeping it interlaced is usually a
good idea.
So in order to get the file smaller I went for 352x576. interlaced.

The result of the reencoding was bigger than the original 720x576!
Well, I know that reencoding may result in bigger files by creating
artefacts and considering I have only half the screen size this means
the bitrate doubled!

Am I doing something really wrong or should I just stop encoding
interlaced?

Here is my batch file:

#! /bin/sh
mknod stream.yuv p
mknod stream.wav p
QUANT=8
INFILE=1.mpg
OUTFILE=1out.mpg
mplayer -ao pcm -aofile stream.wav -vo yuv4mpeg -vf scale=352:576:1
$INFILE &
cat stream.wav | nice mp2enc -s -r 48000 -b 224 -o audio.m2a &
cat stream.yuv | nice mpeg2enc -f 8 -q $QUANT -o video.m2v
sleep 2
mplex -o $OUTFILE -f 8 audio.m2a video.m2v

-- 
Lehmeier Michael <[EMAIL PROTECTED]>


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to