# Cyclical: research ![Cyclical hero](img/hero.webp) Cyclical organizes and plays movies, TV and music. Here is the public research on open media formats and keeping media playable for the long run. ## How Cyclical works **Where we are:** Free and open. Available for Mac, with Windows and Linux builds. Cyclical finds, requests, downloads, organizes and plays movies, TV and music in one fast desktop app written in Rust, instead of a stack of separate services. It always keeps the highest quality copy and streams to any device, stepping down smoothly on slow connections. ### How it works 1. **Find.** Search movies, shows and artists. 2. **Request.** Add what you want to your library. 3. **Organize.** Everything lands in one tidy library. 4. **Play.** Watch or listen on any screen. ### How it keeps going It is free. It is built and kept going by our own small team, with no ads and no selling of anyone's data. ### How we're organized - Cyclical - Library and search - Downloads - Player and streaming Everyone on the team grows through the same three levels: Explorer (starting out), Builder (growing) and Guide (on the way to mastery). ### What we've decided - One app, written in Rust. - Highest quality by default. ### What comes next - Windows and Linux installers. ### Start your own Nothing here is secret. Anyone can copy how Cyclical works and open their own version. 1. **Read this page.** Everything about how Cyclical works is here and in the public sources below. Our designs, specs and plans are public domain. 2. **Pick your name and place.** Choose your own name and where you will start. You do not need to ask us, and you do not need to call it Cyclical. 3. **Build the team.** Start with the roles in the chart above. One person can hold several roles at first. 4. **Follow the steps.** Run it the way the "How it works" steps describe, then improve on it. 5. **Share back.** Publish what you learn, so the next person can start further ahead. ## The research ### Key sources - **[Recommended Formats Statement: moving image works](https://www.loc.gov/preservation/resources/rfs/moving.html)** *Library of Congress* The Library of Congress lists the video formats it prefers for long-term keeping, favoring open, well-documented formats that many tools can read. - **[Recommended Formats Statement: audio works](https://www.loc.gov/preservation/resources/rfs/audio.html)** *Library of Congress* The same guidance for sound recordings, which favors uncompressed or openly documented formats for anything you want to keep. - **[Embracing FFV1 and Matroska as a preferred format](https://blogs.loc.gov/thesignal/2023/12/embracing-ffv1-matroska-container-preferred/)** *Library of Congress, The Signal, 2023* The Library explains why it added an open, royalty-free video codec and the open Matroska container to its preferred formats for preservation. - **[An overview of coding tools in AV1](https://www.cambridge.org/core/product/5972E00494363BE37E3439FAE382DB10/core-reader)** *APSIPA Transactions on Signal and Information Processing, 2020* A technical overview of AV1, the open, royalty-free video codec from the Alliance for Open Media, and how it compresses video efficiently. ### Streaming that steps down smoothly - **[A survey on rate adaptation techniques for dynamic adaptive streaming over HTTP](https://jonathankua.github.io/preprints/jkua-ieeecomst-dash-survey-preprint-22mar17.pdf)** *Kua, Armitage and Branch, IEEE Communications Surveys and Tutorials (preprint), 2017* This survey sorts the many ways a player can choose which quality to fetch next, by measured speed, by how full its buffer is, or both. It is a good map of the design choices behind smooth step-down on slow links. - **[A buffer-based approach to rate adaptation: evidence from a large video streaming service](https://web.stanford.edu/class/cs244/papers/sigcomm2014-video.pdf)** *Huang et al., ACM SIGCOMM, 2014* Tested on a large real streaming service, choosing quality mainly by how much video is already buffered cut stalls compared with guessing network speed, while keeping quality similar. Simple buffer-aware rules hold up well in practice. - **[Toward a principled framework to design dynamic adaptive streaming algorithms over HTTP](https://users.ece.cmu.edu/~vsekar/assets/pdf/hotnets14_mpcdash.pdf)** *Yin et al., ACM HotNets, 2014* The authors frame quality switching as a control problem that balances picture quality, stalls and how often quality jumps. The framing helps explain why the best players combine buffer and speed signals. - **[Neural adaptive video streaming with Pensieve](https://web.mit.edu/pensieve/)** *Mao, Netravali and Alizadeh, ACM SIGCOMM, 2017* A player trained with reinforcement learning chose qualities that, in the authors' tests, beat hand-written rules on a combined measure of quality and stalls. Later work suggests such gains can shrink on real networks, so they need checking in the wild. - **[Learning in situ: a randomized experiment in video streaming](https://arxiv.org/abs/1906.01113)** *Yan et al., USENIX NSDI (arXiv), 2020* Running a public live-TV site as an experiment, researchers found that methods which looked best in simulation often did not win on real viewers' connections, and that training on real data helped. Testing on real networks matters more than lab results. ### What viewers notice: stalls and quality - **[Understanding the impact of video quality on user engagement](https://cacm.acm.org/research/understanding-the-impact-of-video-quality-on-user-engagement)** *Dobrian et al., Communications of the ACM, 2013* Analyzing a very large set of real viewing sessions, the authors found that time spent stalled had the biggest effect on how long people kept watching. Avoiding pauses matters more than squeezing out extra sharpness. - **[Video stream quality impacts viewer behavior: inferring causality using quasi-experimental designs](https://groups.cs.umass.edu/ramesh/wp-content/uploads/sites/3/2019/12/Video-stream-quality-impacts-viewer-behavior-inferring-causality-using-quasi-experimental-designs.pdf)** *Krishnan and Sitaraman, ACM Internet Measurement Conference, 2012* Using methods that get closer to cause and effect than simple correlation, this study found viewers abandon videos that take too long to start and watch less after stalls. Fast start and steady playback both matter. - **[Study of temporal effects on subjective video quality of experience](https://www.colorado.edu/lab/live/publications/bampis2017study.pdf)** *Bampis et al., IEEE Transactions on Image Processing, 2017* In viewer tests, how people rated a stream depended on when stalls and quality drops happened, not just how many there were, and recent problems weighed heavily. Players should avoid frequent or late disruptions. - **[Assessing the quality-of-experience of adaptive bitrate video streaming](https://arxiv.org/abs/2008.08804)** *Duanmu et al., arXiv, 2020* The authors built a large set of viewer ratings for adaptive streams and compared quality measures against them. Many common measures fit viewers' opinions only loosely, which is why careful evaluation is needed. ### Open codecs and measuring picture quality - **[VMAF: perceptual video quality assessment](https://github.com/Netflix/vmaf)** *Netflix, open-source project* An open-source tool that scores video quality in a way designed to track what people see, by combining several simpler measures. It is widely used to decide how much a file can be compressed before viewers notice. - **[Compression efficiency analysis of AV1, VVC and HEVC for random access applications](https://www.cambridge.org/core/services/aop-cambridge-core/content/view/D2345DDC3750055AB0AA3D24FCF743BE/S204877032100010Xa.pdf/compression-efficiency-analysis-of-av1-vvc-and-hevc-for-random-access-applications.pdf)** *APSIPA Transactions on Signal and Information Processing, 2021* Comparing newer codecs under matched settings, this study found both AV1 and VVC compress noticeably better than the older HEVC, with VVC usually ahead. Results depend on encoder settings and speed, so comparisons should be read with that in mind. - **[A comprehensive video codec comparison](https://www.cambridge.org/core/journals/apsipa-transactions-on-signal-and-information-processing/article/comprehensive-video-codec-comparison/C1BEFBC1983E06BE4D67B239AC0F26A4)** *APSIPA Transactions on Signal and Information Processing, 2019* A side-by-side test of major codecs under consistent conditions, showing how much the encoder setup affects the outcome. Useful for picking formats that save space without losing quality. - **[Comparing VVC, HEVC and AV1 using objective and subjective assessments](https://research-information.bris.ac.uk/en/publications/comparing-vvc-hevc-and-av1-using-objective-and-subjective-assessm/)** *University of Bristol, 2020* This study checked codec rankings against real viewers as well as automatic scores. Viewer tests broadly agreed that newer codecs save space, though the size of the gap varied with content. ### Keeping the best copy: audio quality - **[A meta-analysis of high resolution audio perceptual evaluation](https://c4dm.eecs.qmul.ac.uk/news/2016-06-29.Hi-Res-Audio_Meta-Analysis/)** *Reiss, Queen Mary University of London (Journal of the Audio Engineering Society), 2016* Pooling many listening tests, the author found a small but real ability to tell high-resolution audio from standard quality, stronger in trained listeners. The effect is modest, which argues for keeping lossless originals rather than chasing ever larger files. ### Keeping files healthy for the long run - **[An analysis of data corruption in the storage stack](https://www.cs.utoronto.ca/~bianca/papers/fast08.pdf)** *Bairavasundaram et al., USENIX FAST, 2008* Studying a very large fleet of disks over time, the authors found that silent corruption, where data changes without any error, does happen, though rarely per disk. Over a big library and many years, checking files is worth doing. - **[Checking your digital content: what is fixity, and when should I be checking it?](https://www.digitalpreservation.gov/ndsa/working_groups/documents/NDSA-Fixity-Guidance-Report-final100214.pdf)** *National Digital Stewardship Alliance, 2014* This guide explains how archives use checksums to confirm files have not changed, and how often to check. The same practice lets a home library spot damaged files and restore good copies. - **[2017 fixity survey report](https://ndsa.org/documents/Report_2017NDSAFixitySurvery.pdf)** *National Digital Stewardship Alliance, 2017* A survey of how libraries and archives actually check file integrity found wide variation in tools and schedules. Even professionals often check less than they would like, so automating it helps. - **[Check yourself: how and when to check fixity](https://blogs.loc.gov/thesignal/2014/02/check-yourself-how-and-when-to-check-fixity/)** *Library of Congress, The Signal, 2014* A plain explainer on when to compute checksums: when files arrive, when they move and on a regular schedule. It turns preservation theory into a simple routine. - **[Sustainability of digital formats: sustainability factors](https://loc.gov/preservation/digital/formats//intro/format_eval_rel.shtml)** *Library of Congress* The Library lists what makes a file format likely to stay readable, such as open documentation, wide adoption and few patent or technical locks. These factors guide which formats a long-lived library should prefer. --- Live page: https://cyclical.systems/research Our summaries are public domain (CC0): copy and share them freely. Each original source belongs to its authors. Nothing here is medical, legal or financial advice. ## Get it ```sh git clone https://branchwell.ai/cyclical.git ```