mirakc / mirakc-arib

mirakc-tools for Japanese TV broadcast contents
Apache License 2.0
24 stars 6 forks source link

PES packets are dropped before the target TV program is started #1

Closed masnagam closed 4 years ago

masnagam commented 4 years ago

mirakc-arib filter --sid=<SID> --eid=<EID> drops PES packets before the target TV program is started.

On the other hands, Mirakurun holds PES packets. The maximum buffer size for holding TS packets regarding the preceding TV programs is defined by maxBufferBytesBeforeReady in server.yml. The value of maxBufferBytesBeforeReady is rounded down by the TS packet size (188) when initializing TSFilter._maxBufferBytesBeforeReady.

masnagam commented 4 years ago

Added the --buffer option for the filter-packets sub-command.

See commits listed below: