시놀로지 비디오스테이션 트랜스코딩 ffmpeg - 두번째

?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

크게 작게 위로 아래로 댓글로 가기 인쇄

for f in /volume4/SERVER_E/_TEMP_PLAY_E/MKV/*.mkv; do [[ -f "${f%.mkv}_MKV2600.mp4" ]] && { echo "skipping "$f" - "${f%.mkv}_MKV2600.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}_MKV2600.mp4"; done

 

for f in /volume4/SERVER_E/_TEMP_PLAY_E/MKV/*.mkv; do [[ -f "${f%.mkv}_MKV2000.mp4" ]] && { echo "skipping "$f" - "${f%.mkv}_MKV2000.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 2000k -acodec aac -ab 320k -ac 2 -ar 48000 -progress - -f mp4 -map 0:0 -map 0:1 -y "${f%.mkv}_MKV2000.mp4"; done

 

for f in /volume4/SERVER_E/_TEMP_PLAY_E/MKV/*.avi; do [[ -f "${f%.avi}_AVI2200.mp4" ]] && { echo "skipping "$f" - "${f%.avi}_AVI2200.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%.avi}_AVI2200.mp4"; done

 

for f in /volume4/SERVER_E/_TEMP_PLAY_E/*.mp4; do [[ -f "${f%.mp4}_converted.mp4" ]] && { echo "skipping "$f" - "${f%.mp4}_converted.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 2400k -acodec aac -ab 320k -ac 2 -ar 48000 -progress - -f mp4 -map 0:0 -map 0:1 -y "${f%.mp4}_converted.mp4"; done