GNOME Bugzilla – Bug 423782
Code for H264 payloader
Last modified: 2007-03-29 08:09:03 UTC
Hi, here is code for RTP H264 payloader, this one has been checked with encoder x264enc (cf bugzilla #421110). Here is the command line : gst-launch videotestsrc ! "video/x-raw-yuv, framerate=(fraction)8, width=176, height=144" ! ffmpegcolorspace ! x264enc byte-stream=true ! rtph264pay ! rtph264depay ! ffdec_h264 ! ffmpegcolorspace ! ximagesink Payloader algo is from VLC. The payloader only handle single NAL units and fragmented units. The x264enc has to be configured with the 'byte-stream=true' property. Please consider this code for inclusion into CVS. Regards.
Created attachment 85464 [details] rtph264pay
Patch by: Laurent Glayal <spglegle at yahoo dot fr> * gst/rtp/Makefile.am: * gst/rtp/gstrtp.c: (plugin_init): * gst/rtp/gstrtph264pay.c: (gst_rtp_h264_pay_base_init), (gst_rtp_h264_pay_class_init), (gst_rtp_h264_pay_init), (gst_rtp_h264_pay_finalize), (gst_rtp_h264_pay_setcaps), (gst_rtp_h264_pay_handle_buffer), (gst_rtp_h264_pay_set_property), (gst_rtp_h264_pay_get_property), (gst_rtp_h264_pay_change_state), (gst_rtp_h264_pay_plugin_init): * gst/rtp/gstrtph264pay.h: Added H264 payloader. Fixes #423782.