<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Atamurad H. on Medium]]></title>
        <description><![CDATA[Stories by Atamurad H. on Medium]]></description>
        <link>https://medium.com/@atamyrat?source=rss-54b8fad08542------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*lhYq9IY3nPRQmFm6Sv1NDQ.jpeg</url>
            <title>Stories by Atamurad H. on Medium</title>
            <link>https://medium.com/@atamyrat?source=rss-54b8fad08542------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 07:20:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@atamyrat/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Cinematon Story, Part 2: Bootstrapping Video On-Demand service in Central Asia]]></title>
            <link>https://atamyrat.medium.com/cinematon-story-part-2-bootstrapping-video-on-demand-service-in-central-asia-49ab58b28faf?source=rss-54b8fad08542------2</link>
            <guid isPermaLink="false">https://medium.com/p/49ab58b28faf</guid>
            <category><![CDATA[video-on-demand]]></category>
            <category><![CDATA[central-asia]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[hardware-startup]]></category>
            <category><![CDATA[bootstrapping]]></category>
            <dc:creator><![CDATA[Atamurad H.]]></dc:creator>
            <pubDate>Sun, 26 Jul 2020 06:13:45 GMT</pubDate>
            <atom:updated>2020-07-27T15:27:02.587Z</atom:updated>
            <content:encoded><![CDATA[<p>The first part of the series, <a href="https://medium.com/swlh/cinematon-bootstrapping-video-on-demand-service-in-central-asia-a61ec79af984"><strong>From Idea to Proof of Concept</strong></a>, tells the story of how we built the prototype device and tested it on real satellite.</p><h3>Funding</h3><p><strong>September 2012:</strong> After we had proof-of-concept device, there were lots of outside interest in it from investors, customers and local technology retailers. We’ve secured 330k USD from partner on very favorable terms to us, without giving a single share in company. It was basically pre-order payment for 2000 units.</p><h3>New Hardware</h3><p><strong>October 2012:</strong> We got hands on a new product from China — Android-based DVB-S/S2 receiver, powered by <a href="https://en.wikipedia.org/wiki/Amlogic#AML8726_family">Amlogic 8726</a> chip. The new platform offered a lot of advantage over the ST7110, the chipset our proof-of-concept device was running on:</p><ul><li>Leverage Android ecosystem: we could easily outsource UI application development to an outside team. Android app development is way easier than low-level pixel-painting with C/C++.</li><li>Built-in GPU enabled us to deliver better user experience with animations and 3D transitions.</li><li>And it was cheaper than ST-based solution!</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FoErA8Dg_sfT1Ssn.jpeg" /><figcaption>Android based DVB-S/S2 receiver</figcaption></figure><p>We immediately contacted the factory and requested the design of a customized product with following changes:</p><ul><li>Add an internal 1TB hard-drive for storing video library.</li><li>Remove the WiFi chip (because all content is downloaded from satellite).</li><li>Remove the NAND Flash memory (because we have internal HDD).</li><li>Add a smart card interface to copy-protect our media content securely.</li></ul><p><strong>December 2012:</strong> We received our prototype PCB from the factory. There were some minor issues that got fixed in couple days: HDMI was not working properly. Serial debugging port and Smart Card interfaces were wired incorrectly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qrF-k21xjjiheKtf.jpeg" /><figcaption>Customized prototype PCB</figcaption></figure><h3>Pixel-Perfect UI</h3><p>Vadim did an amazing job on designing UX. We outsourced UI app implementation to outside agency in Ukraine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8mtH6i8dbgSoDWcN.png" /><figcaption>Movie wall screen</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*N-r0i7OeDLX4X0aO.jpeg" /><figcaption>Movie information screen</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FnNpaYRrEzq0Jihj.png" /><figcaption>Pixel-perfect implementation — left: Screenshot form device, right: design reference</figcaption></figure><h3>Digital Rights Management</h3><p>Piracy in a satellite Pay-TV market is rampant. Our threat model included an adversary with capabilities to reverse engineer our file broadcast protocol and running <a href="https://en.wikipedia.org/wiki/Card_sharing">card-sharing</a> servers to distribute extracted decryption keys!</p><p>Each device has a unique secret key stored inside a secure smart card. Security design allowed us to black-list compromised cards (just in case) by generating a new content encryption key and securely sharing it with only devices with active and valid subscription.</p><p>We also used full-disk encryption to copy-protect our video library stored in internal HDD. It was really fun watching people in forums trying unsuccessfully to hack our device!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mMfo_j8L-3gCIAR4.jpeg" /><figcaption>Stack of smart cards being provisioned</figcaption></figure><h3>RaptorQ</h3><p>Qualcomm has a patented FEC technology called <a href="https://www.qualcomm.com/products/raptorq">RaptorQ</a>. I’ve got evaluation package to compare it against open-source LDPC implementations, and RaptorQ performance was mind blowing. Reliability and bandwidth efficiency of it allowed us to save on expensive satellite costs. We decided to license the technology.</p><h3>Pre-Production Samples</h3><p><strong>March 18, 2013:</strong> I’ve received the first batch of pre-production samples (9 pcs.) from our manufacturer in China.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pzMO-1-rTprj1kYG.jpeg" /><figcaption>Un-boxing the first box!</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fBZOmKvEGCN_LtDz.jpeg" /><figcaption>Plugging cables</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rgppA4vb3qtrQHUq.jpeg" /><figcaption>Remote Control</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*viJcEPEGQ2JXDg4I.jpeg" /><figcaption>First Cinematon powered ON.</figcaption></figure><h3>Some Random Memories</h3><h4>Bricked devices</h4><p>Bricking a device is an easy mistake to make when hacking on boot-loader. I had to use an external programmer device, align its’ pins on PCB to directly re-program clean image to the (SPI) flash memory of the device.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mXIyNI6YyprvdeXm.jpeg" /><figcaption>Burning bootloader (uBoot) to flash memory on board</figcaption></figure><h4>Foreign languages</h4><p>If you thought reading Java code was hard, try reading Java with comments in Chinese next time. :)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/924/0*GSj182VDd1yi16sh.png" /><figcaption>Screenshot from API documentation</figcaption></figure><h4>De-capping and X-rays</h4><p>We had an issue with some SATA adapters in our pre-production batch. Apparently chip companies take failures seriously — they will analyze returned chips and submit extensive report including de-capsulated and X-ray photos back to customer!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/764/0*-2sxMRtHh0BG6YKy.png" /><figcaption>Page from Failure Analysis Report of SATA chip</figcaption></figure><h4>IBC 2013</h4><p>I was really happy to meet <a href="https://en.wikipedia.org/wiki/Michael_Luby">Michael Luby</a>, the inventor of the magic algorithm that made my dream product possible!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*t-O-qFXOkfAyDMcX.jpeg" /><figcaption>Michael Luby and me at IBC 2013 in Amsterdam.</figcaption></figure><h4>Home Office</h4><p>View from my Dubai apartment/office was stunning!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*41yr4vnBI7odAFlR.jpeg" /><figcaption>Foggy morning in Dubai</figcaption></figure><p>but not so pretty inside…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*z1zICbExmLli1AnL.jpeg" /><figcaption>One of the work desks. Serial debugging cable attached to the board.</figcaption></figure><p><strong>Our manufacturer messed up the first 200pcs batch.</strong> Factory used an older version of the power control MCU (microcontroller unit) firmware — Cinematon device will start booting only after user manually presses power button! We wanted our devices to start up automatically after plugging power cord. Short period power outages happen quite frequently in my target market, and it means devices will not be receiving any new content until manually started again!</p><p>I had two options: ship devices back to China and delay the launch by another month, or get them ship replacement MCUs and rework the boards. My dad flew to Dubai right away to help with the task.</p><p><strong>This photo sums up the chaos after receiving faulty batch:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NRgoUt8If7-SV2XM.jpeg" /></figure><p>Open Cinematon devices, hot-air reworking station and microscope on kitchen table, HDD cloning devices (left), L-Band modulator (bottom-left), Cinematon shipment boxes and left-over Subway sandwiches, energy drinks on floor.</p><h3>Next in this Series..</h3><p>Part 3 will be about our public launch of the service. Follow me to read once it is ready.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=49ab58b28faf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cinematon: Bootstrapping Video On Demand Service in Central Asia]]></title>
            <link>https://medium.com/swlh/cinematon-bootstrapping-video-on-demand-service-in-central-asia-a61ec79af984?source=rss-54b8fad08542------2</link>
            <guid isPermaLink="false">https://medium.com/p/a61ec79af984</guid>
            <category><![CDATA[central-asia]]></category>
            <category><![CDATA[hardware]]></category>
            <category><![CDATA[startup]]></category>
            <dc:creator><![CDATA[Atamurad H.]]></dc:creator>
            <pubDate>Fri, 16 Nov 2018 10:43:17 GMT</pubDate>
            <atom:updated>2018-11-16T10:43:17.259Z</atom:updated>
            <content:encoded><![CDATA[<h4>Part 1 — From Idea to Proof of Concept</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pOL_hhJC0XYswaqC3JlclA.jpeg" /><figcaption>Satellite dishes. Satellite dishes everywhere! Ashgabat 2008. Photo by <a href="https://www.flickr.com/photos/23371486@N04/">nyon45</a> / Flickr</figcaption></figure><p><em>Cinematon is a Video On Demand platform that works over satellite, no Internet connection required. This multi-part series is our startup story — from idea to successful exit (2012–2014).</em></p><h3>Listening to the Open Skies</h3><p>There was a small community of tech people doing <a href="https://www.pcworld.com/article/193201/SkyGrabber.html">satellite “fishing” </a>— they tuned their receivers to known frequencies of satellite internet providers, and intercepted all files downloaded by other users. Because satellite radio signals are broadcast to one third of the Earth, anyone listening to the right frequencies could grab a copy of those files, for free.</p><p>While the received files were mostly junk, once in a while there were some useful bits to be caught, especially movie files. Back then, the Internet was super expensive and super slow in this part of the world. Movie files were like heavenly gifts from the sky. My dad was “fishing” as a hobby at home, but it was not for the average person — you needed to set up a PC with a DVB-S tuner card, configure the sky-grabbing software, and keep the system running 24/7.</p><h4>Aha! Moment</h4><p>What if I could build a simple device that just grabbed media files from the open skies? I thought I could solve the “complicated” part of the problem with an easy-to-use device, but the big challenge was all the junk files. No one would buy a device that downloads junk.</p><p>What if I could become a legit subscriber of a satellite Internet service, pay for my own data usage, and regularly download the latest high-quality movies for myself, so that everyone in the world listening to my satellite traffic could grab a copy from the air, too? “Fishers” — that is, would-be customers of my easy-to-use device — would no longer have to wait until someone downloaded a movie file. I could pay the data costs only once for my usage and push whatever files I wanted to all of my customers via satellite!</p><p>Forget the device for “fishers” — <strong>I could build Netflix for places without an Internet connection, using satellite.</strong> Satellite TV was already huge here. People in Ashgabat would buy one simple satellite tuner from me and connect it to their TV. It would automatically keep downloading the latest movies, and you could watch whatever you wanted, whenever you wanted. Netflix for Turkmenistan, that works without the Internet? It was going to be a magic device! And why be limited to Turkmenistan? The Internet was terrible in other countries too. TV was mostly junk, too — annoying ads, old movies. I was going to kill TV (just like Netflix was doing in the US). I could even charge monthly subscription fees. I was super excited about the idea!</p><h3>Pitch</h3><p>I started pitching this Netflix-for-Central-Asia-over-satellite idea to my friends in Ashgabat to get their opinion.</p><blockquote>“You can watch hundreds of movies, anytime, ad-free, HD, always updated with latest releases, no Internet required!”</blockquote><p>This new product idea was simple, but <strong>executing it was super complicated, with so many unknowns</strong>. Build custom hardware? Check. Mass manufacture it? Check. Lease broadcast traffic from satellite operators? Check. Make licensing deals with movie/media companies? Check. The politics side of it was also challenging. Some governments might consider a company pushing movies to be an independent media company, and try to regulate it as such.</p><p>Neither I nor my friends had the experience to pull it off. The idea was soon buried in the good-but-impossible ideas graveyard, never to be talked about again.</p><h3>Crunching the Numbers, aka “Business Plan”</h3><p>After initial discussions, I dropped the idea. A year passed by quickly and I moved from Ashgabat to Dubai for work. Out of the blue, one fine evening I received a message from my friend Vadim: he had an investor who liked the idea we had so long ago, was willing to put up to $1 million into it, and was waiting for a business plan.</p><p>I started contacting satellite operators — mainly Yamal and Turksat. Yamal 201 was preferable, because everyone in my target market already had a satellite dish pointed to it. Turns out, <strong>broadcasting data at a rate of 4 mbps from Yamal would cost $25,000 per month.</strong> At 4 mbps, we could push more than 40GB of new content to our subscribers every day.</p><p>Based on the prices of Linux-based satellite TV receivers on the market, I estimated our custom device would cost around $100 to manufacture. We had to have a large hard-disk on the device to store a customer’s entire media collection.</p><p>I assumed we could reach 16K subscribers in first year, and reach 100K in 5 years. It was a reasonable number, because satellite pay-TV operators in the region had tens of millions of subscribers. Charging a $10/month subscription fee to 100k customers translated into a $12M/year business!</p><p>Soon it became clear that investor was interested in 50% of the company. I thought we could do better, so we didn’t follow up. Investor’s interest kick-started us into thinking seriously about the project again.</p><p>Things looked good! On paper, at least.</p><h3>Team</h3><p>Even though we had no formal or informal agreement in place at the time, I had friends whom I saw as co-founders: Hojamyrat, who had business experience in the region and lots of connections, and Vadim, who was a super-talented designer and creative marketer. Also, my dad and brother Agajan helped us a lot.</p><p>We wanted to build a functional proof-of-concept/prototype device before raising any outside money and committing ourselves to the project. We wanted to be 100% confident that this thing could be built, and we wanted better leverage against investors.</p><p><a href="https://www.moon36.com/portfolio_page/cinematon/">Vadim</a> started working on branding, product design, and UI/UX.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/434/1*YuQjE7SA0gUN5H0WQTdgyw.png" /><figcaption>Logo design</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6qbpB02XrDXX7Vs-2zkLow.png" /><figcaption>Remote Control design</figcaption></figure><h3>Proof of Concept</h3><p>There was no way we could get custom PCB designed for our needs. It was too expensive and too risky. I decided to go with proven, off-the-shelf hardware but to install our own software and customize the device’s enclosure/casing with our branding.</p><p>I bought a bunch of Linux-based satellite receivers to hack. The <a href="http://dreambox.de/">DreamBox</a> receiver was a good candidate because it was German-made and it had open-source software, but it was expensive. The <a href="http://www.openbox.ua/">OpenBox</a> receiver, which was a Ukrainian design, was cheaper. Then there was the Chinese clone of a receiver called SparkBox. I bought one sample of each and brought them home to take them apart. The OpenBox and SparkBox were based on a CPU/chipset from ST Microelectronics. I did extensive research and decided to target the <a href="https://www.st.com/content/st_com/en/products/digital-set-top-box-ics/legacy-products/legacy-processors/sti7111.html">STi7111 chip</a> since the devices cost about ~60 USD, were widely popular, and had good Linux support.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*Q_F8sI8zviKtxd5gvawDhQ.png" /><figcaption>The SparkBox STB running the first proof-of-concept UI</figcaption></figure><p><strong>I knew nothing about programming applications for these Linux-based TV receivers. </strong>There was an open-source project called Enigma2. This project developed drivers, SDKs, and GUI code to run on the receivers using Python and C++. Reading the Enigma2 code and documentation was a great starting point. I learned how to draw graphics on a TV screen, process remote control button presses, and play video files stored on local storage.</p><p>After three or four weeks of part-time hacking, I had a super-basic GUI for a video-on-demand application running on the SparkBox hardware. It showed movie posters on the main screen and allowed users to select, play, pause, fast forward, and rewind movies all from a remote control. I had just programmed my first TV application, and it worked beautifully!</p><h3>Lab set-up</h3><p>I needed satellite internet in my home lab for testing and development of this Proof of Concept device. Getting satellite internet in my Dubai apartment would be almost impossible — it would require getting a permit for dish installation in residential apartment, plus huge setup and monthly costs for dedicated satellite Internet service.</p><p>Looking for an alternative solution, I discovered that there are L-Band satellite modulators that receive IP traffic and generate a radio frequency (RF) signal as if it is coming from a real satellite. The only downside — the list price for these devices brand new is $10,000. Luckily, eBay came to my rescue — I was able to find a used one for $1,000, and shortly afterward, I had my lab set-up and was ready.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/778/1*Jdj-uuBPwnzQ-hf02Mbxfw.jpeg" /><figcaption>Sat signal generator purchased on eBay</figcaption></figure><h3>The Magic Math</h3><p>Another important piece that was missing was the software to reliably deliver media files to all customers, simultaneously, over the single satellite channel.</p><p>Achieving this meant addressing two separate challenges:</p><ol><li><strong>Broadcasting over satellite is a one-way channel.</strong> On the Internet, a client can request the missing or lost packets from the server again. Unfortunately, in our case, there is not a feedback channel from our clients’ devices back to us. Our clients’ devices can only listen to us, not talk to us.</li><li><strong>Radio channels, especially over satellite, are noisy and unreliable.</strong> Lost packets occur frequently because of bad weather, interference, or improperly connected cables and dishes.</li></ol><p>One naïve solution to these issues would be to blindly re-transmit everything twice, and hope that, between the two transmissions, our clients received everything they needed. However, this solution would double our already-expensive satellite bandwidth costs, and would not be reliable on a large scale.</p><p>As it turns out, our broadcasting problem is quite well studied, and effective and practical solutions are already widely deployed in communication systems ranging from mobile networks to Mars rovers.</p><p>The magic solution is <a href="https://en.wikipedia.org/wiki/Erasure_code">Erasure Correcting Code (ECC)</a>, which is an algorithm that enriches our file with enough redundant information to allow for reconstruction of missing pieces. Upon implementing ECC, our 1GB media file grew to 1.3GB, but it enabled us to play back original video content in crystal-clear quality, even in noisy environments and bad weather scenarios.</p><p>Open Source <a href="http://planete-bcast.inrialpes.fr/article344d.html?id_article=7">low-density parity-check (LDPC)</a> implementation was good enough for our prototype device.</p><h3>On-Air!</h3><p>It was time to test our prototype in the real world, and we needed an actual satellite channel. Instead of going directly to the satellite operator and leasing a dedicated transponder, we signed up for an account on <a href="https://www.lansat.ru/">LanSat</a> (a one-way satellite Internet provider) and arranged to pay by data usage ($0.01 per megabyte (MB)). After some <a href="https://en.wikipedia.org/wiki/UDP_hole_punching">UDP hole-punching</a> tricks, I could use the service for test broadcast purposes.</p><p>The first video file was broadcasted over the <a href="https://en.wikipedia.org/wiki/Yamal_201">Yamal 201</a> satellite and successfully received by our prototype set-top box, and was playing on TV. <strong>Amazingly, something that seemed impossible before was finally real and in our hands!</strong></p><h3>Lessons Learned</h3><ul><li><strong>Exploit the Unusua</strong>l. No internet access and lots of satellite dishes in the region was not a setback for providing digital services, but an opportunity to exploit.</li><li><strong>Buy used lab equipment. </strong>1k USD L-Band satellite modulator on eBay was a far sight better than the 10k USD we would have spent on a new device. Every dollar counts during product development phase.</li><li><strong>Math Works. </strong>Do research on computer science problems underlying your technology. Understand state-of-the-art solutions and theoretical limitations.</li><li><strong>Prototype on existing platform. </strong>Don’t rush with getting custom PCB designs done.</li></ul><h3>Next in this Series…</h3><p>Part 2 will be about how we brought our prototype device into mass production. Follow me to read once it is ready.</p><figure><a href="https://medium.com/swlh"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YqDjlKFwScoQYQ62DWEdig.png" /></a></figure><h4>This story is published in <a href="https://medium.com/swlh">The Startup</a>, Medium’s largest entrepreneurship publication followed by +389,305 people.</h4><h4>Subscribe to receive <a href="http://growthsupply.com/the-startup-newsletter/">our top stories here</a>.</h4><figure><a href="https://medium.com/swlh"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ouK9XR4xuNWtCes-TIUNAw.png" /></a></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a61ec79af984" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/cinematon-bootstrapping-video-on-demand-service-in-central-asia-a61ec79af984">Cinematon: Bootstrapping Video On Demand Service in Central Asia</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>