A New Livepeer Video Mining Rig is born
Tags: livestreaming, blockchain, cryptocurrency, gpu
Published: 2021-03-03 11:25:29

---
title: A New Livepeer Video Mining Rig is born
published: true
date: 2021-03-01 12:33:55 UTC
tags: livestreaming,blockchain,cryptocurrency,gpu
canonical_url: https://medium.com/coinmonks/a-new-livepeer-video-mining-rig-is-born-46919de23eae
---

### How I Set up a Livepeer node and earned over 1000$ in a month

In this article, I’ll walk you through setting up a Livepeer node from start to finish, give you an idea of what type of hardware is required and give you an idea of how much you could earn.

#### What is Livepeer

[Livepeer](https://livepeer.org) is an open-source decentralised protocol for providing video and live streaming infrastructure that runs on the [Ethereum](https://ethereum.org) blockchain.

As a hardware provider wanting to provide video infrastructure services you can connect to the Livepeer network which serves as a trustless intermediary to allow you to exchange your services with those that require it such as live streaming applications (e.g. [PlayDJ.tv](https://playdj.tv) ) .

Currently, the Livepeer network provides the service of **Video Transcoding**. This takes an input video in a certain resolution and bitrate and converts it into other resolutions and bitrates so that every end-user can enjoy the content regardless of their connection speed. This process is what enables you to select different video qualities on websites such as YouTube or Twitch.tv.

![](https://cdn-images-1.medium.com/max/1024/1*fvTFs_7hwciFNjbfyjiCTw.png)

#### What is Video Mining

Video Mining is an alternative term for Video Transcoding that is more intuitive in the blockchain space.

When transcoding or video mining you take in small chunks of source video from a Broadcaster, in e.g. a 1080p resolution, and convert them to whatever resolutions the Broadcaster requires. Most common are 720p, 480p and 360p.

![](https://cdn-images-1.medium.com/max/1024/1*zhTG63vcvTbcyk3G13ABxg.png)

Just as with cryptocurrency mining this process can be performed by both a CPU and GPU, where the latter usually outperforms the former. On Nvidia graphic cards video transcoding happens on specific chips (NVENC for encoding and NVDEC for decoding) rather than the CUDA cores used for general compute (the video memory is a shared resource). This means your machine can still perform a variety of other tasks while you are video mining. This is interesting because it allows the Livepeer network to **tap into existing hardware** that is already running. So if you own an Nvidia GPU this is worth checking out.

#### Video Mining Pools

Currently, there is Video Mining Pool called Livepool, created by yours truly. It works similarly to a cryptocurrency mining pool. You connect your node to the pool, provide it with an address you want to receive payouts on and you’re off to the races!

Check out [https://livepool.io](https://livepool.io) for instructions.

![](https://cdn-images-1.medium.com/max/1024/1*Z7oUI6BL9weir45MvNfBNA.png)

#### Hardware Requirements

_For this article we’ll only consider GPU setups._

You’ll need at least one Nvidia GPU, currently Livepeer does not support AMD cards. A list of compatible cards can be found [here](https://developer.nvidia.com/video-encode-and-decode-gpu-support-matrix-new). Generally speaking, you’d want at least an Nvidia Geforce GTX 1050 or better. Newer generations of cards have better NVENC and NVDEC chips that produce a [better quality video](https://www.youtube.com/watch?v=6fyP7kg0QAc).

Other hardware for your machine is up to you, just make sure everything you order is compatible and don’t make the same mistake I did (more on that later). Generally, you want a decent processor, at least 8 GB of RAM, and preferably an SSD.

#### Other Requirements

First thing you’ll need if you’re going to run everything on-premise you’ll need a static IP from your ISP, access to good bandwidth, and unlimited data (you can expect a couple of terrabytes of data exchange monthly).

You don’t need a static IP if you split your set-up between a lightweight GPU node (or multiple) on-premise and a “business logic” node ran from a datacenter.

Second, you’ll need access to the Ethereum blockchain. You can either run your own node or create a free account on [https://infura.io](https://infura.io) or [https://alchemy.io](https://alchemy.io) (I only tested infura limits for the free tier).

Since Livepeer runs on the Ethereum blockchain you’ll need some Ethereum to pay for transaction costs. You’ll also need some Livepeer Tokens to put up as a security bond and to indicate that you are open for work. You can get Ethereum on most cryptocurrency exchanges. You can then get some Livepeer Token via Uniswap, click “Get LPT” in the bottom left of the [Livepeer Network Explorer](https://explorer.livepeer.org/) to open the Uniswap widget.

![](https://cdn-images-1.medium.com/max/1024/1*OWLa3gLYtbWlPxTbwZnKHQ.png)

#### My Setup

Last year I purchased two barely used Nvidia Geforce GTX 1070 cards from a gaming team for about 400 EUR. They were collecting dust until now, but I decided with the huge increase in demand on the Livepeer network I’d finally put them to good use.

![](https://cdn-images-1.medium.com/max/1024/1*Kqvo3asQLxiiLMeeOLw6zQ.png)

For my CPU I got a AMD Ryzen 5 3600 3,6 Ghz , this is a decent mid-range CPU and will do the job just fine and will even allow you to run some other stuff as well. At first I ordered a Ryzen 5 2600 but it was incompatible with my motherboard, which set me back a week waiting for the new CPU to arrive.

Other parts:  
- Motherboard: Asro B550 Phantom Gaming 4 with 2x PCIe 16x slots and one PCIe 1x slot. So you can have up to 3 GPUs if you use a riser for the 1x slot.   
- Platinum rated 1200W Power supply  
- Corsair 16 GB DDR4–3200 RAM  
- 1 TB M.2 SSD

I have a 250 Mbps connection and can upgrade to gigabit if needed, I also have a static IP from my ISP for 25 EUR monthly but I don’t use it for my Livepeer setup currently.

I run my 2 GPUs from home and my “business logic” node , also known as an Orchestrator, from a datacenter (e.g. AWS, DigitalOcean, Azure, … ).

It’s been nearly over 5 years since I’ve built a computer so after some hurdles such as ordering the wrong CPU, not knowing cooling paste was already applied, getting the power supply in the case I’ve learn that I’m terrible at this but probably even worse at cable management. Looks like I ain’t closing this baby up with the tempered glass pane anytime soon.

![](https://cdn-images-1.medium.com/max/1024/1*-Q7LrtX-KlbyQ__EF5eJdg.png)

#### Setting up our Livepeer node

This will be a rough rundown, I won’t go into every detail here, for that you can follow [the official documentation](https://livepeer.readthedocs.io/en/latest/transcoding.html).

1. Download the software   
You can download a compressed executable from the releases page on Github: [https://github.com/livepeer/go-livepeer/releases](https://github.com/livepeer/go-livepeer/releases)
2. Unpack your download   
On windows you can just use something like WinRAR or WinZip, otherwise uncompress the tarball using the following command:

```
tar -zxvf livepeer-linux-amd64.tar.gz
```

3. Move the unpacked Livepeer binary into your executable PATH, alternatively you can just run it from that directory as well.

4. If you run your setup fully on-premise you’ll need to open a port on the public internet and forward it to port 8935 (default) on your machine.

5. We can now start our node for the first time and register it with the Livepeer protocol. On first start it will automatically create an Ethereum account for you and ask you to choose a password. By default you can find the encrypted private key for this account in ~/.lpData/mainnet/keystore .

```
livepeer -network mainnet -orchestrator -transcoder -ethUrl <your_infura_url> -pricePerUnit 1 -serviceAddr <your public IP>:8935
```

6. Next start up the Livepeer CLI: livepeer\_cli

under “Node Stats” find your “ETH Account” and send it theEthereum and Livepeer Tokens you purchased earlier.

![](https://cdn-images-1.medium.com/max/1024/1*22XH_yeQS117IkFHYvKpDg.png)

7. Once your LPT and ETH has arrived pick 12. Invoke multi-step "become an orchestrator".

First enter your reward cut, this will be your commission on Livepeer Tokens that are delegated to your node from other users that will earn inflationary Livepeer tokens.

Then enter which percentage of your earned fees from video mining you would like to share with users that delegate their Livepeer tokens to you.

After that you will have to set your publicly accessibly service URL, this will be your public IP on port 8935.

Next you will be asked to bond Livepeer Tokens, bond all the LPT you have sent yourself earlier.

Once you have completed this step you have to wait until the next round of the protocol to start until your node becomes active. Rounds take a little less than a day.

#### Earnings and Test Results

The node has been running for a little over a month now and has so far earned 0.87 ETH or about 1200$ at current prices which is almost enough for me to retrieve my hardware cost already, although I should probably discount about 300$ for transaction fees which were pretty steep recently. Since I already pay my ISP regardless the only extra costs are the electricity which is way lower than mining (currently pulling 10–60 Watt per GPU) and my datacenter costs which are about 100$ a month.

I experimented for about a week with a full on-premise set-up which greatly improved my results on the [Livepeer leaderboard](https://explorer.livepeer.org/?orchestratorTable=performance) but resulted in much less actual work received due to me being further away from the Broadcasting nodes where most demand comes from.

![](https://cdn-images-1.medium.com/max/1024/1*WyT-GIdaCz6htUTBaA4BMQ.png)

#### Questions?

Drop by the [Livepeer Discord server](https://discord.gg/FfER5HeG), we’re happy to help you!

> Join Coinmonks [Telegram group](https://t.me/joinchat/EPmjKpNYwRMsBI4p) and learn about crypto trading and investing

#### Also, Read

- What is a [Flash loan](https://blog.coincodecap.com/what-are-flash-loans-on-ethereum)?
- The Best [Crypto Trading Bot](https://medium.com/coinmonks/crypto-trading-bot-c2ffce8acb2a) | [Grid Trading](https://blog.coincodecap.com/grid-trading)
- [3Commas Review](https://medium.com/coinmonks/3commas-review-an-excellent-crypto-trading-bot-2020-1313a58bec92) | [Pionex Review](https://medium.com/coinmonks/pionex-review-exchange-with-crypto-trading-bot-1e459d0191ea) | [Coinrule review](https://blog.coincodecap.com/coinrule-review-a-perfect-trading-bot)
- [AAX Exchange Review](https://medium.com/coinmonks/aax-exchange-review-2021-67c5ea09330c) | [Deribit Review](https://medium.com/coinmonks/deribit-review-options-fees-apis-and-testnet-2ca16c4bbdb2) |[FTX Exchange Review](https://medium.com/coinmonks/ftx-crypto-exchange-review-53664ac1198f)
- [NGRAVE ZERO review](https://medium.com/coinmonks/ngrave-zero-review-c465cf8307fc) | [Phemex Review](https://medium.com/coinmonks/phemex-review-4cfba0b49e28) | [PrimeXBT Review](https://medium.com/coinmonks/primexbt-review-88e0815be858)
- [Bybit Exchange Review](https://medium.com/coinmonks/bybit-exchange-review-dbd570019b71) | [Bityard Review](https://blog.coincodecap.com/bityard-reivew) | [CoinSpot Review](https://blog.coincodecap.com/coinspot-review)
- [3Commas vs Cryptohopper](https://medium.com/coinmonks/3commas-vs-pionex-vs-cryptohopper-best-crypto-bot-6a98d2baa203) | [Earn crypto interest](https://medium.com/coinmonks/earn-crypto-interest-b10b810fdda3)
- The Best Bitcoin [Hardware wallet](https://medium.com/coinmonks/the-best-cryptocurrency-hardware-wallets-of-2020-e28b1c124069?source=friends_link&sk=324dd9ff8556ab578d71e7ad7658ad7c) | [BitBox02 Review](https://medium.com/coinmonks/bitbox02-review-your-swiss-bitcoin-hardware-wallet-c36c88fff29)
- [Ledger vs Ngrave](https://blog.coincodecap.com/ngrave-vs-ledger) | [Ledger nano s vs x](https://blog.coincodecap.com/ledger-nano-s-vs-x)
- [Crypto Copy Trading Platforms](https://medium.com/coinmonks/top-10-crypto-copy-trading-platforms-for-beginners-d0c37c7d698c) | [Bityard copy trading](https://blog.coincodecap.com/bityard-copy-trading)
- [Vauld Review](https://blog.coincodecap.com/vauld-review) | [YouHodler Review](https://medium.com/coinmonks/youhodler-4-easy-ways-to-make-money-98969b9689f2) | [BlockFi Review](https://medium.com/coinmonks/blockfi-review-53096053c097)
- The Best [Crypto Tax Software](https://medium.com/coinmonks/best-crypto-tax-tool-for-my-money-72d4b430816b) | [CoinTracking Review](https://medium.com/coinmonks/cointracking-review-a-reliable-cryptocurrency-tax-software-5114e3eb5737)
- Best [Crypto Lending Platforms](https://medium.com/coinmonks/top-5-crypto-lending-platforms-in-2020-that-you-need-to-know-a1b675cec3fa) | [Leveraged Token](https://medium.com/coinmonks/leveraged-token-3f5257808b22)
- [Ledger Nano S vs Trezor one vs Trezor T vs Ledger Nano X](https://blog.coincodecap.com/ledger-nano-s-vs-trezor-one-ledger-nano-x-trezor-t)
- [BlockFi vs Celsius](https://medium.com/coinmonks/blockfi-vs-celsius-vs-hodlnaut-8a1cc8c26630) | [Hodlnaut Review](https://blog.coincodecap.com/hodlnaut-review)
- [Bitsgap review](https://blog.coincodecap.com/bitsgap-review) | [Quadency Review](https://medium.com/coinmonks/quadency-review-a-crypto-trading-automation-platform-3068eaa374e1) | [Bitbns Review](https://blog.coincodecap.com/bitbns-review)
- [Ellipal Titan Review](https://medium.com/coinmonks/ellipal-titan-review-85e9071dd029) | [SecuX Stone Review](https://blog.coincodecap.com/secux-stone-hardware-wallet-review)
- [DEX Explorer](https://explorer.bitquery.io/ethereum/dex) | [w](https://explorer.bitquery.io/graphql) | [LocalBitcoins Review](https://blog.coincodecap.com/localbitcoins-review)
- Best [Blockchain Analysis](https://bitquery.io/blog/best-blockchain-analysis-tools-and-software) Tools | [Earn Bitcoin](https://blog.coincodecap.com/earn-bitcoin)
- [Crypto arbitrage](https://medium.com/coinmonks/crypto-arbitrage-guide-how-to-make-money-as-a-beginner-62bfe5c868f6) guide: How to make money as a beginner
- Best [Crypto Charting Tool](https://medium.com/coinmonks/what-are-the-best-charting-platforms-for-cryptocurrency-trading-85aade584d80) | [Best Crypto Exchange](https://medium.com/coinmonks/crypto-exchange-dd2f9d6f3769)
- [How to buy Bitcoin in India](https://blog.coincodecap.com/buy-bitcoin-app-india)?
- [Bitcoin exchange in India](https://medium.com/coinmonks/bitcoin-exchange-in-india-7f1fe79715c9) | [Bitcoin Savings Account](https://blog.coincodecap.com/bitcoin-savings-account)
- What are the [best books to learn about Bitcoin](https://medium.com/coinmonks/what-are-the-best-books-to-learn-bitcoin-409aeb9aff4b)?

> [Get Best Software Deals Directly In Your Inbox](https://medium.com/coinmonks/newsletters/coinmonks)

[![](https://cdn-images-1.medium.com/max/584/1*BoDnKUyK8p4hitHAJZ5Pdw.png)](https://medium.com/coinmonks/newsletters/coinmonks)

* * *