After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 423782 - Code for H264 payloader
Code for H264 payloader
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal enhancement
: 0.10.6
Assigned To: Wim Taymans
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-03-28 15:31 UTC by Laurent Glayal
Modified: 2007-03-29 08:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
rtph264pay (3.25 KB, application/x-compressed-tar)
2007-03-28 15:32 UTC, Laurent Glayal
Details

Description Laurent Glayal 2007-03-28 15:31:17 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.
Comment 1 Laurent Glayal 2007-03-28 15:32:30 UTC
Created attachment 85464 [details]
rtph264pay
Comment 2 Wim Taymans 2007-03-29 08:09:03 UTC
        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.