[Live-devel] Could not play h265 video over mpeg-ts
Avramoni, Sorin
sorin.avramoni at intel.com
Fri Jan 31 03:20:23 PST 2020
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. Do I need to set fDurationInMicroseconds also?
I will check that my timestamps are correct.
Thanks for the help!
Sorin.
________________________________
From: live-devel <live-devel-bounces at us.live555.com> on behalf of Ross Finlayson <finlayson at live555.com>
Sent: Friday, January 31, 2020 9:58:26 AM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] Could not play h265 video over mpeg-ts
Thanks for sending me an example H.265 file. This file seems OK, and when I convert it to a Transport Stream file (using our “testH265VideoToTransportStream” application), this plays OK as well.
If your problem is occurring only when you try to multiplex together video and audio (rather than just video, or just audio), then the only thing I can think of is that perhaps your two source classes might be generating inconsistent presentation timestamps. Make sure that both timestamps are generating consistent presentation times (e.g., using “gettimeofday()”). That’s all I can suggest.
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20200131/524a88ed/attachment.htm>
More information about the live-devel
mailing list