-
Im trying to create thumbnails of many different kind of videos using your ffmpeg backend. My code is simple:
to keep the build as small as posible i have added only this maven:
and only build the x64 part -Djavacpp.platform=linux-x86_64 This video is working fine: https://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_720p_stereo.avi Im not sure if this is a bug or i am just missing something to build in. I have attached a coredump |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
I'm not able to reproduce this issue here, everything works fine. What are the values of the fields of the Frame (imageWidth, imageHeight, imageDepth, imageChannels, imageStride, and image) that you get? |
Beta Was this translation helpful? Give feedback.
-
BTW, I removed calls to deprecated functions recently, so be sure to try with JavaCV 1.5.6-SNAPSHOT as well: http://bytedeco.org/builds/ |
Beta Was this translation helpful? Give feedback.
-
with 1.5.6-SNAPSHOT:
with 1.5.5
|
Beta Was this translation helpful? Give feedback.
-
I found the problem with 1.5.5. The Java2DFrameConverter doesnt like it if i stop the FFmpegFrameGrabber bevor converting the frame to an BufferedImage. This code is working:
|
Beta Was this translation helpful? Give feedback.
I found the problem with 1.5.5.
The Java2DFrameConverter doesnt like it if i stop the FFmpegFrameGrabber bevor converting the frame to an BufferedImage.
This code is working: