{"id":16724857,"url":"https://github.com/rolinh/yuvcutter","last_synced_at":"2025-04-10T10:22:25.150Z","repository":{"id":8297630,"uuid":"9839368","full_name":"rolinh/yuvcutter","owner":"rolinh","description":"Tool to cut the first N frames from a RAW YUV video file (mirror repository)","archived":false,"fork":false,"pushed_at":"2013-12-08T15:57:32.000Z","size":244,"stargazers_count":10,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T09:11:29.127Z","etag":null,"topics":["cli","frame-cutter","raw-video","yuv","yuv-video"],"latest_commit_sha":null,"homepage":"https://projects.gw-computing.net/projects/yuvcutter","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rolinh.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}},"created_at":"2013-05-03T15:57:59.000Z","updated_at":"2023-03-16T01:13:23.000Z","dependencies_parsed_at":"2022-07-22T00:47:01.959Z","dependency_job_id":null,"html_url":"https://github.com/rolinh/yuvcutter","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rolinh%2Fyuvcutter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rolinh%2Fyuvcutter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rolinh%2Fyuvcutter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rolinh%2Fyuvcutter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rolinh","download_url":"https://codeload.github.com/rolinh/yuvcutter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248199080,"owners_count":21063641,"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":["cli","frame-cutter","raw-video","yuv","yuv-video"],"created_at":"2024-10-12T22:46:59.524Z","updated_at":"2025-04-10T10:22:25.127Z","avatar_url":"https://github.com/rolinh.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SYNOPSIS\n\n**yuvcutter** cuts the first \"N\" frames from raw YUV video files. \"N\" is equal\nto \"1\" by default but you can easily change it using `-N` option.\nYUV supported format are 4:2:0, 4:2:2 and 4:4:4.\nNote that as this YUV files are raw files with no information on content, you\nneed to specify the video width and height in order for **yuvcutter** to behave\nas expected. By default, it assumes the input video is \"1920x1080\".\n\nWhy would I need to cut the first frames from a YUV file you might ask?\nHere is a typical use case: you have an H264 encoded video file and you want to\ncompute the PSNR by comparing it to the original YUV video that was used as a\nrecord source. Therefore, you use the H264/AVC JM reference software to decode\nthe video and compare the resulting YUV file with the original file. However, if\nyou want your computed PSNR to be correct, you need the two videos to start at\nexactly the same frame each. Here comes **yuvcutter** as it allows you to cut\nthe first \"N\" frames of your reference video file so your both YUV files start\nwith the same video frame.\n\n**yuvcutter** has also the ability to display the number of frames contained in\nthe YUV video file.\n\n# BUILD\n\n**yuvcutter** has not dependy apart from the standard C library.\nTo generate `yuvcutter` executable, just type the following from the root's\ndirectory:\n\n    make\n\nTo generate the manpage, type the following:\n\n    make doc\n\nPlease, note that you normally do not have to generate the manual page since I\nkeep an updated copy in man/man1 directory. However, if you want to regenerate\nthe manpage, you will need to have the `ronn` tool installed on your machine\n(`ronn` can be installed as a Ruby gem by typing `gem install ronn`).\n\nIf you want to install **yuvcutter** on your system, simply type the following:\n\n    make install\n\nBy default, it will install in \"/usr/local\" folder but you can change the\ndestination by specifying the \"DESTDIR\" variable.\n\n\u003c!-- vim: set filetype=markdown textwidth=80 --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frolinh%2Fyuvcutter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frolinh%2Fyuvcutter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frolinh%2Fyuvcutter/lists"}