Tomas Härdin
66be80d610
mpegtsenc: Improve PCR generation and output
...
This fixes PCR drift due to accumulating TS_PACKET_SIZE*8*90000LL/ts->mux_rate each packet, due to rounding errors when mux_rate does not evenly divide 135360000.
This patch also increases the PCR precision to 27 MHz from 90 kHz and takes the location of the PCR data into account (+11 bytes according to the spec).
Originally committed as revision 25864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-03 13:26:42 +00:00
..
2010-10-05 12:14:30 +00:00
2010-10-06 20:21:07 +00:00
2010-08-30 23:16:35 +00:00
2010-08-30 21:17:34 +00:00
2010-08-30 21:17:34 +00:00
2010-11-26 10:11:16 +00:00
2010-09-03 14:59:18 +00:00
2010-10-02 21:59:16 +00:00
2010-08-24 13:42:28 +00:00
2010-12-03 07:49:07 +00:00
2010-10-16 13:20:41 +00:00
2010-08-30 21:17:34 +00:00
2010-11-27 20:29:54 +00:00
2010-11-24 20:53:27 +00:00
2010-10-16 13:20:41 +00:00
2010-10-06 11:40:09 +00:00
2010-10-31 16:11:56 +00:00
2010-08-19 21:28:43 +00:00
2010-10-10 00:50:37 +00:00
2010-08-30 23:16:35 +00:00
2010-10-01 21:29:37 +00:00
2010-08-30 23:16:35 +00:00
2010-08-30 23:16:35 +00:00
2010-08-30 23:16:35 +00:00
2010-11-27 14:40:12 +00:00
2010-10-15 19:04:25 +00:00
2010-10-27 05:02:29 +00:00
2010-11-12 11:04:40 +00:00
2010-11-03 20:12:07 +00:00
2010-11-03 20:12:07 +00:00
2010-09-25 23:27:16 +00:00
2010-10-07 19:41:04 +00:00
2010-08-30 23:16:35 +00:00
2010-08-30 23:16:35 +00:00
2010-08-30 23:16:35 +00:00
2010-11-02 20:37:01 +00:00
2010-08-19 14:49:53 +00:00
2010-11-29 16:38:12 +00:00
2010-11-23 07:54:47 +00:00
2010-08-29 16:37:33 +00:00
2010-08-30 23:16:35 +00:00
2010-10-21 22:07:00 +00:00
2010-08-30 23:16:35 +00:00
2010-10-15 12:54:12 +00:00
2010-11-21 11:07:04 +00:00
2010-11-23 00:51:12 +00:00
2010-11-23 00:51:12 +00:00
2010-10-01 11:08:24 +00:00
2010-08-30 23:16:35 +00:00
2010-11-26 10:11:16 +00:00
2010-11-03 06:29:04 +00:00
2010-11-23 08:24:41 +00:00
2010-08-18 20:34:31 +00:00
2010-10-18 12:45:15 +00:00
2010-10-16 13:20:41 +00:00
2010-08-30 21:17:34 +00:00
2010-10-04 19:45:12 +00:00
2010-09-29 15:43:36 +00:00
2010-10-05 14:04:46 +00:00
2010-11-25 05:03:29 +00:00
2010-11-23 00:41:28 +00:00
2010-10-16 13:20:41 +00:00
2010-12-02 09:56:15 +00:00
2010-10-16 21:31:31 +00:00
2010-11-29 03:43:56 +00:00
2010-12-03 13:26:42 +00:00
2010-08-30 23:16:35 +00:00
2010-11-26 10:11:16 +00:00
2010-10-07 07:58:56 +00:00
2010-08-29 22:15:50 +00:00
2010-10-24 07:28:04 +00:00
2010-10-15 19:04:25 +00:00
2010-11-29 19:02:28 +00:00
2010-10-27 05:02:29 +00:00
2010-10-16 13:20:41 +00:00
2010-10-15 19:04:25 +00:00
2010-10-15 12:59:45 +00:00
2010-09-03 20:06:01 +00:00
2010-11-12 11:04:40 +00:00
2010-08-30 21:17:34 +00:00
2010-08-30 21:17:34 +00:00
2010-08-30 23:16:35 +00:00
2010-08-30 23:16:35 +00:00
2010-09-09 19:27:41 +00:00
2010-08-30 23:16:35 +00:00
2010-09-09 19:27:41 +00:00
2010-08-30 23:16:35 +00:00
2010-08-30 23:16:35 +00:00
2010-10-01 17:43:27 +00:00
2010-10-01 17:43:27 +00:00
2010-11-29 23:15:51 +00:00
2010-08-30 21:17:34 +00:00
2010-10-15 13:09:35 +00:00
2010-09-15 17:35:39 +00:00
2010-08-25 09:15:31 +00:00
2010-10-06 12:42:18 +00:00
2010-11-29 16:04:45 +00:00
2010-11-29 16:04:45 +00:00
2010-11-29 16:04:45 +00:00
2010-10-15 21:32:21 +00:00
2010-10-23 16:21:49 +00:00
2010-10-08 08:54:53 +00:00
2010-10-08 08:54:53 +00:00
2010-09-15 17:35:39 +00:00
2010-10-23 16:21:49 +00:00
2010-11-28 21:17:39 +00:00
2010-11-15 15:08:53 +00:00
2010-11-15 15:08:53 +00:00
2010-10-29 08:41:49 +00:00
2010-10-13 11:09:06 +00:00
2010-10-09 14:39:31 +00:00
2010-10-19 07:50:40 +00:00
2010-08-30 21:17:34 +00:00
2010-08-30 21:17:34 +00:00
2010-11-10 00:04:12 +00:00
2010-11-10 00:04:12 +00:00
2010-11-22 22:09:26 +00:00
2010-11-27 18:10:20 +00:00
2010-11-04 13:53:16 +00:00
2010-10-06 20:21:07 +00:00
2010-09-25 23:27:16 +00:00
2010-10-15 12:49:48 +00:00
2010-11-25 02:19:03 +00:00
2010-10-27 05:02:29 +00:00
2010-10-14 19:08:31 +00:00
2010-08-30 21:17:34 +00:00
2010-11-21 10:32:23 +00:00