{"id":23076458,"url":"https://github.com/iamgmujtaba/vid2tc","last_synced_at":"2025-08-01T04:11:40.441Z","repository":{"id":163144928,"uuid":"461386732","full_name":"iamgmujtaba/vid2tc","owner":"iamgmujtaba","description":"Generate thumbnail containers from videos.","archived":false,"fork":false,"pushed_at":"2024-12-09T01:30:56.000Z","size":24799,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T19:22:58.903Z","etag":null,"topics":["frames","images","multimedia","sprites","thumbnail-generator","thumbnail-grids","thumbnail-images","thumbnails","video","video-thumbnail-generator","video-thumbnails"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iamgmujtaba.png","metadata":{"files":{"readme":"README.md","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,"publiccode":null,"codemeta":null}},"created_at":"2022-02-20T04:50:19.000Z","updated_at":"2024-12-09T01:31:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"f3e3a934-bdeb-4a75-bed5-bb8e548b0e08","html_url":"https://github.com/iamgmujtaba/vid2tc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iamgmujtaba/vid2tc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamgmujtaba%2Fvid2tc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamgmujtaba%2Fvid2tc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamgmujtaba%2Fvid2tc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamgmujtaba%2Fvid2tc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iamgmujtaba","download_url":"https://codeload.github.com/iamgmujtaba/vid2tc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamgmujtaba%2Fvid2tc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268167476,"owners_count":24206581,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["frames","images","multimedia","sprites","thumbnail-generator","thumbnail-grids","thumbnail-images","thumbnails","video","video-thumbnail-generator","video-thumbnails"],"created_at":"2024-12-16T09:39:19.140Z","updated_at":"2025-08-01T04:11:40.399Z","avatar_url":"https://github.com/iamgmujtaba.png","language":"Python","readme":"# Generate Thumbnail Containers from Videos like YouTube\n\nThis repository explains the process of generating thumbnail containers from videos. In recent years, several methods have been designed to improve the demanding timeline manipulation for video browsing. One of the most popular methods for web-based video players is using lightweight thumbnail containers. Users can quickly skim through the video player and instantly preview a lengthy video by watching the thumbnail preview in the web player interface. As the thumbnails are easy to integrate and navigate in web-based video players, several famous video-on-demand (VoD) streaming platforms adopt these in their end-user video players [ref1](https://arxiv.org/abs/2201.09049).\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/iamgmujtaba/vid2tc/blob/master/figures/thumb_sample.png\" width=\"550\" height=\"300\"\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003cem\u003eOrientation of thumbnails on a single thumbnail container image (left), and the thumbnail usage for instant preview in the client web-based YouTube video player\u003c/em\u003e\n\u003c/p\u003e\n\n## Table of Contents\n- [Overview](#overview)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Example](#example)\n- [References](#references)\n\n## Overview\nThis project provides a framework to generate thumbnail containers from videos, similar to the functionality on platforms like YouTube. The generated thumbnails can provide instant previews in web-based video players, enhancing the user experience by allowing efficient video browsing.\n\n## Installation\nTo install and set up the project, follow these steps:\n\n- Clone the repository\n```bash\ngit clone https://github.com/iamgmujtaba/vid2tc.git\n```\n\n- Navigate to the project directory\n\n```bash\ncd vid2tc\n```\n\n- Create an anaconda environment and install packages\n```bash\nconda create -n vid2tc python=3.10 -y\nconda activate vid2tc\n```\n\n- To install dependencies using pip please type the command.\n```bash\npip install -r requirements.txt\n```\n## Usage\nTo use the project, run the main script with the appropriate arguments. Below is an example command:\n\n\n```bash\npython .\\main.py -h\n\n`optional arguments:\n  -h, --help            show this help message and exit\n  -i INP_PATH, --inp_path INP_PATH   Input videos path\n  -o OUT_PATH, --out_path OUT_PATH   Output videos path\n  -s SEG_LEN,  --seg_len SEG_LEN     Segments length (seconds)\n  -a AUDIO,    --audio AUDIO         Extract audio (True/False)\n  -f FRAMES,   --frames FRAMES       Extract video frames (True/False)\n  --thumb_width THUMB_WIDTH          Thumbnail width\n  --thumb_height THUMB_HEIGHT        Thumbnail height\n  --thumb_interval THUMB_INTERVAL    Thumbnail extraction interval in seconds\n  --thumb_container THUMB_CONTAINER  Thumbnail container size (e.g. 5 means 5x5 grid)\n```\n\n## Example\nTo generate thumbnail containers and prepare video segments, run the following script.\n```bash\npython .\\main.py -i .\\input\\ -o .\\output\\\n```\n\n## References\nThis code is referenced in the following papers. If you utilize this code for your research, please cite our work.\n```bash\n@article{mujtaba2023frc,\n  title = {FRC-GIF: Frame Ranking-based Personalized Artistic Media Generation Method for Resource Constrained Devices},\n  author = {Mujtaba, Ghulam and Ali Khowaja, Sunder and Aslam Jarwar, Muhammad and Choi, Jaehyuk and Ryu, Eun-Seok},\n  journal = {IEEE Transactions on Big Data},\n  volume = {},\n  pages = {1-14},\n  year = {2023},\n  publisher = {IEEE},\n  doi = {10.1109/TBDATA.2023.3338012},\n}\n\n@article{mujtaba2020client,\n  title={Client-driven personalized trailer framework using thumbnail containers},\n  author={Mujtaba, Ghulam and Ryu, Eun-Seok},\n  journal={IEEE Access},\n  volume={8},\n  pages={60417--60427},\n  year={2020},\n  publisher={IEEE}\n}\n\n@article{mujtaba2022ltc,\n  title={LTC-SUM: Lightweight Client-driven Personalized Video Summarization Framework Using 2D CNN},\n  author={Mujtaba, Ghulam and Malik, Adeel and Ryu, Eun-Seok},\n  journal={IEEE Access},\n  year={2022}\n}\n\n@article{mujtaba2021,\n  title={Client-driven animated GIF generation framework using an acoustic feature},\n  author={Mujtaba, Ghulam and Lee, Sangsoon and Kim, Jaehyoun and Ryu, Eun-Seok},\n  journal={Multimedia Tools and Applications},\n  year={2021},\n  publisher={Springer}}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamgmujtaba%2Fvid2tc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiamgmujtaba%2Fvid2tc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamgmujtaba%2Fvid2tc/lists"}