[FFmpeg-user] mpegts metadata not set

Dragan Randjelovic logicomyu at gmail.com
Mon Jul 2 12:30:48 EEST 2018


I am experiencing similar issues once I want to name tracks and set
language code.

Regards.
Dragan R.

On Mon, Jul 2, 2018 at 11:24 AM, Moritz Barsnick <barsnick at gmx.net> wrote:

> On Wed, Jun 27, 2018 at 16:28:26 +0200, Christian Knoefel | Ilm-Provider
> wrote:
> > Hello,
>
> Hi Christian,
> thanks for providing the info.
>
> As Carl Eugen mentioned, it's a bug/shortcoming of the rtp_mpegts
> muxer. It's not passing the metadata on to the underlying mpegts muxer.
> I have created trac ticket #7293 for you[*].
>
> A fix for rtpenc_mpegts.c would look *something* like this:
>
>      mpegts_ctx->oformat   = mpegts_format;
>      mpegts_ctx->max_delay = s->max_delay;
> +    mpegts_ctx->metadata = s->metadata;
>      for (i = 0; i < s->nb_streams; i++) {
>          AVStream* st = avformat_new_stream(mpegts_ctx, NULL);
>          if (!st)
>
> Note that this fix is probably not fully correct!!! It's just a proof
> of concept. I tested it (just with one of your two metadatas), and it
> "worked for me" (bug segfaults on exit).
>
> Moritz
>
> [*] https://trac.ffmpeg.org/ticket/7293
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-user mailing list