>       It is usually a good idea to include as much information as possible
>       (better to have too much than not enough information ;)).
> 
>       What framesize did you capture the data at?  

I am using Miro DC10plus so I capturing video with 768x576, PAL, 25 fps.
Excuse me, I wrote all data about my sorce in the first post.
The question is...
I am shooting videos nearly every day with my vhs-c camcorder, and then
transfer data to pc with 5000 mb/s bitrate (768x576)
When I create vcd or dvd mpeg stream I have a little deformed video in the
output, because I have in the source square pixel (3:4 or 768x576 but then
converted it to dvd 720x576 or vcd 352x288 that is not 1:1 aspect ratio)
For example, when I create vcd, a make:
lav2yuv lalala.avi | yuvscaler -o VCD | mpeg2enc -s -r 16 -o video.mpg
So I recieve 352x288 and picture apeears deformed because it can't be
deformed with 384x288.
So, when I am making high resolution mpegs, I do:
lav2yuv lalala.avi | yuvdenoise -F | mpeg2enc --no-constraints -f 3 -q 2
-b 5000 -o video.mpg
I can view mpegs created like this on my computer with mplaeyr and I even
give them to my friend who can view files with PowerDVD player.
And I am happy that I have picture very similiar to the source video.
Why I am using mpeg2enc? Because it keeps colors the same as in the source
video! It is the only one encoder I ever seen that don't spoil colors!
So, I don't want deformed picture too.
But what if I want to write DVD some day?
I wrote that I remember a faeture in TMPEGEnc that adds two black strips
on top and bottom of the screen and keeps original aspect ratio this way.
You told me I don't need black strips - that's cool!
And I have to use yuv4mscaler.

> >  example, try "y4mscaler -O preset=vcd" and follow the suggestions.)

yes, I have tryed y5mscaler -O preset=dvd but then mpeg2enc tells that
can't handle interlaced video...

> 
>       hint:  try adding "-i ilace=TOP_ONLY" to y4mscaler's options.

I did it... but unseccesfully...

Becasue of that I making now:
lav2yuv lalala.avi | yuvdenoise - F | y4mscaler -I sar=1:1 -O sar=PAL -O
size=352x288 -S option=sinc:4 | mpeg2enc -s -r 16 -o video.mpg
or
lav2yuv lalala.avi | yuvdenoise -F | y4mscaler -I sar=1:1 -O size=720x576
-S option=sinc:4 | mpeg2enc -f 3 -q 2 -b 9000 -o video.mpg

And this is awfully slow way.
That's a reason I asked You how deinterlace video with y4mscaler

Or please, write me, how can I convert 768x576 pal video to dvd compliant
mpeg2 stream without picture deformatons and (if possible pixels loss) the
same for vcd.

Thanks




-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to