prev/next

Mobile Video

How can I encrypt my iPhone streams?

Securing your iPhone streams is easy with Encoding.com's stream encrytion option. We encrypt your TS segements using AES-128 with no need for an additional processing step. The encryption passes on delivery, as opposed to requiring additional processing time. You'll need a few things to get started, so let's lay out all the details:

1)  Create 32 character hexadecimal string.

 More -->

Securing your iPhone streams is easy with Encoding.com's stream encrytion option. We encrypt your TS segements using AES-128 with no need for an additional processing step. The encryption passes on delivery, as opposed to requiring additional processing time. You'll need a few things to get started, so let's lay out all the details:

1)  Create 32 character hexadecimal string. (Noted as 128 bit key below.)

     Sample encryption key: 243F6A8885A308D313198A2E03707344. Don't confuse this with API keys, as the encryption key can only contain characters A - F & 0- 9.

     Sample of encryption key that will fail immediately: COq8MA6wT3aHxEIvGy4U3VNBa3BMch29

OR

     Create a file that contains the hex string. If you choose a file, this will overrride the hex key specified in the request.

3) Request an HLS encode with the following additions:

<format>
    <!-- Format fields -->
        <output>[iphone_stream|ipad_stream]</output>
        ...
        <encryption>[yes|no]</encryption>
        <encryption_key>[128bit-key]</encryption_key>
        <encryption_key_file>[SourceURL]</encryption_key_file> <----Use a key_file or a string value. Don't use both, as the file will override the key. 
        ...
    </format>

 

###

Full XML:

<?xml version="1.0"?>
<query>
  <action>AddMedia</action>
  <userid>[userid]</userid>
  <userkey>[userkey]</userkey> 
  <source>[source]</source>
  <notify/>
   <format>
   <output>iphone_stream</output>
  <size>480x320</size>
   <bitrate>512k</bitrate>
<destination>[URL]</destination>
   <audio_bitrate>40k</audio_bitrate>
   <audio_sample_rate>44100</audio_sample_rate>
   <audio_channels_number>2</audio_channels_number>
   <keep_aspect_ratio>yes</keep_aspect_ratio>
   <video_codec>libx264</video_codec>
   <profile>iphone_stream</profile>
   <audio_codec>libfaac</audio_codec>
   <two_pass>no</two_pass>
   <turbo>no</turbo>
   <cbr>no</cbr>
   <deinterlacing>yes</deinterlacing>
   <keyframe>300</keyframe>
   <audio_volume>100</audio_volume>
   <rotate>0</rotate>
   <file_extension>tar</file_extension>
   <hint>no</hint>
   <bitrates>600k,400k,200k,110k</bitrates>
   <framerates>29.97,29.97,15,10</framerates>
   <keyframes>90,90,45,30</keyframes>
   <pack_files>no</pack_files>
   <segment_duration>10</segment_duration>
   <add_audio_only>no</add_audio_only>
   <still_image>no</still_image>
   <still_image_time>5</still_image_time>
   <still_image_size>480x320</still_image_size>
   <encryption>yes</encryption>
   <encryption_key>[128bit-key]</encryption_key>
   <encryption_key_file>[URL]</encryption_key_file>
   </format>
</query>

For additional information on encryption of iPhone streams: https://developer.apple.com/library/ios/#qa/qa1661/_index.html

<-- Hide
tools: email  |  print  |  share  |  click to rate (rated 1 time):
  • BlinkList
  • Del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Newsvine
  • Reddit
  • Sphinn
  • Technorati
  • Twitter

Can I rotate videos without encoding the audio and video?

Have a ton of videos that just require lossless rotation? Did someone have too much fun with the iPhone and shoot everything portrait instead of landscape?

Try this on for size. Lossless rotation for use with .mov --> .mov files only.

<format>
  <output>mov</output>
  <destination>[Destination]</destination>
  <rotate>0</rotate>
  <set_rotate>90</set_rotate>
  <video_codec>copy</video_codec>
  <audio_codec>copy</audio_codec>
</format>

Have a ton of videos that just require lossless rotation? Did someone have too much fun with the iPhone and shoot everything portrait instead of landscape?

Try this on for size. Lossless rotation for use with .mov --> .mov files only.

<format>
  <output>mov</output>
  <destination>[Destination]</destination>
  <rotate>0</rotate>
  <set_rotate>90</set_rotate>
  <video_codec>copy</video_codec>
  <audio_codec>copy</audio_codec>
</format>
<-- Hide
tools: email  |  print  |  share  |  click to rate (rated 3 times):
  • BlinkList
  • Del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Newsvine
  • Reddit
  • Sphinn
  • Technorati
  • Twitter

Easily Create iPhone Streaming Files with Encoding.com

If you're interested in using Encoding.com's platform to create iPhone Streaming (m3u8) files from your source content, there's a number of ways to achieve that using the options listed below. Our new HLS encoding has better adaptive bitrate distribution within the H.264 segments!

