Question / Help Problem setting metadata in mpeg TS

G0MJW

Member
I was hoping OBS would be suitable for streaming mpeg transport streams but I have failed at the first hurdle. I cannot identify the stream.

I have been at this several hours last night and all of this morning and I just cannot figure out how to get the mpeg transport stream multiplexer metadata to work in recording. This is necessary as otherwise your service provider is ffmpeg and your ID is 01, the ffmpeg defaults. I have even gone as far as trying the new release candidate - its even worse as it says metadata is deprecated.

Here is the log, I have simplified it down to 1 command - which incidentally does work in ffmpeg.

12:56:08.311: Using muxer settings:
12:56:08.311: metadata service_name="G0MJW"
12:56:08.312: Invalid muxer settings:
12:56:08.312: metadata service_name="G0MJW"

I have tried everything, all the codecs. It just doesn't seem to work. I don't think any of the other parameters are getting through either, ones to control the codec and so on.

The AVstream wardings are new to 23 RC2

13:17:19.144: Using muxer settings:
13:17:19.144: -metadata service_name="G0MJW"
13:17:19.144: warning: Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
13:17:19.144: warning: Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
13:17:19.144: Invalid muxer settings:
13:17:19.144: -metadata service_name="G0MJW"

Mike
 

R1CH

Forum Admin
Developer
Try just service_name=G0MJW, the muxer parameters aren't the same format as the ffmpeg command line.
 

G0MJW

Member
Try just service_name=G0MJW, the muxer parameters aren't the same format as the ffmpeg command line.
Did you test that? It doesn't work for me. I had already tried it but tried again just now and got the invalid muxer settings error again. There appears to be no way to set this and I think all other options are being ignored too. Either I am doing something fundamentally wrong, or its bust.
 

Suslik V

Active Member
The only metadata can be set in OBS Studio is "title" for audio stream.

You cannot simply put metadata to the muxer. So it cannot be set in current version of OBS Studio. Support for the metadata import not implemented yet.
 

G0MJW

Member
The only metadata can be set in OBS Studio is "title" for audio stream.

You cannot simply put metadata to the muxer. So it cannot be set in current version of OBS Studio. Support for the metadata import not implemented yet.
Thanks - it would be nice if that was mentioned somewhere so I didn't spend all day trying to get it to work. OBS is unsuitable for my use in that case. Pity.
 

Jaygee

New Member
I've also spent a few hours up trying to add metadata in OBS as you can with the ffmpeg command line and wondering why it's not working.

It would be a good addition to OBS capabilities if support for custom metadata could be implemented.

At the least this thread will now show up for anyone else searching for a solution to save them time trying to do something that seems like it should work but doesn't.
 
Top