This post is part of my gRPC and ASP.NET Core series. The samples in this post are based on versions you can find in my complete demo application up on my gRPC Demos GitHub repository.Īs a bonus, we’ll make use of some newer C# 8 language features in our code! I'm going to continue to experiment with settings and see if I can do better.In this post, I want to focus on the implementation of server streaming and client consumption of the stream when using gRPC with. It's too low, even though the FFMPEG settings seem to be at the right place. The above process works REALLY well, but I'm not happy with the bitrate I'm getting into YouTube or Twitch. I highly recommend it! Issues I'm Working On I don't have a way to solve this natively with FFMPEG at the moment, but I do use Restream for streaming to multiple services. When the video is done streaming, the stream will automatically shut down! More than one streaming service? This command will automatically start streaming your content to your RTMP server of choice. Here is the command I'm using to setup FFMPEG: ffmpeg -re -i -pix_fmt yuvj420p -x264-params keyint=48:min-keyint=48:scenecut=-1 -b:v 4500k -b:a 128k -ar 44100 -acodec aac -vcodec libx264 -preset medium -crf 28 -threads 4 -f flv rtmp:// Learn More Step 3: Setting up FFMPEG and GO LIVE □ Want me to save you some time, here are the servers for YouTube and Twitch: It's used by YouTube, Twitch, and other streaming services. RTMP stands for Real-Time Messaging Protocol, and it's a protocol used to transmit large bits of audio and video. In order to go live with FFMPEG, you need two key pieces of information: About 10 minutes later, I have a new, fully encoded file that was ready to go. I took all 3 hours of my content, and I dropped it into Adobe Premiere end-to-end. Turns out, it's not that difficult with FFMPEG. HEY! What if I could take the 3-4 hours of content I've built and stream it on my channels? But sometimes schedules conflict, and I'm not able to do anything. Because this was specially created content, I wanted to see if there was a way that I could distribute it that was more than just "posting it on YouTube".Īs a member of the Live Coders, I try to stream on Twitch at least once a week. Recently, I regained some of the rights to some video courses I've built over the past two years.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |