Merge two MPEG-TS streams with higher bitrate

Rafal Garbat garbbraf at gmail.com
Wed Sep 18 15:58:38 UTC 2019


Hi.

I'm quite new to GStreamer. I have an input MPEG-TS stream with a low
bitrate. I need to stuff it with NULL packets to make it higher (of course
all the data like PCR must be adjusted).

1. I was thinking about merging my original stream with the one, filled
with null packets, but with target bitrate. Is there as some
straightforward solution for that? I was thinking about something like:
      filesrc location=in.ts  ! ...some magic here... !  mpegtsmux
bitrate=51253960 ! filesink location=out.ts
I have tried some variations but couldn't setup a working pipeline so far.

2. Maybe there is a simpler and obvious solution I'm missing here.

BR,
Rafal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190918/c2816b04/attachment.html>


More information about the gstreamer-devel mailing list