+ Use our web-based encoding software UI, located @ http://www.encoding.com/login, to designate an Amazon
 More -->

If you're interested in using Encoding.com's platform to create iPhone Streaming (m3u8) files from your source content, there's a number of ways to achieve that using the options listed below. Our new HLS encoding has better adaptive bitrate distribution within the H.264 segments!

+ Use our web-based encoding software UI, located @ http://www.encoding.com/login, to designate an Amazon S3, Rackspace CloudFiles or FTP site to use as your watchfolder. Turn an entire folder of content into iPhone Streaming (m3u8) files. All you have to do is select 'Add Task' and apply the iPhone Streaming (m3u8) preset from the dropdown menu in the watchfolder UI. 
 
+ Upload a single piece of media with our 'Add Media' feature in the web UI. Select 'Add Task' and apply an iPhone Streaming (m3u8) preset to your encoding workflow from the dropdown menu.  As with watchfolders, 'Add Media' can source from Amazon S3, Rackspace CloudFiles, FTP sites or your local drive / network.
 
+ Implement our powerful encoding API to submit source content and create Apple streaming video format files in a snap.
 
Don't forget to take a peek at our sample XML template for Apple TV creation.
 
<format>
    <output>iphone_stream</output>
    <destination>ftp://***** the output iphone index file (.m3u8) *****</destination>
    <size>400x300</size>
    <audio_bitrate>56k</audio_bitrate>
    <audio_sample_rate>44100</audio_sample_rate>
    <audio_channels_number>2</audio_channels_number>
    <keep_aspect_ratio>yes</keep_aspect_ratio>
    <video_codec>libx264</video_codec>
    <profile>iphone_stream</profile>
    <audio_codec>libfaac</audio_codec>
    <two_pass>no</two_pass>
    <turbo>yes</turbo>
    <cbr>no</cbr>
    <deinterlacing>no</deinterlacing>
    <keyframe>300</keyframe>
    <audio_volume>100</audio_volume>
    <rotate>0</rotate>
    <file_extension>tar</file_extension>
    <hint>no</hint>
    <bitrates>600k,400k,200k,110k</bitrates>
    <framerates>29.97,29.97,15,10</framerates>
    <keyframes>90,90,45,30</keyframes>
    <pack_files>no</pack_files>
    <segment_duration>10</segment_duration>
    <add_audio_only>yes</add_audio_only>
    <still_image>first_segment</still_image>
    <still_image_time>5</still_image_time>
    <still_image_size>480x320</still_image_size>
  </format>
 
HLS iPad and iPhone streaming generate two types of files per Apple spec: the master index files (.m3u8) and the segmented mpeg-4 files (.ts). Our default presets use 10-second segments at 30fps (300 frames each), per Apple Technical Note TN2224.
https://developer.apple.com/library/ios/#technotes/tn2010/tn2224.html

#1 Please be sure to set "Tar segmented files" to OFF or NO, or you will get all the files zipped into one TAR archive file. XML flag as <pack_files>no</pack_files>

#2 Please make sure your index files are set to the proper MIME type on your server (application/x-mpegURL) so they pass the Apple Validator Tool, which I have available for download here:
http://www.pixelgoat.net/encoding/info/Apple_Streaming_ValidatorTool.zip

#3 Please DO NOT use two pass encoding, or you will see a blurry I-frame "popping" at the beginning of each 10 second video segment.

#4 Be aware that 5 different bitrates will output 30 segment (.ts) files per minute of video, so a 10-minute video will be 300 files. You will probably want to encode each video to a separate destination directory to keep your server organized.

You may login to your Encoding.com queue at

https://manage.encoding.com/user/#queue

You may view our web interface tutorial for iPhone streaming at

http://www.encoding.com/video/demo.mp4

SAMPLE XML - Send direct to API at manage.encoding.com
https://www.encoding.com/sendXml/

 

<-- Hide
tools: email  |  print  |  share  |  click to rate (rated 7 times):
  • BlinkList
  • Del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Newsvine
  • Reddit
  • Sphinn
  • Technorati
  • Twitter

iPad Streaming Template

Standard iPad Streaming Template

<format>
    <output>ipad_stream</output>
    <size>640x480</size>
    <audio_bitrate>40k</audio_bitrate>
    <audio_sample_rate>44100</audio_sample_rate>
    <audio_channels_number>2</audio_channels_number>
    <keep_aspect_ratio>yes</keep_aspect_ratio>
    <video_codec>libx264</video_codec>
    <profile>main</profile>
    <audio_codec>libfaac</audio_codec>
    <two_pass>no</two_pass>
    <cbr>no</cbr>
    <deinterlacing>no</deinterlacing>
    <audio_volume>100</audio_volume>
    <file_extension>tar</file_extension>
    <hint>no</hint>
    <bitrates>1200k,800k,600k,400k,200k,110k</bitrates>
    <framerates>29.97,29.97,29.97,29.97,15,10</framerates>
    <keyframes>90,90,90,90,45,30</keyframes>
    <pack_files>yes</pack_files>
    <segment_duration>10</segment_duration>
    <add_audio_only>no</add_audio_only>
    <still_image>no</still_image>
    <still_image_time>5</still_image_time>
    <still_image_size>480x320</still_image_size>
 </format>
 

