GSVideo - No such GStreamer factory
in
Contributed Library Questions
•
1 year ago
Hi all
I am having some problems with the GStreamer factory.
System:
- W7 x64,
- Eclipse x64,
- java 7 x64 u2,
- Procssing 1.5.1
- Using proclipse
Background:
After first installing GStreamer I had to fix libraries not being imported to eclipse properly. See problems and fixes below.
NoClassDefFoundError
https://forum.processing.org/topic/gsvideo-proclipsing-eclipse
(jna.jar was not imported properly by proclipse)
UnsatisfiedLinkError
https://forum.processing.org/topic/gsvideo-0-8-in-eclipse-unsatisfiedlinkerror-unable-to-load-library-gstreamer-0-10
(Moving gstreamer folder not imported properly by proclipse)
Current status:
Everything builds and runs now but I am experiencing other problems.
1. Can not start GStreamer factories
No such Gstreamer factory: xvidenc
No such Gstreamer factory: x264enc
No such Gstreamer factory: schroenc
No such Gstreamer factory: jp2kenc
Why is this? Are the codecs in some library that I am still missing?
2. MJPEG is the only one working on very short movies
I can only use MJPEG output without erros. However if I record more than 20+ seconds I can not play the video. The file grows to the correct size but I can't view it. Can I post it somewhere for you to have a look at it? My guess is that the container does not agree with MJPEG?
3. THEORA files are 0 bytes (less important but maybe a bug?)
When using THEORA the file is never larger than 4 bytes.
I am having some problems with the GStreamer factory.
System:
- W7 x64,
- Eclipse x64,
- java 7 x64 u2,
- Procssing 1.5.1
- Using proclipse
Background:
After first installing GStreamer I had to fix libraries not being imported to eclipse properly. See problems and fixes below.
NoClassDefFoundError
https://forum.processing.org/topic/gsvideo-proclipsing-eclipse
(jna.jar was not imported properly by proclipse)
UnsatisfiedLinkError
https://forum.processing.org/topic/gsvideo-0-8-in-eclipse-unsatisfiedlinkerror-unable-to-load-library-gstreamer-0-10
(Moving gstreamer folder not imported properly by proclipse)
Current status:
Everything builds and runs now but I am experiencing other problems.
1. Can not start GStreamer factories
No such Gstreamer factory: xvidenc
No such Gstreamer factory: x264enc
No such Gstreamer factory: schroenc
No such Gstreamer factory: jp2kenc
Why is this? Are the codecs in some library that I am still missing?
2. MJPEG is the only one working on very short movies
I can only use MJPEG output without erros. However if I record more than 20+ seconds I can not play the video. The file grows to the correct size but I can't view it. Can I post it somewhere for you to have a look at it? My guess is that the container does not agree with MJPEG?
3. THEORA files are 0 bytes (less important but maybe a bug?)
When using THEORA the file is never larger than 4 bytes.
1