Insert user data into the Mpeg stream

Is there a way to insert User Data (Start code = 0X1B2) into an MPEG stream? I am looking for a simple tool, script or some tips using and Hex Editor ...

Or can you have a patch for ffmpeg (libavcodec and libavformat) that allows this?

+5
source share
1 answer

If you intend to embed user data in a transport stream, the easiest solution is to find it in a PID that does not overlap with any of the existing PIDs in the stream — where you don’t have to worry about setting up a continuity counter for the source stream packets following the dots insertion.

, PID TS, - TS PID.

-2

All Articles