mengshun / mp4v2

Automatically exported from code.google.com/p/mp4v2
Other
0 stars 0 forks source link

MP4GetTrackBitRate may return 0 #150

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Read the attached file bitrate0.mp4 using mp4info.

What is the expected output? What do you see instead?
The actual bit rate of bitrate0.mp4 is about 53 kbps, but MP4GetTrackBitRate() 
returns 0.

What version of the product are you using? On what operating system?
2.0.0 on Windows 7

Please provide any additional information below.
bitrate0.mp4 is encoded by a very old version of FFmpeg which uses libfaac as 
an AAC encoder.
Attached patch fixes this problem.

Original issue reported on code.google.com by ktakata6...@gmail.com on 21 Nov 2012 at 3:31

Attachments:

GoogleCodeExporter commented 9 years ago
Looks like a good fix.  Thanks for the patch.

Original comment by kid...@gmail.com on 28 Dec 2012 at 4:46