Standard iPad Streaming Template

<format>
    <output>ipad_stream</output>
    <size>640x480</size>
    <audio_bitrate>40k</audio_bitrate>
    <audio_sample_rate>44100</audio_sample_rate>
    <audio_channels_number>2</audio_channels_number>
    <keep_aspect_ratio>yes</keep_aspect_ratio>
    <video_codec>libx264</video_codec>
    <profile>main</profile>
    <audio_codec>libfaac</audio_codec>
    <two_pass>no</two_pass>
    <cbr>no</cbr>
    <deinterlacing>no</deinterlacing>
    <audio_volume>100</audio_volume>
    <file_extension>tar</file_extension>
    <hint>no</hint>
    <bitrates>1200k,800k,600k,400k,200k,110k</bitrates>
    <framerates>29.97,29.97,29.97,29.97,15,10</framerates>
    <keyframes>90,90,90,90,45,30</keyframes>
    <pack_files>yes</pack_files>
    <segment_duration>10</segment_duration>
    <add_audio_only>no</add_audio_only>
    <still_image>no</still_image>
    <still_image_time>5</still_image_time>
    <still_image_size>480x320</still_image_size>
 </format>
 
<-- Hide
tools: email  |  print  |  share  |  click to rate (rated 1 time):
  • BlinkList
  • Del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Newsvine
  • Reddit
  • Sphinn
  • Technorati
  • Twitter

iPhone Streaming Template

 

Standard template for iPhone Streaming | HLS | Adaptive bit rate streaming
 
<format>
    <output>iphone_stream</output>
    <size>400x300</size>
    <audio_bitrate>40k</audio_bitrate>
    <audio_sample_rate>44100</audio_sample_rate>
    <audio_channels_number>2</audio_channels_number>
    <keep_aspect_ratio>yes</keep_aspect_ratio>
    <video_codec>libx264</video_codec>
    <profile>iphone_stream</profile>
    <audio_codec>libfaac</audio_codec>
    <two_pass>no</two_pass>
    <cbr>no</cbr>
    <deinterlacing>no</deinterlacing>
    <audio_volume>100</audio_volume>
    <file_extension>tar</file_extension>
    <hint>no</hint>
    <bitrates>600k,400k,200k,110k</bitrates>
    <framerates>29.97,29.97,15,10</framerates>
    <keyframes>90,90,45,30</keyframes>
    <pack_files>yes</pack_files>
    <segment_duration>10</segment_duration>
    <add_audio_only>no</add_audio_only>
    <still_image>no</still_image>
    <still_image_time>5</still_image_time>
    <still_image_size>480x320</still_image_size>
</format>
 

 

Standard template for iPhone Streaming | HLS | Adaptive bit rate streaming
 
<format>
    <output>iphone_stream</output>
    <size>400x300</size>
    <audio_bitrate>40k</audio_bitrate>
    <audio_sample_rate>44100</audio_sample_rate>
    <audio_channels_number>2</audio_channels_number>
    <keep_aspect_ratio>yes</keep_aspect_ratio>
    <video_codec>libx264</video_codec>
    <profile>iphone_stream</profile>
    <audio_codec>libfaac</audio_codec>
    <two_pass>no</two_pass>
    <cbr>no</cbr>
    <deinterlacing>no</deinterlacing>
    <audio_volume>100</audio_volume>
    <file_extension>tar</file_extension>
    <hint>no</hint>
    <bitrates>600k,400k,200k,110k</bitrates>
    <framerates>29.97,29.97,15,10</framerates>
    <keyframes>90,90,45,30</keyframes>
    <pack_files>yes</pack_files>
    <segment_duration>10</segment_duration>
    <add_audio_only>no</add_audio_only>
    <still_image>no</still_image>
    <still_image_time>5</still_image_time>
    <still_image_size>480x320</still_image_size>
</format>
 
<-- Hide
tools: email  |  print  |  share  |  click to rate (rated 1 time):
  • BlinkList
  • Del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Newsvine
  • Reddit
  • Sphinn
  • Technorati
  • Twitter

Android XML template

Standard template for Android preset:

<format>
    <output>android</output>
    <size>800x480</size>
    <bitrate>1024k</bitrate>
    <audio_bitrate>12.2k</audio_bitrate>
    <audio_sample_rate>8000</audio_sample_rate>
    <audio_channels_number>1</audio_channels_number>
    <framerate>30</framerate>
    <keep_aspect_ratio>yes</keep_aspect_ratio>
    <video_codec>mpeg4</video_codec>
    <profile>baseline</profile>
    <VCodecParameters>no</VCodecParameters>
    <audio_codec>libamr_nb</audio_codec>
    <two_pass>no</two_pass>
    <cbr>no</cbr>
    <deinterlacing>no</deinterlacing>
    <keyframe>300</keyframe>
    <audio_volume>100</audio_volume>
    <file_extension>3gp</file_extension>
