Usually, most of the satellite channels gives a ts with M=3 N=12 GOP. I take the recorded file and feed it to ProjectX and demux it in order to fix the a/v sync then remux it and trim. There is a weird channel which gives a transport stream of variable GOP. Here's part of the continuously repeated error which ProjectX shows

Code:
!> dropping GOP# 208 @ orig.PTS 00:03:14.240 (17481600), errorcode: 24

!> Pics exp/cnt 25/39, inGOP PTS diff. 0ms, new Timecode 00:02:11.560

!> dropping GOP# 209 @ orig.PTS 00:03:15.240 (17571600), errorcode: 24

!> Pics exp/cnt 24/34, inGOP PTS diff. 0ms, new Timecode 00:02:11.560

!> PTS difference of 176400 (00:00:01.960) to last exported GOP detected 

!> dropping useless B-Frames @ GOP# 210 / new Timecode 00:02:11.560

!> dropping GOP# 218 @ orig.PTS 00:03:23.920 (18352800), errorcode: 24

!> Pics exp/cnt 24/41, inGOP PTS diff. 0ms, new Timecode 00:02:19.160

!> dropping GOP# 219 @ orig.PTS 00:03:24.880 (18439200), errorcode: 24

!> Pics exp/cnt 23/33, inGOP PTS diff. 0ms, new Timecode 00:02:19.160

!> PTS difference of 169200 (00:00:01.880) to last exported GOP detected 

!> dropping useless B-Frames @ GOP# 220 / new Timecode 00:02:19.160

!> dropping GOP# 225 @ orig.PTS 00:03:30.600 (18954000), errorcode: 24

!> Pics exp/cnt 25/32, inGOP PTS diff. 0ms, new Timecode 00:02:23.840
The output is a well synchronized video however with a shorter duration due to the dropping of GOPs.


How do i fix the audio/video sync for this specific channel (with/without ProjectX)?