Skip to content

jeremybrooks/pressplay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PressPlay makes it easy for your Java applications to play media and parse metadata using the ffmpeg tools.

Requirements

  • ffmpeg must be installed on the machine where you want to play media
  • Java 11 or higher is required
  • PressPlay uses log4j2 for logging; your application must provide this dependency

Location of ffmpeg

If the ffmpeg tools are not installed at /usr/local/bin or /usr/bin, you will need to set a system property so pressplay knows where to find the tools:

pressplay.ffmpeg.path=/full/path/to/tools/

Maven

If you are using Maven, you can get the pressplay library with this dependency:

<dependency>
  <groupId>net.jeremybrooks</groupId>
  <artifactId>pressplay</artifactId>
  <version>1.0.9</version>
</dependency>

Using PressPlay

Playing Media

Parsing Metadata


Releasing

Releasing to Central requires some specific steps:

  1. export some JDK options so Java 17 will work:
export JDK_JAVA_OPTIONS='--add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/java.text=ALL-UNNAMED --add-opens java.desktop/java.awt.font=ALL-UNNAMED'
  1. Update the version in pom.xml
  2. Update the version in README.md
  3. Do the release: mvn clean deploy -Prelease
  4. If the release is successful:
    1. Commit and push
    2. tag the repo git tag -a x.y.z
    3. push the tag git push origin --tags
    4. update the version in pom.xml for the next snapshot
    5. commit and push
  5. Clear your JDK options:
unset JDK_JAVA_OPTIONS

About

Java wrapper around ffmpeg tools.

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages