Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 257 | Rev 2194 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 257 Rev 258
Línea 182... Línea 182...
182
                    $full_tempname = $values[0] .'-' . uniqid() . '.' . $values[1];
182
                    $full_tempname = $values[0] .'-' . uniqid() . '.' . $values[1];
Línea 183... Línea 183...
183
                    
183
                    
184
                    rename($full_filename, $full_tempname);
184
                    rename($full_filename, $full_tempname);
Línea 185... Línea 185...
185
                    $sizeVideo = $resized_width . ':' . $resized_height;
185
                    $sizeVideo = $resized_width . ':' . $resized_height;
-
 
186
                    
-
 
187
                    //$cmd = "/usr/bin/ffmpeg -y -i $full_tempname -vf scale=$sizeVideo -c:a copy -c:s copy -c:v libx264 -preset slower -crf 18  $full_filename";
186
                    
188
                    $cmd = "/usr/bin/ffmpeg -y -i $full_tempname -vf scale=$sizeVideo  -preset veryslow -crf 10 -c:v libx264  $full_filename";
187
                    $cmd = "/usr/bin/ffmpeg -y -i $full_tempname -vf scale=$sizeVideo -c:a copy -c:s copy -c:v libx265 -preset slower -crf 18  $full_filename";
189
                    
Línea 188... Línea 190...
188
                    $output->writeln("command  : $cmd" );
190
                    $output->writeln("command  : $cmd" );