Well, it seems I managed to get dv2jpg to compile by trying every
version of libdv available, even though the docs say to use 0.4... ho
hum.<br>
<br>
Unfortunately, this doesn't cure my problem. dv2jpg has the same
problem -- it can read my original avi file, but not the new one.
If I "file" both, they produce the following output, which is a bit
odd!!<br>
<br>
Any thoughts welcome... thanks...<br>
<br>
Can open with avidemux:<br>
<span style="font-family: courier new,monospace;">tempfile.avi: RIFF (little-endian) data, AVI, 720 x 576, 25.00 fps, video:, audio: uncompressed PCM (stereo, 32000 Hz)</span><br>
<br>
Cannot open with avidemux or dv2jpg:<br>
<span style="font-family: courier new,monospace;">Movie.avi: RIFF (little-endian) data, AVI, 0 x 0, 25.00 fps,</span><br><br><div><span class="gmail_quote">On 9/21/05, <b class="gmail_sendername">Darren Parkinson</b> <
<a href="mailto:darren.parkinson@gmail.com">darren.parkinson@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello all,<br>
<br>
I'm having a little trouble compiling the dv2jpg application and I'm
pretty sure it is something fairly simple, but can't quite put my
finger on it and wondered if anyone might have any ideas.<br>
<br>
Firstly, perhaps I don't even need the application which might save me
a lot of time. Basically, I have some "avi" files which I
captured in windows using an app from "aist" (just because I've found
it to be fairly reliable without dropping frames). I wanted to
combine them into a single video and then burn them to a VideoCD.
I used Windows Movie Maker (sorry!!) to put the video together since it
is so easy to use and I was in windows at the time -- basically adding
a couple of sound tracks and fades/transitions etc. I then used
Windows Movie Maker to export the finished video to a dv-avi. <br>
<br>
Anyway, given the lack of unrestricted tools under windows to create
the Video CD I turned to Linux. Now stupidly, I assumed that an
avi was an avi!!! How wrong can a person be... I'm trying to use
avidemux2 to prepare the video (for burning to VideoCD via K3b).
If I open one of the original AVI files, it has no problem, but if I
try to open the new WMM created avi, it gives me an error unable to
open file. I've now put this down to the fact that it isn't the
"right" sort of avi file, which is why I believe I need to use
dv2jpg. Sorry for the long story, but may help understand why
I've got to this point...<br>
<br>
Now onto dv2jpg...<br>
<br>
When I run "make" as per the (very short) instructions, I get the
errors below. I can't help wonder if it is because I don't have
the right version of something, or I'm not including the right header
files or something, but if anyone else has any ideas, they would be
greatly appreciated.<br>
<br>
Thanks,<br>
Darren.<br>
<br>
gcc -g -I/usr/include/mjpegtools -I/usr/include/gdk-pixbuf-1.0
-I/usr/include -I/usr/include/libdv `glib-config --cflags`
`gtk-config --cflags` -DPAL -g -c dv2jpg.c<br>
dv2jpg.c: In function 'mjpeg_term_destination':<br>
dv2jpg.c:50: warning: pointer targets in passing argument 2 of 'AVI_write_frame' differ in signedness<br>
dv2jpg.c: In function 'main':<br>
dv2jpg.c:69: error: too few arguments to function 'dv_decoder_new'<br>
dv2jpg.c:70: error: too few arguments to function 'dv_init'<br>
dv2jpg.c:136: warning: pointer targets in passing argument 2 of 'dv_parse_header' differ in signedness<br>
dv2jpg.c:139: warning: pointer targets in passing argument 2 of 'dv_decode_full_frame' differ in signedness<br>
dv2jpg.c:139: warning: passing argument 5 of 'dv_decode_full_frame' from incompatible pointer type<br>
dv2jpg.c:151: warning: incompatible implicit declaration of built-in function 'memcpy'<br>
dv2jpg.c:181: warning: pointer targets in assignment differ in signedness<br>
make: *** [dv2jpg.o] Error 1<br>
<br>
<br>
<br>
</blockquote></div><br>