Wednesday, March 18, 2020

Best Live Streaming Settings for Facebook, YouTube

thumb image

Choosing the best live streaming settings for your platform is vital to a successful live video.

Among the many technical aspects surrounding live streaming, there are a few things every streamer should now be able to choose the best live streaming settings for Facebook, YouTube, Twitch and any other platform. The best settings for live streaming are not necessarily the highest quality settings. Apart from the video quality, when it comes to live streaming, bitrates, encoding and latency are just as important.

Understanding Live Streaming Settings

Before you can decide the best live streaming settings for your live videos, you need to know what goes into it. These are a few technical aspects of live streaming of which every streamer should be aware.

Video quality

Video quality is one of the most important aspects of video in general. Within video quality, there are 2 things we need to focus on: resolution and frame rate. The resolution is the size of the video on the screen in pixels. One example of a high resolution would be 1080p, which means the screen will be 1920×1080 pixels. We also refer to them as HD (high-definition), SD (standard-definition), and 4K, which is an ultra-high-definition video (2160p).
A video is, in fact, several still images in a sequence. Each image in this sequence is called a frame. So, if the frame rate of a video is 30 fps (frames per second), it means that each second has 30 images. The more frames you have, the smoother the video will be. When you have a low frame rate, like 15 fps, your video will be choppy. Ideally, you should try to stream at a higher frame rate (30 fps). If you want a cinematic look, you can go for the 24 fps which is the frame rate many movies are shot at.
Higher resolution will require a higher bitrate and the higher frame rate takes more from your hardware.

Bitrate – Internet speed

You have a certain amount of available internet bandwidth and part of that is dedicated to uploading. You can run a test at  Speedtest.net and find out your upload speed. Bitrates refer to how much data is sent through your live stream. It’s as if the bits “carry” the information from your video to the platform. So, higher resolutions demand higher bitrates.
Your video bitrate and your audio bitrate should always be 20% lower than your upload speed, to keep your live stream stable. If you have 10 Mbps upload speed, your video and audio should be less than 8 Mbps. But, keep in mind that higher resolutions will also demand more from the computer.
Always test things before going live, to make sure you’re putting out quality and stable stream. Many live streaming applications already come with presets, so you don’t need to be an expert at bitrates, but it’s important to know what it is.

Encoding & Latency

Encoding is basically taking the video information in this specific format and translating it to a different one, that the live streaming platform understands. An encoder software, like ManyCam, usually has presets to help you determine your encoding power. Some will say, from slow to very fast, others might call it high quality or high speed. Regardless of the name, these presets can help you achieve the quality live stream you want.
The faster the encoding is, the less quality your video will have but the easier it will be to carry out the information. When you choose a slower encoding preset, you will get a better quality but with a bigger delay between what the camera captures and what the viewers see.
Apart from the settings in the software, you can also prepare your live streaming platform. YouTube refers to this delay as live streaming latency. If you want real-time interaction with your viewers, lower latency is a better option, but they might experience more playback buffering. On the other hand, if this isn’t your priority, a normal latency will reduce the buffering.

Platforms and Live Streaming Settings

Each platform has its own specifications. Although they might be similar, it’s important to know what’s different between them to make sure your live streams are stable and have good quality.

Best Live Streaming Settings for Facebook


Facebook live video map

Here are the video format guidelines recommended for Facebook Live:
  • Recommended max Facebook bitrate is 4000 Kbps (4 Mbps).
  • Max resolution: 1080p (1920×1080) resolution, at 60 fps.
  • An I-frame (keyframe) must be sent at least every 2 seconds throughout the stream.
  • Titles must have fewer than 255 characters or the stream will fail.
  • H264 encoded video and AAC encoded audio-only.
Source: Facebook
When compared to YouTube or Twitch, Facebook has a lower quality streaming. The maximum video resolution accepted by Facebook is 1080p, while on YouTube you can have resolutions as high as 4K / 2160p.
Although these are Facebook’s recommended settings, they might not be the best live streaming settings for you. It depends on the equipment you have at hand and your internet speed. To achieve a good quality live stream, you have to run a few tests and see what works best for your setup.

