How To Mirror Android Device Screen to Your Ubuntu Linux Desktop with ADB Connection
How to enable Mirroring of Android Device Screen on your ubuntu linux system using android tools adb i.e. Android Debug Bridge to screencast from phone to pc or ubuntu desktop.
Commands used in this tutorial :
sudo apt install android-tools-adb
sudo apt install ffmpeg
adb shell screenrecord –output-format=h264 – | ffplay –
ubuntu