</format>
 

Standard template for Android preset:

<format>
    <output>android</output>
    <size>800x480</size>
    <bitrate>1024k</bitrate>
    <audio_bitrate>12.2k</audio_bitrate>
    <audio_sample_rate>8000</audio_sample_rate>
    <audio_channels_number>1</audio_channels_number>
    <framerate>30</framerate>
    <keep_aspect_ratio>yes</keep_aspect_ratio>
    <video_codec>mpeg4</video_codec>
    <profile>baseline</profile>
    <VCodecParameters>no</VCodecParameters>
    <audio_codec>libamr_nb</audio_codec>
    <two_pass>no</two_pass>
    <cbr>no</cbr>
    <deinterlacing>no</deinterlacing>
    <keyframe>300</keyframe>
    <audio_volume>100</audio_volume>
    <file_extension>3gp</file_extension>
</format>
 
<-- Hide
tools: email  |  print  |  share  |  click to rate (rated 3 times):
  • BlinkList
  • Del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Newsvine
  • Reddit
  • Sphinn
  • Technorati
  • Twitter

iphone-http-live-streaming

HTTP Live Streaming allows streaming of files from the internet to specific devices. Encoding.com’s platform produces files that are chunked into many short streams. From there, you can choose many bit rates in order to adapt to the environment in which the stream is played. This allows the viewing environment to adapt to the correct data rate.

iPhone

 More -->

HTTP Live Streaming allows streaming of files from the internet to specific devices. Encoding.com’s platform produces files that are chunked into many short streams. From there, you can choose many bit rates in order to adapt to the environment in which the stream is played. This allows the viewing environment to adapt to the correct data rate.

iPhone HTTP Live Streaming

Imagine a one-click setting for iPhone HTTP live streaming. We have it and an array of other cloud-based encoding solutions. Contact us today for more information.

<-- Hide
tools: email  |  print  |  share  |  click to rate (rated 3 times):
  • BlinkList
  • Del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Newsvine
  • Reddit
  • Sphinn
  • Technorati
  • Twitter

mobile-video-format

Encoding.com has removed the guesswork for creating dynamic workflows for mobile content. We make it fast and easy to convert to mobile video format .

Find the Right Mobile Video Codec for Your Needs

Encoding.com has the mobile video codec you seek. Choose from iPhone, iPod, iPad, Blackberry, Droid, Nokia, PSP or Zune. Upload content via

 More -->

Encoding.com has removed the guesswork for creating dynamic workflows for mobile content. We make it fast and easy to convert to mobile video format.

Find the Right Mobile Video Codec for Your Needs

Encoding.com has the mobile video codec you seek. Choose from iPhone, iPod, iPad, Blackberry, Droid, Nokia, PSP or Zune. Upload content via API or web UI, pick and choose from the presets in our web interface and that’s it! You’ve just created a simple workflow that’s ready to distribute to many mobile formats in just a few clicks.

Mobile Video Compression is Easy with Encoding.com

Try our cloud-based mobile video compression and encoding software today. Regardless of your needs, Encoding.com has the solution.

<-- Hide
tools: email  |  print  |  share  |  click to rate (rated 4 times):
  • BlinkList
  • Del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Newsvine
  • Reddit
  • Sphinn
  • Technorati
  • Twitter

HTTP Live Streaming for Apple Devices

Apple has added a new layer of encoding confusion to the market with HTTP Live Streaming for the iPhone and Quicktime. From Apple's own Developer's Center :

"HTTP Live Streaming allows you to send live or prerecorded audio and video to iPhone or other devices, such as iPod touch or desktop computers, using an ordinary Web server. Playback

 More -->

Apple has added a new layer of encoding confusion to the market with HTTP Live Streaming for the iPhone and Quicktime. From Apple's own Developer's Center:

"HTTP Live Streaming allows you to send live or prerecorded audio and video to iPhone or other devices, such as iPod touch or desktop computers, using an ordinary Web server. Playback requires iPhone OS 3.0 or later on devices running iPhone OS; QuickTime X or later is required on the desktop..."

The files delivered consist of multiple different bit-rate .ts (transport stream) tied together with a .m3u8 index file. This file, in this sample from the Apple Developer Guide linked above, may look like this inside:

"Here is a very simple example of an .M3U8 file a segmenter might produce if the entire stream were contained in three unencrypted 10-second media files:

#EXTM3U
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-TARGETDURATION:10
#EXTINF:10,
http://media.example.com/segment1.ts
#EXTINF:10,
http://media.example.com/segment2.ts
#EXTINF:10,
http://media.example.com/segment3.ts
#EXT-X-ENDLIST

