Está en la página 1de 17

MPEG-1 Generation In NPLOT3D

• Project MPEG-1 Generation In NPLOT3D BPTS Updated: 2006-04-006181

• Project Driver Business Y: Faster MPEG generation

• Project Defect Slow MPEG generation

• Project Description To develop the capability of flying around CFD model long few view location controller points
and store the generated movie as script as a playable file.

z Development of Movie Editor and Playable file format


• Goal / Objective z Bring down the CPU/clock time for MPEG generation

z Ability to handle large number of graphics files

z MPEG should be well supported across all Operating System

• EACoE / GE z Significant reduction in system requirement and usage time


z Removes the licensing issues with MPEG-2 encoder/decoder
Benefits
EACoE-AE savings of $1828.85
• Financial Benefits
• Timing Start: 01/09/2005 Complete: 31/01/2006 Implement: 31/01/2006

• Push Leverage All GE-Aviation, GE-Energy and GE-GR sites that use NPLOT3D for CFD post-processing.
• EACoE CoEL/ PL
Jawinder Walia/ Venkata Bandhakavi / Ashish Gupta
GE PL/ EACoE GB
• Sponsors/Critical Process Owners: Ashish Gupta
Sponsors: Stuart D. Connell
Process Owners
• Resources BB: Jaswinder Walia/Lingaswamy Bettari MBB/Mentor: Kshira Muthanna/Vaira Sarvanan
NPLOT3D
Ashish Gupta,GEAE,EACoE,DAT
CoE
DMAI MPEG-1 Generation In NPLOT3D
StepCA – Identify Project
CTQs
Customers
• All GE-Aviation, GE-Energy and GE-GR sites that use NPLOT3D for CFD post-
processing.

Database design and development


MPEG Generation Pareto

Media Player/Editor Development


MPEG
Encoder
Customer Expectation

Graphics Algorithm
Graphics

MPEG Encoder
Algorithm

Importance
Database
design and

Total
development
Media
Bring down MPEG Encoding Time 8 H L L L 96 Player/Editor
Flying - Camera Functionality 6 L M L M 48 Development
Large no of Graphics files 5 H L L L 60 0 50 100 150
Capbility to Store Movie as Ascii file 4 L L M L 24

Total 127 35 31 35

Project CTQs
• Bring down the CPU/Clock time for MPEG encoding
• Development of Flying – Camera functionality
• Capability to handle large number of graphics files to generate longer movie
• Capability to store movie as a ASCII play file to reduce storage space

NPLOT3D
Ashish Gupta,GEAE,EACoE,DAT
CoE
DMAI MPEG-1 Generation In NPLOT3D
StepCB – Develop Team
Charter
Team D M A I C
Ashish Gupta DAT - EACoE X X X X X
Stuart D. Connell GEGR - Mentor X X X X X
Resources
Jaswinder Walia / BB, EACoE
Lingaswamy Bettari
Kshira Muthanna MBB, EACoE

Venkata Bandhakavi DAT - EACoE, TL

Problem Statement
z Inability to present post-processing results as Movie
z Existing MPEG generation method for cut-plane 3D/2D scan, unsteady solution, streamline
animation are time consuming
z Inability to generate the longer time MPEG
z Incapability to play MPEG on all Operating System and media player

Goal/Objective
• Development of Movie Editor and Playable file format
z Bring down the CPU/clock time for MPEG generation
z Ability to handle large number of graphics files
z MPEG should be well supported across all Operating System

NPLOT3D
Ashish Gupta,GEAE,EACoE,DAT
CoE
DMAI MPEG-1 Generation In NPLOT3D
StepCC – Existing Process
NPLOT3D
Map
(Post-Processor)

Cut-Plan Streamline Iso-Surface


Scan Animation Scan

Image Files
(JPEG, BMP,
TIFF)

Image
Magick
Scope of project

MPEG-2
(Output)

MPEG-2
MPEG-2 Generation
Generation is
is time
time consuming
consuming process
process and
and unreliable
unreliable
NPLOT3D
Ashish Gupta,GEAE,EACoE,DAT
CoE
DMAI MPEG-1 Generation In NPLOT3D
StepC1 – Select CTQ
Characteristics

Practical
Key CTQ Data Type
Problems
• Visual3 lib only generates
BMP on windows and TIFF on
UNIX.
Bring down image • Generated images has to be
Continuous converted to jpeg or pnm file
encoding time
format before encoding
• Encoding failures with more
number of files

Existing Process
• Generation of graphics Images for various options, i.e. Streamline Animation,
Cut – Plane Scan, Iso-surface Scan
• Time and system resource consuming encoding of images to movie

