Re: [Mjpeg-users] jerky leaps on hardwareplayer

2005-08-02 Thread Oliver Seufer
Hello,

after a lot of testing the problem was solved by changing the capture card
from a bt848 to a bt878. It seems that it is not possible to capture 25
frames with the bt848 (10 frames are no problem). 

Greatings

Oliver
On Mon, 25 Jul 2005, Oliver Seufer wrote:

 Hello,
 
 I just tried for the fourth time to convert a analog video to dvd. But
 everytime I have the same problem. I'm not sure if it's a problem with
 streamer or mjpeg tools. So maybe some one can help.
 
 That's what I have done:
 1. streamer -t 67500 -s 720x576 -n pal -r 25 -o movie.yuv -f 4mpeg -F
stereo -O movie.wav -R 48000 -p 5 -b 64
 
My first test was on a harddisc with ext3. The second one was with
a striping softraid which can write about 100MB/sec. So the speed of
the harddisc can not be the problem. 
 
 2. yuvdenoise -t2 -b 3,1,710,570  movie.yuv |mpeg2enc -q4 -f8 -b9000
-np -F3 -I1 -21 -41 -r16 -N1.0 -Khi-res -D10 -s -c -P -o movie.m2v
 
The third test with -b8000 doesn't change anything. The end result
was the same.
 
 3. mp2enc -r 48000 -o movie.mpa  movie.wav
 
The fourth test was with a AC3 audio track, but still the same
problem.
 
 4. mplex -S 0 -f 8 -V movie.mpa movie.m2v -o movie.mpg
 5. dvdauthor -o /temp/dvdwork/dvd/ movie.mpg
 6. dvdauthor -T -o /temp/dvdwork/dvd/
 
 Viewing the result in /temp/dvdwork/dvd/ with mplayer or xine works
 perfectly, but when I burn the result on a dvd and try to view it with a
 hardware dvd player the video has jerky leaps after ~20 minutes. Tone
 is OK the whole time. The leaps are only in millisecond range, but they
 appear every few seconds. I don't have any clue what the problem could
 be. 
 
 Thanks in advance
 
 Oliver
 
 
 ---
 SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
 from IBM. Find simple to follow Roadmaps, straightforward articles,
 informative Webcasts and more! Get everything you need to get up to
 speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
 ___
 Mjpeg-users mailing list
 Mjpeg-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/mjpeg-users

-- 


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] jerky leaps on hardwareplayer

2005-07-26 Thread Bernhard Praschinger
Hallo

 I just tried for the fourth time to convert a analog video to dvd. But
 everytime I have the same problem. I'm not sure if it's a problem with
 streamer or mjpeg tools. So maybe some one can help.
 
 That's what I have done:
 1. streamer -t 67500 -s 720x576 -n pal -r 25 -o movie.yuv -f 4mpeg -F
stereo -O movie.wav -R 48000 -p 5 -b 64
Can you try once to record with streamer and generate a mjpeg encoded
Quicktime movie. The command lookes like that:
streamer -t 0:30 -s 352x240 -r 24 -o movie.mov -f mjpeg -F stereo

Do not use AVI because the mjpegtools ca only handle AVI up to 2GB. 

And use the lav2yuv and lav2wav to generate th audio and video.
 
 2. yuvdenoise -t2 -b 3,1,710,570  movie.yuv |mpeg2enc -q4 -f8 -b9000
-np -F3 -I1 -21 -41 -r16 -N1.0 -Khi-res -D10 -s -c -P -o movie.m2v
 
The third test with -b8000 doesn't change anything. The end result
was the same.
Try to drop every option excep the -f 8, 
 
 3. mp2enc -r 48000 -o movie.mpa  movie.wav
That one should work well.

 4. mplex -S 0 -f 8 -V movie.mpa movie.m2v -o movie.mpg
 5. dvdauthor -o /temp/dvdwork/dvd/ movie.mpg
 6. dvdauthor -T -o /temp/dvdwork/dvd/
 
 Viewing the result in /temp/dvdwork/dvd/ with mplayer or xine works
 perfectly, but when I burn the result on a dvd and try to view it with a
 hardware dvd player the video has jerky leaps after ~20 minutes. Tone
 is OK the whole time. The leaps are only in millisecond range, but they
 appear every few seconds. I don't have any clue what the problem could
 be.
If you mjpeg encoded MOV files you can cut the video with glav/lavplay,
and encode the part after the 20 minutes. Create a disk of that part of
the movie afterwards, to get a better feeling where the problem is. 

