{"repo":"kokorin/Jaffree","free":true,"listed":false,"github":"https://github.com/kokorin/Jaffree","clone":"git clone https://github.com/kokorin/Jaffree.git","description":"Java ffmpeg and ffprobe command-line wrapper","language":"Java","stars":549,"topics":["java","ffmpeg","video","wrapper","ffprobe"],"license":"Apache-2.0","category":"media-processing","readme_excerpt":"Jaffree Jaffree stands for JAva FFmpeg and FFprobe FREE command line wrapper. Jaffree supports programmatic video production and consumption (with transparency) It integrates with ffmpeg via java.lang.Process . Inspired by ffmpeg-cli-wrapper Tested with the help of GitHub Actions OS : Ubuntu, MacOS, Windows JDK : 8, 11, 17 Usage Examples Checking media streams with ffprobe See whole example here. Detecting exact media file duration Sometimes ffprobe can't show exact duration, use ffmpeg trancoding to NULL output to get it. See whole example here. Re-encode and track progress See whole example here. Cut and scale media file Pay attention that arguments related to Input must be set at Input, not at FFmpeg. See whole example here. Custom parsing of ffmpeg output See whole example here. Supplying and consuming data with SeekableByteChannel Ability to interact with SeekableByteChannel is one of the features, which distinct Jaffree from similar libraries. Under the hood Jaffree uses tiny FTP server to interact with SeekableByteChannel. See whole example here. Supplying and consuming data with InputStream and OutputStream Notice It's recommended to use ChannelInput & ChannelOutput since ffmpeg leverage seeking in input and requires seekable output for many formats. Under the hood pipes are not OS pipes, but TCP Sockets. This allows much higher bandwidth. See whole example here. Live Stream Re-Streaming (HLS) See whole example here. Screen Capture See whole example here. Produce Vide","default_branch":null,"files":null,"tree":[],"storefront":"/r/kokorin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kokorin/Jaffree/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}