The range of mpegts_pmt_start_pid is unnecessarily restrictive.
I am trying to create CableLabs compliant VOD streams using ffmpeg. The spec for these files (CableLabs Video-On-Demand Content Encoding Profiles Specification: http://www.cablelabs.com/projects/metadata/downloads/specs/MD-SP-VOD-CEP-I01-040107.pdf ) requires that the PMT have a PID of 0x01E0, decimal 480 (see section 4.5 on page 6). The lower bound on the mpegts_pmt_start_pid which appears to set the PID of the PMT has been given an artificial lower-bound of 0x1000, decimal 4096. Given this artificial lower bound, I can not set the PID to conform to the spec. My understanding is that PIDs less than 16 are reserved, but otherwise, I am unsure of any other reason for restricting the lower bound of the PMT PID. I have attached a minor patch that simply changes the lower bound on this particular argument. Please comment if you know of any problem this could cause elsewhere.
Thank you,
-Loren Osborn
Consider sending patches to ffmpeg-devel.