From your description that problem sounds like if the card would drop a
frame or so. 
 
auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: [EMAIL PROTECTED]
www: http://www.lysator.liu.se/~gz/bernhard


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[Mjpeg-users] jerky leaps on hardwareplayer

2005-07-25 Thread Oliver Seufer
Hello,

I just tried for the fourth time to convert a analog video to dvd. But
everytime I have the same problem. I'm not sure if it's a problem with
streamer or mjpeg tools. So maybe some one can help.

That's what I have done:
1. streamer -t 67500 -s 720x576 -n pal -r 25 -o movie.yuv -f 4mpeg -F
   stereo -O movie.wav -R 48000 -p 5 -b 64

   My first test was on a harddisc with ext3. The second one was with
   a striping softraid which can write about 100MB/sec. So the speed of
   the harddisc can not be the problem. 

2. yuvdenoise -t2 -b 3,1,710,570  movie.yuv |mpeg2enc -q4 -f8 -b9000
   -np -F3 -I1 -21 -41 -r16 -N1.0 -Khi-res -D10 -s -c -P -o movie.m2v

   The third test with -b8000 doesn't change anything. The end result
   was the same.

3. mp2enc -r 48000 -o movie.mpa  movie.wav

   The fourth test was with a AC3 audio track, but still the same
   problem.

4. mplex -S 0 -f 8 -V movie.mpa movie.m2v -o movie.mpg
5. dvdauthor -o /temp/dvdwork/dvd/ movie.mpg
6. dvdauthor -T -o /temp/dvdwork/dvd/

Viewing the result in /temp/dvdwork/dvd/ with mplayer or xine works
perfectly, but when I burn the result on a dvd and try to view it with a
hardware dvd player the video has jerky leaps after ~20 minutes. Tone
is OK the whole time. The leaps are only in millisecond range, but they
appear every few seconds. I don't have any clue what the problem could
be. 

Thanks in advance

Oliver


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] jerky leaps on hardwareplayer

2005-07-25 Thread Steven M. Schultz

On Mon, 25 Jul 2005, Oliver Seufer wrote:

 I just tried for the fourth time to convert a analog video to dvd. But
 everytime I have the same problem. I'm not sure if it's a problem with
 streamer or mjpeg tools. So maybe some one can help.

I think there are more variables than those two (streamer or mjpeg) -
and that makes it difficult to debug.

There are at least:

1. acquisition (streamer)
2. mjpegtools
3. DVD player
4. dvdauthor
5. DVD media

 That's what I have done:
 1. streamer -t 67500 -s 720x576 -n pal -r 25 -o movie.yuv -f 4mpeg -F
stereo -O movie.wav -R 48000 -p 5 -b 64

What type of device are you using to do the capture?  Is there other
software (such as 'lavrec') that you could try?  

a striping softraid which can write about 100MB/sec. So the speed of
the harddisc can not be the problem. 

The speed of the raid _can_ be the problem. One example would
be what I have seen happen - as the array fills up the thruput
can drop off (as the inner cylinders of the drives are used). 

I do not think, in this case, that the performance of the disk 
subsystem is causing the problem you're having with the DVD(s).

 2. yuvdenoise -t2 -b 3,1,710,570  movie.yuv |mpeg2enc -q4 -f8 -b9000
-np -F3 -I1 -21 -41 -r16 -N1.0 -Khi-res -D10 -s -c -P -o movie.m2v

Hmmm, a slightly older version of mjpegtools...  yuvdenoise has
changed its usage (-b is no longer recognized).  I doubt that is
the problem though.

My preference would be to use -K tmpgenc and leave out the -N but
that's just personal taste.

 4. mplex -S 0 -f 8 -V movie.mpa movie.m2v -o movie.mpg

For mpeg2 -V is the default ;)

 5. dvdauthor -o /temp/dvdwork/dvd/ movie.mpg
 6. dvdauthor -T -o /temp/dvdwork/dvd/

 Viewing the result in /temp/dvdwork/dvd/ with mplayer or xine works
 perfectly, but when I burn the result on a dvd and try to view it with a
 hardware dvd player the video has jerky leaps after ~20 minutes. Tone
 is OK the whole time. The leaps are only in millisecond range, but they
 appear every few seconds. I don't have any clue what the problem could be. 

At what speed did you burn the DVD?  High speed (8x or higher) can
produce discs that some DVD players will have trouble reading
reliably.  I tend to do all burns at 4x even if the media is rated
for higher speeds.  

Do mplayer or xine play the DVD without trouble?

