Miro Video Converter针对FFMPEG转换参数

云光明
2023-12-01

转自:https://develop.participatoryculture.org/index.php/ConversionMatrix#FFMPEG_Settings_.2F_Miro_Video_Converter

FFMPEG Settings / Miro Video Converter

For a simple conversion tool for os x and windows, download the Miro Video Converter

Apple Format Conversions

DeviceScreen ResolutionCommand
iPod (Classic / Nano)320×480ffmpeg -i INPUT -acodec aac -ac 2 -strict experimental -ab 160k -s {ssize} -vcodec libx264 -preset slow -profile:v baseline -level 30 -maxrate 10000000 -bufsize 10000000 -b 1200k -f mp4 -threads 0 {filename}.ipod.mp4
iPod Touch640×480ffmpeg -i {filename} -acodec aac -ac 2 -strict experimental -ab 160k -s {ssize} -vcodec libx264 -preset slow -profile:v baseline -level 30 -maxrate 10000000 -bufsize 10000000 -b 1200k -f mp4 -threads 0 {filename}.ipod.mp4
iPod Touch 4+960×640ffmpeg -i {filename} -acodec aac -ac 2 -strict experimental -ab 160k -s {ssize} -vcodec libx264 -preset slow -profile:v baseline -level 30 -maxrate 10000000 -bufsize 10000000 -b 1200k -f mp4 -threads 0 {filename}.ipod.mp4
iPhone640×480ffmpeg -i {filename} -acodec aac -ac 2 -strict experimental -ab 160k -s {ssize} -vcodec libx264 -preset slow -profile:v baseline -level 30 -maxrate 10000000 -bufsize 10000000 -b 1200k -f mp4 -threads 0 {filename}.iphone.mp4
iPhone 4+960×640ffmpeg -i {filename} -acodec aac -ac 2 -strict experimental -ab 160k -s {ssize} -vcodec libx264 -preset slow -profile:v baseline -level 30 -maxrate 10000000 -bufsize 10000000 -b 1200k -f mp4 -threads 0 {filename}.iphone.mp4
iPhone 51920×1080ffmpeg -i {filename} -acodec aac -ac 2 -strict experimental -ab 160k -s {ssize} -vcodec libx264 -preset slow -profile:v baseline -level 30 -maxrate 10000000 -bufsize 10000000 -b 1200k -f mp4 -threads 0 {filename}.iphone.mp4
iPad1024×768ffmpeg -i {filename} -acodec aac -ac 2 -strict experimental -ab 160k -s {ssize} -vcodec libx264 -preset slow -profile:v baseline -level 30 -maxrate 10000000 -bufsize 10000000 -b 1200k -f mp4 -threads 0 {filename}.ipad.mp4
iPad 31920×1080ffmpeg -i {filename} -acodec aac -ac 2 -strict experimental -ab 160k -s {ssize} -vcodec libx264 -preset slow -profile:v baseline -level 30 -maxrate 10000000 -bufsize 10000000 -b 1200k -f mp4 -threads 0 {filename}.ipad.mp4
Apple Universal1280×720ffmpeg -i INPUT -acodec aac -ac 2 -strict experimental -ab 160k -s {ssize} -vcodec libx264 -preset slow -profile:v baseline -level 30 -maxrate 10000000 -bufsize 10000000 -b 1200k -f mp4 -threads 0 {filename}.appleuniversal.mp4
Apple TV1280×720ffmpeg -i INPUT -acodec aac -ac 2 -strict experimental -ab 160k -s {ssize} -vcodec libx264 -preset slow -profile:v baseline -level 30 -maxrate 10000000 -bufsize 10000000 -b 1200k -f mp4 -threads 0 {filename}.appletv.mp4

Android Conversions

base ffmpeg command: -i {input} -y -acodec aac -ab 160k -s {ssize} -vcodec libx264 -preset slow -profile:v baseline -level 30 -maxrate 10000000 -bufsize 10000000 -f mp4 -threads 0 {output}