NPLOT3D
Ashish Gupta,GEAE,EACoE,DAT
CoE
DMAI MPEG-1 Generation In NPLOT3D
StepC2 – Define Performance
Standards
Defect Definition
• Large utilization of system CPU/Clock time

Data Collection Plan


• Time taken for encoding the number of image will be captured using the
algorithm that computes the process time. The output will be ASCII data
containing the amount of time consume Vs. Number of JPEGs at MPEG
standard resolution 640x480.
(This will be continues data)

Performance Standard
• The time for the process is measured from the launch of encoder executable to
exit of encoding process.

Specification Limit
• USL : Time to encode 200 images at MPEG standard resolution 640x480 should
be less then 10 sec

NPLOT3D
Ashish Gupta,GEAE,EACoE,DAT
CoE
DMAI MPEG-1 Generation In NPLOT3D
StepC3 – Measurement System
AnalysisHow have I verified that I can trust the output signal(Y) data?
Image Magick Encoder
S.No Part Run 1 Run 2 Run 3 Run 4 Average
1 Image-1 192.35 194.15 194.20 194.15 193.71
2 Image-2 191.85 195.05 193.45 196.00 194.09
3 Image-3 192.35 194.15 193.65 196.35 194.13
4 Image-4 192.10 194.30 193.85 198.10 194.59
Start
5 Image-1 191.90 194.75 194.05 194.05 193.69 Start Time
6 Image-2 191.80 194.35 193.90 194.90 193.74
7 Image-3 191.85 194.85 194.70 195.15 194.14 Test Case Information
8 Image-4 192.75 194.75 195.00 195.15 194.41
Resolution: 640x480 pixel Images
9 Image-1 192.20 196.65 193.65 194.20 194.18
10 Image-2 192.65 194.85 195.25 194.15 194.23 Image Type: JPEG
11 Image-3 191.70 194.85 199.35 194.55 195.11
12 Image-4 192.35 194.60 194.30 194.05 193.83
No of Images: 200
13 Image-1 191.85 194.90 193.85 196.30 194.23 Encoder
14 Image-2 192.55 195.95 194.60 194.05 194.29
15 Image-3 192.50 194.70 193.65 193.65 193.63 System Information
16
17
Image-4
Image-1
192.05
192.95
194.20
193.60
194.30
194.20
201.95
195.55
195.63
194.08
No of Processors: 2
18 Image-2 192.55 193.60 194.30 195.85 194.08 Processor Type: Intel® Xenon MPEG
19
20
Image-3
Image-4
192.00
192.75
197.75
194.00
194.55
194.20
195.55
195.25
194.96
194.05
Processor Clock: 2.66GHz End Time
21 Image-1 192.80 194.20 194.55 194.35 193.98 RAM : 2096604 KB
22 Image-2 192.50 193.80 194.30 194.20 193.70
OS : Windows® 2000 End
23 Image-3 192.65 193.90 194.60 194.70 193.96
24 Image-4 191.65 194.30 194.70 195.40 194.01
25 Image-1 192.10 194.15 195.30 196.40 194.49 Process Time = End Time – Start Time
26 Image-2 192.35 193.80 193.75 195.85 193.94
27 Image-3 191.90 194.00 194.75 196.30 194.24
28 Image-4 192.50 194.35 194.30 195.45 194.15
29
30
Image-1
Image-2
191.95
191.80
194.35
193.75
194.90
194.75
195.85
195.30
194.26
193.90
• Process time is calculated using computer usage time
31
32
Image-3
Image-4
192.10
192.55
193.45
193.60
194.45
193.90
196.00
195.05
194.00
193.78
• Measurement system is Computer CPU and Clock time
33
34
Image-1
Image-2
191.50
191.40
193.80
193.45
194.85
194.30
195.40
195.15
193.89
193.58
• Gauge R & R is not applicable
35 Image-3 192.00 194.60 193.80 197.95 194.59
36 Image-4 193.35 193.90 193.75 194.75 193.94

Note: Time to Encode 200 JPEG Images in Seconds


Image Standard of 640x480 Resolution

NPLOT3D
Ashish Gupta,GEAE,EACoE,DAT
CoE
DMAI MPEG-1 Generation In NPLOT3D
StepC4 – Establish Process
Report 1: Executive Summary
Capability
Process Performance Process Demographics
Actual (LT)
Date: 04/25/06
Image Magick Encoder
Potential (ST)

Reported by: Ashish Gupta


