System.out.println("原视频比特率"+videoInfo.getBitRate());//1mb=1024kb,1kb=1024b,1mb=1024*1024doublemb = Math.ceil(file.length() / (1024 * 1024));intsecond = (int) object.getInfo().getDuration() / 1000; BigDecimal bigDecimal=newBigDecimal(String.format("%.4f", mb /second)); Syst...
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_IPP=OFF .. make sudo make install After using cmake, I can see the output for V4L: -- Video I/O:-- DC13941.x: NO-- DC13942.x: NO--FFMPEG: YES-- codec: YES (ver53.35.0)-- format: YES (ve...
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_IPP=OFF .. make sudo make install After using cmake, I can see the output for V4L: -- Video I/O:-- DC13941.x: NO-- DC13942.x: NO--FFMPEG: YES-- codec: YES (ver53.35.0)-- format: YES (ve...