[Live-devel] testh264videototransportstream

Ross Finlayson finlayson at live555.com
Wed Jun 19 12:04:10 PDT 2013


> I was comparing ffmpeg.exe to testh264videototransportstream exe and have a question.
>  
> 1. ffmpeg -i video.264 -vcodec copy video.ts
>  
> I see about 4 or 5 188 byte metadata payloads per second.
>  
> 2. testh264videototransportstream exe video.264
>  
> I see about one 188 bytes metadata payloads per second.
>  
> Is there any way to get testh264videototransportstream exe to increase or match the 188 byte metadat payloads that ffmpeg produces ?

What do you mean by "metadata packets"?  Are you referring to Transport Stream "PAT" (Program Association Table) and/or "PMT" (Program Map Table) packets?

If so, then the frequency at which these packets are inserted into the output Transport Stream is determined by the constants "PAT_FREQUENCY" and "PMT_FREQUENCY", defined in "liveMedia/MPEG2TransportStreamMultiplexor.cpp".  If you decrease these constants, then you will increase the frequency at which the corresponding (PAT or PMT) packets are inserted into the output stream.

(As you can see, these constants are actually misnamed.  They should have been called "*_PERIOD", not "*_FREQUENCY".)


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130619/1ce9012b/attachment.html>


More information about the live-devel mailing list