New Spark Media Platform Help

Creating and Editing Custom Transcoder profiles

Transcoder profiles allow you to export or display user media in custom sizes, formats and quality.

Three sections of Media Factory play a part in creating and implementing new transcoder profiles:

  1. Creating a new transcoder: Settings>Media Transcoder
  2. Seeing the new transcoder profile: Media>Media> Select a Media item>Embed Options
  3. Applying the new transcoder profile: Applications>Applications>Select an Application>Application templates

You can create three types of Transcoders:

  1. Audio Transcoder
  2. Image Transcoder
  3. Video Transcoder

To create a new transcoder:

  1. In the Navigation bar,  select Settings>Media Transcoder.

         Note: Ask the project manager to give you permission to this if you cannot see it.

  1. On the Media Transcoder page, c lick the New button.
  2. Fill out the following information:
  1. Title: The name of this transcoder rule
  2. Export Format: Select the type of format you want to transcode certain media files into:
  3. Audio: MP3
  4. Images: JPEG or PNG
  5. Video: 3GPP (GSM phones), 3GPP2 (CDMA phones), Flash Video, MPEG-2, MPEG-4 SP/ASP, MPEG-4 AVC/H.264 or Ogg Theora
  1. Apply to Filetypes: Depending on the selected Export format, you can select the filetypes this transcoder rule applies to.
  2. Auto-convert: There may be cases where only a few files will need this profile applied. Selecting this box ensures that for every uploaded file (from now on), this file will be created.

  1. Click Create.

         Note: Editing the filetype is not possible after a transcoder is created. You will need to delete it         and create new transcoder for the appropriate filetype.

Deleting Transcoders

You can delete transcoders if you no longer need them,

To delete a transcoder:

  1. In the Navigation bar, select  Settings>Media Transcoder .
  2. On the Media Transcoder page, f ind the Transcoder that you  no longer want.
  3. To delete a transcoder, click   .

        

Options for an Audio Transcoder Profile

You can only convert audio to MP3 format. Here are the fields associated with Audio:

  1. Profile ID: You cannot edit this f ield. It is the id number used to apply the transcoder settings to media items.
  2. Title: Title of the setting.
  3. Export Format: MP3
  4. Automatically generate: If selected, files will be converted automatically.
  5. Audio bitrate: The bitrate for the audio stream in kb/s. 128 is a good quality/file size ratio.
  6. Audio sampling rate: The audio sampling rate in kHz. Generally 44100 is a good choice.
  7. Audio channels: The options are either auto, mono or stereo.
  8. Select External Storage location: You can select more than one option. There is a default location and there are external settings that have been previously set up.

Note: Click Save to save all changes.

Options for Image Transcoder Profiles

The options for Image transcoding are the following:

  1. Profile ID: You cannot edit this field. It is the id number used to apply the transcoder settings to media items.
  2. Title: Title of the setting.
  3. Export format: The chosen format. This cannot be edited.
  4. Automatically generate: If selected, files will be converted automatically.
  5. Resizing method: Defines how you want the input and output dimensions to be handled.
  6. Crop: Keeps the aspect ratio and the selected width and height; but it will cut off around the file to make it fit.
  7. Stretch: The file is blown up or shrunken, without taking the aspect ratio into consideration. This is  the only option for 3gp and 3g2 files.
  8. Preserve aspect ratio: Attempts to resize the file to the specified dimensions, without changing the original aspect ratio.
  9. Retain original size: original size will remain constant.
  10. Width and Height: The output width and height in pixels.

         Note: Not all codecs support odd numbers, so using an even number is often a better choice.

  1. Quality: The image quality. Choose a number between 0 and 100. The default is 75.
  2. Thumbnail: Not applicable for images.
  3. Watermark asset URL: Specify the URL to the image to be used as a watermark. The image must be a PNG and the URL must be correct.
  4. Watermark position: Select where to position the watermark.
  5. Select External Storage location: You can select more than one option. There is a default location and there are external settings that have been previously set up.

Note: Click Save to save all changes.

Options for Video Transcoder Profiles

