VideoHelp Forum




+ Reply to Thread
Results 1 to 2 of 2
  1. Member
    Join Date
    Dec 2013
    Location
    Austin, TX
    Search Comp PM
    Hi guys, I have a server I store all my media on. What I would like to see doing if it's possible is running some sort of script or app in the background on the server that scans folders for video files in a certain format (.mkv) and converts, or re-dubs into a different container like (.mp4). Kinda like ffmpeg. But Ya the only difference is instead of running the script from a client PC on the network to convert the file on the server manually, it would do it on the server by itself. So if a new file moved or downloaded to the server that matches the format it's looking for, it would start the conversion/container swap.

    If it helps, my NAS is a Asustor 602, Intel atom CPU, 1GB Ram, runs ADM OS (an embedded Linux).
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    You can run a crontab every minute with a script that:

    Moves all *.mkv files in the download folder to a new temp folder with a unique name(to avoid converting same stuff over and over).
    Converts all files in that folder with ffmpeg.
    Moves all files to the publish folder.
    Delete temp folder.

    You can write it in bash, php, perl etc. Or google for such scripts. Or get help from someone.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!