A picture from Jan Ozer shows this method more clearly.  

This list shows a reference to three different segments, each being a part of a whole video, just pieces used to stream the different bit-rates on the fly as the connection warrants in the system. 

To get started with encoding.com's service for HTTP streaming files, select the iPhone Streaming Task/Preset.  To learn more about getting apple recommended settings for the HTTP live streaming files, please see our help article:

http://www.encoding.com/how_to_generate_apple_recommended_http_live_streaming_files_for_apple_iphon

Once the encoding is finished, the user should be able to post those files to a http site and stream them directly to mobile devices pointed at those streams.  

 

Apple, on March 19th, released a technical note on the HTTP Live Streaming, linked here. This article by Apple explains, in depth and clearly, the requirements for http streaming for the iphone and ipad.

  

Jan Ozer, of Streaming Learning Center, has two great articles on HTTP Live Streaming which are a must read for anyone getting started in the HTTP Live Streaming delivery:

Part 1

Part 2 

 

<-- Hide
tools: email  |  print  |  share  |  click to rate (not rated yet):
  • BlinkList
  • Del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Newsvine
  • Reddit
  • Sphinn
  • Technorati
  • Twitter

How to generate Apple Recommended HTTP Live Streaming Files for Apple iPhone

To generate proper iPhone HTTP live streaming profiles in encoding.com, see the below xml. These settings should be used whenever the user wishes to publish the apple recommended profiles, based on this document:

http://developer.apple.com/iphone/library/technotes/tn2010/tn2224.html

   <format> 
    <output>iphone_stream</output>
    <destination>******</destination>
    <size>400x300</size>
    <bitrate>1024k</bitrate>
    <audio_bitrate>40k</audio_bitrate>
    <audio_sample_rate>44100</audio_sample_rate>
    <audio_channels_number>2</audio_channels_number>
    <framerate>29.97</framerate>
    <keep_aspect_ratio>yes</keep_aspect_ratio>
    <video_codec>libx264</video_codec>
   
 More -->

To generate proper iPhone HTTP live streaming profiles in encoding.com, see the below xml. These settings should be used whenever the user wishes to publish the apple recommended profiles, based on this document:

http://developer.apple.com/iphone/library/technotes/tn2010/tn2224.html

	  <format>
    <output>iphone_stream</output>
    <destination>******</destination>
    <size>400x300</size>
    <bitrate>1024k</bitrate>
    <audio_bitrate>40k</audio_bitrate>
    <audio_sample_rate>44100</audio_sample_rate>
    <audio_channels_number>2</audio_channels_number>
    <framerate>29.97</framerate>
    <keep_aspect_ratio>yes</keep_aspect_ratio>
    <video_codec>libx264</video_codec>
    <profile>iphone_stream</profile>
    <VCodecParameters>no</VCodecParameters>
    <audio_codec>libmp3lame</audio_codec>
    <two_pass>no</two_pass>
    <turbo>no</turbo>
    <cbr>no</cbr>
    <deinterlacing>no</deinterlacing>
    <keyframe>90</keyframe>
    <audio_volume>100</audio_volume>
    <rotate>0</rotate>
    <file_extension>tar</file_extension>
    <bitrates>600k,400k,200k,110k</bitrates>
    <pack_files>yes</pack_files>
    <force_bitrate>no</force_bitrate>
    <segment_duration>10</segment_duration>
    <add_audio_only>yes</add_audio_only>
    <still_image>each_segment</still_image>
    <still_image_time>4</still_image_time>
    <still_image_size>480x320</still_image_size>
  </format>

 Note certain settings, which are important to meet the encoding chart from the technical note: size, framerate, audio bitrate, audio sample rate, keyframe, bitrates and still image size. These recommendations should give good results, and get working iphone streaming delivered on time, with excellent results.

<-- Hide
tools: email  |  print  |  share  |  click to rate (rated 1 time):
  • BlinkList
  • Del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Newsvine
  • Reddit
  • Sphinn
  • Technorati
  • Twitter

iPhone Streaming

Encoding video to iPhone/iPad live HTTP streaming format

Encoding video to iPhone/iPad live HTTP streaming format

<-- Hide
tools: email  |  print  |  share  |  click to rate (rated 9 times):
  • BlinkList
  • Del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Newsvine
  • Reddit
  • Sphinn
  • Technorati
  • Twitter

Can Encoding.com create content for mobile devices?

Encoding.com has removed the guesswork for creating dynamic workflows for mobile content. We make it fast and easy to convert to mobile video format .

Find the Right Mobile Video Codec for Your Needs

Encoding.com has the mobile video codec you seek. Choose from iPhone, iPod, iPad, Blackberry, Droid, Nokia, PSP or Zune. Upload content via

 More -->

Encoding.com has removed the guesswork for creating dynamic workflows for mobile content. We make it fast and easy to convert to mobile video format.

