Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : Unable to read big videos with processing 2.0.3

$
0
0
dear gtl,

thanks for replying....

yes and yes, i can do that, i didn't remember about  the default install with 1.5.1!...I shall try & tell you about the result! - But i have made new experiences since this morning, and some of them are interesting for my main problem & question: is 2.03 able to read my videos (at the beginnin they were .dv, 768/720, 576, high quality and were readwith all players, QT, VLC...and also by p1.5.1 with the standard video library ( with a lot of crashes and error messages at the very begining.

------i have transcoded my big (500MO videos) from DV to AVI; and now :

i can read them (without error or crashes) with 1.5.1 and processing video import  and also with GSvideo library (which was impossible before: no sound and very slow, error messages like "seek failed" (which is referenced in the gs library doc:: time, duration etc)).
Well, this a progress,but not so big because when i try to read the new videos with 2.03, it does not work at all when 32 bits (as before) but not at all when 64 (before it worked slowly and without sound, like GSvideo llbrary): and not any error message!

Last experience: 2.03 + GSVideo and my new videos AVI: now i get sound! but not any video!---- and a lot of messages from the console: It seems that it s some kind of ArrayBoundsOfException...

rror, disabling movieEvent() for video1.mov
java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at codeanticode.gsvideo.GSMovie.invokeEvent(Unknown Source)
    at codeanticode.gsvideo.GSMovie$2.rgbFrame(Unknown Source)
    at org.gstreamer.elements.RGBDataAppSink$AppSinkNewBufferListener.newBuffer(RGBDataAppSink.java:162)
    at org.gstreamer.elements.AppSink$2.callback(AppSink.java:180)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.jna.CallbackReference$DefaultCallbackProxy.invokeCallback(CallbackReference.java:384)
    at com.sun.jna.CallbackReference$DefaultCallbackProxy.callback(CallbackReference.java:414)
Caused by: java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
    at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:999)
    at java.awt.image.BufferedImage.<init>(BufferedImage.java:315)
    at processing.core.PImage.getNative(PImage.java:322)
    at processing.core.PImage.resize(PImage.java:616)
    at codeanticode.gsvideo.GSMovie.read(Unknown Source)
    at Loop.movieEvent(Loop.java:49)
    ... 14 more


Viewing all articles
Browse latest Browse all 1768

Trending Articles