Re: 左邻zorin os 15.2/Ubuntu18.04 折腾调校笔记【2020年8月更新……】
发表于 : 2020-08-22 8:21
恭喜zorin已经悄悄升级到15.3
代码: 全选
mpv video.mp4 --sub-file first-subtitle.srt --sub-file second-subtitle.srt --secondary-sid 2
INSTALLATION:
- extract (unzip) the .lua file and put it in the VLC subdir /lua/extensions, by default:
* Windows (all users): %ProgramFiles%\VideoLAN\VLC\lua\extensions\
* Windows (current user): %APPDATA%\VLC\lua\extensions\
* Linux (all users): /usr/lib/vlc/lua/extensions/
* Linux (current user): ~/.local/share/vlc/lua/extensions/
* Mac OS X (all users): /Applications/VLC.app/Contents/MacOS/share/lua/extensions/
* Mac OS X (current user): /Users/%your_name%/Library/Application Support/org.videolan.vlc/lua/extensions/
(create directories if they don't exist)
- Restart VLC or just reload extensions (Tools > Plugins and extensions > Active Extensions tab: Reload extensions button).
代码: 全选
xrandr
xrandr --addmode VIRTUAL1 1280x720
xrandr --output VIRTUAL1 --mode 1280x720 --left-of LVDS1
xrandr --output VIRTUAL1 --off //关闭扩展屏幕命令
其中提到的VirtScreen,其实是把x11vnc的一系列命令集成到图形窗口了,这不正是想要的嘛。Using Android/PC as a Second Monitor in Linux
September 13, 2019 by Sangam
https://sangams.com.np/using-android-pc ... -in-linux/
Using iPad as a 2nd monitor on Linux
Apr 15, 2018 by Bumsik Kim
https://kbumsik.io/using-ipad-as-a-2nd-monitor-on-linux
https://github.com/kbumsik/VirtScreen
[Discussion] iPad as second Display on Ubuntu - 2016
https://www.reddit.com/r/Ubuntu/comment ... on_ubuntu/
[Discussion] Extending desktop over VNC, the easy way - 2014-12-27
https://bbs.archlinux.org/viewtopic.php?id=191555
代码: 全选
x11vnc -R stop
@Homio Thank you for your valuable information. Alright, I did some research to figure it out. Here is your new /usr/share/X11/xorg.conf.d/30-virtscreen.conf
# nvidia/nouveau/amdgpu device should be configured first before Intel GPU
Section "Device"
Identifier "nvidiagpu0"
Driver "nvidia" # Because you are using Nvidia proprietary driver. Change to "nouveau" if you are using open source nouveau driver
EndSection
# Then configure intel internal GPU
Section "Device"
Identifier "intelgpu0"
Driver "intel"
# You may put Option "VirtualHeads" "1" here but it seem you don't need to put this for Ubuntu 18.04.
EndSection
Could you copy can paste this and try it? Please tell me if it works.
解决方法2,更新显卡驱动:A way I found in order to avoid this issue and work with the Unreal Editor without messing around with graphic drivers (I am on open source drivers shipped with Linux Mint) is to launch the editor with the opengl4 flag. In this way the Vulkan requirement is skipped and the editor can start properly. Using the terminal reach the linux binaries folder ~/UnrealEngine/Engine/Binaries/Linux and then use this code in order to launch the editor under Opengl4 ./UE4Editor -opengl4
代码: 全选
$ sudo flatpak remote-add --gpg-import=nightly.gpg gnome-nightly https://sdk.gnome.org/nightly/repo/
代码: 全选
flatpak install flathub com.visualstudio.code
代码: 全选
flatpak run com.visualstudio.code
ffmpeg -i input.mkv -map 0:0 -map 0:1 -map 0:2 -vcodec dnxhd -acodec:0 pcm_s16le -acodec:1 pcm_s16le -s 1920x1080 -r 30000/1001 -b:v 36M -pix_fmt yuv422p -f mov output.mov
来源https://brushlesswhoop.com/converting-fpv-footage-for-davinci-resolve/ffmpeg -i GOPROxxx.MP4 -vcodec mjpeg -q:v 2 -acodec pcm_s16be -q:a 0 -f mov OUTxxx.mov
代码: 全选
mkdir transcoded; for i in *.MP4; do ffmpeg -i "$i" -vcodec mjpeg -q:v 2 -acodec pcm_s16be -q:a 0 -f mov "transcoded/${i%.*}.mov"; done