slhck / ffmpeg-debug-qp

FFmpeg Debug Script for QP Values
Other
75 stars 24 forks source link

fix log flushing and parsing #29

Closed slhck closed 4 years ago

slhck commented 4 years ago

fix callback log – combination of different commits from https://github.com/slhck/ffmpeg-debug-qp/pull/26

Use the av_log_set_callback to fix threading log

This works on Linux and Windows

Fixes not writing the log HEADER

Remove duplicate flush because the rebase

Use native av_log function to fix the problem

Update README.md

Get number of size after the pkt_size label

slhck commented 4 years ago

@lars18th I haven't yet included the threading updates you suggested. I will have to test this first, and see whether this can be user-configured in order to find the optimum performance. Fixing the number might not be the best solution.