1<!DOCTYPE HTML>
2<!-- NewPage -->
3<html lang="en">
4<head><!-- start favicons snippet, use https://realfavicongenerator.net/ --><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"><link rel="manifest" href="/assets/site.webmanifest"><link rel="mask-icon" href="/assets/safari-pinned-tab.svg" color="#fc4d50"><link rel="shortcut icon" href="/assets/favicon.ico"><meta name="msapplication-TileColor" content="#ffc40d"><meta name="msapplication-config" content="/assets/browserconfig.xml"><meta name="theme-color" content="#ffffff"><!-- end favicons snippet -->
5<title>TransformationRequest.Builder (ExoPlayer library)</title>
6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
8<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
9<script type="text/javascript" src="../../../../../script.js"></script>
10<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
11<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
12<!--[if IE]>
13<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
14<![endif]-->
15<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
16<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
17</head>
18<body>
19<script type="text/javascript"><!--
20    try {
21        if (location.href.indexOf('is-external=true') == -1) {
22            parent.document.title="TransformationRequest.Builder (ExoPlayer library)";
23        }
24    }
25    catch(err) {
26    }
27//-->
28var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10};
29var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
30var altColor = "altColor";
31var rowColor = "rowColor";
32var tableTab = "tableTab";
33var activeTableTab = "activeTableTab";
34var pathtoroot = "../../../../../";
35var useModuleDirectories = false;
36loadScripts(document, 'script');</script>
37<noscript>
38<div>JavaScript is disabled on your browser.</div>
39</noscript>
40<header role="banner">
41<nav role="navigation">
42<div class="fixedNav">
43<!-- ========= START OF TOP NAVBAR ======= -->
44<div class="topNav"><a id="navbar.top">
45<!--   -->
46</a>
47<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
48<a id="navbar.top.firstrow">
49<!--   -->
50</a>
51<ul class="navList" title="Navigation">
52<li><a href="../../../../../index.html">Overview</a></li>
53<li><a href="package-summary.html">Package</a></li>
54<li class="navBarCell1Rev">Class</li>
55<li><a href="package-tree.html">Tree</a></li>
56<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
57<li><a href="../../../../../index-all.html">Index</a></li>
58<li><a href="../../../../../help-doc.html">Help</a></li>
59</ul>
60</div>
61<div class="subNav">
62<ul class="navList" id="allclasses_navbar_top">
63<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
64</ul>
65<ul class="navListSearch">
66<li><label for="search">SEARCH:</label>
67<input type="text" id="search" value="search" disabled="disabled">
68<input type="reset" id="reset" value="reset" disabled="disabled">
69</li>
70</ul>
71<div>
72<script type="text/javascript"><!--
73  allClassesLink = document.getElementById("allclasses_navbar_top");
74  if(window==top) {
75    allClassesLink.style.display = "block";
76  }
77  else {
78    allClassesLink.style.display = "none";
79  }
80  //-->
81</script>
82<noscript>
83<div>JavaScript is disabled on your browser.</div>
84</noscript>
85</div>
86<div>
87<ul class="subNavList">
88<li>Summary:&nbsp;</li>
89<li>Nested&nbsp;|&nbsp;</li>
90<li>Field&nbsp;|&nbsp;</li>
91<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
92<li><a href="#method.summary">Method</a></li>
93</ul>
94<ul class="subNavList">
95<li>Detail:&nbsp;</li>
96<li>Field&nbsp;|&nbsp;</li>
97<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
98<li><a href="#method.detail">Method</a></li>
99</ul>
100</div>
101<a id="skip.navbar.top">
102<!--   -->
103</a></div>
104<!-- ========= END OF TOP NAVBAR ========= -->
105</div>
106<div class="navPadding">&nbsp;</div>
107<script type="text/javascript"><!--
108$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
109//-->
110</script>
111</nav>
112</header>
113<!-- ======== START OF CLASS DATA ======== -->
114<main role="main">
115<div class="header">
116<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">com.google.android.exoplayer2.transformer</a></div>
117<h2 title="Class TransformationRequest.Builder" class="title">Class TransformationRequest.Builder</h2>
118</div>
119<div class="contentContainer">
120<ul class="inheritance">
121<li><a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">java.lang.Object</a></li>
122<li>
123<ul class="inheritance">
124<li>com.google.android.exoplayer2.transformer.TransformationRequest.Builder</li>
125</ul>
126</li>
127</ul>
128<div class="description">
129<ul class="blockList">
130<li class="blockList">
131<dl>
132<dt>Enclosing class:</dt>
133<dd><a href="TransformationRequest.html" title="class in com.google.android.exoplayer2.transformer">TransformationRequest</a></dd>
134</dl>
135<hr>
136<pre>public static final class <span class="typeNameLabel">TransformationRequest.Builder</span>
137extends <a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></pre>
138<div class="block">A builder for <a href="TransformationRequest.html" title="class in com.google.android.exoplayer2.transformer"><code>TransformationRequest</code></a> instances.</div>
139</li>
140</ul>
141</div>
142<div class="summary">
143<ul class="blockList">
144<li class="blockList">
145<!-- ======== CONSTRUCTOR SUMMARY ======== -->
146<section role="region">
147<ul class="blockList">
148<li class="blockList"><a id="constructor.summary">
149<!--   -->
150</a>
151<h3>Constructor Summary</h3>
152<table class="memberSummary">
153<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
154<tr>
155<th class="colFirst" scope="col">Constructor</th>
156<th class="colLast" scope="col">Description</th>
157</tr>
158<tr class="altColor">
159<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">Builder</a></span>()</code></th>
160<td class="colLast">
161<div class="block">Creates a new instance with default values.</div>
162</td>
163</tr>
164</table>
165</li>
166</ul>
167</section>
168<!-- ========== METHOD SUMMARY =========== -->
169<section role="region">
170<ul class="blockList">
171<li class="blockList"><a id="method.summary">
172<!--   -->
173</a>
174<h3>Method Summary</h3>
175<table class="memberSummary">
176<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
177<tr>
178<th class="colFirst" scope="col">Modifier and Type</th>
179<th class="colSecond" scope="col">Method</th>
180<th class="colLast" scope="col">Description</th>
181</tr>
182<tr id="i0" class="altColor">
183<td class="colFirst"><code><a href="TransformationRequest.html" title="class in com.google.android.exoplayer2.transformer">TransformationRequest</a></code></td>
184<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#build()">build</a></span>()</code></th>
185<td class="colLast">
186<div class="block">Builds a <a href="TransformationRequest.html" title="class in com.google.android.exoplayer2.transformer"><code>TransformationRequest</code></a> instance.</div>
187</td>
188</tr>
189<tr id="i1" class="rowColor">
190<td class="colFirst"><code><a href="TransformationRequest.Builder.html" title="class in com.google.android.exoplayer2.transformer">TransformationRequest.Builder</a></code></td>
191<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#experimental_setEnableHdrEditing(boolean)">experimental_setEnableHdrEditing</a></span>&#8203;(boolean&nbsp;enableHdrEditing)</code></th>
192<td class="colLast">
193<div class="block">Sets whether to attempt to process any input video stream as a high dynamic range (HDR)
194 signal.</div>
195</td>
196</tr>
197<tr id="i2" class="altColor">
198<td class="colFirst"><code><a href="TransformationRequest.Builder.html" title="class in com.google.android.exoplayer2.transformer">TransformationRequest.Builder</a></code></td>
199<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAudioMimeType(java.lang.String)">setAudioMimeType</a></span>&#8203;(<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a>&nbsp;audioMimeType)</code></th>
200<td class="colLast">
201<div class="block">Sets the audio MIME type of the output.</div>
202</td>
203</tr>
204<tr id="i3" class="rowColor">
205<td class="colFirst"><code><a href="TransformationRequest.Builder.html" title="class in com.google.android.exoplayer2.transformer">TransformationRequest.Builder</a></code></td>
206<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setFlattenForSlowMotion(boolean)">setFlattenForSlowMotion</a></span>&#8203;(boolean&nbsp;flattenForSlowMotion)</code></th>
207<td class="colLast">
208<div class="block">Sets whether the input should be flattened for media containing slow motion markers.</div>
209</td>
210</tr>
211<tr id="i4" class="altColor">
212<td class="colFirst"><code><a href="TransformationRequest.Builder.html" title="class in com.google.android.exoplayer2.transformer">TransformationRequest.Builder</a></code></td>
213<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setResolution(int)">setResolution</a></span>&#8203;(int&nbsp;outputHeight)</code></th>
214<td class="colLast">
215<div class="block">Sets the output resolution using the output height.</div>
216</td>
217</tr>
218<tr id="i5" class="rowColor">
219<td class="colFirst"><code><a href="TransformationRequest.Builder.html" title="class in com.google.android.exoplayer2.transformer">TransformationRequest.Builder</a></code></td>
220<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTransformationMatrix(android.graphics.Matrix)">setTransformationMatrix</a></span>&#8203;(<a href="https://developer.android.com/reference/android/graphics/Matrix.html" title="class or interface in android.graphics" class="externalLink" target="_top">Matrix</a>&nbsp;transformationMatrix)</code></th>
221<td class="colLast">
222<div class="block">Sets the transformation matrix.</div>
223</td>
224</tr>
225<tr id="i6" class="altColor">
226<td class="colFirst"><code><a href="TransformationRequest.Builder.html" title="class in com.google.android.exoplayer2.transformer">TransformationRequest.Builder</a></code></td>
227<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setVideoMimeType(java.lang.String)">setVideoMimeType</a></span>&#8203;(<a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a>&nbsp;videoMimeType)</code></th>
228<td class="colLast">
229<div class="block">Sets the video MIME type of the output.</div>
230</td>
231</tr>
232</table>
233<ul class="blockList">
234<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
235<!--   -->
236</a>
237<h3>Methods inherited from class&nbsp;java.lang.<a href="https://developer.android.com/reference/java/lang/Object.html" title="class or interface in java.lang" class="externalLink" target="_top">Object</a></h3>
238<code><a href="https://developer.android.com/reference/java/lang/Object.html#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink" target="_top">wait</a></code></li>
239</ul>
240</li>
241</ul>
242</section>
243</li>
244</ul>
245</div>
246<div class="details">
247<ul class="blockList">
248<li class="blockList">
249<!-- ========= CONSTRUCTOR DETAIL ======== -->
250<section role="region">
251<ul class="blockList">
252<li class="blockList"><a id="constructor.detail">
253<!--   -->
254</a>
255<h3>Constructor Detail</h3>
256<a id="&lt;init&gt;()">
257<!--   -->
258</a>
259<ul class="blockListLast">
260<li class="blockList">
261<h4>Builder</h4>
262<pre>public&nbsp;Builder()</pre>
263<div class="block">Creates a new instance with default values.
264
265 <p>Use <a href="TransformationRequest.html#buildUpon()"><code>TransformationRequest.buildUpon()</code></a> to obtain a builder representing an existing
266 <a href="TransformationRequest.html" title="class in com.google.android.exoplayer2.transformer"><code>TransformationRequest</code></a>.</div>
267</li>
268</ul>
269</li>
270</ul>
271</section>
272<!-- ============ METHOD DETAIL ========== -->
273<section role="region">
274<ul class="blockList">
275<li class="blockList"><a id="method.detail">
276<!--   -->
277</a>
278<h3>Method Detail</h3>
279<a id="setTransformationMatrix(android.graphics.Matrix)">
280<!--   -->
281</a>
282<ul class="blockList">
283<li class="blockList">
284<h4>setTransformationMatrix</h4>
285<pre class="methodSignature">public&nbsp;<a href="TransformationRequest.Builder.html" title="class in com.google.android.exoplayer2.transformer">TransformationRequest.Builder</a>&nbsp;setTransformationMatrix&#8203;(<a href="https://developer.android.com/reference/android/graphics/Matrix.html" title="class or interface in android.graphics" class="externalLink" target="_top">Matrix</a>&nbsp;transformationMatrix)</pre>
286<div class="block">Sets the transformation matrix. The default value is to apply no change.
287
288 <p>This can be used to perform operations supported by <a href="https://developer.android.com/reference/android/graphics/Matrix.html" title="class or interface in android.graphics" class="externalLink" target="_top"><code>Matrix</code></a>, like scaling and
289 rotating the video.
290
291 <p>The video dimensions will be on the x axis, from -aspectRatio to aspectRatio, and on the y
292 axis, from -1 to 1.
293
294 <p>For now, resolution will not be affected by this method.</div>
295<dl>
296<dt><span class="paramLabel">Parameters:</span></dt>
297<dd><code>transformationMatrix</code> - The transformation to apply to video frames.</dd>
298<dt><span class="returnLabel">Returns:</span></dt>
299<dd>This builder.</dd>
300</dl>
301</li>
302</ul>
303<a id="setFlattenForSlowMotion(boolean)">
304<!--   -->
305</a>
306<ul class="blockList">
307<li class="blockList">
308<h4>setFlattenForSlowMotion</h4>
309<pre class="methodSignature">public&nbsp;<a href="TransformationRequest.Builder.html" title="class in com.google.android.exoplayer2.transformer">TransformationRequest.Builder</a>&nbsp;setFlattenForSlowMotion&#8203;(boolean&nbsp;flattenForSlowMotion)</pre>
310<div class="block">Sets whether the input should be flattened for media containing slow motion markers. The
311 transformed output is obtained by removing the slow motion metadata and by actually slowing
312 down the parts of the video and audio streams defined in this metadata. The default value for
313 <code>flattenForSlowMotion</code> is <code>false</code>.
314
315 <p>Only Samsung Extension Format (SEF) slow motion metadata type is supported. The
316 transformation has no effect if the input does not contain this metadata type.
317
318 <p>For SEF slow motion media, the following assumptions are made on the input:
319
320 <ul>
321   <li>The input container format is (unfragmented) MP4.
322   <li>The input contains an AVC video elementary stream with temporal SVC.
323   <li>The recording frame rate of the video is 120 or 240 fps.
324 </ul>
325
326 <p>If specifying a <a href="../source/MediaSource.Factory.html" title="interface in com.google.android.exoplayer2.source"><code>MediaSource.Factory</code></a> using <a href="Transformer.Builder.html#setMediaSourceFactory(com.google.android.exoplayer2.source.MediaSource.Factory)"><code>Transformer.Builder.setMediaSourceFactory(MediaSource.Factory)</code></a>, make sure that <a href="../extractor/mp4/Mp4Extractor.html#FLAG_READ_SEF_DATA"><code>Mp4Extractor.FLAG_READ_SEF_DATA</code></a> is set on the <a href="../extractor/mp4/Mp4Extractor.html" title="class in com.google.android.exoplayer2.extractor.mp4"><code>Mp4Extractor</code></a> used. Otherwise, the slow
327 motion metadata will be ignored and the input won't be flattened.</div>
328<dl>
329<dt><span class="paramLabel">Parameters:</span></dt>
330<dd><code>flattenForSlowMotion</code> - Whether to flatten for slow motion.</dd>
331<dt><span class="returnLabel">Returns:</span></dt>
332<dd>This builder.</dd>
333</dl>
334</li>
335</ul>
336<a id="setResolution(int)">
337<!--   -->
338</a>
339<ul class="blockList">
340<li class="blockList">
341<h4>setResolution</h4>
342<pre class="methodSignature">public&nbsp;<a href="TransformationRequest.Builder.html" title="class in com.google.android.exoplayer2.transformer">TransformationRequest.Builder</a>&nbsp;setResolution&#8203;(int&nbsp;outputHeight)</pre>
343<div class="block">Sets the output resolution using the output height. The default value <a href="../C.html#LENGTH_UNSET"><code>C.LENGTH_UNSET</code></a>
344 corresponds to using the same height as the input. Output width will scale to preserve the
345 input video's aspect ratio.
346
347 <p>For now, only "popular" heights like 144, 240, 360, 480, 720, 1080, 1440, or 2160 are
348 supported, to ensure compatibility on different devices.
349
350 <p>For example, a 1920x1440 video can be scaled to 640x480 by calling setResolution(480).</div>
351<dl>
352<dt><span class="paramLabel">Parameters:</span></dt>
353<dd><code>outputHeight</code> - The output height in pixels.</dd>
354<dt><span class="returnLabel">Returns:</span></dt>
355<dd>This builder.</dd>
356<dt><span class="throwsLabel">Throws:</span></dt>
357<dd><code><a href="https://developer.android.com/reference/java/lang/IllegalArgumentException.html" title="class or interface in java.lang" class="externalLink" target="_top">IllegalArgumentException</a></code> - If the <code>outputHeight</code> is not supported.</dd>
358</dl>
359</li>
360</ul>
361<a id="setVideoMimeType(java.lang.String)">
362<!--   -->
363</a>
364<ul class="blockList">
365<li class="blockList">
366<h4>setVideoMimeType</h4>
367<pre class="methodSignature">public&nbsp;<a href="TransformationRequest.Builder.html" title="class in com.google.android.exoplayer2.transformer">TransformationRequest.Builder</a>&nbsp;setVideoMimeType&#8203;(@Nullable
368                                                      <a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a>&nbsp;videoMimeType)</pre>
369<div class="block">Sets the video MIME type of the output. The default value is <code>null</code> which corresponds
370 to using the same MIME type as the input. Supported MIME types are:
371
372 <ul>
373   <li><a href="../util/MimeTypes.html#VIDEO_H263"><code>MimeTypes.VIDEO_H263</code></a>
374   <li><a href="../util/MimeTypes.html#VIDEO_H264"><code>MimeTypes.VIDEO_H264</code></a>
375   <li><a href="../util/MimeTypes.html#VIDEO_H265"><code>MimeTypes.VIDEO_H265</code></a> from API level 24
376   <li><a href="../util/MimeTypes.html#VIDEO_MP4V"><code>MimeTypes.VIDEO_MP4V</code></a>
377 </ul></div>
378<dl>
379<dt><span class="paramLabel">Parameters:</span></dt>
380<dd><code>videoMimeType</code> - The MIME type of the video samples in the output.</dd>
381<dt><span class="returnLabel">Returns:</span></dt>
382<dd>This builder.</dd>
383<dt><span class="throwsLabel">Throws:</span></dt>
384<dd><code><a href="https://developer.android.com/reference/java/lang/IllegalArgumentException.html" title="class or interface in java.lang" class="externalLink" target="_top">IllegalArgumentException</a></code> - If the <code>videoMimeType</code> is non-null but not a video
385     <a href="../util/MimeTypes.html" title="class in com.google.android.exoplayer2.util"><code>MIME type</code></a>.</dd>
386</dl>
387</li>
388</ul>
389<a id="setAudioMimeType(java.lang.String)">
390<!--   -->
391</a>
392<ul class="blockList">
393<li class="blockList">
394<h4>setAudioMimeType</h4>
395<pre class="methodSignature">public&nbsp;<a href="TransformationRequest.Builder.html" title="class in com.google.android.exoplayer2.transformer">TransformationRequest.Builder</a>&nbsp;setAudioMimeType&#8203;(@Nullable
396                                                      <a href="https://developer.android.com/reference/java/lang/String.html" title="class or interface in java.lang" class="externalLink" target="_top">String</a>&nbsp;audioMimeType)</pre>
397<div class="block">Sets the audio MIME type of the output. The default value is <code>null</code> which corresponds
398 to using the same MIME type as the input. Supported MIME types are:
399
400 <ul>
401   <li><a href="../util/MimeTypes.html#AUDIO_AAC"><code>MimeTypes.AUDIO_AAC</code></a>
402   <li><a href="../util/MimeTypes.html#AUDIO_AMR_NB"><code>MimeTypes.AUDIO_AMR_NB</code></a>
403   <li><a href="../util/MimeTypes.html#AUDIO_AMR_WB"><code>MimeTypes.AUDIO_AMR_WB</code></a>
404 </ul></div>
405<dl>
406<dt><span class="paramLabel">Parameters:</span></dt>
407<dd><code>audioMimeType</code> - The MIME type of the audio samples in the output.</dd>
408<dt><span class="returnLabel">Returns:</span></dt>
409<dd>This builder.</dd>
410<dt><span class="throwsLabel">Throws:</span></dt>
411<dd><code><a href="https://developer.android.com/reference/java/lang/IllegalArgumentException.html" title="class or interface in java.lang" class="externalLink" target="_top">IllegalArgumentException</a></code> - If the <code>audioMimeType</code> is non-null but not an audio
412     <a href="../util/MimeTypes.html" title="class in com.google.android.exoplayer2.util"><code>MIME type</code></a>.</dd>
413</dl>
414</li>
415</ul>
416<a id="experimental_setEnableHdrEditing(boolean)">
417<!--   -->
418</a>
419<ul class="blockList">
420<li class="blockList">
421<h4>experimental_setEnableHdrEditing</h4>
422<pre class="methodSignature">public&nbsp;<a href="TransformationRequest.Builder.html" title="class in com.google.android.exoplayer2.transformer">TransformationRequest.Builder</a>&nbsp;experimental_setEnableHdrEditing&#8203;(boolean&nbsp;enableHdrEditing)</pre>
423<div class="block">Sets whether to attempt to process any input video stream as a high dynamic range (HDR)
424 signal.
425
426 <p>This method is experimental, and will be renamed or removed in a future release. The HDR
427 editing feature is under development and is intended for developing/testing HDR processing
428 and encoding support.</div>
429<dl>
430<dt><span class="paramLabel">Parameters:</span></dt>
431<dd><code>enableHdrEditing</code> - Whether to attempt to process any input video stream as a high
432     dynamic range (HDR) signal.</dd>
433<dt><span class="returnLabel">Returns:</span></dt>
434<dd>This builder.</dd>
435</dl>
436</li>
437</ul>
438<a id="build()">
439<!--   -->
440</a>
441<ul class="blockListLast">
442<li class="blockList">
443<h4>build</h4>
444<pre class="methodSignature">public&nbsp;<a href="TransformationRequest.html" title="class in com.google.android.exoplayer2.transformer">TransformationRequest</a>&nbsp;build()</pre>
445<div class="block">Builds a <a href="TransformationRequest.html" title="class in com.google.android.exoplayer2.transformer"><code>TransformationRequest</code></a> instance.</div>
446</li>
447</ul>
448</li>
449</ul>
450</section>
451</li>
452</ul>
453</div>
454</div>
455</main>
456<!-- ========= END OF CLASS DATA ========= -->
457<footer role="contentinfo">
458<nav role="navigation">
459<!-- ======= START OF BOTTOM NAVBAR ====== -->
460<div class="bottomNav"><a id="navbar.bottom">
461<!--   -->
462</a>
463<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
464<a id="navbar.bottom.firstrow">
465<!--   -->
466</a>
467<ul class="navList" title="Navigation">
468<li><a href="../../../../../index.html">Overview</a></li>
469<li><a href="package-summary.html">Package</a></li>
470<li class="navBarCell1Rev">Class</li>
471<li><a href="package-tree.html">Tree</a></li>
472<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
473<li><a href="../../../../../index-all.html">Index</a></li>
474<li><a href="../../../../../help-doc.html">Help</a></li>
475</ul>
476</div>
477<div class="subNav">
478<ul class="navList" id="allclasses_navbar_bottom">
479<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
480</ul>
481<div>
482<script type="text/javascript"><!--
483  allClassesLink = document.getElementById("allclasses_navbar_bottom");
484  if(window==top) {
485    allClassesLink.style.display = "block";
486  }
487  else {
488    allClassesLink.style.display = "none";
489  }
490  //-->
491</script>
492<noscript>
493<div>JavaScript is disabled on your browser.</div>
494</noscript>
495</div>
496<div>
497<ul class="subNavList">
498<li>Summary:&nbsp;</li>
499<li>Nested&nbsp;|&nbsp;</li>
500<li>Field&nbsp;|&nbsp;</li>
501<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
502<li><a href="#method.summary">Method</a></li>
503</ul>
504<ul class="subNavList">
505<li>Detail:&nbsp;</li>
506<li>Field&nbsp;|&nbsp;</li>
507<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
508<li><a href="#method.detail">Method</a></li>
509</ul>
510</div>
511<a id="skip.navbar.bottom">
512<!--   -->
513</a></div>
514<!-- ======== END OF BOTTOM NAVBAR ======= -->
515</nav>
516</footer>
517</body>
518</html>
519