{"id":18399058,"url":"https://github.com/anandnet/flutter_video_info","last_synced_at":"2025-04-07T05:34:04.721Z","repository":{"id":53538937,"uuid":"238305660","full_name":"anandnet/flutter_video_info","owner":"anandnet","description":"A flutter plugin to get basic metadatainfo of a video file.","archived":false,"fork":false,"pushed_at":"2025-04-02T02:06:53.000Z","size":139,"stargazers_count":12,"open_issues_count":15,"forks_count":39,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-02T02:38:25.883Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/flutter_video_info","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anandnet.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2020-02-04T21:02:04.000Z","updated_at":"2025-04-02T02:06:57.000Z","dependencies_parsed_at":"2024-04-10T03:33:06.779Z","dependency_job_id":"f1d733f6-d989-4de2-adf6-659aa29a3ab7","html_url":"https://github.com/anandnet/flutter_video_info","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anandnet%2Fflutter_video_info","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anandnet%2Fflutter_video_info/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anandnet%2Fflutter_video_info/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anandnet%2Fflutter_video_info/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anandnet","download_url":"https://codeload.github.com/anandnet/flutter_video_info/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247601378,"owners_count":20964861,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-11-06T02:25:38.274Z","updated_at":"2025-04-07T05:33:59.712Z","avatar_url":"https://github.com/anandnet.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://pub.dev/packages/flutter_video_info\" rel=\"nofollow\"\u003e\u003cimg src=\"https://img.shields.io/badge/pub-v1.3.1-blue\" alt=\"pub package\" data-canonical-src=\"https://img.shields.io/pub/v/sliding_up_panel.svg\" style=\"max-width:100%;\"\u003e\u003c/a\u003e\n\u003cimg src=\"https://img.shields.io/badge/Platform-android%20%7C%20ios-green\" alt=\"pub package\" data-canonical-src=\"https://img.shields.io/pub/v/sliding_up_panel.svg\" style=\"max-width:100%;\"\u003e\n# flutter_video_info  1.3.1\n\nThis plugin uses MediaMetadataRetriever class of native android to get basic meta information \nof a video file.\n\n\n\u003cb\u003eThe following info can be extracted by this plugin:\u003c/b\u003e\n\n`title`\n`path`\n`author`\n`mimetype`\n`height`\n`width`\n`filesize`\n`duration`\n`orientation`\n`date`\n`framerate`\n`location`\n\n\n\n## Installation \u0026 Uses\n\nAdd `flutter_video_info` as a dependency in your pubspec.yaml file ([what?](https://flutter.io/using-packages/)).\n```\ndependencies:\n    flutter_video_info: \u003ccurrent version\u003e\n```\n\nImport FlutterVideoInfo in your dart file.\n```dart\nimport 'package:flutter_video_info/flutter_video_info.dart';\n\nfinal videoInfo = FlutterVideoInfo();\n\nString videoFilePath = \"your_video_file_path\";\nvar info = await videoInfo.getVideoInfo(videoFilePath);\n\n//String title = info.title;   to get title of video\n//similarly path,author,mimetype,height,width,filesize,duration,orientation,date,framerate,location can be extracted.\n\n```\n\n## for iOS\nIf you select a video from your photo library, \nAdd the following keys to your Info.plist file, located in /ios/Runner/Info.plist:\n\nNSPhotoLibraryUsageDescription - describe why your app needs permission for the photo library. This is called Privacy - Photo Library Usage Description in the visual editor.\n\n\n## Troubleshooting\n  Checkout \u003ca href=\"https://github.com/anandnet/flutter_video_info/blob/master/troubleshoot.md\"\u003ehere\u003c/a\u003e\n    \n## PR is welcomed\n  Anyone can pr for these  \u003ca href=\"https://github.com/anandnet/flutter_video_info/issues\"\u003eissues\u003c/a\u003e\u003c/br\u003e\n  Thanks for your PR Over IOException issue \u003ca href=\"https://github.com/martinale14\"\u003e@martinale14\u003c/a\u003e,\u003ca href=\"https://github.com/devianl2\"\u003e@devianl2\u003c/a\u003e and \u003ca href=\"https://github.com/nagendarbalajij-devs\"\u003e@nagendarbalajij-devs\u003c/a\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanandnet%2Fflutter_video_info","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanandnet%2Fflutter_video_info","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanandnet%2Fflutter_video_info/lists"}