Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get video data if there is no metadata #247

Open
scholes25rus opened this issue Nov 28, 2023 · 1 comment
Open

How to get video data if there is no metadata #247

scholes25rus opened this issue Nov 28, 2023 · 1 comment
Labels
missing-mediafile Need video/audio file to reproduce the problem

Comments

@scholes25rus
Copy link

MultimediaObject: Invalid duration found Duration: N/A, start: 0.000000, bitrate: N/A
2023-11-28-28T09:31:22,148 ERROR [scheduling-1] r.i.e.u.s.FilesScheduler: ERROR in uploadVideoFiles: java.lang.NullPointerException: Cannot invoke "ws.schild.jave.info.VideoInfo.getSize()" because the return value of "ws.schild.jave.info.MultimediaInfo.getVideo()" is null
2023-11-28-28T09:31:22,148 ERROR [scheduling-1] o.s.a.i.SimpleAsyncUncaughtExceptionHandler: Unexpected exception occurred invoking async method: public void service.utils.schedulers.FilesScheduler.uploadVideoFiles()
org.springframework.transaction.UnexpectedRollbackException
Hello. I am getting this error in the logs.
Can you please tell me how to get video data(resolution and duration) if there is no metadata?

@a-schild a-schild added the missing-mediafile Need video/audio file to reproduce the problem label Nov 28, 2023
@a-schild
Copy link
Owner

As each media file is different, we need a sample.
Can you detect it from via the ffmpeg commandline?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
missing-mediafile Need video/audio file to reproduce the problem
Projects
None yet
Development

No branches or pull requests

2 participants