[Encoder] Progress of audio-only encoding is not being correctly updated
zeh opened this issue · 1 comments
zeh commented
Creating audio files work, but the progress bar doesn't reflect information like file size.
This happens because the log parser uses a RegEx that only understands video files:
frame= 46 fps= 43 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A dup=18 drop=0 speed= 0x
Instead, it needs to understand audio files as well:
size= 848kB time=00:03:36.94 bitrate= 32.0kbits/s speed=43.6x
We probably need to convert the parser to make it smarter - instead of using a fixed RegEx, use one for each field (or maybe make use of the safeSplit()
function if it uses tabs to separate fields).
Requirements
- Understand and update the progress status when encoding new audio files