You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
defcharacterize(file)out=[]out << Hydra::FileCharacterization.characterize(file,:fits)beginout << Hydra::FileCharacterization.characterize(file,:ffprobe)rescueRuntimeError# FFMpeg doesn't exit with success if it's not a format it knows about.endend
I run this command:
This error is raised:
It seems like there should be some conditions for which this characterizer is run.
Interestingly ffmpeg is still returning valid output:
but it does warn that: "Invalid data found when processing input"
Perhaps characterizers need to be able to configure whether exit status must be success:
https://github.com/projecthydra/hydra-file_characterization/blob/c5b298f6cbbeac3a708badb43e355e0db40efe7a/lib/hydra/file_characterization/characterizer.rb#L45
The text was updated successfully, but these errors were encountered: