시놀로지 ffmpeg 인코딩 (Synology ffmpeg encoding)
시놀로지 MP4 자동 인코딩 스크립트 (Synology MKV to MP4 auto encoding script)
video libx264 bitrate 2600k audio AAC 320k CH2 48k
for f in /volume4/SERVER_E/_TEMP_E/_MOVIE/MKV_2600/*.mkv; do [[ -f "${f%.mkv}.mp4" ]] && { echo "skipping "$f" - "${f%.mkv}.mp4" exists" ; continue; }; /var/packages/VideoStation/target/bin/ffmpeg -i "$f" -threads 1 -vcodec libx264 -vsync 2 -preset superfast -vprofile main -level 40 -pix_fmt yuv420p -b:v 2600k -acodec aac -ab 320k -ac 2 -ar 48000 -progress - -f mp4 -map 0:0 -map 0:1 -y "${f%.mkv}.mp4"; done
video libx264 bitrate 2600k audio AAC 320k CH2 48k
for f in /volume4/SERVER_E/_TEMP_E/_MOVIE/MKV_2200/*.mkv; do [[ -f "${f%.mkv}.mp4" ]] && { echo "skipping "$f" - "${f%.mkv}.mp4" exists" ; continue; }; /var/packages/VideoStation/target/bin/ffmpeg -i "$f" -threads 1 -vcodec libx264 -vsync 2 -preset superfast -vprofile main -level 40 -pix_fmt yuv420p -b:v 2200k -acodec aac -ab 320k -ac 2 -ar 48000 -progress - -f mp4 -map 0:0 -map 0:1 -y "${f%.mkv}.mp4"; done
시놀로지 MP4 자동 인코딩 스크립트 (Synology AVI to MP4 auto encoding script)
video libx264 bitrate 2600k audio AAC 320k CH2 48k
for f in /volume4/SERVER_E/_TEMP_E/_MOVIE/MKV_2600/*.avi; do [[ -f "${f%.avi}.mp4" ]] && { echo "skipping "$f" - "${f%.avi}.mp4" exists" ; continue; }; /var/packages/VideoStation/target/bin/ffmpeg -i "$f" -threads 1 -vcodec libx264 -vsync 2 -preset superfast -vprofile main -level 40 -pix_fmt yuv420p -b:v 2600k -acodec aac -ab 320k -ac 2 -ar 48000 -progress - -f mp4 -map 0:0 -map 0:1 -y "${f%.avi}.mp4"; done
red text : my nas folder