]> git.sesse.net Git - vlc/commit
ts: large rewrite of the TS muxer to produce better TS and support DVD
authorLaurent Aimar <fenrir@videolan.org>
Fri, 1 Aug 2003 19:38:25 +0000 (19:38 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Fri, 1 Aug 2003 19:38:25 +0000 (19:38 +0000)
commitc2f4acbe815814df61aed4852af5731e7ba49246
treeb04c0aa16443e2c4e0ab545fb5a0ae467051dd3c
parent95a10916d84ad63a2499b41d9b59c2e9f4adeafa
 ts: large rewrite of the TS muxer to produce better TS and support DVD
     subtitle.
     I have added some options:
        - bmin : minimum bitrate (bits/s) of the TS. Padding is added in
        case of insuffisant bitrate. (default: disabled).
        - bmax : maximum bitrate (bit/s) of the TS. It just drops packets
        to achieve the target. (default: disabled)
        - pcr : minimum delay between two pcr equal to dts of the video
        stream (default 100ms)
        - pcr-soft : minimum delay between two pcr interpolated from the
        pcr that are equal to dts. (default: none)
 Remarks:
  - bmin/bmax allow to create CBR stream.
  - Bitrate is calculated on a PCR time.
  - PCR delay cannot be less than length of a frame of the PCR stream.
  - PCR soft is used to help when using big PCR delay. It is usefull to
  produce stream with smoother bitrate variation.
  - Big PCR delay introduce more latency.

 TODO:
  Test stability, bugs ...
modules/mux/mpeg/ts.c