ManufacturerDeviceScreen Resolution
SamsungGalaxy Y240x320
SamsungGalaxy Mini240x320
SamsungGalaxy Ace320x480
SamsungAdmire320x480
SamsungDroid Charge480x800
SamsungGalaxy S / SII / S Plus480x800
SamsungGalaxy SIII720x1280
SamsungGalaxy Nexus720x1280
SamsungGalaxy Tab600×1024
SamsungGalaxy Tab 10.1800×1280
SamsungGalaxy Note800×1280
SamsungGalaxy Note II1080x1920
SamsungInfuse 4G800×1280
SamsungEpic Touch 4G480x800
HTCWildfire240x320
HTCDesire480x800
HTCDroid Incredible480x800
HTCThunderbolt480x800
HTCEvo 4G480x800
HTCSensation540x960
HTCRezound720x1280
HTCOne X720x1280
MotorolaDroid X854x480
MotorolaDroid X21280x720
MotorolaRAZR960x540
MotorolaXOOM1280x800
SanyoZio480x800
More DevicesSmall (480x320)480x320
More DevicesNormal (800x480)800x480
More DevicesLarge 720p1280x720
More DevicesLarge 1080p1920x1080

Output Formats

Conversion OptionSizeCommand
MP4mp4ffmpeg -i {input} -acodec aac -ab 96k -vcodec libx264 -preset slow -f mp4 -crf 22 {output}
MP3 (audio only)mp3ffmpeg -i INPUT -f mp3 -y OUTPUT
Ogg Theora (video)ogvffmpeg -i {input}-f ogg -vn -acodec libvorbis -aq 60
Ogg Vorbis (audio)oggffmpeg -i {input} -f ogg -vn -acodec libvorbis -aq 60 {output}
H.264 Web HD720p-i {input} -s hd720 -vcodec libx264 -preset slow -crf 24 -acodec aac -ab 96k -ar 44100 {output1} ; qt-faststart {output1} {$output2}
H.264 Web SD480p-i {input} -s hd480 -vcodec libx264 -preset slow -crf 24 -acodec aac -ab 96k -ar 44100 {output1} ; qt-faststart {output1} {$output2}
WebM HD720p-i {input} -s hd720 -vcodec libvpx -g 120 -lag-in-frames 16 -deadline good -cpu-used 0 -vprofile 0 -qmax 51 -qmin 11 -slices 4 -b:v 2M -acodec libvorbis -ab 112k -ar 44100 -f webm {output1}
WebM SD480p-i {input} -s hd480 -vcodec libvpx -g 120 -lag-in-frames 16 -deadline good -cpu-used 0 -vprofile 0 -qmax 63 -qmin 0 -b:v 768k -acodec libvorbis -ab 112k -ar 44100 -f webm {output1}
DNxHD 1080p Ingest1080p-i {input} -r 23.976 -s hd1080 -vcodec dnxhd -b:v 175M -acodec pcm_s16be -ar 48000 {output1}
DNxHD 720p Ingest780p-i {input} -r 23.976 -s hd720 -vcodec dnxhd -b:v 90M -acodec pcm_s16be -ar 48000 {output1}
ProRes 1080p Ingest1080p-i {input} -s hd1080 -vcodec prores -profile 2 -acodec pcm_s16be -ar 48000 {output1}
ProRes 720p Ingest780p-i {input} -s hd720 -vcodec prores -profile 2 -acodec pcm_s16be -ar 48000 {output1}
AVC Intra 1080p Ingest1080p-i {input} -s hd1080 -vcodec libx264 -pix_fmt yuv422p -crf 0 -intra -b:v 100M -acodec pcm_s16be -ar 48000 {output1}
AVC Intra 720p Ingest780p-i {input} -s hd1080 -vcodec libx264 -pix_fmt yuv422p -crf 0 -intra -b:v 100M -acodec pcm_s16be -ar 48000 {output1}

Other Devices

Kindle Fire

DeviceScreen ResolutionCommand
Kindle Fire1224×600
Input Video Size > 1024×600
ffmpeg -i INPUT -acodec aac -ab 96k -vcodec libx264 -vpre slow -f mp4 -crf 22 -s 1024x600 -strict experimental OUTPUT
Input Video Size <= 1024×600
ffmpeg -i INPUT -acodec aac -ab 96k -vcodec libx264 -vpre slow -f mp4 -crf 22 -strict experimental OUTPUT


PSP

Device Screen Resolution Command
PSP 320×480 ffmpeg -i INPUT -s 320x240 -b 512000 -ar 24000 -ab 64000 -f psp -r 29.97 OUTPUT

转载于:https://www.cnblogs.com/tv151579/archive/2013/03/29/2988004.html

 类似资料: