Dms Content Mpeg2ts

Embed Size (px)

Citation preview

  • 7/30/2019 Dms Content Mpeg2ts

    1/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 62

    MPEG Creation

    Return to Contents

    62

  • 7/30/2019 Dms Content Mpeg2ts

    2/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 63

    MPEG-2 is the most common video compression format.

    There are more tools available for MPEG-2 encoding/

    transcoding than other MPEG versions

    Users are more familiar with MPEG-2 codecs

    MPEG-2 supports both standard and high definition

    MPEG-2 is the common DVD format

    H.264 codec is providing good video quality at

    substantially lower bit rates.

    Why use MPEG2-TS?

    63

  • 7/30/2019 Dms Content Mpeg2ts

    3/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 64

    VLC: Encoding to MPEG2-TS

    Step 1: Open the file you need to encode into MPEG-2

    Step 2: Check Stream/Save check-box

    Step 3: Click Settings

    2

    1

    3

    64

    Encoding is the process of transforming information from one format into another.

  • 7/30/2019 Dms Content Mpeg2ts

    4/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 65

    Step 4: Check the file checkbox

    4

    Step 5: Specify file name

    5

    Step 6: Check the videocodeccheck box

    Step 7: Choose mp2vfrom the drop-down menu

    6

    7

    8

    9

    Step 9: Check the audiocodeccheck box

    Step 10Choosempga from the drop-down menu

    Step 8:Choose the bitrate:for HD: 12-15 Mbit/secfor SD: 5-8 Mbit/sec

    10Step 11: Hit OK

    11

    VLC: Encoding to MPEG2-TS

    65

  • 7/30/2019 Dms Content Mpeg2ts

    5/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 66

    Adobe Premiere: MPEG-2 Creation

    In Adobe Premiere, its best to use existing presets for this project:

    When you open a new project, please choose Adobe HDV 720p 30.

    And then, in Export Adobe Media Encoder please choose MPEG2 for format, Range: renderentire sequence, Preset:Custom; Video Codec :MainConcept MPEG Video;

    Quality: Best; TV standard: NTSC;

    Frame Width for this project: 1280px;

    Frame Height: 720px;

    Frame rate: 29.97 drop frame;

    Field Order: None (progressive)

    Pixel aspect ratio: Standard 4:3

    Profile: Main

    Level: High level

    Bitrate Encoding : CBR, or VBR optional (for VBR numbers should not exceed Max bitratesspecified below)

    Bitrate for HD: 10 Mbit/sec - 15 Mbit/sec (Max)

    Bitrate for SD: 3 Mbit/sec - 5 Mbit/sec (Max)

    Multiplexing: TS (transport stream)

    66

  • 7/30/2019 Dms Content Mpeg2ts

    6/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 67

    Step 1: define project presets

    1

    Adobe Premiere: MPEG-2 Creation

    67

  • 7/30/2019 Dms Content Mpeg2ts

    7/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 68

    Step 2: create your movie

    Step 3: from File menu choose Export Adobe Media Encoder

    2

    Adobe Premiere: MPEG-2 Creation

    68

  • 7/30/2019 Dms Content Mpeg2ts

    8/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 69

    Step 4: Videosettings

    Set quality

    Choose movie size

    Progressive scan

    Specify aspect ratio

    Adobe Premiere: MPEG-2 Creation

    69

  • 7/30/2019 Dms Content Mpeg2ts

    9/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 70

    Choose bitrate:

    HD: 12 Mbit/sec - 15 Mbit/secSD: 05 Mbit/sec - 08 Mbit/sec

    Choose High Level

    Choose Main Profile

    Step 4: Videosettings

    Adobe Premiere: MPEG-2 Creation

    70

  • 7/30/2019 Dms Content Mpeg2ts

    10/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 71

    Step 6: Hit OK5

    Choose TS

    Step 5: Multiplexing

    Adobe Premiere: MPEG-2 Creation

    71

  • 7/30/2019 Dms Content Mpeg2ts

    11/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 72

    Step 1: File Import file: to load footage into Project Bin

    1

    After Effects: MPEG-2 Rendering

    72

  • 7/30/2019 Dms Content Mpeg2ts

    12/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 73

    Step 2: create your composite by dragging file onto comp button

    After Effects: MPEG-2 Rendering

    2

    73

  • 7/30/2019 Dms Content Mpeg2ts

    13/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 74

    Step 3: Menu Bar: select Composition Add to Render Queue

    After Effects: MPEG-2 Rendering

    3

    74

  • 7/30/2019 Dms Content Mpeg2ts

    14/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 75

    Step 4: Launch the Output Module by clicking Lossless

    After Effects: MPEG-2 Rendering

    4

    75

  • 7/30/2019 Dms Content Mpeg2ts

    15/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 76

    Steps 5 & 6:

    After Effects: MPEG-2 Rendering

    Step 5: SelectMPEG2 in the

    drop-down menu. Step 6:ClicktheFormatOptionsbutton tolaunch adialoguebox.

    76

  • 7/30/2019 Dms Content Mpeg2ts

    16/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 77

    After Effects: MPEG-2 Rendering

    Step 7: WithinBasic Video

    Settings match:

    Step 9:Click theMultiplexertab to revealthe nextoption set.

    Step 8: SetBitrate Settings

    720x480: target=5 / Max8

    1280x720: target=12 / Max15

    Steps 7, 8 & 9:

    77

  • 7/30/2019 Dms Content Mpeg2ts

    17/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 78

    Step 10:

    Select TS in theMultiplexiing

    drop-down panel Step 11:Select Variablefor the BitrateType.

    Steps 10, 11, & 12:

    Step 12:Click, OK.

    After Effects: MPEG-2 Rendering

    78

  • 7/30/2019 Dms Content Mpeg2ts

    18/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 79

    Notice the filename change:

    m2t = MPEG2-TS

    Step 13:Select theOutput tofilename.

    Steps 13,14:

    Step 14:Click, Save.Note: This Savemeans Save file to

    After Effects: MPEG-2 Rendering

    79

  • 7/30/2019 Dms Content Mpeg2ts

    19/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 80

    Steps 15: Generating your MPEG2-TS file.

    Step 15:Click, Render.This will createan MPEG2-TS file

    (optional) Tosave on file sizeyou may also usethe VLC player totranscode the

    mp2v codec toan h.264 codec.See MPEG2 in VLCabove.

    After Effects: MPEG-2 Rendering

    80

  • 7/30/2019 Dms Content Mpeg2ts

    20/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 81

    Sony Vegas: MPEG-2 Rendering

    Step 1: Import the file you need to encode into MPEG2

    2

    Step 2: Choose File Properties

    81

  • 7/30/2019 Dms Content Mpeg2ts

    21/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 82

    Sony Vegas: MPEG-2 Rendering

    Step 3: Choose properties: choose a template you want to use from thedrop-down menu (NTSC DV may be replaced with HDV 720-30p forexample); specify width, height, etc.

    Choose a Template.

    Specify movie size.

    Specify scan.

    Specify frame rate.

    82

  • 7/30/2019 Dms Content Mpeg2ts

    22/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 83

    Sony Vegas: MPEG-2 Rendering

    Step 4: Create your movie

    Step 5: From file menu choose render as to save the movie

    5

    83

  • 7/30/2019 Dms Content Mpeg2ts

    23/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 84

    Sony Vegas: MPEG-2 Rendering

    Step 6: Choose MainConcept MPEG2from the drop-down menu

    6

    84

  • 7/30/2019 Dms Content Mpeg2ts

    24/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 85

    Sony Vegas: MPEG-2 Rendering

    Step 7: Name the video file and save

    7

    85

  • 7/30/2019 Dms Content Mpeg2ts

    25/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 86

    Quicktime Pro: MPEG-4 Export

    Step 1: After opening a desired video file, select File>Export

    1

    86

  • 7/30/2019 Dms Content Mpeg2ts

    26/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 87

    Step 2: From the Export menu select: Movie to MPEG-4

    Quicktime Pro: MPEG-4 Export

    2

    Note: The use of the

    VLC player to wrapthe .mp4v file into theMPEG2-TS format willbe necessary; however,transcoding is not anecessary procedure.

    87

  • 7/30/2019 Dms Content Mpeg2ts

    27/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 88

    Step 3:Set Image Size to 720p or 1080p.

    Quicktime Pro: MPEG-4 Export

    3

    88

  • 7/30/2019 Dms Content Mpeg2ts

    28/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 89

    Step 4: Select an appropriate data rate from 12 to 15Mbps.

    Quicktime Pro: MPEG-4 Export

    4

    89

  • 7/30/2019 Dms Content Mpeg2ts

    29/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 90

    Quicktime Pro: MPEG-4 Export

    5

    Step 5: Select an appropriate data rate from 12 to 15Mbps.

    90

  • 7/30/2019 Dms Content Mpeg2ts

    30/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 91

    Quicktime Pro: MPEG-4 Export

    6

    Step 6: Select an appropriate video frame rate.

    91

  • 7/30/2019 Dms Content Mpeg2ts

    31/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 92

    Quicktime Pro: MPEG-4 Export

    7

    Step 7: Entera filename, then click Save.

    Step 8:The use of the VLC player to wrap the .mp4v file into theDMP recognized MPEG2-TS format will be necessary; however,transcoding is not a required procedure.

    Please read Reformatt: MPEG4 to MPEG2 -TS below.

    92

  • 7/30/2019 Dms Content Mpeg2ts

    32/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 93

    Step 1: Launch Compressor via File>Export>Using Compressor

    1

    Final Cut Pro: MPEG2 Rendering

    93

  • 7/30/2019 Dms Content Mpeg2ts

    33/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 94

    Final Cut Pro: MPEG2 Rendering

    Step 2: Duplicate the Mpeg-2 preset for modification.

    Step 3: Select the Encoder button and match the settings.

    23

    94

  • 7/30/2019 Dms Content Mpeg2ts

    34/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 95

    Final Cut Pro: MPEG2 Rendering

    Step 4: Select the Geometry button and verify the settings.

    4

    95

  • 7/30/2019 Dms Content Mpeg2ts

    35/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 96

    Final Cut Pro: MPEG2 Rendering

    Step 5: Drag the customized set to the clip.

    5

    96

  • 7/30/2019 Dms Content Mpeg2ts

    36/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 97

    Final Cut Pro: MPEG2 Rendering

    Step 6: Drag a Destination set to the clip. Then click Submit.

    6

    97

  • 7/30/2019 Dms Content Mpeg2ts

    37/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 98

    Final Cut Pro: MPEG2 Rendering

    Step 7: Enter a name, adding the m2t extension. Click Submit.

    7

    98

  • 7/30/2019 Dms Content Mpeg2ts

    38/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 99

    Final Cut Pro: MPEG2 Rendering

    Step 8: The dialogue box will disappear when done.

    8

    99

  • 7/30/2019 Dms Content Mpeg2ts

    39/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 100

    The free VLC player from Main Concept is arecommended tool to transcode and/or wrap videofiles in the DMP preferred MPEG2 TS format.

    There are more tools available for MPEG-2 encoding/transcoding than other MPEG versions.

    MPEG-2 supports both standard and high definitionvideo and is the industry DVD format.

    Transcodingis the direct digital-to-digitalconversion from one codec to another. VLC

    streamlines the conversion process. The h.264 codec can provide good video quality at

    substantially lower bit rates.

    Why h.264 codec in MPEG-2 container?

    100

  • 7/30/2019 Dms Content Mpeg2ts

    40/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 101

    CompressionBitrates

    01Mbps

    03Mbps05Mbps08Mbps10Mbps

    08Mbps10Mbps15Mbps18Mbps20Mbps

    08Mbps10Mbps15Mbps18Mbps20Mbps

    Mpeg2-TSCompression

    [03.6MB]

    [13,4MB][13,4MB][20.9MB][25.9MB]

    [20.9MB][26.0MB][38.5MB][46.0MB][51.0MB]

    [20.9MB][25.9MB][38.4MB][46.0MB][51.0MB]

    Transcodedto .h.264

    [3.3MB]

    [3.3MB][3.3MB][3.3MB][3.3MB]

    [3.2MB][3.2MB][3.2MB][3.2MB][3.2MB]

    [3.4MB][3.4MB][3.4MB][3.5MB][3.4MB]

    1920x1080p3,648,366kb

    (3.47GB)

    1280x760p1,623,465kb

    (1.54GB)

    720x480p610,965kb(596MB)

    Uncompressedfile size

    MPEG2-TS/h.264 file size sampling Adobe(After Effects CS3 Professional>Output module: MPEG2)

    101

  • 7/30/2019 Dms Content Mpeg2ts

    41/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 102

    MPEG2-TS/h.264 file size sampling Adobe(Premiere Pro CS3 > Adobe Media Encoder: H.264 format)

    CompressionBitrates

    01Mbps

    03Mbps05Mbps08Mbps10Mbps

    08Mbps10Mbps15Mbps18Mbps20Mbps

    08Mbps10Mbps15Mbps18Mbps20Mbps

    H.264Compression

    [03.0MB]

    [07.4MB][10.7MB][15.4MB][18.7MB]

    [16.2MB][19.2MB][28.3MB][30.6MB][37.3MB]

    [16.6MB][18.8MB][28.0MB][30.9MB][32.6MB]

    Transcodedto .h.264

    [3.2MB]

    [3.1MB][3.1MB][3.1MB][3.1MB]

    [3.1MB][3.1MB][3.1MB][3.1MB][3.1MB]

    [3.3MB][3.3MB][3.3MB][3.3MB][3.2MB]

    1920x1080p3,648,366kb

    (3.47GB)

    1280x760p1,623,465kb

    (1.54GB)

    720x480p610,965kb(596MB)

    Uncompressedfile size

    102

  • 7/30/2019 Dms Content Mpeg2ts

    42/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 103

    Step 1: Open the file you need to encode into MPEG2

    Step 2: Check Stream/Save check-box

    Step 3: Click Settings

    2

    1

    3

    VLC: MPEG2-TS/h.264 transcoding

    103

    Transcoding is the direct digital-to-digital conversion from one codec to another

    In our case we convert codec from the original codec to h.264

  • 7/30/2019 Dms Content Mpeg2ts

    43/43

    2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 104

    Step 4: Check the file checkbox

    4

    Step 5: Specify file name

    5

    Step 6: Check the videocodeccheck box

    Step 7: Choose h.264from the drop-down menu

    6

    7

    8

    9

    Step 9: Check the audiocodeccheck box

    Step 10: Choosempga from the drop-down menu

    Step 8: Choose thebitrate for: HD>12 -15 Mbit/sec

    HD>5-8 Mbit/sec

    10Step 11: Hit OK

    11

    VLC: MPEG2-TS/h.264 transcoding

    104