I managed to set up the configuration i described by omitted the 
av_encode_video() call and instead add the call to x264_encoder_encode() 
and fill in the data in packets as follow:

pkt.data = nals[0].p_payload; //video_outbuf;


However the problem i have now is that i can't produce the appropriate SDP file 
as i did before using the av_sdp_create();

Does anyone knows how to create the appropriate SDP file when encoding using 
the x264-api and streaming with ffmpeg-api ?

thanks


 
Adreas Polychronopoulos



________________________________
 From: adreas Polyxronopoulos <[email protected]>
To: "[email protected]" <[email protected]> 
Sent: Wednesday, 14 March 2012, 12:43
Subject: rtp muxing of H264 NAL units 
 

Hi ,

I encode yuv420p frames with the x264 api to NAL units. I would like to use the 
ffmpeg-api to mux them with the rtp muxer.
I have done this using ffmpe-api to encode (H264 codec) and stream the yuv420p 
frames but now I want to have more control on the codec options so the encoding 
is done by x264-api and streaming with the ffmpeg-api.

yuv420p---->|x264-api|---->NAL--->|ffmpeg-api|---->rtp packet

thanks 
 
Adreas Polychronopoulos
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to