# Embedding EIA-608 Captions into H264 / HEVC

**URL:** https://discourse.gstreamer.org/t/embedding-eia-608-captions-into-h264-hevc/5389
**Category:** Newcomers
**Created:** [September 18, 2025, 4:58pm UTC](https://discourse.gstreamer.org/t/embedding-eia-608-captions-into-h264-hevc/5389 "2025-09-18T16:58:18Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![dijjit](https://discourse.gstreamer.org/user_avatar/discourse.gstreamer.org/dijjit/32/1481_2.png) [@dijjit](https://discourse.gstreamer.org/u/dijjit)
#### Post date: [September 18, 2025, 4:58pm UTC](https://discourse.gstreamer.org/t/embedding-eia-608-captions-into-h264-hevc/5389/1 "2025-09-18T16:58:18Z")

</div>

Apologies now for this post, I am incredibly competent with FFMPEG - but a complete noob at GStreamer.

I have researched to confirm that GStreamer can do what I need, but I am struggling to find the right command to get it working. In short, I want to embed EIA-608 captions into an existing H264 / HEVC asset - using a provided SCC file. The below is my example command for a H264 asset, but I keep getting the error “WARNING: erroneous pipeline: could not link sccenc0 to cc\_inject”

`gst-launch-1.0 filesrc location=“source.mp4” ! qtdemux name=d d. ! queue ! h264parse ! h264ccinserter name=cc_inject ! mp4mux name=mux ! filesink location=“output.mp4” filesrc location=“source.scc” ! sccparse ! sccenc ! cc_inject.sink_cc d. ! queue ! aacparse ! mux.audio_0`

Is someone able to point to where I have gone wrong? I am still learning on the syntax when it comes to labels and constructing pipelines.

---

<div class="post-metadata">

### Author: ![ystreet00](https://discourse.gstreamer.org/letter_avatar_proxy/v4/letter/y/3d9bf3/32.png) [@ystreet00](https://discourse.gstreamer.org/u/ystreet00)
#### Post date: [September 19, 2025, 3:14am UTC](https://discourse.gstreamer.org/t/embedding-eia-608-captions-into-h264-hevc/5389/2 "2025-09-19T03:14:53Z")

</div>

h264ccinserter is not a muxer. You would need a cccombiner element before to combine the video and CC streams together. The documentation for h264ccinserter contains an example pipeline for this: [h264ccinserter](https://gstreamer.freedesktop.org/documentation/closedcaption/h264ccinserter.html?gi-language=c#example-launch-line)
