Date: Thu, 03 Nov 2005 15:31:34 +0000 From: Dieter <freebsd@sopwith.solgatos.com> To: freebsd-multimedia@freebsd.org Subject: trying to convert mpeg2 to dv Message-ID: <200511032331.XAA01781@sopwith.solgatos.com>
next in thread | raw e-mail | index | archive | help
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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511032331.XAA01781>