GNOME Bugzilla – Bug 710603
rtph264pay doesn't meet the minimum requirements of RFC3984
Last modified: 2013-10-25 12:35:32 UTC
In section 5.4 of rfc3984 it is stated that packetization-mode 0 is required to be implemented. This means sending single NAL, not fragmented NALs (FU-A). In gstreamer there seems to be no way to set packetization-mode, and no way to force x264enc to output smaller packets than the mtu in rtph264pay. This means that the requirement of packetization-mode 0 is impossible to fulfill in the current implementation. https://www.rfc-editor.org/rfc/rfc3984.txt If anyone has a workaround for this I'd be thrilled to hear about it!
You can set the "mtu" property to 4294967295 and the packets will never be fragmented.
Yes, but the problem is that routers only allow packets smaller than ~1360 bytes. They certainly will not be fragmented, but they will never reach their destination either :)
Then you need to setup the encoder to create smaller NALs if you don't want to fragment them. You can do x264enc option-string="slice-max-size=1200"
Ah, great! I tried different variations of vbv-buffer-length and constant bitrates with no success. But this option string really works. Thank you very much!