The other possibility is that there is some form of incompatibility
between the brand of media being used and the DVD player.  Can you
try a different brand of media (and the RW is great for testing).

Do you have access to another DVD player?  Some players (i've never
had any problems with Philips - seems they'll almost play a piece
of paper ;)).

dvdauthor could, I suppose, also the culprit.  I think some more
experimentation (elimination of the other possibilities) is needed.

I haven't heard of mpeg2enc producing invalid streams in a very very
long time.  I routinely import .m2v files produced by mpeg2enc into
DVD Studio Pro and the resulting discs have always played fine in
several DVD players and computer DVD drives.

Quite a few variables to deal with.  Using DVD+/-RW media will
save on the media budget :)

Cheers,
Steven Schultz



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] jerky leaps on hardwareplayer

2005-07-25 Thread Ray Cole

I realize this is a strange question...but if you eject the disk when it starts 
skipping, and let it cool for maybe 5 minutes, then insert the disk again and 
fast-forward to that part of the movie does it continue to skip at the exact 
same place, or does it play fine for a while again and then start skipping?  
The reason I ask is I have seen DVD media 'warp' a little after it has been in 
the player, specifically after I've applied a paper label to the disk.  
Evidentally paper labels make it such that the DVD can't dissipate heat quite 
as efficiently and can cause the disk to warp.  I have a number of DVD disks 
that have a paper label on them and in one of my DVD players the heat build up 
causes it to warp just a bit.  In fact, if I put the hot DVD upside down on a 
flat surface I can see that it has cupped...and can push down on the center.  
That is why now days I use the mini-CD labels to label my DVD's.  They cover 
only about half the radius of the full DVD-sized labels so i
t allows heat to dissipate quickly.  And they're cheap...5 to a standard page 
:-)

It probably isn't your problem, but I thought I'd mention it just in case...

-- Ray




---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] jerky leaps on hardwareplayer

2005-07-25 Thread Steven M. Schultz

On Mon, 25 Jul 2005, Ray Cole wrote:

 I realize this is a strange question...but if you eject the disk when it 
 starts skipping, and let it cool for maybe 5 minutes, then insert the 
 disk again and fast-forward to that part of the movie does it continue to 
 skip at the exact same place, or does it play fine for a while again and 

I don't know - I haven't had a DVD skip on me :)

What I have had happen is a DVD player wear out or otherwise fail
mechanically - it wouldn't reliably focus on the 2nd layer (most 
commercial DVDs seem to be dual layer).  Solution was to pop $50 and
get a newer DVD player ;)

 then start skipping?  The reason I ask is I have seen DVD media 'warp' a 
 little after it has been in the player, specifically after I've applied a 
 paper label to the disk.  Evidentally paper labels make it such that the 

AIIE - paper labels, as you're discovering, are a very bad idea.
I'm surprised, to tell the truth, those kits are still on the market.

 DVD can't dissipate heat quite as efficiently and can cause the disk to 
 warp.  I have a number of DVD disks that have a paper label on them and in 
 one of my DVD players the heat build up causes it to warp just a bit.  In 
 fact, if I put the hot DVD upside down on a flat surface I can see that 
 it has cupped...and can push down on the center.  

Not just heat but balance and mechanical wear/tear.  Paper is 
lightweight
but it's not 0 and can cause the disc to be less than perfectly
centered/weighted.  More (offcentered) weight can can problems.

I think it's less that the polycarbonate substrate is melting but
rather is being pulled out of shape by the tension  of the label.  
As the paper/adhesive heats up it exerts tension on the surface of the
disc causing the the disc to 'warp'.

 That is why nowadays I use the mini-CD labels to label my DVD's.  They cover 

Even better use a Sharpie Fine Point permanent marker.   BEST of
all use inkjet printable media.  I've long since switched to using
inkjet printable media and an Epson R300 (or R200) printer.  There's
little or no price premium for injket printable media - and the results
look really good.   Even if you don't use an inkjet printer the
printable surface 1) doesn't warp, 2) works very well with marker
pens if you'd rather write a handwritten note.

 only about half the radius of the full DVD-sized labels so it allows heat to 
 dissipate quickly.  And they're cheap...5 to a standard page :-)

OR there's less paper/adhesive pulling on the surface of the media ;)

 It probably isn't your problem, but I thought I'd mention it just in case...

Thanks - I agree it's probably not the problem.  My hunch is that the
media or burn was less than perfect.  We'll see if more testing
turns up some clues as to what is a likely candidate.

Cheers,
Steven Schultz



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users