However this line avcodec_find_encoder(CODEC_ID_H264); always returns me null.
i useFFMpegwrapper.c from openwatch, but this avformat_write_header gives me invalid header
I also tried to print all codecs through the below code(ensured avcodec_register_all() is called before), but it returned empty??
while(codec = av_codec_next(codec))
{
LOGI("Registered codec name %s" , codec->name);
}
I tried recompiling ffmpeg with rtmp support with this https://github.com/OnlyInAmerica/FFmpeg-Android/blob/master/build_ffmpeg_with_librtmp_for_android.sh
However this line
avcodec_find_encoder(CODEC_ID_H264);
always returns me null. iuseFFMpegwrapper.c
from openwatch, but thisavformat_write_header
gives me invalid headerI also tried to print all codecs through the below code(ensured avcodec_register_all() is called before), but it returned empty?? while(codec = av_codec_next(codec)) { LOGI("Registered codec name %s" , codec->name); }
Any help on this..