Fixed angle brackets encoding in articles
This commit is contained in:
parent
a7d1d58a9c
commit
175c2347b9
@ -5,7 +5,7 @@ Firstly, mount your Windows disk C: on Linux. For it, run:
|
||||
```
|
||||
sudo pacman -S ntfs-3g
|
||||
sudo mkdir -p /mnt/c
|
||||
sudo mount /dev/<Windows partition name> /mnt/c
|
||||
sudo mount /dev/<Windows partition name> /mnt/c
|
||||
```
|
||||
|
||||
WSL filesystem is stored as .vhdx file, so we will use qemu-nbd to mount it as usual disk drive.
|
||||
@ -26,7 +26,7 @@ sudo pacman -S qemu
|
||||
Connect .vhdx file to nbd device:
|
||||
|
||||
```
|
||||
sudo qemu-hbd -c /dev/nbd0 /mnt/c/<path to .vhdx file>
|
||||
sudo qemu-hbd -c /dev/nbd0 /mnt/c/<path to .vhdx file>
|
||||
```
|
||||
|
||||
By default, path must look like Users/[user]/AppData/Local/Packages/[distro]/LocalState/[distroPackageName]/ext4.vhdx
|
||||
|
@ -11,7 +11,7 @@ sudo dnf install v4l2loopback
|
||||
Next, after reboot, we're ready to start the stream with ffmpeg:
|
||||
|
||||
```bash
|
||||
sudo ffmpeg -f mjpeg -r 5 -i "http://<Phone IP>:8080/cam.mjpeg?fps=10" -r 10 -pix_fmt yuv420p -f v4l2 /dev/video0
|
||||
sudo ffmpeg -f mjpeg -r 5 -i "http://<Phone IP>:8080/cam.mjpeg?fps=10" -r 10 -pix_fmt yuv420p -f v4l2 /dev/video0
|
||||
```
|
||||
|
||||
My Wi-Fi connection speed was enough for such stream. But it is still possible to use it with adb port forwarding over usb:
|
||||
|
Loading…
x
Reference in New Issue
Block a user