1. BurningPlatform's Avatar
    Hey,

    Does someone happen to have ffmpeg and/or wget binaries compiled for BB10 and would be kind enough to share? I need them for a private project, solely for my own use (but if it ever reaches publicly usable state then I might make it freely available for everyone in the future). For some reason I can't make it compile on Windows and there's no Linux machine within my reach at the moment.

    Thank you very much in advance!
    07-19-17 01:10 PM
  2. thurask's Avatar
    This might be ffmpeg: Index of /ffmpeg/
    You probably found these instructions on compiling wget already, but they're designed for Mac/Linux.
    BurningPlatform likes this.
    07-19-17 05:23 PM
  3. BurningPlatform's Avatar
    Hey thurask,

    Thank you very much! I'll check ffmpeg right away.

    I do know how to compile, the problem is that I am on vacation at the moment and I only have access to a seriously messed up computer where I cannot make the compiler work correctly... If I have the binaries, I could go on with everything else...
    07-19-17 06:41 PM
  4. thurask's Avatar
    I spun up a Ubuntu VM and followed the instructions. If it worked, this is wget 1.15 (1.19.1 didn't build):

    https://mega.nz/#!2MsXRByK!Y3li9T40H...8bmxPxHqofLG-A
    BurningPlatform likes this.
    07-20-17 01:01 AM
  5. BurningPlatform's Avatar
    Great, thank you!!

    In the meantime, I managed to quickly install Ubuntu in VMware and I managed to successfully build the latest ffmpeg. Works fine but by default it lacks external encoders (including e.g. mp3lame) so I'll build it again with all the useful stuff and then I'll post it.
    I also tried to build the latest wget (1.19) but there were some issues. I'll try again after I finish with ffmpeg.
    07-20-17 01:27 AM
  6. BurningPlatform's Avatar
    OK, so here are the binaries:

    1) wget 1.19.1 (latest):

    https://mega.nz/#!7ZoHRJiR!UIMDKTTYy...OMUI5V8uvEevs4

    2) FFmpeg (both libraries and ffmpeg/ffprobe executables)

    https://mega.nz/#!fAwzzYDT!CnT9Japxe...d5xIEaoBsN3aT0
    Last edited by BurningPlatform; 07-27-17 at 10:30 PM.
    tollfeeder likes this.
    07-20-17 06:46 AM
  7. tollfeeder's Avatar
    Thanks! I always had trouble compiling later wget versions(curl works fine though). Runs great with Term48.

    Via Pasta CB10
    07-20-17 07:12 AM
  8. BurningPlatform's Avatar
    You're welcome!

    OK, now the question is: does anyone know the correct syntax to use for libmp3lame ./configure to cross-compile it for armv7 so that ffmpeg can be built with it? Can't figure out this damn thing. Without libmp3lame ffmpeg lacks mp3 encoding, so it is hardly usable....
    07-20-17 08:35 PM
  9. BurningPlatform's Avatar
    As promised, here is ffmpeg built with libmp3lame and x264, i.e. pretty much complete as the built-in codecs cover all the rest. The archive contains command line tools, shared libs and includes, so it can be used both as a standalone tool (e.g. in Term48) and included in your apps.

    Tested, works perfectly fine. I've also tested it with youtube-dl, works great, too.

    https://mega.nz/#!fAwzzYDT!CnT9Japxe...d5xIEaoBsN3aT0

    P.S. As I didn't want to further waste my time trying to make it cross-compile, I simply installed BB10-native-tools and I built everything directly on the device. It works perfectly fine (albeit slow, but still faster than wasting hours on trying to make some more complex projects cross-compile) so I warmly recommed it to everyone
    tollfeeder likes this.
    07-24-17 08:14 AM
  10. tollfeeder's Avatar
    Thank you! I tried converting a video to a gif and it worked just fine . Good stuff.

    Via Pasta CB10
    07-25-17 05:32 AM
  11. BurningPlatform's Avatar
    07-27-17 10:28 PM
  12. tollfeeder's Avatar
    Here's the latest nano version (2.8.6) Zippyshare.com - nano.tar
    07-28-17 08:00 AM
  13. excelangue's Avatar
    Hey, thanks for the wget binary! I've had a hell of a time trying to get OpenSSL to compile properly.
    Threw together a couple "package management" scripts this morning: https://catfish.it.cx/~excel/bb10/
    Currently have gnupg, ledger-cli, most of git, and a customized nano build. I just put up a package for the wget version that you posted, too.

    Any luck to get Python to compile? Now that's an effort! And GNU Autotools is why I mostly cross-compile. No luck getting that to build unfortunately.

    And if you're handy with C, Term48 is open source: https://github.com/mordak/term48. Hopefully we can get some good stuff pushed out before BBW shuts down!
    02-01-18 07:19 PM
  14. BurningPlatform's Avatar
    I've compiled the latest versions of wget (1.20) and curl (7.64), both with OpenSSL, if someone still needs it.

    https://mega.nz/#!7UBlzYQR!uGkf9d_mW...4tKRl4l7RZiM-A

    BTW. I've recently made (for my own use) a YouTube background player and downloader, based on youtube-dl. Youtube-dl's own Update function (to download latest youtube-dl versions) doesn't work on BB10 due to some SSL error (SSL handshake problem with github.com website), so I wanted to use wget or curl for that. Sadly, the same error occurs. Options like --no-check-certificate or --insecure don't help.

    Could someone please try (on BB10):

    wget http://yt-dl.org/downloads/latest/youtube-dl

    or

    curl -LO 'http://yt-dl.org/downloads/latest/youtube-dl'

    and see if there's any workaround for this SSL error? Or is it a problem with BB10's OpenSSL version?
    03-04-19 11:57 AM
  15. Leyra B10's Avatar
    I've compiled the latest versions of wget (1.20) and curl (7.64), both with OpenSSL, if someone still needs it.

    https://mega.nz/#!7UBlzYQR!uGkf9d_mW...4tKRl4l7RZiM-A

    BTW. I've recently made (for my own use) a YouTube background player and downloader, based on youtube-dl. Youtube-dl's own Update function (to download latest youtube-dl versions) doesn't work on BB10 due to some SSL error (SSL handshake problem with github.com website), so I wanted to use wget or curl for that. Sadly, the same error occurs. Options like --no-check-certificate or --insecure don't help.

    Could someone please try (on BB10):

    wget http://yt-dl.org/downloads/latest/youtube-dl

    or

    curl -LO 'http://yt-dl.org/downloads/latest/youtube-dl'

    and see if there's any workaround for this SSL error? Or is it a problem with BB10's OpenSSL version?
    Ive been using the stock browser, open a bookmark while the video is playing, or use the url.
    https://autoraidapi.github.io/Bookmarklets/

    Posted via CB10
    03-04-19 02:09 PM
  16. BurningPlatform's Avatar
    I've got no problems with video playback. The app I made is very convenient - just long-press on a video on YouTube site (or hundreds of other sites that youtube-dl supports) and then "Open with" or "Share" from the menu and select the app. It silently gets the video URL using youtube-dl and presents you with options to either watch it, or download it (as video or only audio). If you select playback, it opens the video in the stock browser (which can be minimized during playback) and the app silently closes itself.

    The problem I have is only with the youtube-dl's update function so that new versions can be automatically downloaded. Not really important but it'd make the app fully polished. So I tried to replace this functionality using wget or curl, but I get the same SSL related connection problem, which seems to have something to do with github.com specifically.

    I'm not really familiar with this SSL stuff so it would be great if someone else could check what's the reason of it.
    03-04-19 04:21 PM
  17. BurningPlatform's Avatar
    Well, sadly, it must be a BB10 SSL implementation problem with this specific site (some redirect from github.com). Lack of proper TLS version support on BB10 required by the server, or something like that.

    I've coded the download function from scratch in Qt using QNetworkAccessManager, and it also gives me that crappy "SSL handshake failed" error for this specific site only. Works fine with virtually everything else.

    Time to give up, I guess.
    03-05-19 01:31 AM
  18. Leyra B10's Avatar
    Well, sadly, it must be a BB10 SSL implementation problem with this specific site (some redirect from github.com). Lack of proper TLS version support on BB10 required by the server, or something like that.

    I've coded the download function from scratch in Qt using QNetworkAccessManager, and it also gives me that crappy "SSL handshake failed" error for this specific site only. Works fine with virtually everything else.

    Time to give up, I guess.
    This happening after a cached redirect?

    Posted via CB10
    03-05-19 04:23 AM
  19. BurningPlatform's Avatar
    There are multiple (3) redirects in total from the original URL. Two go fine, the problem occurs at the final, third redirect.

    I guess it wants TLS 1.2 and BB10 still doesn't support it (and most probably never will).


    Edit: It seems that I was right. Other people also reported this issue to youtube-dl maker and the answer posted is that Github is now TLS 1.2 only which makes it impossible to download files from it on machines with older SSL...

    https://githubengineering.com/crypto...cation-notice/
    Last edited by BurningPlatform; 03-05-19 at 04:55 AM.
    03-05-19 04:31 AM
  20. Leyra B10's Avatar
    There are multiple (3) redirects in total from the original URL. Two go fine, the problem occurs at the final, third redirect.

    I guess it wants TLS 1.2 and BB10 still doesn't support it (and most probably never will).


    Edit: It seems that I was right. Other people also reported this issue to youtube-dl maker and the answer posted is that Github is now TLS 1.2 only which makes it impossible to download files from it on machines with older SSL...

    https://githubengineering.com/crypto...cation-notice/
    It sounds to me like a Cached as 304, and CORS request problem. Idk 100% but I can dl from youtube and github on my z10, and parse json from github if I get 200, but not 304.

    Posted via CB10
    03-07-19 07:06 PM
  21. BurningPlatform's Avatar
    Well, the error explicitly says that it is a SSL handshake problem (SSL Error 6) and in many places I've read that it is protocol related.

    From what I could find, BlackBerry implemented TLS 1.2 in the stock browser only, and they kept the rest intact. They probably built the current browser version with its own newer version of SSL libraries, but they didn't bother to update the general ones.

    When I find some time, I'll try to compile the newest version of OpenSSL libs myself and then static build of wget so that it uses them instead of the system ones.
    03-07-19 07:18 PM
  22. berradicted_fr's Avatar
    Hey, thanks for the wget binary! I've had a hell of a time trying to get OpenSSL to compile properly.
    Threw together a couple "package management" scripts this morning: https://catfish.it.cx/~excel/bb10/
    Currently have gnupg, ledger-cli, most of git, and a customized nano build. I just put up a package for the wget version that you posted, too.

    Any luck to get Python to compile? Now that's an effort! And GNU Autotools is why I mostly cross-compile. No luck getting that to build unfortunately.
    Work In Progress: build a the Python 3.2 package for bb10 ..

    https://stackoverflow.com/questions/...rmat-long-long

    then, 3.3 might be easy to get .. then 3.4, etc.
    11-25-19 08:12 PM

Similar Threads

  1. KEYone charging voltage and amps
    By chang69 in forum BlackBerry KEYone
    Replies: 6
    Last Post: 07-25-17, 08:09 AM
  2. Music Player + DAC/AMP
    By GeorgeF_Greece in forum BlackBerry Passport
    Replies: 2
    Last Post: 07-02-17, 09:37 PM
  3. Using a higher amp charger
    By curves2000 in forum BlackBerry Passport
    Replies: 17
    Last Post: 06-30-17, 09:50 PM
  4. AT&T / Asurion Insurance Z10 Replacement
    By bb10adopter111 in forum BlackBerry Z10
    Replies: 2
    Last Post: 06-17-17, 12:57 PM
  5. How can I direct unlock the 9360 from at&t ? Is there a way??
    By CrackBerry Question in forum Ask a Question
    Replies: 1
    Last Post: 05-11-17, 12:11 AM
LINK TO POST COPIED TO CLIPBOARD