PDA

View Full Version : H264 video extraction from RTP Payload



antweb
20th May 2015, 08:12
I have created a QTcpSocket, sent commands to the server (Camera) and am receiving RTP packets on the same socket.
It's H264 compressed video from the server end.
I have separated out the payload from the individual packets.

My question is how can I use this payload to view my video on a widget now. If I need to continuously save my data in a file
then what should the format be? Can this be done through a QMediaPlayer?
Also do I need to add extra NAL bits to each payload?

Thanks!