H.264/AVC is the delivery codec used for modern video applications. It is decoded with hardware in just about every video device made today, from phones to HD televisions. It is transported in an MP4 (.mp4) file container, and may be embedded using HTML5, Flash, or Java players.
Common H.264 streaming video targets include:
LD 240p 3G Mobile @ H.264 baseline profile 350 kbps (3 MB/minute)
LD 360p 4G Mobile @ H.264 main profile 700 kbps (6 MB/minute)
SD 480p WiFi @ H.264 main profile 1200 kbps (10 MB/minute)
HD 720p @ H.264 high profile 2500 kbps (20 MB/minute)
HD 1080p @ H.264 high profile 5000 kbps (35 MB/minute)
H.264 FRAMESIZES - square pixel (PAR 1:1) examples for best performance
4:3 DAR (1.33) standard: 320x240, 384x288, 480x360, 576x432, 640x480, 768x576
16:9 DAR (1.77) widescreen: 432x240, 512x288, 640x360, 768x432, 854x480, 1024x576, 1280x720, 1920x1080
H.264 PROFILES - based on vertical resolution "p" value
Baseline - for low definition (LD) 240p to 288p, compatible with older 3G mobiles
Main - for standard definition (SD) 360p to 480p, good for 4G smartphones and tablets
High - for high definition (HD) 720p to 1080p, only for hardware GPU with a good decoder
SAMPLE XML TEMPLATES
Send via HTTP post to API at manage.encoding.com
Or test with our submission form at https://www.encoding.com/sendXml/
NOTES: These bitrates are for general consumer viewing online
High action content may require higher bitrates to avoid artifacts
If you are doing mezzanines for an edit pipeline, double the bitrates
You may add <two_pass>yes</two_pass> for slightly higher quality
Horizontal <size> value "0" gets scaled to match source aspect ratio
OLD PHONES (3G) - 240p @ 350kbps (3 MB/minute)
<?xml version="1.0"?>
<query>
<action>AddMedia</action>
<userid>****</userid>
<userkey>****</userkey>
<source>ftp://**** your source video file link ****</source>
<notify>http://**** http post link to your CMS (or) your email address ****</notify>
<format>
<output>mp4</output>
<destination>***** your output link **** .mp4</destination>
<file_extension>mp4</file_extension>
<size>0x240</size>
<framerate>24</framerate>
<video_codec>libx264</video_codec>
<keyframe>120</keyframe>
<profile>baseline</profile>
<bitrate>350k</bitrate>
<audio_codec>dolby_heaac</audio_codec>
<audio_bitrate>64k</audio_bitrate>
<audio_sample_rate>44100</audio_sample_rate>
</format>
</query>
NEW PHONES (4G) - 360p @ 700kbps (6 MB/minute)
<format>
<output>mp4</output>
<destination>***** your output link **** .mp4</destination>
<file_extension>mp4</file_extension>
<size>0x360</size>
<framerate>30</framerate>
<video_codec>libx264</video_codec>
<keyframe>150</keyframe>
<profile>main</profile>
<bitrate>700k</bitrate>
<audio_codec>dolby_heaac</audio_codec>
<audio_bitrate>64k</audio_bitrate>
<audio_sample_rate>44100</audio_sample_rate>
</format>
SLOW WIFI WEB & TABLETS (SD-NTSC) - 480p @ 1200kbps (10 MB/minute)
<format>
<output>mp4</output>
<destination>***** your output link **** .mp4</destination>
<file_extension>mp4</file_extension>
<size>0x480</size>
<framerate>30</framerate>
<video_codec>libx264</video_codec>
<keyframe>150</keyframe>
<profile>main</profile>
<bitrate>1200k</bitrate>
<audio_codec>dolby_aac</audio_codec>
<audio_bitrate>128k</audio_bitrate>
<audio_sample_rate>44100</audio_sample_rate>
</format>
SLOW WIFI WEB & TABLETS (SD-PAL) - 576p @ 1600kbps (14 MB/minute)
<format>
<output>mp4</output>
<destination>***** your output link **** .mp4</destination>
<file_extension>mp4</file_extension>
<size>0x576</size>
<framerate>25</framerate>
<video_codec>libx264</video_codec>
<keyframe>125</keyframe>
<profile>main</profile>
<bitrate>1600k</bitrate>
<audio_codec>dolby_aac</audio_codec>
<audio_bitrate>128k</audio_bitrate>
<audio_sample_rate>44100</audio_sample_rate>
</format>
FAST WIFI HIGH DEFINITION (HD-720) - 720p @ 2500kbps (20 MB/minute)
<format>
<output>mp4</output>
<destination>***** your output link **** .mp4</destination>
<file_extension>mp4</file_extension>
<size>1280x720</size>
<framerate>30</framerate>
<video_codec>libx264</video_codec>
<keyframe>150</keyframe>
<profile>high</profile>
<bitrate>2500k</bitrate>
<audio_codec>dolby_aac</audio_codec>
<audio_bitrate>160k</audio_bitrate>
<audio_sample_rate>44100</audio_sample_rate>
</format>
FAST WIFI HIGH DEFINITION (HD-1080) - 1080p @ 5000kbps (35 MB/minute)
<format>
<output>mp4</output>
<destination>***** your output link **** .mp4</destination>
<file_extension>mp4</file_extension>
<size>1920x1080</size>
<framerate>30</framerate>
<video_codec>libx264</video_codec>
<keyframe>150</keyframe>
<profile>high</profile>
<bitrate>5000k</bitrate>
<audio_codec>dolby_aac</audio_codec>
<audio_bitrate>160k</audio_bitrate>
<audio_sample_rate>44100</audio_sample_rate>
</format>