Hi,
In your "makedvd.sh":
> smil2yuv -i 2 movie.smil \
> | y4mscaler -v0 \
> -O sar=src -O size=720x480 -O chromass=420_mpeg2 \
> -S option=sinc:5 \
> | yuvscaler -v 0 -n n -I ACTIVE_704x480+6+0 -I USE_704x480+6+0 \
> -O SIZE_704x480 \
> | yuvcorrect -v 0 -Y CONFORM \
> -T LINE_SWITCH -T INTERLACED_TOP_FIRST \
> | yuvkineco -F 1 -n 6 -O kineco1.txt \
> | y4mdenoise -p 0 -z 1 -t 2 -m 30 -M 3 \
> | ./yuvmedianfilter -f -r 1 -R 1 -w 13.333 \
> | tee /tmp/stream.yuv \
> | yuvcorrect -v 0 -T LINE_SWITCH -T INTERLACED_TOP_FIRST \
> | tee /tmp/stream2.yuv \
> | tee /tmp/stream3.yuv \
> | bzip2 -9 > /data/Video/caddyshack-dvd-z1t2.yuv.bz2 &
Feed progressive stream to "mpeg2enc -p",
so don't do 2nd "yuvcorrect -T INTERLACED_TOP_FIRST".
And, if the result of "yuvcorrect -T LINE_SWITCH" twice is correct,
both LINE_SWITCH are not needed.
I guess you want to convert a correct bottom-field-first stream
to a correct top-field-first stream to feed to yuvkineco,
if so you should use "yuvcorrect -T TOP_FORWARD -T INTERLACED_TOP_FIRST",
not LINE_SWITCH.
So, I guess you want to do:
...
| yuvcorrect -v 0 -Y CONFORM -T TOP_FORWARD -T INTERLACED_TOP_FIRST \
| yuvkineco ...
...
(2nd yuvcorrect is not needed)
Note: "yuvcorrect -T TOP_FORWARD" seems drops first field of stream,
you might want to drop first 1001/60000 sec. from audio.
--
KAWAMATA/Hitoshi
-------------------------------------------------------
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