Author: solomax
Date: Thu Sep 22 07:53:47 2016
New Revision: 1761863

URL: http://svn.apache.org/viewvc?rev=1761863&view=rev
Log:
[OPENMEETINGS-1470] WB video seems to be fixed

Modified:
    
openmeetings/application/branches/3.1.x/openmeetings-core/src/main/java/org/apache/openmeetings/core/converter/FlvExplorerConverter.java
    
openmeetings/application/branches/3.2.x/openmeetings-core/src/main/java/org/apache/openmeetings/core/converter/FlvExplorerConverter.java
    
openmeetings/application/trunk/openmeetings-core/src/main/java/org/apache/openmeetings/core/converter/FlvExplorerConverter.java

Modified: 
openmeetings/application/branches/3.1.x/openmeetings-core/src/main/java/org/apache/openmeetings/core/converter/FlvExplorerConverter.java
URL: 
http://svn.apache.org/viewvc/openmeetings/application/branches/3.1.x/openmeetings-core/src/main/java/org/apache/openmeetings/core/converter/FlvExplorerConverter.java?rev=1761863&r1=1761862&r2=1761863&view=diff
==============================================================================
--- 
openmeetings/application/branches/3.1.x/openmeetings-core/src/main/java/org/apache/openmeetings/core/converter/FlvExplorerConverter.java
 (original)
+++ 
openmeetings/application/branches/3.1.x/openmeetings-core/src/main/java/org/apache/openmeetings/core/converter/FlvExplorerConverter.java
 Thu Sep 22 07:53:47 2016
@@ -86,7 +86,7 @@ public class FlvExplorerConverter extend
                        fileExplorerItem.setType(Type.Video);
 
                        String[] argv_fullFLV = new String[] { 
getPathToFFMPEG(), "-y", "-i", moviePath,
-                                       "-c:a", "aac", "-c:v", "h264", 
outputFullFlv.getCanonicalPath() };
+                                       "-c:a", "aac", "-c:v", "h264", 
"-pix_fmt", "yuv420p", outputFullFlv.getCanonicalPath() };
 
                        ConverterProcessResult returnMapConvertFLV = 
ProcessHelper.executeScript("uploadFLV ID :: "
                                        + fileExplorerItem.getId(), 
argv_fullFLV);

Modified: 
openmeetings/application/branches/3.2.x/openmeetings-core/src/main/java/org/apache/openmeetings/core/converter/FlvExplorerConverter.java
URL: 
http://svn.apache.org/viewvc/openmeetings/application/branches/3.2.x/openmeetings-core/src/main/java/org/apache/openmeetings/core/converter/FlvExplorerConverter.java?rev=1761863&r1=1761862&r2=1761863&view=diff
==============================================================================
--- 
openmeetings/application/branches/3.2.x/openmeetings-core/src/main/java/org/apache/openmeetings/core/converter/FlvExplorerConverter.java
 (original)
+++ 
openmeetings/application/branches/3.2.x/openmeetings-core/src/main/java/org/apache/openmeetings/core/converter/FlvExplorerConverter.java
 Thu Sep 22 07:53:47 2016
@@ -67,7 +67,7 @@ public class FlvExplorerConverter extend
                                res.setExitCode(0); //normal code is 1, ffmpeg 
requires output file
                        } else {
                                String[] args = new String[] { 
getPathToFFMPEG(), "-y", "-i", f.getFile(ext).getCanonicalPath(),
-                                               "-c:a", "aac", "-c:v", "h264", 
mp4.getCanonicalPath() };
+                                               "-c:a", "aac", "-c:v", "h264", 
"-pix_fmt", "yuv420p", mp4.getCanonicalPath() };
                                res = ProcessHelper.executeScript("uploadFLV ID 
:: " + f.getId(), args);
 
                        }

Modified: 
openmeetings/application/trunk/openmeetings-core/src/main/java/org/apache/openmeetings/core/converter/FlvExplorerConverter.java
URL: 
http://svn.apache.org/viewvc/openmeetings/application/trunk/openmeetings-core/src/main/java/org/apache/openmeetings/core/converter/FlvExplorerConverter.java?rev=1761863&r1=1761862&r2=1761863&view=diff
==============================================================================
--- 
openmeetings/application/trunk/openmeetings-core/src/main/java/org/apache/openmeetings/core/converter/FlvExplorerConverter.java
 (original)
+++ 
openmeetings/application/trunk/openmeetings-core/src/main/java/org/apache/openmeetings/core/converter/FlvExplorerConverter.java
 Thu Sep 22 07:53:47 2016
@@ -67,7 +67,7 @@ public class FlvExplorerConverter extend
                                res.setExitCode(0); //normal code is 1, ffmpeg 
requires output file
                        } else {
                                String[] args = new String[] { 
getPathToFFMPEG(), "-y", "-i", f.getFile(ext).getCanonicalPath(),
-                                               "-c:a", "aac", "-c:v", "h264", 
mp4.getCanonicalPath() };
+                                               "-c:a", "aac", "-c:v", "h264", 
"-pix_fmt", "yuv420p", mp4.getCanonicalPath() };
                                res = ProcessHelper.executeScript("uploadFLV ID 
:: " + f.getId(), args);
 
                        }


Reply via email to