convert H264 video packets over RTP to RTMP

461 views
Skip to first unread message

erwin

unread,
Jan 11, 2010, 11:30:17 AM1/11/10
to xuggler-users
Hi, I am new to H264 codec. I have a H264 video stream over RTP and
want to transfer the H264 Video stream over RTMP. I did a bit
investigation and know that the format of H264 containers in RTMP is 5
bytes header plus the raw H264 raw data. Could we simply take the H264
data from RTP stream and wrap it with the 5 bytes of header and push
into RTMP? What about the k-frame or P-frame or timestamp setting?
Could anyone shed some light on this topic? Thanks a lot,

Art Clarke

unread,
Jan 11, 2010, 12:46:58 PM1/11/10
to xuggle...@googlegroups.com
You can, but it's a little more complicated than that. You have to
make sure you also set the parameter sets correctly when they change.

It's certainly possible to do though -- just a hard integration task.
If you're looking into this for a commercial product, I know of
several companies that could assist you with that task. Contact me
off list for details.

- Art

> --
> You received this message because you are subscribed to the Google Groups "xuggler-users" group.
> To post to this group, send email to xuggle...@googlegroups.com.
> To unsubscribe from this group, send email to xuggler-user...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/xuggler-users?hl=en.
>
>
>
>

--
http://www.xuggle.com/
xu‧ggle (zŭ' gl) v. To freely encode, decode, and experience audio and video.

Use Xuggle to get the power of FFmpeg in Java.

Stas Oskin

unread,
Jan 11, 2010, 5:41:43 PM1/11/10
to xuggle...@googlegroups.com
FYI, the latest version of Xuggler still seem to have problems reading H.264 from RTSP (and probably RTP).

Regards.

Reply all
Reply to author
Forward
0 new messages