The options for Video transcoding are the following:

  1. Profile ID: You cannot edit this field.  It is the id number used to apply the transcoder settings to media items.
  2. Title: Title of the setting.
  3. Export format: The chosen format. This cannot be edited.
  4. Automatically generate: If selected, files will be converted automatically.
  5. Resizing method: Defines how you want the input and output dimensions to be handled.
  6. Width and Height: The output width and height in pixels.

        Note:  Not all codecs support odd numbers, so using an even number is often a better choice.

  1. Watermark asset URL: Specify the URL to the image to be used as a watermark. The image must be a PNG and the URL must be correct.
  2. Watermark position: Select where to position the watermark.
  3. Retain original quality: If selected, determines the optimal bitrate to retain the same quality as the original. This can result in very large files. This is usually reserved for sending created files to a broadcast system.
  4. Maximum video bitrate: This is the file size to quality ratio. 300 is low quality, small file. 1000 is typically a high-quality, larger file. 700 is a good balance.
  5. Video framerate (fps): 15fps is typical for web video, 29.97 is the NTSC broadcast standard. For high-quality videos use  30fps.
  6. Deinterlace video: Many videos are interlaced, and look bad on the web. Unless you know you are uploading progressive videos, check this box.
  7. 2-pass encoding: Generates a higher-quality video, but takes longer to create. This is not compatible with H.264, so you should leave it unchecked; however, two-pass encoding is recommended for FLV.
  8. Export audio: If not selected, there is no sound.
  9. Audio bitrate: Save on bitrate by selecting lower rates for simpler audio, such as dialogue. 128 is the default.
  10. Audio sampling rate: Only change this if you are creating 8khz 3GP (mobile) video profiles.
  11. Audio channels: Only change this if you are creating mono 3GP (mobile) video profiles.
  12. Select External Storage location: You can select more than one option. There is a default location and there are external settings that have been previously set up.

Note: Click Save to save all progress or changes.

Viewing Embed Settings

If an image or video has been converted based on a transcoder setting, you can view the transcoded image or video on the Embed Options page.

To view embed settings for a media item:

  1. In the Navigation bar, select Media>Media.
  2. On the Media Overview page, double-click an image or video.
  3. On the Media Details page, under Tools, click the Embed Options  button.
  4. On the Embed Options page, to view the file for different transcoder settings, under Transcoder Profiles, click an item under the Name column.

         Note: If the image or video file has not been created for a transcoder code, a message appears indicating that the file has not yet been created. You have the option of creating it.

         Note: If you are not satisfied, click the Edit Profiles button to go back to the Media Transcoder         profiles. From the Media Transcoder page, select the profile you want to change.

To apply transcoder settings to all media in Contest:

  1. In the Navigation bar, select Settings>Media Transcoder.
  2. On the Media Transcoder page, locate and copy the profile ID number of the profile you would like to apply to all media in Contest.
  3. In the Navigation bar, select Applications>Applications.
  4. On the Applications page, select an application.
  5. Under Sections, click Application templates.
  6. On the Application Templates page, select entry.
  7. Edit the code around line 33-34 by replacing “15” with the profile number.

        <fm:Case value=“1”><img src=”{$$media_publicUrl}/15” alt=”{$$media_title}” /></fm:Case>

  1. Click Save.

Applying Transcoder settings to all media in Community

  1. In the Navigation bar, select Settings>Media Transcoder.
  2. On the Media Transcoder page, locate and copy the profile ID number of the profile you would like to apply to all media in Community.
  3. In the Navigation bar, select Applications>Applications .
  4. On the Application page, s elect an application.
  5. Under Sections, click Application t emplates.
  6. On the Application Tempates page, select mediadetails.
  7. Edit the code around line 33-34 by replacing “15” with the profile number

        <fm:Case value=“1”><img src=”{$$media_publicUrl}/15” alt=”{$$media_title}” /></fm:Case>

  1. Click S ave.

New Developments:

http://developer.filemobile.com/releasenotes-mediafactory-feb14-2012

0 comments

Be the first to comment on Creating and Editing Custom Transcoder profiles.

Add a Comment

  • captcha