Below pipeline works to dump caption in timed text format:
gst-launch-1.0 filesrc location=input.ts ! tsdemux ! queue ! h264parse ! ccextractor ! ccconverter ! cea608tott ! filesink location=test.cc