This was suspicious as the original source images are fine. I even did:
convert nocrack.00{6,6,6,6,6,6,6,6,6,6}0.ppm nocrack.0* crack.0* -thumbnail '640x512>' -bordercolor black -border 50 -gravity center -crop 640x512+0+0 ppm:- | ppmtoy4m -F 25:1 -r -n 150 > frames.raw
cat frames.raw | y4mtoppm | pnmsplit - "t1/%d.ppm"
ls -1 t1/*.ppm | sort -n | xargs xv
And everything looked fine.
I did this to encode:
cat frames.raw | mpeg2enc -f 0 -o o1.m1v
And then to inspect the frames:
mpeg2dec -o pgm o1.m1v ls -1 *.pgm | sort -n | xargs xv
And there are a number of frames in the wrong place.
The only reason I can think that the data is wrong, but the time step is correct is splicing more than one frame. I've seen this on a couple of frames where a frame is divided horizontally with one frame on top and another on the bottom. For the particular frame in question, the split is not visible, but the top part of the correct frame was on top and the bottom was for a future frame.
Any way to compensate for out of order frames? I believe this is where the "popping" or "pulsing" in my movies is from.
Thanks, James
Mark Rages wrote:
On Wed, Sep 22, 2004 at 02:48:32PM -0600, James Bigler wrote:
2. I don't like popping. I've noticed that depending on various parameters I've chosen for mpeg2enc I get intermittent popping.
"popping" is not a term usually associated with video. When I have
heard the word "popping" used it's been in the context of audio as
in "clicks and pops" or "chirps and popping". And sometimes the audible pops/clicks/chirps are due to the _de_coding software and/or
sound drivers (MPlayer comes to mind - depending on the version of
gcc used to compile MPlayer's MP2 audio decoder you'll hear artifacts).
What exactly do you mean by "popping"? Or are you in that case
thinking of 'mp2enc', the audio MPEG-1/Layer-II audio compression
program?
I couldn't think of another way to describe it. The image in the video erroneously glitches. An example can be found in some temporary web space at http://www.sci.utah.edu/~bigler/tmp/o1.m1v (~800KB). About halfway through and again towards the end of the video the video seems to pulse or "pop". I used this command line "mpeg2enc -f 0 -o o1.m1v".
have a look at frame 107 (14.845 ms). It looks like the wrong one.
look at it next to 14.84 ms and 14.85 ms.
This isn't an encoder-getting-the-frames-out-of-order problem, because the time values are OK.
I used this to make a series of stills and look at them one-at-a-time:
mpeg2dec -o pgm o1.m1v
display *.pgm
('display' is part of ImageMagick)
Regards, Mark [EMAIL PROTECTED]
------------------------------------------------------- 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. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users