Ejemplo n.º 1
0
                        <td><?php 
    echo QualityApi::getFormattedtiemString($qualityTest->timeNeeded);
    ?>
</td>
                    </tr>
                    <tr>
                        <td class="left aligned">#Frames</td>
                        <td><?php 
    echo $qualityTest->numberOfFrames;
    ?>
</td>
                    </tr>
                    <tr>
                        <td class="left aligned">Time / Frame</td>
                        <td><?php 
    echo QualityApi::getFormattedtiemString($qualityTest->timeNeeded / $qualityTest->numberOfFrames);
    ?>
</td>
                    </tr>
                    </tbody>
                </table>
                <?php 
    if ($qualityTest->status == "FINISHED") {
        ?>

                <!-- Represnetation Qualites -->
                <table class="ui right aligned celled table">
                    <thead>
                        <tr>
                            <th class="left aligned">Attributes</th>
                            <th colspan="<?php 
Ejemplo n.º 2
0
                 </tr>
                 </thead>
                 <tbody>
                 <tr>
                     <td class="left aligned">Bitrate</td>
                     <?php 
 foreach ($qualityTest->results[0]->resultsRepresentations as $res) {
     echo "<td>" . $res->bitrate / 1000 . " kbps</td>";
 }
 ?>
                 </tr>
                 <tr>
                     <td class="left aligned">Time Needed</td>
                     <?php 
 foreach ($qualityTest->results[0]->resultsRepresentations as $res) {
     echo "<td>" . QualityApi::getFormattedtiemString($res->timeNeeded) . "</td>";
 }
 ?>
                 </tr>
                 <tr>
                     <td class="left aligned">PSNR</td>
                     <?php 
 foreach ($qualityTest->results[0]->resultsRepresentations as $res) {
     echo "<td>" . $res->psnr . " dB</td>";
 }
 ?>
                 </tr>
                 <tr>
                     <td class="left aligned">SSIM</td>
                     <?php 
 foreach ($qualityTest->results[0]->resultsRepresentations as $res) {
Ejemplo n.º 3
0
                                <td><?php 
    echo QualityApi::getFormattedtiemString($answer->timeNeeded) . "  " . $answer->timeNeeded;
    ?>
</td>
                            </tr>
                            <tr class="alt">
                                <td>Number of threads:</td>
                                <td><?php 
    echo $answer->numberOfThreads;
    ?>
</td>
                            </tr>
                            <tr>
                                <td>Time per Thread:</td>
                                <td><?php 
    echo QualityApi::getFormattedtiemString($answer->timeNeeded / $answer->numberOfThreads);
    ?>
</td>
                            </tr>
                            <tr class="alt">
                                <td>Number of frames:</td>
                                <td><?php 
    echo $answer->numberOfFrames;
    ?>
</td>
                            </tr>
                            <tr>
                                <td>Original Video:</td>
                                <td><a href="<?php 
    echo $answer->originalUrl;
    ?>
Ejemplo n.º 4
0
}
?>
                    </tr>
                    <tr>
                        <td>#Threads</td>
                        <?php 
foreach ($qualites as $quality) {
    echo "<td colspan='" . count($quality->results) . "'>" . $quality->numberOfThreads . "</td>";
}
?>
                    </tr>
                    <tr>
                        <td>Time</td>
                        <?php 
foreach ($qualites as $quality) {
    echo "<td colspan='" . count($quality->results) . "'>" . QualityApi::getFormattedtiemString($quality->timeNeeded) . "</td>";
}
?>
                    </tr>
                </tbody>
                <thead>
                    <tr>
                        <th></th>
                        <?php 
foreach ($qualites as $quality) {
    echo "<th colspan='" . count($quality->results) . "'>Representations</th>";
}
?>
                    </tr>
                </thead>
                <tbody>