{"id":20037905,"url":"https://github.com/openedx/edx-val","last_synced_at":"2025-04-07T11:01:19.559Z","repository":{"id":37102929,"uuid":"21628067","full_name":"openedx/edx-val","owner":"openedx","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-21T02:42:25.000Z","size":1665,"stargazers_count":11,"open_issues_count":7,"forks_count":30,"subscribers_count":107,"default_branch":"master","last_synced_at":"2025-03-21T18:03:11.769Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openedx.png","metadata":{"files":{"readme":"README.rst","changelog":null,"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}},"created_at":"2014-07-08T20:11:27.000Z","updated_at":"2025-03-10T12:59:29.000Z","dependencies_parsed_at":"2023-02-18T11:15:28.735Z","dependency_job_id":"dfead388-fba5-4e05-b743-32eb1a5fd4f2","html_url":"https://github.com/openedx/edx-val","commit_stats":{"total_commits":368,"total_committers":61,"mean_commits":6.032786885245901,"dds":0.8532608695652174,"last_synced_commit":"7a584cc803839d27c8c56cabc7ad800a8b5be5fa"},"previous_names":[],"tags_count":91,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openedx%2Fedx-val","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openedx%2Fedx-val/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openedx%2Fedx-val/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openedx%2Fedx-val/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openedx","download_url":"https://codeload.github.com/openedx/edx-val/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247640459,"owners_count":20971556,"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-13T10:23:49.267Z","updated_at":"2025-04-07T11:01:19.354Z","avatar_url":"https://github.com/openedx.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"edx-val (Video Abstraction Layer)\n=================================\n\nedx-val is a django app that creates and retrieves metadata for videos and subtitles. When creating video entries, they can be assigned to preset profiles such as 'high_quality' or 'mobile_only'. When requesting a video, the client does not need to know which profile to retrieve, but only the `edx_video_id` of that video. Since all the different profiles for that particular video is returned, the client can decide which profiles they want to use. \n \nExample:\nRetrieve all profiles for a video with `edx_video_id`=\"example\"\n\n.. code-block:: python\n\n    \u003e\u003e\u003e get_video_info(\"example\")\n    {\n        'url' : '/edxval/videos/example',\n        'edx_video_id': u'example',\n        'duration': 111.0,\n        'client_video_id': u'The example video',\n        'encoded_videos': [\n            {\n                'url': u'http://www.example.com/example_mobile_video.mp4',\n                'file_size': 25556,\n                'bitrate': 9600,\n                'profile': u'mobile'\n            },\n            {\n                'url': u'http://www.example.com/example_desktop_video.mp4',\n                'file_size': 43096734,\n                'bitrate': 64000,\n                'profile': u'desktop'\n            }\n        ]\n    }\n\n \nDeveloping\n----------\n\n\nFirst, create a virtual environment:\n\n.. code-block:: bash\n\n    virtualenv venvs/val\n    source venvs/val/bin/activate\n\n\nTo run tests:\n\n.. code-block:: bash\n\n    make test\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenedx%2Fedx-val","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenedx%2Fedx-val","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenedx%2Fedx-val/lists"}