Hi,
I managed to find the problem and was related to my audio encoder settings. Is it possible to integrate T140 text into mpeg2ts together with video and audio? I only find addNewAudioSource and addNewVideoSource objects. I can send it using T140TextRTPSink but I have to create a separate session just for this and I want to avoid that, if there is a way to insert metadata into mpeg2ts stream that will be great! Thanks for the help! Sorin. ________________________________ From: live-devel <live-devel-boun...@us.live555.com> on behalf of Ross Finlayson <finlay...@live555.com> Sent: Friday, January 31, 2020 6:09:22 PM To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] Could not play h265 video over mpeg-ts > On Jan 31, 2020, at 3:20 AM, Avramoni, Sorin <sorin.avram...@intel.com> wrote: > > > Hi, > > The video gets really bad when I try to mux it with audio, however audio is > played ok. One thing that may go wrong is that my video encoder generates one > access unit that contains multiple NAL units, what I do to be compliant is > that I parse it and extract one nal unit at a time, remove NAL start code and > add a presentation time for each NAL unit, so even SPS, PPS, VPS has a > different timestamps than key frame or B frame even if where in the same > access unit, maybe this can have affect somehow. In principle, yes, the presentation times for all NAL units in the same access unit should be the same. In practice, though (especially for this application: multiplexing into a Transport Stream), that shouldn’t be a problem. Just make sure that the presentation times for the audio frames are properly aligned with those for video. > Do I need to set fDurationInMicroseconds also? Not for a live feed; you should just leave this at its default value of 0 Ross Finlayson Live Networks, Inc. http://www.live555.com/ _______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel