Thanks to all who responded about the DVD like MPEG-2 stream (converted
from 1 hr DV) showing up as only ~16 minutes in windows media player. I tried
video lan player, and it found ~18 minutes in that same mpeg file. But the
bad thing was with the mpeg in which windows media player found the full 1
hour, video lan player only found ~49 minutes. I am able to play the full 1
hour in windows media player, unfortunately only ~49 minutes in video lan
player 0.7. I tried windvd 4 and it is also able to see the full 1 hour.
Also, in video lan player, it was only possible to seek in a very coarse
granularity. Maybe, video lan somehow guesses the size wrong. Anyway, I am
happy that it plays fine in windows media player.
I have some other problems now
I tried using y4mscalar for mpeg-1 as suggested. This is what I used and this
is the error I got
mil2yuv -i 2 ../test.avi 2>smil.err | y4mscaler -S option=sinc:4 -O preset=VCD
2>y4m.err | mpeg2enc -f 1 -o test.m1v 2>mpegenc.err 1>mpeg2nc.out
In y4m.err, I see
INFO: [y4mscaler] Input Stream Header:
INFO: [y4mscaler] <<< frame size: 720x480 pixels (518400 bytes)
INFO: [y4mscaler] <<< frame rate: 30000/1001 fps (~29.970030)
INFO: [y4mscaler] <<< interlace: bottom-field-first
INFO: [y4mscaler] <<< sample aspect ratio: 10:11
INFO: [y4mscaler] VCD output format requested in NTSC norm.
INFO: [y4mscaler] Source matte region defaulting to full source frame.
INFO: [y4mscaler] Source active region defaulting to full source frame.
INFO: [y4mscaler] Target active region defaulting to full target frame.
INFO: [y4mscaler] Deriving ratios from active regions and SARs...
INFO: [y4mscaler] ...using scaling ratios which pad target.
INFO: [y4mscaler] ...using scaling ratios which are simple.
++ WARN: [y4mscaler] Source active region clipped by projection of target.
**ERROR: [y4mscaler] Cannot make progressive stream from interlaced.
**ERROR: [y4mscaler] (Try '-I ilace=TOP_ONLY/BOTTOM_ONLY'; see manpage.)
What should I do ?. I seem to be de-interlacing with -i 2 in smil2yuv.
Should I use -I ilace=TOP_ONLY or BOTTON_ONLY ?. which is better ?. I had
used yuvscalar
smil2yuv ../test.avi | yuvscaler -O VCD | mpeg2enc -f 1 -o test.m1v
That worked fine. What does yuvscalar do for de-interlacing ?.Which
is better.
Steven, can you please email me the script you have for encoding to
MPEG-4. It would be very useful. I also have a problem with the mencoder
encoded file playing in quicktime on Mac OS. If I install the 3ivx codec, I
can see the video but not the audio. Is it possible to make the MPEG-4 both
quicktime playable (with the default codec) and also playable in windows
media player at the same time ?. Also, I find that the audio does not play
and with some reading around, I find that it is mentioned that quicktime has
problem with VBR MP3 in avi. I am using ABR mp3 in the MPEG4 avi. Is there a
work-around. Any pointers would be greatly appreciated.
>
> The mpeg2enc command given earlier is quite reasonable.
>
> mpeg2enc -f 3 -4 1 -2 1 -q6 -b 7500 -V 300 -P -g 6 -G 18 -I 1 -o test.m2v
> ...
>
> I would modify that to be
>
> mpeg2enc -f 3 -4 1 -2 1 -q 5 -b 7500 -V 300 -P -K tmpgenc -E -8 -g 6 -G 18
> -I 1 -o test.m2v ...
>
> try -q 5, and add the -E -8 and use the tmpgenc tables.
>
I gave that a shot and it looks better. Thanks. I also find that
if the MPEG-2 is scaled to full screen, I see interlacing artifacts. What is
the best way to get rid of them. I had not used -i 2 in smil2yuv. I have
started doing that now. Is that enough or should I do something else.
Thanks,
George
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users