{"id":23660643,"url":"https://github.com/longnguyen2004/facebookvideooptimizer","last_synced_at":"2025-10-14T00:44:28.223Z","repository":{"id":61529160,"uuid":"547186569","full_name":"longnguyen2004/FacebookVideoOptimizer","owner":"longnguyen2004","description":"A script to optimize videos for Facebook \"Source Quality\"","archived":false,"fork":false,"pushed_at":"2023-06-13T09:08:26.000Z","size":194,"stargazers_count":10,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-01T15:41:05.644Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/longnguyen2004.png","metadata":{"files":{"readme":"README.en.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-10-07T09:16:50.000Z","updated_at":"2024-10-14T11:50:52.000Z","dependencies_parsed_at":"2025-09-01T15:32:21.284Z","dependency_job_id":"de921164-12f3-44b1-8d24-8babb24eb087","html_url":"https://github.com/longnguyen2004/FacebookVideoOptimizer","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/longnguyen2004/FacebookVideoOptimizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/longnguyen2004%2FFacebookVideoOptimizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/longnguyen2004%2FFacebookVideoOptimizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/longnguyen2004%2FFacebookVideoOptimizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/longnguyen2004%2FFacebookVideoOptimizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/longnguyen2004","download_url":"https://codeload.github.com/longnguyen2004/FacebookVideoOptimizer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/longnguyen2004%2FFacebookVideoOptimizer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017364,"owners_count":26086052,"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-10-13T02:00:06.723Z","response_time":61,"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":[],"created_at":"2024-12-29T03:59:42.384Z","updated_at":"2025-10-14T00:44:28.209Z","avatar_url":"https://github.com/longnguyen2004.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Facebook Video Optimizer\n\n## Tips for high quality recordings\n\nNever use CBR or VBR for recording. These modes don't adapt the bitrate to the video, which will waste bitrate for simple content (osu!,...) and starve bitrate for complex content (Geometry Dash,...)\n\nSome recommended settings for different encoders:\n\n- x264: CRF 20-23\n- NVIDIA NVENC: CQP 20, Preset: Quality, enable Look-ahead and Psycho Visual Tuning\n- Intel QuickSync: LA-ICQ 20-23\n- AMD AMF: CQP, Quality Preset: Quality, I-frame QP: 20, P-frame QP: 25\n\nThis script do NOT increase frame rate (30 -\u003e 60), so the source video must be in 60fps.\n\n## How to download\n\nClick Code -\u003e Download ZIP on the upper right corner\n\n## Prerequisites\n\n- (Windows) Visual C++ Redistributable ([AIO][vc++-aio])\n- PowerShell ([Windows][pwsh-win], [macOS][pwsh-macos], [Linux][pwsh-linux])\n- Note:\n  - Windows 7: The last supported version is 7.2.7 (WYSI!). Download it here ([32][pwsh-7.2.7-32], [64][pwsh-7.2.7-64])\n\n[vc++-aio]: https://github.com/abbodi1406/vcredist/releases\n[pwsh-win]: https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows#msi\n[pwsh-macos]: https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-macos\n[pwsh-linux]: https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-linux\n[pwsh-7.2.7-32]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.7/PowerShell-7.2.7-win-x86.msi\n[pwsh-7.2.7-64]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.7/PowerShell-7.2.7-win-x64.msi\n\n## How to run\n\n- Windows: Run `run.en.bat` and follow the instructions\n- macOS (soon) \u0026 Linux: Run `run.en.sh` and follow the instructions\n\n## Note about console font\n\nIf you see this\n\n![Console font warning](/docs/change_console_font/warning.png?raw=true)\n\nYou are using Windows 7/8/8.1, and need to change the console font before continuing. Please follow these steps\n\n1. Right click the title bar, and select Properties\n\n![Changing font, figure 1](/docs/change_console_font/1.png?raw=true)\n\n2. Select Consolas or Lucida Console, and click OK\n\n![Changing font, figure 2](/docs/change_console_font/2.png?raw=true)\n\n## Why?\n\nScreen recordings usually have high bitrate, due to the nature of hardware encoders. As such, they'll get processed (badly) by Facebook, which will reduce the quality and frame rate. If the source video's bitrate is below 2000kbps, Facebook will offer a \"Source\" quality option, which will preserve the original quality of the video (theoretically).\n\n## How?\n\nBy using x264 in 2-pass VBR mode, the video will be transcoded to 1800kbps (video) + 128kbps (audio), which will keep the highest quality possible, within the constraints of Facebook.\n\n## Notes\n\nNot all videos can be compressed equally. \"Simple\" videos (with little motion) is easier to compress than \"complex\" videos (with lots of motion). Inspect the quality of the output before uploading.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flongnguyen2004%2Ffacebookvideooptimizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flongnguyen2004%2Ffacebookvideooptimizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flongnguyen2004%2Ffacebookvideooptimizer/lists"}