[FFmpeg-trac] #11462(undetermined:new): Cannot embed .scc file into .mp4 using -c:s copy
FFmpeg
trac at avcodec.org
Mon Feb 10 05:46:29 EET 2025
#11462: Cannot embed .scc file into .mp4 using -c:s copy
-------------------------------------+-------------------------------------
Reporter: Zach | Owner: (none)
Type: enhancement | Status: new
Priority: important | Component:
| undetermined
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Zach):
Replying to [comment:4 Marth64]:
> A filter would require encoding. The user is trying to stream copy the
video.
Good point, we are wanting to insert the caption data commands into the
user data fields of the compressed stream. In a sense this would require
a muxer that would take the elementry stream and either insert captions
data into the user data fields or replace user data padding (whichever
method is required)
.scc files already contain the list of data chunks for each frame of the
video, they will just need to be wrapped in the appropriate user data
packet and inserted into the video elementary stream user data fields.
Some HD elementary streams may need an additional wrapper for 608 to sit
inside of a dummy 708 packet.
I think it should be safe to assume that only one captions input for every
video input would be required. Manipulating individual captions tracks
and the contents of the captions data packet should be done by the editor
and included in the sidecar file intended for embedding.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11462#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list