smplayer-dev / smplayer

Free Media Player for Windows, Linux and Mac OS with YouTube support.
https://smplayer.info
GNU General Public License v2.0
648 stars 92 forks source link

File properties for H.264 MP4 videos always shows video bitrate 0 #1014

Open mihnea-radulescu opened 1 month ago

mihnea-radulescu commented 1 month ago

Describe the bug When going to the menu View -> Information and properties... (File Properties) for MP4 videos encoded with the H.264 video encoder, the video bitrate always shows 0 kbps, regardless of the file being opened.

Constant vs variable bitrate encoding does not appear to make a difference.

Opening the video files in a video converter / editor like Avidemux shows the correct bitrate.

Your Enviroment

Screenshot FileProperties

Bluey26 commented 1 month ago

If you play the video, after some seconds and if you open smplayer info window again, you will see the approximate bitrate in that time. Seeking will show another bitrate, and 0kb/s in other times too.

It is somehow broken, but you can obtain an idea using that. At least in here seems to work. smplayer: Version: 24.5.0

smplayer-dev commented 1 month ago

SMPlayer displays the bitrate reported by mpv, which corresponds to the bitrate of the most recently decoded frames. If you press Shift+I, you can view this information in real-time on the OSD.