04-26-2013 06:35 AM
I have created multiple posts months ago here and on cascades forum and kept them live by even replying to my own posts in the hope somebody would have the kindness to tell me how to get thumbnails for videos stored on my device. Nobody replied.
The thing is I have an app which is high up in the top grossing section so I am reaching out to BlackBerry in the hope that they will respond for their customers sake. Otherwise the app has to add another 4/5 MB to it's size by including FFMPEG just to pull a frame and save that frame as a JPEG. Getting thumbnails this way is also bad for me and my customers (and BlackBerry's customers) as there seems to be an intermittent issue with FFMPEG and BlackBerry 10 which causes Malloc Check Failed but this is very rare so I have no idea what to do about it - I do know the line where the crash happens and have tried to change the code many times but still the crash occurs every now and again.
Please can somebody from BlackBerry respond to a Developer that is trying his best to be succesful on their platform and tell me how to get a video thumbnail for a video, please.
04-26-2013 08:17 AM
Could you include a link here to those threads so that someone could easily find them?
PIN: C0001B7B4 Display/Scan Bar Code
PIN: C0005A9AA Display/Scan Bar Code
04-26-2013 08:32 AM
hopefully someone will see how desperate I am to release an app which doesn't take 5MB on BlackBerry's users devices just for a thumbnail of video.
04-26-2013 05:44 PM
We apologize for the delay; the fact that you didn't get traction with your forum post (things have been quite busy in my end and I haven't had the chance to browse the forums for multimedia apps related questions).
Unfortunately, at the moment, I don't think there is any easy way (for example with a BlackBerry API) which will allow you to take thumbnails of the media files in the *Shared* folders. For the timebeing, the FFMPEG way (or some other libraries) might be the only way. Also, the 5 MB overhead you mentioned, is that the only overhead you are noticing? That is, the final size of the app is just increased by 5 MB (or when it is processing 1 image)? Or are you saying that is the size for every thumbnail image you are retrieving and saving?
The core media player apps (the ones which are bundled with the production OS) uses some internal libraries and API which allows them to fetch the thumbnails and use them effciently. What you could do, is create an API/feature request through the Developer Issue Tracker (https://www.blackberry.com/jira/secure/Dashboard.j
04-27-2013 07:17 AM
Thanks for giving me an offical answer.
The app filesize is increased by about 5MB is what I mean when it really wouldn't even be more than 1MB in size if it wasn't for including FFMPEG.
I'm just glad that I'm not missing something really simple to get the job done.
04-28-2013 08:10 PM
Note that if you are concerned about the user being suspicious/concerned of the app size being > 5 MB, you can always try to reflect something on the app download description through the vendor portal.
05-12-2013 11:32 AM
[...] tell me how to get a video thumbnail for a video, please.
There is an undocumented, unsupported way you might want to explore:
05-13-2013 02:48 AM
05-13-2013 04:01 AM
Am I the only one that seems to remember when they first started pushing the BB10 platform that one of the main points was that there would be no more RIM only APIs and that us 3rd party developers would get the same tools as RIM so we would be on a level playing field?
I remember the same thing.
On BB Java it was quite awful to tell customers that stuff they see on their device is not possible as the APIs are internal.
I can understand that some important companies may get early access to certain APIs, like skype getting headless, but having internal APIs by design i cannot wrap my head around.
05-13-2013 04:17 AM
I've been pushing for 8 months for a level playing field and the ability to integrate Files & Folders to the same level as the preinstalled cloud apps. In fact, as the way Box & Dropbox are integrated into BB10 was my idea, it is only fair that we should get a chance to do the same...