Comments (4)
Can you show me in ffmpeg terms / command line arguments what you would need to do?
I can then enhance the api to allow this too if it makes sense for other users too
from jave2.
maybe like this?
intercept the first second image
ffmepg -i input.mp4 -y -f image2 -ss 00:00:01 -vframes 1 target.png
add a logo
ffmpeg -y -i input.mp4 -vf "movie='logo.png' [logo];[in][logo] overlay=10:10:1 [out]" output.mp4
and other video clipping operations?
i can use the command to implement them but I think it might be more helpful to use encapsulated apis
from jave2.
Capturing image(s) from the video is already possible.
Look at the jave-core/src/main/java/ws/schild/jave/ScreenExtractor.java class.
The method render(..)
will extract one/multiples images in the specified file/directory
I haven't used it myself in a long time and test converage is not present, so you would need to test it yourself. If you find bugs in that part, please open new issues for them.
I will keep this issue as an RFE to add logo to the video
If you need video clipping, then please open a separate issue for this too
from jave2.
this is great. clipping is not currently required
the current requirements are images and adding watermarks
i'll probably do it based on your code
thanks
from jave2.
Related Issues (20)
- Command execution vulnerability HOT 7
- How to get video data if there is no metadata HOT 1
- convert pcm to mp3 exception
- `InputFormatException` while retrieving video information HOT 2
- Exit code of ffmpeg encoding run is 1 HOT 5
- Using byte arrays and/or input streams during encoding
- The current ffmpeg version does not support animated webp HOT 1
- 有新的开发文档吗? HOT 3
- semaphore and execotor usage problem HOT 2
- Encode to Hevc mkv or Hevc mp4
- Getting a Segmentation fault (core dumped) when running on Ubuntu 23.10 with ffmpeg-amd64-3.4.0
- Security Vulnerability Alert and Request for Fix: SNYK-JAVA-WSSCHILD-6154599 / CVE-2023-48909 HOT 2
- how to create mp4 with cfhd video?
- h264_qsv pixelformat problem HOT 4
- EncoderException IO exception HOT 3
- Could MultimediaObject#getInfo add timeout param? HOT 1
- Default encoder for format amr (codec amr_nb) is probably disabled. Please choose an encoder manually.
- After converting the FLAC format to MP3, the images in the metadata are lost HOT 1
- mp3 can not convert to silk? HOT 2
- How to combine multiple audio files of different formats together?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jave2.