Facebook Live stream latency

For example, try streaming at a lower quality and see how your video turns out. Here, it’s important to analyze the end quality of your stream and the delay between what your camera is capturing and what’s displayed to the viewers (latency). You might be able to get away with a lower quality video because it will “travel” faster through your connection and your viewers will have a more real-time experience.
But, if you need to show images and videos in higher quality, then you will need your internet speed to keep up with your live stream. Even with great bandwidth, delays can happen. You might get a bit more latency, which is not necessarily a bad thing. All it means is the experience will not be as real-time as with lower latency. The advantage here is, it reduces viewers playback buffering.

Best Live Streaming Settings for YouTube


best live streaming settings for YouTube

For most people, the optimal YouTube live stream settings look like this:

  • Resolution: 1080p (1920x1080p)
  • FPS: 30 fps or 60 fps
  • Video bitrate between 3,000 and 6,000 Kbps.
Here is the full list of YouTube’s best live streaming settings:

Resolutions

  • 4K / 2160p (3840x2160p) at 60 fps or 30 fps
  • 1440p (2560x1440p) at 60 fps or 30 fps
  • 1080p (1920x1080p) at 60 fps or 30 fps
  • 720p (1280x720p) at 60 fps or 30 fps
  • Or lower.

YouTube streaming bitrate

The suggested streaming bitrate will increase according to the resolution and FPS of your live video. For example:
  • 4k videos at 60 fps: 20,000 – 51,000 Kbps
  • 4k videos at 30 fps: 13,000 – 34,000 Kbps
  • 1440p videos at 60 fps: 9,000 – 18,000 Kbps
  • 1440p videos at 30 fps: 6,000 – 13,000 Kbps
  • 1080p videos at 60 fps: 4,500 – 9,000 Kbps
  • 1080p videos at 30 fps: 3,000 – 6,000 Kbps
The best YouYube bitrate settings for your stream can vary greatly because it relies on many factors. If you are unsure of the best bitrate for your stream, you can leverage a live encoder software such as ManyCam, which can define it automatically for you to achieve the best possible quality.

Encoder settings

Protocol: RTMP Streaming
Video codec:
  • H.264, 4.1 for up to 1080p 30 FPS
  • H.264, 4.2 for 1080p 60 FPS
  • H.264, 5.0 for 1440p 30 FPS
  • H.264, 5.1 for 1440p 60 FPS
  • H.264, 5.1 for 2160p 30 FPS
  • H.264, 5.2 for 2160p 60 FPS
Frame rate: up to 60 fps
Keyframe frequency: Recommended 2 seconds (do not exceed 4 seconds)
Audio codec: AAC or MP3
Bitrate Encoding: CBR

Recommended advanced settings

  • Pixel aspect ratio: Square
  • Frame types: Progressive Scan, 2 B-Frames, 1 Reference Frame
  • Entropy coding: CABAC
  • Audio sample rate: 44.1 KHz
  • Audio bitrate: 128 Kbps stereo
Source: YouTube
Since YouTube is a video-first platform, as you can see, there are many options when it comes to live streaming. The best live streaming settings will again depend on your live streaming setup. You should always aim for the highest quality stream, as long as it gives you a reliable stream base.
Most people go for a 1080p resolution, at 30 fps, which will give you a good quality stream and the video bitrate can vary between 3,000 – 6,000 Kbps. As with any other platform, it’s essential to test before going live. Run a speed test to check your upload bitrate. Also, do a test live streaming session. Apart from the quality of the video itself, YouTube recommends testing your audio and movement.

Tuesday, February 18, 2020

What can you do about the bad sectors?