Project: MPEG Generation
Department: Design and Analysis Tools
USL
Process: ImageMagick Encoder Process Data
Characteristic:
Units: Seconds USL 10.000 ST
192.5 193.5 194.5 195.5 Upper Spec: 10 Target * LT
Lower Spec:
1,000,000
Actual (LT) Nominal: LSL *
100,000
Potential (ST) Opportunity: Mean 194.143
Sample N 36
10,000
Process Benchmarks StDev (ST) 0.445961
1000
Actual (LT) Potential (ST) StDev (LT) 0.429413
100
Sigma -7.00 -7.00
(Z.Bench)
10 Potential (ST) Capability
PPM 1000000 1000000
1 Cp *
0 1 2 3 4 5 6 7 8 9 CPU -137.64
CPL *
Report 2: Process Capability for Time Cpk -137.64
Cpm * 193.0 196.0
Xbar and S Chart Capability Indices
194.9 3.0SL=194.8
ST LT
194.4 Overall (LT) Capability Observed Performance Expected ST Performance Expected LT Performance
X=194.1 Mean 194.143 194.143
193.9 StDev 0.442 0.426
Pp * PPM < LSL * PPM < LSL * PPM < LSL *
193.4 -3.0SL=193.5 Z.USL -416.752 -431.898 PPU -142.94 PPM > USL 1000000.00 PPM > USL 0.00 PPM > USL 0.00
Z.LSL
Subgroup 0 1 2 3 4 5 6 7 8 9 PPL * PPM Total 1000000.00 PPM Total 0.00 PPM Total 0.00
Z.Bench -7.000 -7.000
1.0
3.0SL=0.9311
Z.Shift 0.000 0.000 Ppk -142.94
P.USL 1.000000 1.000000

Mean Time = 194.14 Sec


0.5
S=0.4109 P.LSL
P.Total 1.000000 1.000000

Standard Deviation = 0.445961


0.0 -3.0SL=0.00E+00
Yield 0 0
PPM 1000000 1000000
Potential (ST) Capability
Process Tolerance
Actual (LT) Capability
Process Tolerance
Cp
Cpk -137.64
USL = 10 Sec
192.805
I I
195.481
I
192.854
I I
195.431
I
Pp
Ppk -142.94
Zbench= -7.0
I I

Current process takes around 194 sec to encode 200 images


10 10 Data Source:
Specifications Specifications Time Span:
Data Trace:

of 640x480 MPEG standard resolution.


NPLOT3D
Ashish Gupta,GEAE,EACoE,DAT
CoE
DMAI MPEG-1 Generation In NPLOT3D
StepC5 – Performance Objective

• To reduce the movie encoding time for 200 images of MPEG


standard resolution of 640x480 pixels in less then 10 sec
• USL = 10 sec for 200 JPEGs of 640x480 pixels

• Encoding Time α No of Images

NPLOT3D
Ashish Gupta,GEAE,EACoE,DAT
CoE
DMAI MPEG-1 Generation In NPLOT3D
StepC6 – Identify Sources of
variation
People Methods/ Procedures MPEG generation

Non-standardized Methods
ImageMagick
Encoder
Manual Operations
Training

Experienc
e Time required for
MPEG generation
Hard Disk Space VLC
Image conversion
RAM Size Streamline Animation
Number of Images
CFX License Iso-Surface
Scan Visual3 lib
Slow processor Cut-Plan Scan generates graphics
images
Machine/Software Graphics Algorithms Image Generation

Highlighted causes are the ones which need to be dealt with to improve the
process NPLOT3D
Ashish Gupta,GEAE,EACoE,DAT
CoE
DMAI MPEG-1 Generation In NPLOT3D
StepC7 – Screen Potential Causes

What are vital Xs?


Factor lead to increase
• ImageMagick Encoder
in movie generation time

Vital Xs are screened based on its effect on output


NPLOT3D
Ashish Gupta,GEAE,EACoE,DAT
CoE
DMAI MPEG-1 Generation In NPLOT3D
StepC8 – Discover Variable Relationships

Vital X Action Taken


ImageMagick Encoder Replaced the encoder with
(Supports only YUV crude image file Berkeley Encoder
format)
(Supports JPEG, PNM as basic entity)

NPLOT3D
Ashish Gupta,GEAE,EACoE,DAT
CoE
DMAI MPEG-1 Generation In NPLOT3D
StepC11 – Determine Process Capability
(A) Existing Process Improved Process Map
Map NPLOT3D
NPLOT3D (Post-
(Post- Processor)
Processor)

View Cut-Plan Streamline Iso-Surface


Streamline Iso-Surface
Cut-Plan Location Scan Animation Scan
Animation Scan
Scan Controller

Image Files Image Files


