2020年8月30日 星期日

How to Share Folders on Home Network in Manjaro Linux


How to Share Folders on Home Network in Manjaro Linux


My purpose of sharing files or folders over home network is to allow me to move away from the PC desk and watch any PC video files either on a tablet or on a TV. Sitting properly before a PC monitor to watch a large video file is sometimes quite tiresome and cannot be compared to the comfort of sitting on a sofa and watch it on a tablet or TV.

Previously, sharing a folder using Samba in Linux was quite troublesome, not as easy as that for Windows. But as time goes by and technique evolves, it is now just an easy job, particularly on Manjaro Linux with a Gnome desktop environment. The procedures are like these.

In the Gnome desktop of Manjaro, goto Settings and select Sharing. Turn on the sharing function by clicking the button at the top right corner.



To share a media folder, choose Media Sharing. You will see there are default shared folders: Music, Pictures and Videos. You may copy and paste your videos to these default shared folder, say Videos, then you can start watching. If you want to share files other than these, scroll down the menu until you see the Add(+) sign.


Clicking on the + sign, a window will pop up allowing you to browse through your computer to choose the folders that you want to share. If you want the folder, say, “Violin and Cello Sonata” to be shared, select it. After that, turn on the Wired connection 1 Button to enable the sharing process.
 

Done!

How to watch a video with a tablet (VLC Player)

Launch the VLC Player in an android device (say, Samsung Tablet), tab on the Menu icon (三)and choose Local Network


The following screen will appear


Choose kai’s media on kai-ms7a74, the following screen will appear


Choose Files & Folders, two shared folders appear


Open any of the folders, and click on any item (video) inside the folder, the video will be played on VLC as below



How to watch on a TV

To watch it on TV, I need a TV Box because my TV is not a smart one. Nowadays, TV Boxes are very chap on Taobao, with no more than a 100 bucks, you can get a quite good one:


On the TV Box, just install the VLC Player and follow the procedures as that a tablet above, then you can view the video clips your TV.

Note:

I have found that sharing folders other than the defaulted ones, Music, Pictures and Videos, is not a once and for all business. That is, if you share a folder this time, the next time you reboot your computer, you will not find your shared folder. A way to get around this, is to delete the shared folder and add it again to the shared list before watching it.

2020年8月15日 星期六

神級播放器 - MPV Player

 神級播放器 - MPV Player


MPV 是一个基于 MPlayer mplayer2 开源极简全能播放器。支持各种视频格式、音频解码、支持特效字幕(电影动漫的ass特效字幕都没啥问题),不仅支持本地播放,同样支持网络播放。重点是 MPV 具有多系统平台支持、命令行、自定义、GPU 解码、脚本支持等特点……

由于默认情况下,MPV 播放器简约到连 GUI 界面都没有提供,需要通过命令行或配置文件设置,因此它较少出现于大众媒体的视野,但它配置灵活、性能优秀,支持硬件解码,播放高清分辨率的 4K 视频也可以很流畅,轻巧且强大的特点一直使它成为玩软高手、技术爱好者们的挚爱。

甚至,得益于开源,基于 MPV 还衍生出来一大批第三方播放器,比如最近火热的 Mac 平台上的 IINA,以及 Baka MPlayerbomimpc-qtxt7-player-mpv 等,它们的“核心”其实就是 MPV。这恰恰说明 MPV 才是无数开发者和技术爱好者心目中的神器

 OSC 界面操作說明

常用快捷鍵控制

減少/增加音量

90 (數字鍵盤區的不可用)

在音量符號上向前/向後旋轉鼠標滾軸

暫停、繼續播放

p, Space bar

上一個/下一個視頻(播放列表中)

< >, 在視頻中向前/向後旋轉鼠標滾軸

下一個視頻

Enter

靜音

m

截屏

s

進入/退出全屏

f

顯示視訊的詳情引數

i