In the very first place, you need to aware of that the data that has already written to the bad sectors is rarely difficult to recover.
1. Type "command prompt" in the Windows Search pane, right click it from the results and select "Run as administrator" to open an elevated Command Prompt window.
2. When prompted, type "chkdsk f: /f /r" and press 'Enter' key, the tool will now find any bad sectors and attempt to repair them.
Note: the data may be permanently lost if the bad sectors can’t be recovered.
Run CHKDSK
3. If you also want to check the sectors on different hard drives, you should replace f: with the letter of the other drives.


Wednesday, February 12, 2020

Fastest Way TO Mirror Android Screen to PC No Root using WiFi or USB


-------------------------------------------------------------------------------------------- Download -------------------------------------------------------------------------------------------- ADB Drivers: http://adbdriver.com/downloads/ SCRCPY: https://github.com/Genymobile/scrcpy -------------------------------------------------------------------------------------------- Steps -------------------------------------------------------------------------------------------- 1. Install adb drivers. 2. Download & extract SCRCPY. 3. Add extracted folder location in environment variables. 4. Open Command prompt (press win + R and type cmd). 5. Type cd followed by extracted file location to change directory of command prompt. 6. Enable USB debugging in your phone & connect it to PC. 7. Type adb devices to check connected device. 8. Now type scrcpy. Now your screen mirroring will be started. -------------------------------------------------------------------------------------------- For wireless screen mirroring follow upto 7 steps as given above. 1. Now type adb tcpip 5556 and disconnect your phone from PC . 2. Find IP address of your phone in by going to Setting/About Phone/Status. 3. Type adb connect your phone IP address:5556. 4. Now Type scrcpy -b 2M -m 720. Now your screen mirroring will be started wirelessly. --------------------------------------------------------------------------------------------- For Audio Streaming along with video. 1. Using Bluetooth (For newer Laptop/PC that's Bluetooth support A2DP Profile ) Step1: First connect your phone to your PC/Laptop using Bluetooth and install all necessary drivers of your phone into your pc. Step 1: Then right click on bluetooth icon of your PC/Laptop and choose OPEN SETTING Step 2: In Bluetooth setting find MORE BLUETOOTH SETTING and click on it. Step 3: A new window will open in which you have to click on COM PORTS and check if your streaming service installed there { if not then then click on ADD and and select streaming service from the list of incoming ( device initiates the connection) and click OK } Now you will able to stream audio to your PC/Laptop ------------ 2. Using two way 3.5mm cable (For old laptop/PC that has two different input for headphone and microphone) "For windows 10" Step 1:- Connect one end of 3.5mm cable to your phone and other end to microphone jack of your Laptop/PC. Step 2:- Now Right click on sound icon of your Laptop/PC and select open SOUND SETTING. Step 3:- In SETTING under SOUND/INPUT choose your microphone from drop down menu and then click on DEVICE PROPERTIES. Step 4:- In DEVICE PROPERTIES under RELATED SETTINGS click on ADVANCE DEVICE PROPERTIES. Step 5:- Now a new window will open called MICROPHONE PROPERTIES in hear choose LISTEN tab and check on LISTEN TO THIS DEVICE and then click OK. All done now will able to listen phone internal audio on your PC/LAPTOP.


Wednesday, December 25, 2019

Cara baiki GooglePlay update kerana dihalang oleh Adblock OpenWRT

Bulan lepas saya dah berjaya upgrade router saya ke OpenWRT.
Memula pakai 18.06 then gatal tangan nak try 19 RC 2.

Try seminggu je. ada beberapa plugin yg tak boleh run dengan baik. Terutama Adblock so revert back to stable version 18.06.

Tips dia kena whitelist beberapa domain yang google gunakan untuk check play apps.

Cuba white list kan

gvt1.com


Selepas tu restart plugin kalau guna LuCi sila

1. klik software → startup
2. cari adblock
3. tekan restart



tunggu dalam 30 saat untuk check ianya berfungsi atau tidak.

Jika masih tiada perubahan cuba tambah

googleapis.com



Next time saya cuba post pasal masalah yang saya hadapi semasa update OpenWRT