Hello,

I'm working in Visual studio 2010

I have two ethernet streams with H.264 payload and G.711 payload.
I want to write payloads to file with avi extension using libav.

I can put data from the payload to the file **0.h264 and then using libav
function (avformat_open_input, avformat_find_stream_info...)write frames to file **0.avi.
I can also do the same thing with g711 and write in **1.avi

I can get: Bandwidth information: AS:768 Media Attribute: rtpmap: 117 H264/90000... from Session Description Protocol.

I guess how to collect video frame but don't know how to specify correct context( AVFormatContext) and
write data to AVPacket structure (possibly using av_packet_from_data).
Please suggest how to feed data to libav from ethernet streams to get file ***.avi which consists of video and audio threads.
 
--
Thanks in advance, Ekaterina
_______________________________________________
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to