mdk-sdk icon indicating copy to clipboard operation
mdk-sdk copied to clipboard

Question prebuildet SDK with braw?

Open virtualized-human opened this issue 2 years ago • 11 comments

Hello,

i dont understand anything in the documentation. It says i need to add a global Option, but WHERE??? Is there a prebuild SDK + braw Plugin?

virtualized-human avatar Sep 02 '22 14:09 virtualized-human

i dont understand anything in the documentation. It says i need to add a global Option, but WHERE???

SetGlobalOption("plugins", "mdk-braw"); // before any Player is created, for example, in main()

Is there a prebuild SDK + braw Plugin?

Already in the sdk, mdk-braw.dll/so/dylib. You also need braw api libraries from blackmagic site or download from https://sourceforge.net/projects/mdk-sdk/files/deps/braw/, extract the dll/so/framework to the same location of mdk library(macos location may be different, if fails, find braw bundle url: in the log).

This is the decoder's full document: https://github.com/wang-bin/mdk-sdk/wiki/Decoders#braw

wang-bin avatar Sep 03 '22 14:09 wang-bin

You can try glfwplay example: ./glfwplay -plugins mdk-braw 123.braw

on windows, you can also run install.bat in the sdk, and then right click a braw file and open with mdk player

wang-bin avatar Sep 03 '22 14:09 wang-bin

ok. im working on linux machines...

virtualized-human avatar Sep 03 '22 14:09 virtualized-human

dpkg-based systems most, like ubuntu or debian.

virtualized-human avatar Sep 03 '22 14:09 virtualized-human

grafik so i have this now. you sayed, that i need to copy the black magic api things into the md-sdk folder? and then?

For beginners it would be nice:

if there is a 100% prebuilded BINARY for windows, linux, mac... Than users just need to download the latest release binary and execute them over a terminal or something like that.

virtualized-human avatar Sep 03 '22 15:09 virtualized-human

cp -af BlackmagicRawAPI2.6-linux64/*.so mdk-sdk/lib/amd64/
cd mdk-sdk/bin/amd64
./glfwplay -plugins mdk-braw clip.braw
./glfwplay -plugins mdk-braw -c:v BRAW:gpu=auto:copy=1:scale=1920x1080 clip.braw # faster

For beginners it would be nice:

if there is a 100% prebuilded BINARY for windows, linux, mac... Than users just need to download the latest release binary and execute them over a terminal or something like that.

Yes, but it's a plugin, and braw api libraries size is too large

wang-bin avatar Sep 03 '22 15:09 wang-bin

and how to convert with the arguments?

virtualized-human avatar Sep 03 '22 16:09 virtualized-human

convert to what?

wang-bin avatar Sep 03 '22 16:09 wang-bin

.mov for proxy editing

virtualized-human avatar Sep 03 '22 16:09 virtualized-human

no convert api yet, but you can use Player.onFrame() to get rgb frames and encode yourself. you can also try gyroflow, the plugin is used in that app, and can convert to other formats

wang-bin avatar Sep 03 '22 16:09 wang-bin

no convert api yet, but you can use Player.onFrame() to get rgb frames and encode by yourself. you can also try gyroflow, the plugin is used in that app, and can convert to other formats

获取Outlook for Androidhttps://aka.ms/AAb9ysg


From: dotxyz @.> Sent: Sunday, September 4, 2022 12:29:00 AM To: wang-bin/mdk-sdk @.> Cc: WangBin @.>; Comment @.> Subject: Re: [wang-bin/mdk-sdk] Question prebuildet SDK with braw? (Issue #69)

.mov for proxy editing

― Reply to this email directly, view it on GitHubhttps://github.com/wang-bin/mdk-sdk/issues/69#issuecomment-1236158855, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAF7WNVXZDZL2LBLPPOELJDV4N4EZANCNFSM6AAAAAAQDJXX5E. You are receiving this because you commented.Message ID: @.***>

wang-bin avatar Oct 11 '22 07:10 wang-bin