Find the Right Mobile Video Codec for Your Needs

Encoding.com has the mobile video codec you seek. Choose from iPhone, iPod, iPad, Blackberry, Droid, Nokia, PSP or Zune. Upload content via API or web UI, pick and choose from the presets in our web interface and that’s it! You’ve just created a simple workflow that’s ready to distribute to many mobile formats in just a few clicks.

Mobile Video Compression is Easy with Encoding.com

Try our cloud-based mobile video compression and encoding software today. Regardless of your needs, Encoding.com has the solution.

<-- Hide
tools: email  |  print  |  share  |  click to rate (not rated yet):
  • BlinkList
  • Del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Newsvine
  • Reddit
  • Sphinn
  • Technorati
  • Twitter

What is HTTP Live Streaming?

HTTP Live Streaming allows streaming of files from the internet to specific devices. Encoding.com’s iPhone video encoding platform produces files that are chunked into many short streams. From there, you can choose many bit rates in order to adapt to the environment in which the stream is played. This allows the viewing environment to adapt to the correct

 More -->

HTTP Live Streaming allows streaming of files from the internet to specific devices. Encoding.com’s iPhone video encoding platform produces files that are chunked into many short streams. From there, you can choose many bit rates in order to adapt to the environment in which the stream is played. This allows the viewing environment to adapt to the correct data rate.


iPhone HTTP Live Streaming

Imagine a one-click setting for iPhone HTTP live streaming. We have it and an array of other cloud-based transcoding solutions. Contact us today for more information.

<-- Hide
tools: email  |  print  |  share  |  click to rate (rated 6 times):
  • BlinkList
  • Del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Newsvine
  • Reddit
  • Sphinn
  • Technorati
  • Twitter

How do I encode video for mobile devices?

There are a number of very popular mobile devices that support video playback including:

  • iPhone / iPod
  • Blackberry
  • Nokia
  • Droid
  • PSP
  • Zune

Of course, many of these devices have their own video format requirements.  Encoding.com provides simple presets for the most popular mobile devices so that you can properly encode your video

 More -->

There are a number of very popular mobile devices that support video playback including:

  • iPhone / iPod
  • Blackberry
  • Nokia
  • Droid
  • PSP
  • Zune

Of course, many of these devices have their own video format requirements.  Encoding.com provides simple presets for the most popular mobile devices so that you can properly encode your video for your target device without requiring you to research the various device specifications. Use our web interface to browse to the presets and choose from an encode flavor that you can use as-is, or customize however you'd like. Go ahead and create one watch folder and add multiple presets to create all of your mobile content. It's that easy!

<-- Hide
tools: email  |  print  |  share  |  click to rate (rated 5 times):
  • BlinkList
  • Del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Newsvine
  • Reddit
  • Sphinn
  • Technorati
  • Twitter

How do I create videos for the Verizon Droid Incredible?

 

