FFMpegCore icon indicating copy to clipboard operation
FFMpegCore copied to clipboard

Add raw response from ffprobe in MediaAnalysis

Open mynameisbogdan opened this issue 2 months ago • 3 comments

Exposing the raw response from ffprobe in FFProbeAnalysis and MediaAnalysis, which would allow to be saved if needed as is without needing to remove JsonIgnore from FFProbeAnalysis since no serialization would be involved.

mynameisbogdan avatar Oct 18 '25 13:10 mynameisbogdan

Codecov Report

:white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: Project coverage is 71.75%. Comparing base (1c4333e) to head (ac441ee). :warning: Report is 195 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #591      +/-   ##
==========================================
+ Coverage   71.20%   71.75%   +0.55%     
==========================================
  Files         117      123       +6     
  Lines        2973     3548     +575     
  Branches      284      311      +27     
==========================================
+ Hits         2117     2546     +429     
- Misses        751      888     +137     
- Partials      105      114       +9     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov-commenter avatar Oct 18 '25 13:10 codecov-commenter

Oh, better than #590 But i still need change internal to public in class MediaAnalysis ( #589 )

tqk2811 avatar Oct 20 '25 03:10 tqk2811

Might be cleaner at exposing the raw response, but you still need a method to parse the raw output (and not the process output) to fit your needs.

Personally I need the raw response from analysis but others like GetFrames return the model used in deserialization unlike Analyse that returns a model different from the the deserialized model.

mynameisbogdan avatar Oct 20 '25 09:10 mynameisbogdan