You are not logged in.
I was looking for a command line slideshow creator.
ffmpeg can be used, but it has some limitations. Afterall its not for making slideshows
So I found this tool: http://dev.streamnik.de/files.html
while compiling I get this error:
/tmp/oggs/oggvideotools-0.8a/src/oggCat.cpp: In function ‘int oggCatCmd(int, char**)’:
/tmp/oggs/oggvideotools-0.8a/src/oggCat.cpp:252:65: error: ‘getopt’ was not declared in this scope
/tmp/oggs/oggvideotools-0.8a/src/oggCat.cpp:262:32: error: ‘optarg’ was not declared in this scope
/tmp/oggs/oggvideotools-0.8a/src/oggCat.cpp:372:11: error: ‘optind’ was not declared in this scope
make[2]: *** [src/CMakeFiles/oggCat.dir/oggCat.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/oggCat.dir/all] Error 2
make: *** [all] Error 2
There're some patch files on the web which are probably distribution specific. I could not use them.
The AUR pkg is useless.
Would be great if somebody can help me out.
Last edited by debdj (2012-07-10 20:18:11)
Offline
This could be due to a missing/not-found header file, better put up the entire output of compiling (use a pastebin site).
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
I got the AUR package to work with the following patch applied to the list of files below
24a25,26
> #else
> #include <unistd.h>
files:
oggCat.cpp
oggCut.cpp
oggDump.cpp
oggLength.cpp
oggSilence.cpp
oggSlideshow.cpp
oggTranscode.cpp
-------------------------------------------
edit: here's a working PKGBUILD excerpt. Modify the build function as follows adding the for loop:
cmake . -DCMAKE_INSTALL_PREFIX=/usr
for _f in Cat Cut Dump Length Silence Slideshow Transcode; do
sed -i '24a #else' ./src/ogg${_f}.cpp
sed -i '25a #include <unistd.h>' ./src/ogg${_f}.cpp
done
}
If this works for you, please inform the maintainer of the AUR package of the problem and direct them here for a proposed solution.
note: there is probably a much more elegant way to apply such a change, I don't use sed's 'a' command much and I don't know if there is a simpler way to give sed a list of files rather than looping. This does, however, work perfectly well here.
Last edited by Trilby (2012-07-10 18:11:08)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
I think the ls at the end of the fillist is a typo
Offline
Yup, it was, thanks.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Thanks a lot trilby!
The sed command is okay.
It could be a little efficient though..
sed -i '24a #else\n#include <unistd.h>' ./src/ogg${_f}.cpp
This will work as well.
And I informed the maintainer.
Last edited by debdj (2012-07-10 20:17:53)
Offline