Hi,

>> Feed progressive stream to "mpeg2enc -p",
>> so don't do 2nd "yuvcorrect -T
>> INTERLACED_TOP_FIRST".
>
>Ah, I didn't realize that.  That should end up in the
>man page, and as a warning inside mpeg2enc, probably.

Oh, I'm not so sure this will resolve your problem,
I'm sorry, I should write "Please try" first.
I only checked your makedvd.sh, different options from
I'm alway using, and found "mpeg2enc -p" outputs
strange combination of frame flags with interlaced input:

 DC precision=9/picture structure=frame/top field first=yes/DCT type=field
 MV in intra MB=no/quant scale type=1/intra vlc format=1/scan type=alternate
 repeat first field=yes/chroma420 type=no/progressive frame=no
 composite display flag=no

I don't know this combination is legal or illegal
against MPEG2 spec.  MPEG2 guru, tell me please.
If it was illegal, it would be mpeg2enc's bug.

>> 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.
>
>Won't that throw off yuvkineco?  None of the "frames"
>it sees will be actual complete film frames, and
>there's no yuvkineco command for "top field replaced
>by previous one and output".

I don't know so well about yuvcorrect,
I think yuvcorrect converts
   T0   T1   T2   T3
 B0   B1   B2   B3   ....
with "-T INTERLACED_TOP_FIRST"
 T0   T1   T2   T3
   B0   B1   B2   B3 ....
with "-T TOP_FORWARD"
        T0   T1   T2
      B1   B2   B3   ....
so, with "-T INTERLACED_TOP_FIRST -T TOP_FORWARD"
      T0   T1   T2
        B1   B2   B3 ....
so this combination converts correct bottom-field-first
stream to correct top-field-first stream.
and, with "-T LINE_SWITCH"
   B0   B1   B2   B3
 T0   T1   T2   T3   ....

-- 
KAWAMATA/Hioshi



-------------------------------------------------------
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