Here's the newest StreamParser. Also somewhat of a breakthrough concerning the meaning of Bitrate settings.
Things added:
More Information Panel Data.
A much more robust file checking function.
The ability to select bytes or bits in the charts.
The program now tells you what the buffering requirements are (that's what "Overall Bitrate" really means). See the attached capture image.
By using this new version I think I figured out what Video, Overall, and Limiting Bitrates really mean. The camera appears to write to memory every 0.95 seconds. The 0x1F PID is the flash memory write program and it is called every 0.95 seconds. The Overall Bitrate is actually the buffer allocation size for that function and it has to be big enough to hold as much data as can be produced in 0.95 seconds. The first 4 bytes of each packet is a counter derived from the 27MHz clock (the TS clock). The increment value between Packets is calculated by the camera using the highest Video Bitrate setting and represents how much time is available to store each Packet (192 Bytes) of data. StreamParser calculates all this for you and shows it in the Information Panel when you load a file. You should set the "Overall Bitrate" to at least the shown value.
What happens if this value is too low is that you get a buffer overrun - which results in a corrupted file (which is why you got that message, svecher), but won't necessarily result in a write error. I looked at all my strange test files and they all had corruption problems that were detected by StreamParser. The File Check function will nearly always detect this kind of thing.
The Video Bitrate is actually the maximum bitrate the camera is set up to be able to write to flash memory as averaged over 0.95 seconds.
The limiting Bitrate is the maximum bitrate allowed for any single Video Frame. This will affect the ratio between I frame and P frame sizes. It's probably a good idea to set this to 1.25x the Video Bitrate or thereabouts. So, if Video Bitrate is set to 50M, Limiting Bitrate should be about 62M-63M. The Overall bitrate should be set what StreamParser tells you (around 53M).
Chris
Things added:
More Information Panel Data.
A much more robust file checking function.
The ability to select bytes or bits in the charts.
The program now tells you what the buffering requirements are (that's what "Overall Bitrate" really means). See the attached capture image.
By using this new version I think I figured out what Video, Overall, and Limiting Bitrates really mean. The camera appears to write to memory every 0.95 seconds. The 0x1F PID is the flash memory write program and it is called every 0.95 seconds. The Overall Bitrate is actually the buffer allocation size for that function and it has to be big enough to hold as much data as can be produced in 0.95 seconds. The first 4 bytes of each packet is a counter derived from the 27MHz clock (the TS clock). The increment value between Packets is calculated by the camera using the highest Video Bitrate setting and represents how much time is available to store each Packet (192 Bytes) of data. StreamParser calculates all this for you and shows it in the Information Panel when you load a file. You should set the "Overall Bitrate" to at least the shown value.
What happens if this value is too low is that you get a buffer overrun - which results in a corrupted file (which is why you got that message, svecher), but won't necessarily result in a write error. I looked at all my strange test files and they all had corruption problems that were detected by StreamParser. The File Check function will nearly always detect this kind of thing.
The Video Bitrate is actually the maximum bitrate the camera is set up to be able to write to flash memory as averaged over 0.95 seconds.
The limiting Bitrate is the maximum bitrate allowed for any single Video Frame. This will affect the ratio between I frame and P frame sizes. It's probably a good idea to set this to 1.25x the Video Bitrate or thereabouts. So, if Video Bitrate is set to 50M, Limiting Bitrate should be about 62M-63M. The Overall bitrate should be set what StreamParser tells you (around 53M).
Chris
Attachments
Last edited: