{"id":17011801,"url":"https://github.com/flaribbit/ffms2_wolfram_mathematica_link","last_synced_at":"2026-04-18T19:33:29.797Z","repository":{"id":137699335,"uuid":"195912405","full_name":"flaribbit/ffms2_Wolfram_Mathematica_Link","owner":"flaribbit","description":null,"archived":false,"fork":false,"pushed_at":"2020-10-29T01:29:58.000Z","size":133,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-02T04:59:20.969Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flaribbit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-09T01:49:09.000Z","updated_at":"2020-10-29T01:30:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"49f63e76-3b3a-4076-9512-8cd3146cfc77","html_url":"https://github.com/flaribbit/ffms2_Wolfram_Mathematica_Link","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/flaribbit/ffms2_Wolfram_Mathematica_Link","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flaribbit%2Fffms2_Wolfram_Mathematica_Link","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flaribbit%2Fffms2_Wolfram_Mathematica_Link/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flaribbit%2Fffms2_Wolfram_Mathematica_Link/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flaribbit%2Fffms2_Wolfram_Mathematica_Link/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flaribbit","download_url":"https://codeload.github.com/flaribbit/ffms2_Wolfram_Mathematica_Link/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flaribbit%2Fffms2_Wolfram_Mathematica_Link/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31982743,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T17:30:12.329Z","status":"ssl_error","status_checked_at":"2026-04-18T17:29:59.069Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T06:08:04.240Z","updated_at":"2026-04-18T19:33:29.769Z","avatar_url":"https://github.com/flaribbit.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ffms2_Wolfram_Mathematica_Link\n\nA library for Wolfram Mathematica (version 11+,mine 12) to read video file via ffms2 library.\n\n## How to compile\n\nOpen CMD, then run `make`\n\n## Sample code:\n\nFirst, declaring functions: \n\n```Mathematica\nModule[{lib,ffms2,ffms3,ffms4},\nlib=ExpandFileName@\"ffmslink.dll\";\nLibraryLoad@ExpandFileName@\"ffms2.dll\";\nLibraryFunctionLoad[lib,\"Init\",{},\"Void\"][];\nffms2=LibraryFunctionLoad[lib,\"OpenVideoSource\",{String},Integer];\nffms3=LibraryFunctionLoad[lib,\"CloseVideoSource\",{Integer},\"Void\"];\nffms4=LibraryFunctionLoad[lib,\"GetFrame\",{Integer,Integer},Image];\nFFMSOpen[file_]:=Block[{p},p=ffms2[file];If[p\u003e0,video$[p],$Failed]];\nGetFrame[n_]@video$@p_:=If[p===$Failed,$Failed,ffms4[p,n]];\nDestroy@video$@p_:=ffms3[p];]\n```\n\nThen:\n\n```Mathematica\nvideo = FFMSOpen[\"test.flv\"]\nvideo // GetFrame[0]\nvideo // Destroy\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflaribbit%2Fffms2_wolfram_mathematica_link","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflaribbit%2Fffms2_wolfram_mathematica_link","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflaribbit%2Fffms2_wolfram_mathematica_link/lists"}