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=7477&alloc_id=16492&op=click
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to