Cool extension, but ADS works with MP4s if the computer has the codecs (Win10+ does), maybe remove that from the help file?
FFMpeg Object: Synchronous Video Player
Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.
A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.
Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!
Clickteam.
A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.
Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!
Clickteam.
-
-
Cool extension, but ADS works with MP4s if the computer has the codecs (Win10+ does), maybe remove that from the help file?
Yes but you can't assume players are not using Win 7, have those codec installed, and may conflict with other software codecs like pot player (got one report but forget the details), and that's the main reason this extension was made: during crowd founding got several reports that video cannot be played.
I can add a comment to clarify this.
-
Please login to see this link.
Latest version fixed playback issue in previous version, optimize performance, and introduces new feature to let you load from memory
-
Pretty good! I've been using FFMPEG for years and its amongst other things a fantastic media transcoding tool.
Huh... I was expecting a plethora of media file type support but it appears this object won't load Jpg files. Webp and Png are good but the good old Jpg won't load? <-Is that a bug?
Glad to see the old game fmv file formats like Smacker (Rad Game Tools) are working -
Webp and Png are good but the good old Jpg won't load? <-Is that a bug?
You can check the file with ffplay, a tool provided by FFMpeg, to see if it's supported, which will provide detailed error infos.
Please login to see this attachment.
About the jpg, as this object is designed to display video and do not have gap when loading like ADS, when a video is loaded, extension will seek to the keyframe of the position you given and decode to next valid frame with exact time stamp, to grantee there is something displayed, then revert to the given position for actual playing.
For jpg file, the seek to timestamp 0 function seems does not reset the context (for reading in short) to the state it's created, so the decode part receives an error of end of file then return blank. IDK if it's safe to skip the seek if the current time stamp equals the given time stamp (although seems it can fix the jpg issue), as it's a base function shared, not only the open routine rely on it but also other functions needs to call it.
-
Thanks for the update!
The decrypt and play function isn't working as I'd expect. It doesn't look like the (CENC) format is working which is the example I have below
Common Encryption MP4 encoding and decoding support works with FFMPEG and FFPLAY
I encoded a video using
ffmpeg -i enc01.mp4 -vcodec copy -acodec copy -encryption_scheme cenc-aes-ctr -encryption_key d553be14108497722b713724ae66b83e -encryption_kid 676c9412ddf20f20dbb37d7ef572eb94 SampleVideo_1280x720_1mb_encrypted.mp4
I know this works as I can use the following to make it play back just fine.
ffplay SampleVideo_1280x720_1mb_encrypted.mp4 -decryption_key d553be14108497722b713724ae66b83eI used the following python to generate the keys which can be as 'random' as I need.
import secrets
aes_key = secrets.token_bytes(16)
print(f"Key: {aes_key.hex()}")
The documentation is clear to me how to get the extension to play encrypted videos. I thought I'd pass the play function with the decryption key (as provided in the dialog if the video is encrypted) but nothing plays. I've tried your DLLs packages with your last git release and also downloaded the latest daily build DLLs too. You ask for other SDL dependencies too but I didn't know if they are required for decryption? -
Thanks for the update!
The decrypt and play function isn't working as I'd expect. It doesn't look like the (CENC) format is working which is the example I have below
Common Encryption MP4 encoding and decoding support works with FFMPEG and FFPLAY
I encoded a video using
ffmpeg -i enc01.mp4 -vcodec copy -acodec copy -encryption_scheme cenc-aes-ctr -encryption_key d553be14108497722b713724ae66b83e -encryption_kid 676c9412ddf20f20dbb37d7ef572eb94 SampleVideo_1280x720_1mb_encrypted.mp4
I know this works as I can use the following to make it play back just fine.
ffplay SampleVideo_1280x720_1mb_encrypted.mp4 -decryption_key d553be14108497722b713724ae66b83eI used the following python to generate the keys which can be as 'random' as I need.
import secrets
aes_key = secrets.token_bytes(16)
print(f"Key: {aes_key.hex()}")
The documentation is clear to me how to get the extension to play encrypted videos. I thought I'd pass the play function with the decryption key (as provided in the dialog if the video is encrypted) but nothing plays. I've tried your DLLs packages with your last git release and also downloaded the latest daily build DLLs too. You ask for other SDL dependencies too but I didn't know if they are required for decryption?Encrypt is done in another extension by using the bcrypt API of windows, the algorithm is BCRYPT_AES_ALGORITH, and first 8 character of the key input in fusion is the 16 byte key and later is 16 byte IV (fusion uses unicode so 8 wchar is 16 byte). If input is not enough then a not rigorously algorithm is performed to padding it based on given part.
-
Edit: Nevermind.
-
Edit: Nevermind. I didn't realize you had other posts about it.
-
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!