Incorrect Video Size Reported by Admin Page
MattyBoombalatty opened this issue · comments
Describe the current behavior
In 6.1.0-rc1, the Administration -> Videos page shows each newly transcoded video as what it would be after transcoding (size on system), plus the original video size. Please note that "keep a copy of the original video" is disabled.
Steps to reproduce
- Upload a video (let's say 10 MB pre-transcoded)
- After video processes, the video is 15 MB on the file system
- Total video size is reported as 25 MB, rather than 15 MB.
Describe the expected behavior
The total video size should be post-transcoded video size, rather than the original size plus the transcoded size. I do not know if this is negatively impacting user storage capacity but will test it shortly.
Additional information
-
PeerTube instance:
- URL: https://nicecrew.tv
- Version: 6.1.0-rc1
- NodeJS version:
- Ffmpeg version:
-
Browser name, version and platforms on which you could reproduce the bug:
-
Link to browser console log if relevant:
-
Link to server log if relevant (
journalctl
or/var/www/peertube/storage/logs/
):
Thanks! It should be fixed by bce0f2f