Subject: Re: raw dv/ntsc to raw dv/pal fixed?
Date: Wednesday 1st February 2006 16:03:23 UTC (over 11 years ago)
I did some tests, placed a lot of printf statements in the export_dvraw.c which leads to libdv's dv_encode_full_frame() from libdv/encode.c after adding a lot of printf again it turned out that line 1777 in encode.c of libdv segfaults which reads memset(out,0,480*(dv_enc->isPAL?300:250)); commentingt this out (assuming it is filled with new data anyway) doesnt realy solve the problem, libdv crash some lines later. anyway, "out" is one raw dv frame of 144000 bytes, allocated by transcode. i replaced the bufalloc by a simple malloc. now it doesnt segfault anymore and seems to produce valid streams, i'll do some more tests now. greetings, leander