See More
Popular Forum

MBA (4887) B.Tech (1769) Engineering (1486) Class 12 (1030) Study Abroad (1004) Computer Science and Engineering (988) Business Management Studies (865) BBA (846) Diploma (746) CAT (651) B.Com (648) B.Sc (643) JEE Mains (618) Mechanical Engineering (574) Exam (525) India (462) Career (452) All Time Q&A (439) Mass Communication (427) BCA (417) Science (384) Computers & IT (Non-Engg) (383) Medicine & Health Sciences (381) Hotel Management (373) Civil Engineering (353) MCA (349) Tuteehub Top Questions (348) Distance (340) Colleges in India (334)
See More

Encode video using ffmpeg and vp8 codec on Native Client

General Tech Bugs & Fixes
Max. 2000 characters

Liza Sain


( 8 months ago )

I'm trying to develop a video encoder using Native Client. I want the output file to be .webm and I'm using ffmpeg example "muxing.c".

When I run the example I get the error message: Could not find encoder for 'vp8'

The error comes from here:

*codec = avcodec_find_encoder(codec_id);
if (!(*codec)) {
    fprintf(stderr, "Could not find encoder for '%s'\n",

Where codec_id value is AV_CODEC_ID_VP8

When I put the output file to be .mp4 it works.

Can someone help me. Do I need to enable vp8 encoder for ffmpeg naclport? What should I do?


what's your interest