352mb converts into 706mb

pilot830

New Member
YetiShare User
Jan 22, 2014
242
1
0
The media converter (convert.php) needs to be modified to use ffprobe (from ffmpeg) to get the bitrate of the video, and then determine if videos bitrate is higher than the CONVERSION_BITRATE value.. If the video bitrate is NOT higher than CONVERSION_BITRATE, the video should be converted at the original bitrate of the video

in other words, if a video is 1000kbit, 352mb .mkv file.. having CONVERSION_BITRATE setting as 2000k results in the video being converted into a 2000k mp4, unnecessarily, when the original file bitrate is only 1000.. and ends up producing a 706mb file... when instead, the media converter could be converting it into an mp4 that is the same bitrate, 1000 or around there.. therefore the .mp4 doesn't end up being twice the size as the original file..

Of course, there is no issue for when a video file's bitrate is larger than the CONVERSION_BITRATE, then it makes 100% sense the way things are now.