Amgad Eid
Amgad Eid

Reputation: 1

How to extract closed caption from a .ts file using GStreamer?

how to extract the closed caption from type cea608 or cea708 from a.ts into txt file with gst-launch-1.0? Thanks.

i tried this : gst-launch-1.0 filesrc location= a.ts ! tsdemux ! "closedcaption/x-cea-708" ! filesink location=subtitles

but didn't work

Upvotes: 0

Views: 142

Answers (1)

Anuj
Anuj

Reputation: 1

This 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

Upvotes: 0

Related Questions