Click here to Skip to main content
15,883,901 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I was able to encode a raw image to h264, and now I want to be able to transmit it to RTSP using live555. I want to create a sdp so I can put it into live555, so after a bunch of searching I found there is a function av_sdp_create, but I dont know how to use it... The first argument is AVFormatContext and I only have a AVPacket with the compressed data. How do I set this function up so that it can generate a sdp for me.

size = avcodec_encode_video2(codecContext, &pkt, frame, &output);


pkt is an AVPacket, is there a way to use av_sdp_create with the AVCodecContext and AVPacket?

Thanks in advance.
Posted
Comments
[no name] 12-Apr-14 0:53am    
Have you looked at this? http://ffmpeg.zeranoe.com/forum/viewtopic.php?f=15&t=525

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900