Java implementation within the chain [Video category]

scenes to be used:

For like download movies, favorite videos of the students, when the film locally accumulated to a certain number, look for the impression that certain types of movies has become extremely difficult.

So we can execute CMD commands through Java, read the information video files through FFmepg plug.

Then classified according to the read resolution, duration and other information used java.io.File.renameTo () method.

Just 20 lines of code.

Tutorial links: simple and crude: Java-resolution video using FFmpeg get Java to obtain the video length to obtain Java coding format video

Released eight original articles · won praise 4 · Views 1532

Guess you like

Origin blog.csdn.net/q2450751976/article/details/103994831