Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 258 Rev 2194
Línea 103... Línea 103...
103
                        $size = '';
103
                        $size = '';
104
                        $imageSize = '';
104
                        $imageSize = '';
Línea 105... Línea 105...
105
                        
105
                        
Línea 106... Línea -...
106
                }
-
 
107
                
-
 
108
   
106
                }
109
                
-
 
110
                if($size) {
-
 
111
                    
-
 
112
             
-
 
113
                    
107
                
114
                    
108
                if($size) {
Línea 115... Línea 109...
115
                    $target_width = 0 ; 
109
                    $target_width = 0 ; 
116
                    $target_height = 0;
110
                    $target_height = 0;
Línea 183... Línea 177...
183
                    
177
                    
184
                    rename($full_filename, $full_tempname);
178
                    rename($full_filename, $full_tempname);
Línea 185... Línea 179...
185
                    $sizeVideo = $resized_width . ':' . $resized_height;
179
                    $sizeVideo = $resized_width . ':' . $resized_height;
186
                    
180
                    
-
 
181
                    //$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";
-
 
182
                    //$cmd = "/usr/bin/ffmpeg -y -i $full_tempname -vf scale=$sizeVideo  -preset veryslow -crf 10 -c:v libx264  $full_filename";
-
 
183
                    //$cmd = "/usr/local/Cellar/ffmpeg/5.0.1/bin/ffmpeg -y -i $source  -preset medium -crf 24 -codec:v libx264 $target";  
-
 
184
                    
Línea 187... Línea 185...
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";
185
                    
188
                    $cmd = "/usr/bin/ffmpeg -y -i $full_tempname -vf scale=$sizeVideo  -preset veryslow -crf 10 -c:v libx264  $full_filename";
186
                    $cmd = "/usr/bin/ffmpeg -y -i $full_tempname  -preset medium -crf 24 -codec:v libx264 $full_filename";  
Línea 189... Línea 187...
189
                    
187