trying to convert mpeg2 to dv
Dieter
freebsd at sopwith.solgatos.com
Thu Nov 3 15:31:36 PST 2005
I'm trying to convert some mpeg2 video to dv format.
Looks like transcode should be able to do it, but
transcode -x mpeg2 -y dvraw
grinds away but doesn't generates any output, and
transcode -x mpeg2 -y dv
gives Segmentation fault.
So I recompile transcode and look at the compiler warnings and find:
libxio.c:707: warning: cast to pointer from integer of different size
cat -n work/transcode-1.0.0rc1/libxio/libxio.c | grep 707
707 _handles[ret_fd]->data = (void *)open(pathname, flags, mode);
I have to agree with the compiler, casting a file descriptor to a pointer
seems wrong, and likely to generate a seg fault if "data" is later treated
as a pointer. So, edit libxio.c add a debug printf to see if the code
actually gets executed, type make and nothing happens. Nice makefile.
So before I burn too much time chasing this, should transcode work
the way I think it should, or am I doing something wrong?
The transcode man page isn't clear on the difference between dv and dvraw?
Are there alternatives to transcode I should be looking at?
More information about the freebsd-multimedia
mailing list