(JPEG, BMP, New Tool (JPEG, BMP,
TIFF) TIFF)

ImageMagick Berkeley
Encoder Encoder

MPEG-2 MPEG-1
(Output) (Output)

NPLOT3D
Ashish Gupta,GEAE,EACoE,DAT
CoE
DMAI MPEG-1 Generation In NPLOT3D
StepC11 – Determine Process Capability
Report 1: Executive Summary
(B) Process Performance Process Demographics
Actual (LT)
Date: 04/25/06
Berkeley Encoder
Potential (ST)

Reported by: Ashish Gupta

USL Project: MPEG Generation


Department: Design and Analysis Tools
USL
Process: Berkeley Encoder Process Data
Characteristic:
Units: Seconds USL 10.0000 ST
9.0 9.5 10.0 Upper Spec: 10 Target * LT
Lower Spec:
1,000,000
Actual (LT) Nominal:
LSL *
Potential (ST) Opportunity: Mean 8.8705
100,000
Sample N 36
10,000
Process Benchmarks StDev (ST) 0.0272969
1000
Actual (LT) Potential (ST) StDev (LT) 0.0279709
100
Sigma 7.00 7.00
(Z.Bench)
10 Potential (ST) Capability
PPM 0 0
1 Cp *
0 1 2 3 4 5 6 7 8 9 CPU 13.79
CPL *
Report 2: Process Capability for Time Cpk 13.79
Cpm *
8.8 9.0 9.2 9.4 9.6 9.8 10.0
Xbar and S Chart Capability Indices
8.92
8.91 3.0SL=8.911
ST LT
8.90
8.89 Overall (LT) Capability Observed Performance Expected ST Performance Expected LT Performance
8.88 Mean 8.8705 8.8705
X=8.870
8.87
8.86 Pp * PPM < LSL * PPM < LSL * PPM < LSL *
8.85 StDev 0.0270 0.0278
8.84
8.83 -3.0SL=8.830 Z.USL 41.7637 40.6712 PPU 13.46 PPM > USL 0.00 PPM > USL 0.00 PPM > USL 0.00
8.82
Subgroup 0 1 2 3 4 5 6 7 8 9
Z.LSL PPL * PPM Total 0.00 PPM Total 0.00 PPM Total 0.00
Z.Bench 7.0000 7.0000
0.06
0.05
3.0SL=0.05699
Z.Shift 0.0000 0.0000
Ppk 13.46

Mean Time = 8.87 Sec


0.04 P.USL 0.000000 0.000000
0.03
S=0.02515 P.LSL
0.02

Standard Deviation = 0.02729


0.01 P.Total 0.000000 0.000000
0.00 -3.0SL=0.00E+00
Yield 100 100

Potential (ST) Capability Actual (LT) Capability


PPM
Cp
0 0
USL = 10 Sec
Zbench= 7.0
Process Tolerance Process Tolerance Cpk 13.79
8.78860 8.95238 8.78657 8.95440 Pp
I I I I I I Ppk 13.46

I I I I

Specifications
10
Specifications
10 Data Source:
Time Span: New process takes around 8.8 sec to encode 200 images of
640x480 MPEG standard resolution.
Data Trace:

NPLOT3D
Ashish Gupta,GEAE,EACoE,DAT
CoE
DMAI MPEG-1 Generation In NPLOT3D
StepC12 – Implement Process Control

Documentation Support/ Training


Plan
• Release notes • Bug report & support –
OpenGE page
• User documentation
• Trainings at EACoE, GE-
• Programmers GR, GE-AE
documentation
• User meets at EACoE
• Testing

Configuration Control Release


• OpenGE • Production release (v 5.3)
available
• Configuration tool – CVS
• Process Owner: Ashish
• Regression testing using Gupta
NPLOT3D Regression Test
Suit

NPLOT3D
Ashish Gupta,GEAE,EACoE,DAT
CoE
APPENDIX MPEG-1 Generation In NPLOT3D
Savings Calculations

Charge Rate Previous Process New Process Time Saved


Site Customers Usage Total Usage Savings $
Per Hour ( $ ) Time (sec) Time (sec) (sec)

EACoE-AE 15 100 1500 23.70 194.00 8.80 185.20 1828.85


EACoE-Energy 5 100 500 23.70 194.00 8.80 185.20 609.62
Total 2438.47

APPENDIX NPLOT3D
Ashish Gupta,GEAE,EACoE,DAT
CoE
APPENDIX MPEG-1 Generation In NPLOT3D

Thank You

APPENDIX NPLOT3D
Ashish Gupta,GEAE,EACoE,DAT
CoE