On the Droid incredible, 480x800 is the screen resolution. Generating a working file for the Droid phones can be extremely difficult to find information for, however, in the user guide ( http://cache.vzw.com/multimedia/mim/htc_incredible/incredible.pdf ), some basic supported video types are pointed out (Pg 202, Specifications).

 The four supported video types: .3gp, 3g2, .mp4, .wmv

 More -->

 

On the Droid incredible, 480x800 is the screen resolution. Generating a working file for the Droid phones can be extremely difficult to find information for, however, in the user guide (http://cache.vzw.com/multimedia/mim/htc_incredible/incredible.pdf), some basic supported video types are pointed out (Pg 202, Specifications).

 The four supported video types: .3gp, 3g2, .mp4, .wmv

Of these, .3gp is the native capture for the device.  When a video is shot on the phone, and inspected in Quicktime, it shows:

  • .3gp
  • MPEG4
  • 800x480
  • AMR Narrowband 8KHz
  • Bitrate: 2000 Kbps  

For making video to these devices, MPEG4 video is an excellent codec in this case, as it gives good quality and compression, and AMR Narrowband is the audio of choice. 3gp is the wrapper of choice for encoding as well, as it is the native supported file type. A sample of a working xml (with only relevant lines) is below:

        <output>3gp</output>

	<video_codec>mpeg4</video_codec>

	<audio_codec>libamr_nb</audio_codec>

	<bitrate>1024k</bitrate>    

	<size>800x480</size>

Note, for compatibility with older Droid phones, encoding the video at 480x320 could be handy, and looks pretty good on the devices as well.  

<-- Hide
tools: email  |  print  |  share  |  click to rate (rated 2 times):
  • BlinkList
  • Del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Newsvine
  • Reddit
  • Sphinn
  • Technorati
  • Twitter

Correct MIME types for serving video files

We test video playback on a variety of devices, from Mac and Windows PCs, to all the various mobile phone platforms available today. One critical issue that comes up often is that the hosting server has not set the MIME types for the video type. A typical error message for this would be "unknown application/octet-stream". Here is a list

 More -->

We test video playback on a variety of devices, from Mac and Windows PCs, to all the various mobile phone platforms available today. One critical issue that comes up often is that the hosting server has not set the MIME types for the video type. A typical error message for this would be "unknown application/octet-stream". Here is a list of many common formats we encounter.


Video Type Extension MIME Type
Flash .flv video/x-flv
MPEG-4 .mp4 video/mp4
iPhone Index .m3u8 application/x-mpegURL
iPhone Segment .ts video/MP2T
3GP Mobile .3gp video/3gpp
QuickTime .mov video/quicktime
A/V Interleave .avi video/x-msvideo
Windows Media .wmv video/x-ms-wmv

IMPORTANT: You will need to configure your ftp server to these MIME types for them to be properly recognized by their respective playback devices.

<-- Hide
tools: email  |  print  |  share  |  click to rate (rated 3 times):
  • BlinkList
  • Del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Newsvine
  • Reddit
  • Sphinn
  • Technorati
  • Twitter

iPhone streaming creating TAR file on output

With TAR output is set to OFF, and should see .m3u8 pointers and .ts segment files populate your output directory. The trick is correctly formatting the output filepath. You have to make sure your output filepath has a filename WITHOUT a 3-character file extension. I had this same problem because I either defined only the output directory, or had

 More -->

With TAR output is set to OFF, and should see .m3u8 pointers and .ts segment files populate your output directory. The trick is correctly formatting the output filepath. You have to make sure your output filepath has a filename WITHOUT a 3-character file extension. I had this same problem because I either defined only the output directory, or had an output filename with .m3u on it. In both cases that will force a TAR output even if you have set it to off. SAMPLES: To get your segments, a correct output filepath should look something like this: http://yourbucket.s3.amazonaws.com/iphonetest/outputfilename ftp://username:password@ftp.yourserver.net/iphonetest/outputfilename

<-- Hide
tools: email  |  print  |  share  |  click to rate (rated 2 times):
  • BlinkList
  • Del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Newsvine
  • Reddit
  • Sphinn
  • Technorati
  • Twitter

Encoding for the iPhone: Tallscreen/Vertical Video Orientation

An excellent article on using encoding.com to generate proper video for the iphone: http://orb-of-knowledge.blogspot.com/2010/02/iphone-video-orientation.html Thank you to all encoding.com contributors for their valuable feedback and time. Please, if you have useful technology or video articles you think would fit encoding.com's commitment to sharing of information, e-mail us at helpdesk@encoding.com.

An excellent article on using encoding.com to generate proper video for the iphone: http://orb-of-knowledge.blogspot.com/2010/02/iphone-video-orientation.html Thank you to all encoding.com contributors for their valuable feedback and time. Please, if you have useful technology or video articles you think would fit encoding.com's commitment to sharing of information, e-mail us at helpdesk@encoding.com.

<-- Hide
tools: email  |  print  |  share  |  click to rate (rated 1 time):
  • BlinkList
  • Del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Newsvine
  • Reddit
  • Sphinn
  • Technorati
  • Twitter

Encoding for Blackberry Phones

Here is a sample mp4 which should play fine on Blackberry phones. http://www.pixelgoat.net/encoding/blackberry/big_vinny_9432618.mp4 XML for "big vinny" sample as follows:

 					<format>
					<output>mp4</output>
					<size>320x240</size>
					<bitrate>512k</bitrate>
					<audio_bitrate>64k</audio_bitrate>
					<audio_channels_number>2</audio_channels_number>
					<framerate>24</framerate>
					<keep_aspect_ratio>yes</keep_aspect_ratio>
					<video_codec>mpeg4</video_codec>
					<profile>main</profile>
					<VCodecParameters>no</VCodecParameters>
					<audio_codec>libfaac</audio_codec>
					<two_pass>yes</two_pass>
					<cbr>no</cbr>
					<deinterlacing>no</deinterlacing>
					<keyframe>96</keyframe>
					<audio_volume>100</audio_volume>
					<rotate>0</rotate>
					<file_extension>mp4</file_extension>
					<hint>no</hint>
					</format>
 

You may want to check which model Blackberry you are using. This is a very useful PDF guide. http://www.pixelgoat.net/encoding/blackberry/Blackberry_Video_Profiles.pdf If you are still having a problem, please send us a ticket and

 More -->

Here is a sample mp4 which should play fine on Blackberry phones. http://www.pixelgoat.net/encoding/blackberry/big_vinny_9432618.mp4 XML for "big vinny" sample as follows:

					<format>
					<output>mp4</output>
					<size>320x240</size>
					<bitrate>512k</bitrate>
					<audio_bitrate>64k</audio_bitrate>
					<audio_channels_number>2</audio_channels_number>
					<framerate>24</framerate>
					<keep_aspect_ratio>yes</keep_aspect_ratio>
					<video_codec>mpeg4</video_codec>
					<profile>main</profile>
					<VCodecParameters>no</VCodecParameters>
					<audio_codec>libfaac</audio_codec>
					<two_pass>yes</two_pass>
					<cbr>no</cbr>
					<deinterlacing>no</deinterlacing>
					<keyframe>96</keyframe>
					<audio_volume>100</audio_volume>
					<rotate>0</rotate>
					<file_extension>mp4</file_extension>
					<hint>no</hint>
					</format>

You may want to check which model Blackberry you are using. This is a very useful PDF guide. http://www.pixelgoat.net/encoding/blackberry/Blackberry_Video_Profiles.pdf If you are still having a problem, please send us a ticket and include the Media ID# of the file which isn't playing for you. https://manage.encoding.com/user/#/user/support.php Verified settings include:


Format = 3gp/amr, mpeg4/aac
Framesize = 320x240
Framerates = 24
Bitrates = 256k, 512k, 768k

NOTE: mp3 audio does NOT play with video. Please use aac audio with mpeg4 to guarantee proper playout on Blackberry phones. We have successfully tested our base presets on Blackberry phones for mp4 and 3gp. Confirmed playout to Blackberry Curve 8530 in November 2010.

<-- Hide
tools: email  |  print  |  share  |  click to rate (rated 2 times):
  • BlinkList
  • Del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Newsvine
  • Reddit
  • Sphinn
  • Technorati
  • Twitter

iPhone_streaming preset gives me a long error everytime, why?

If a user is experiencing an issue using the iphone_streaming task/preset (see snippet of the full error read out below), this error is easily resolved by setting the audio_sample_rate . Apple recommends the audio_sample_rate is set to 22050 , however, it could potentially be set to: 8000, 11025, 16000, 22050, 32000, 44100, 48000 .


Encoder error:

 More -->

If a user is experiencing an issue using the iphone_streaming task/preset (see snippet of the full error read out below), this error is easily resolved by setting the audio_sample_rate. Apple recommends the audio_sample_rate is set to 22050, however, it could potentially be set to: 8000, 11025, 16000, 22050, 32000, 44100, 48000.


Encoder error: FFmpeg version SVN-r21449, Copyright (c) 2000-2010 Fabrice Bellard, et al.   built on Feb  3 2010 06:48:05 with gcc 4.4.0 20090514 (Red Hat 4.4.0-6)   configuration: --prefix=/usr/local/ffmpeg/21449 --enable-shared --enable-gpl --enable-version3 --enable-nonfree --disable-ffserver --enable-postproc --enable-pthreads --enable-memalign-hack --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libvorbis --enable-libx264 --enable-libxvid   libavutil     50. 7. 0 / 50. 7. 0   libavcodec    52.48. 0 / 52.48. 0   libavformat   52.47. 0 / 52.47. 0   libavdevice   52. 2. 0 / 52. 2. 0   libswscale     0. 9. 0 /  0. 9. 0   libpostproc   51. 2. 0 / 51. 2. 0 [mpeg @ 0x806b3e0]MAX_READ_SIZE:5000000 reached  Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 25.00 (25/1) Input #0, mpeg, from '/mnt/vhosts/default/code/tmp/source_1506155':   Duration: 00:03:33.19, start: 0.164600, bitrate: 15775 kb/s     Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x480 [PAR 32:27 DAR 16:9], 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc     Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, 2 channels, s16, 384 kb/s [mp3 @ 0x8074560]sample rate not set Output #0, mp3, to '/mnt/vhosts/default/code/tmp/converted_6272009.mp3':     Stream #0.0: Audio: libmp3lame, 2 channels, s16, 64 kb/s Stream mapping:   Stream #0.1 -> #0.0 Could not write header for output file #0 (incorrect codec parameters ?) Encoder error: FFmpeg version SVN-.... ... <-- Hide

tools: email  |  print  |  share  |  click to rate (rated 1 time):
  • BlinkList
  • Del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Newsvine
  • Reddit
  • Sphinn
  • Technorati
  • Twitter

Segmentation error

One of the reason may be inconsistency of specified segment duration and framerate/keyframe pair. You should try to keep at least 3 keyframes per segment. E.g. if you specify segment duration 5 sec and keyframe 15 fps, the keyframe parameter should not be greater than 25, so we have at least one keyframe per every 25 frames, and there are

 More -->

One of the reason may be inconsistency of specified segment duration and framerate/keyframe pair. You should try to keep at least 3 keyframes per segment. E.g. if you specify segment duration 5 sec and keyframe 15 fps, the keyframe parameter should not be greater than 25, so we have at least one keyframe per every 25 frames, and there are about 3 keyframes per segment (it's duration is 15*5 = 75 frames).

<-- Hide
tools: email  |  print  |  share  |  click to rate (rated 2 times):
  • BlinkList
  • Del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Newsvine
  • Reddit
  • Sphinn
  • Technorati
  • Twitter