On Tue, 20 Dec 2005, sean wrote:

> 
> I got 12/19 cvs. Built that with gcc-4.1.
> 
> 1.  Region2D.hh needs an #include <cassert>

        Hmmm, 4.0.1 didn't need that - easy enough to add though, it's in
        CVS now.

> Then I re-dvgrab'ed the tape --format raw.

        Ok.

> When I ran it I got a segfault for mpeg2enc.

> smil2yuv -i 2  moontrap-raw/dv/moontrap-001.dv  |
>    yuvdenoise | \
>    y4mscaler  -O preset=dvd | \
>    mpeg2enc  -D 10 -f 8 -q 5 -E -10 -4 1 -2 1  -o moontrap.m2v

> and here's the output:

        Looked good until something became upset.  One thing to try would
        be to "unlimit coredump" and then "gdb mpeg2enc core" to see where
        it died.

        NOT that it makes any difference - but for chroma conversion only
        (with no resizing) you could use "-O chromass=420mpeg2".

>     INFO: [y4mscaler] Frame number 2
> test.raw: line 6: 31236 Broken pipe             smil2yuv -i 
> 2 moontrap-raw/dv/moontrap-001.dv
>       31237                       | yuvdenoise
>       31238                       | y4mscaler -O preset=dvd
>       31240 Segmentation fault      | mpeg2enc -D 10 -f 8 -q 
> 5 -E -10 -4 1 -2 1 -o moontrap.m2v

        Well, I tried the identical commands (changing only the filenames ;))
        and nothing segfaulted.

        Next thing to try is isolate the problem one step at a time.  First
        is checking the YUV4MPEG2 header at each stage.

        smil2yuv -i 2  moontrap-raw/dv/moontrap-001.dv | head -n 1

        should produce

        YUV4MPEG2 W720 H480 F30000:1001 Ib A10:11 C411

        Then add the next command:

        smil2yuv -i 2 ... | yuvdenoise | head -n 1

        should produce the same output

        Add in the next command

        smil2yuv -i 2 ... | yuvdenoise | y4mscaler -O preset=DVD | head -n 1

        YUV4MPEG2 W720 H480 F30000:1001 Ib A10:11 C420mpeg2

        Note that the chroma has been resampled and the tag changed.

        Finally try playing the file with yuvplay:

         smil2yuv -i 2 ... | yuvdenoise | y4mscaler -O preset=DVD | yuvplay

        If that works but mpeg2enc faults then it would seem to be a bug
        being triggered somehow in the encoder.  A gdb backtrace will be
        needed - allow the core file to be created and then after getting into
        gdb (gdb mpeg2enc core) type "bt" or "where".

        Cheers,
        Steven Schultz



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to