We do some livestreaming with VLC to Wowza over RTP. We call VLC with
Code: Select all
vlc -I dummy <....source options....>
:sout="#transcode{venc=x264{keyint=25,profile=baseline,crf=26},width=800,height=600,vcodec=h264,scale=1,fps=25,acodec=mp4a,ab=128,channels=2,samplerate=44100,audio-sync}:rtp{mux=ts,dst=<destination-ip>,port=20071}"
Code: Select all
vlc.exe -vvv -I dummy <....any .mp4.....>
:sout="#transcode{venc=x264{keyint=25,profile=baseline,crf=15,verbose=1},width=800,height=600,vcodec=h264,scale=1,fps=25,acodec=mp4a,ab=128,channels=2,samplerate=44100,audio-sync}:rtp{mux=ts,dst=127.0.0.1,port=20071}"
Looking into the code at modules/mux/mpeg/ts.h:MuxStreams() shows that
Code: Select all
i_max_pes_size = INT_MAX;
Code: Select all
* EStoPES will only produce an unbounded PES packet if:
* - ES is VIDEO_ES
* - i_max_pes_size > PES_PAYLOAD_SIZE_MAX
* - length of p_es > PES_PAYLOAD_SIZE_MAX
I was able to reproduce this beahviour up to 2.1.5.
Greetings,
MASHtm