លុបចោលសម្លេងពីឯកសារ MKV

ឥឡូវនេះខែវិច្ឆិកាហើយ ប៉ុន្តែខ្ញុំមិនទាន់បាន​សរសេរ​អត្ថបទ​មួយឡើយ។ អញ្ចឹង គួរតែ​ចាប់ផ្តើម​មួយទៅមែន​ទេ? ថ្ងៃនេះខ្ញុំចង់ចែករំលេករបៀបលុប audio track ចេញពីឯកសារ MKV ។ MKV ជា​ប្រភេទ​មួយ​នៃ​ហ្វមម៉ាត​របស់​ឯកសារ (file format) ដែល​យើង​អាច​ខ្ចប់​វីដេអូ សម្លេង និងសាប់ថាយថើល (subtitle)។ល។ ខ្ញុំមានឯកសារ MKV ដែលមានសំលេងពីរ ហ៊ីនឌី (Hindi) និងអង់គ្លេស ហើយ ខ្ញុំចង់លុបហ៊ីនឌីចេញ ដោយប្រើកុំព្យូទ័រជាមួយហ្វឺដរ៉ា (Fedora 24)។ ជាដំបូង យើងត្រូវបញ្ចូលប្រូក្រាមមួយជាមុនសិន។ # dnf install mkvtoolnix ក្រោយពីបញ្ចូលប្រូក្រាមខាងលើ យើងអាចមើលថាតើមានអ្វីខ្លះនៅក្នុងឯកសារ MKV នោះ។ $ mkvmerge -i Sample.mkv File 'Sample.mkv': container: Matroska Track ID 0: video (MPEG-4p10/AVC/h.264) Track ID 1: audio (MP3) Track ID 2: audio (AAC) Track ID 3: subtitles (SubRip/SRT) Attachment ID 1: type 'image/jpeg', size 298984 bytes, file name 'Cover.jpg' តាមលទ្ធផលខាងលើ យើងឃើញថា ឯកសារនោះមានសម្លេងពីរ Track ID 1 និង Track ID 2។ អ្វីដែលយើងមិនអាចដឹងគឺ តើធ្រាក់មួយណាជាសម្លេងភាសាហ៊ីនឌី? យើងអាចប្រើប្រូក្រាម mplayer: ...

November 15, 2016 · 2 min · 275 words · kenno

How extract 7zip file on Linux

This evening I need to extract a file with .7z extension. Guess what? I don’t know how to do that. I probably don’t even have 7zip program installed on my Fedora machine. Here’s something to remind myself how to get it working. First let’s find out what package we need to install: [root@watamem ~]# dnf search 7zip Last metadata expiration check: 3:14:50 ago on Thu Oct 20 20:39:30 2016. ================ N/S Matched: 7zip ================== p7zip-plugins.x86_64 : Additional plugins for p7zip p7zip.x86_64 : Very high compression ratio file archiver p7zip-gui.x86_64 : 7zG - 7-Zip GUI version So, it seems we need to install p7zip. ...

October 20, 2016 · 2 min · 218 words · kenno

Labeling an XFS Partition

Let’s say I have a partition as /dev/sdc1 formatted using XFS file system, and I want to give a label to it as externo. Here is one way to do it: # xfs_admin -L externo /dev/sdc1 writing all SBs new label = "externo" To read the label: # xfs_admin -l /dev/sdc1 label = "externo" Reference: HowTo Rename a XFS-Filesystem (label it)

September 29, 2016 · 1 min · 61 words · kenno

FreeBSD upgrade pool zroot

Today I successfully upgraded my FreeBSD home nas server from 10.3 to 11.0. This is the final release of version 11.0, though the official announcement is expected to be made on September 28. After the system upgrade, I need to also upgrade the 2 zpools (tank and zroot) so they can have new features. Upgrading tank was easy, all I needed to do was running this command: # zpool upgrade tank This system supports ZFS pool feature flags. Enabled the following features on 'tank': sha512 skein For zroot, in addition to running the above command (by replacing the actually zpool name to zroot), I also need to update the boot code. ...

September 27, 2016 · 2 min · 288 words · kenno

Perl IO::Socket::INET6::sockaddr_in6 redefined error

Yesterday I installed spamassassin package on a server running RHEL 6.8. Then this morning, I received an email alert with the following message: Subroutine IO::Socket::INET6::sockaddr_in6 redefined at /usr/share/perl5/Exporter.pm line 67. at /usr/share/perl5/IO/Socket/INET6.pm line 21. Subroutine IO::Socket::INET6::sockaddr_in6 redefined at /usr/share/perl5/Exporter.pm line 67. at /usr/share/perl5/IO/Socket/INET6.pm line 21. Subroutine IO::Socket::INET6::sockaddr_in6 redefined at /usr/share/perl5/Exporter.pm line 67. at /usr/share/perl5/IO/Socket/INET6.pm line 21. Subroutine IO::Socket::INET6::sockaddr_in6 redefined at /usr/share/perl5/Exporter.pm line 67. at /usr/share/perl5/IO/Socket/INET6.pm line 21. This seems to be a bug exists in an old version of IO::Socket::INET6. Upgrading this package should fix the problem: ...

September 14, 2016 · 1 min · 92 words · kenno