0% found this document useful (0 votes)
14 views

ffmpeg partial command

This document provides a command line script for ffmpeg to convert a video file into three different resolutions (1080p, 720p, and 480p). Each resolution is segmented into 10-second clips and stored in separate directories with corresponding playlist files. The video codec used is h264 and the audio codec is aac, with specified bitrates and audio settings for each resolution.

Uploaded by

Jai K Pillai
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views

ffmpeg partial command

This document provides a command line script for ffmpeg to convert a video file into three different resolutions (1080p, 720p, and 480p). Each resolution is segmented into 10-second clips and stored in separate directories with corresponding playlist files. The video codec used is h264 and the audio codec is aac, with specified bitrates and audio settings for each resolution.

Uploaded by

Jai K Pillai
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

ffmpeg -i "C:\Users\Jarvis 3.0\Desktop\Podcast Canvas - Description.

mp4" ^
-map 0:v:0 -map 0:a:0 ^
-c:v:0 h264 -b:v:0 3000k -s:v:0 1920x1080 -g 50 -keyint_min 50 -sc_threshold 0 ^
-c:a:0 aac -b:a:0 128k -ar 44100 -ac 2 ^
-f segment -segment_time 10 -segment_format mpegts -segment_list "C:\Users\Jarvis
3.0\Desktop\output\1080p\playlist.m3u8" "C:\Users\Jarvis 3.0\Desktop\output\1080p\
segment_%03d.ts" ^
-map 0:v:0 -map 0:a:0 ^
-c:v:1 h264 -b:v:1 1500k -s:v:1 1280x720 -g 50 -keyint_min 50 -sc_threshold 0 ^
-c:a:1 aac -b:a:1 128k -ar 44100 -ac 2 ^
-f segment -segment_time 10 -segment_format mpegts -segment_list "C:\Users\Jarvis
3.0\Desktop\output\720p\playlist.m3u8" "C:\Users\Jarvis 3.0\Desktop\output\720p\
segment_%03d.ts" ^
-map 0:v:0 -map 0:a:0 ^
-c:v:2 h264 -b:v:2 800k -s:v:2 854x480 -g 50 -keyint_min 50 -sc_threshold 0 ^
-c:a:2 aac -b:a:2 128k -ar 44100 -ac 2 ^
-f segment -segment_time 10 -segment_format mpegts -segment_list "C:\Users\Jarvis
3.0\Desktop\output\480p\playlist.m3u8" "C:\Users\Jarvis 3.0\Desktop\output\480p\
segment_%03d.ts"

You might also like