I have a Samsung smart TV, it can play AAC video format, but only with mp4 container, mkv file format is NOT supported. Here is a simple way to convert them.
materials:
synology
linux
1. create NFS share on Synology
Shared Folder > Edit > NFS Permission
hostname/IP: 192.168.x.0/24 (allow whole subnet)
then press “OK”
2. mount NFS from mint
install nfs client and converter on Mint
1 2 |
sudo apt-get update sudo apt-get install nfs-common rpcbind libav-tools |
mount [Synology NAS IP address] : [mount path of shared folder] / [mount point on NFS client]
1 |
sudo mount diskstation:/volume2/data /mnt/dsdata |
3. convert file
1 2 3 4 |
avconv -i input.mkv -c:v copy -c:a copy output.mp4 # batch convert find /path -name '*.mkv' -not -path "*/@eaDir/*" -exec bash -c 'avconv -i "$1" -c:v copy -c:a copy "${1%.mkv}.mp4"' _ {} \; |
if your linux distro support ffmpeg other than avconv (libav-tools), use
1 |
ffmpeg -i input.mkv -codec copy output.mp4 |
reference:
https://www.synology.com/en-global/knowledgebase/DSM/tutorial/File_Sharing/How_to_access_files_on_Synology_NAS_within_the_local_network_NFS
http://askubuntu.com/questions/50433/how-to-convert-mkv-file-into-mp4-file-losslessly