Skip to content

ran5515/decode_RTP_H264

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

decode RTP H264 live Stream

How to use this

  • send H264 stream to your computer, for example, port 5006(in my code)
  • put main.c file in ffmpeg/doc/example, run following command
gcc -o main main.c -lavformat -lavcodec -lswscale -lz
./main
  • You can send stream using example2 in this link. By the way, there may be a few bugs in this example(regarding SPS and PPS), so at first you cannot decode, you need wait for a while or click the "swap" button to swap the camera(the code will resend SPS data).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages