Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3844530
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T16:06:14+00:00 2026-05-19T16:06:14+00:00

I am trying to build ffmpeg with libx264 support. Configure and compilation is successful

  • 0

I am trying to build ffmpeg with libx264 support. Configure and compilation is successful but when I am running the ffmpeg the application is crashing.

ffmpeg configure option : ./configure --enable-static --enable-libx264 --enable-pthreads --enable-gpl --disable-doc --enable-memalign-hack --extra-ldflags="-L/usr/local/lib"
gcc --version 4.3.4

Here is gdb dump,

$gdb ffmpeg_g.exe  
GNU gdb(GDB) 7.2  
Copyright(c) 2010 Free Software Foundation  
This GDB has configured as mingw32

Reading symbols from C:\work\ffmpeg25jan2011\ffmpeg\ffmpeg_g.exe.....done  
(gdb) break main  
BreakPoint 1 at 0x40a120 : file ffmpeg.c, line 4317  
(gdb) run -V  
Starting program: C:\work\ffmpeg25jan2011\ffmpeg\ffmpeg_g.exe  
[New Thread]  
gdb: Unknown Target exception 0xc0000022 at 0x7c96671e   
**During startup program exited with code 0xc0000022**  

Anybody has any clue, How this can be resolved?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T16:06:15+00:00Added an answer on May 19, 2026 at 4:06 pm

    Windows error code 0xc0000022 means “The Application Failed to initialize.” It usually indicates that your build is broken. There are lots of things that could have gone wrong, but here are some things to check:

    • You should build all libraries you link to with the same toolchain. It may be possible to link a Cygwin-built ffmpeg to a VC++-built libx264, but since there’s no good reason to do that, you shouldn’t.

    • Try the “head” version of ffmpeg and its dependencies from the source repository

    • You show Windows paths, but claim to be using Cygwin. Try to use an all-Cygwin environment: build from a Cygwin bash shell, use POSIX paths, etc. In particular, this will help ensure that libraries get installed in places the build tools can find them.

    • You may need to install some libraries in /usr/lib, rather than the default, /usr/local/lib.

    • Try a complete rebuild: make clean && make

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

After some considerable amount of time while trying to build the ffmpeg static library
I'm trying to build an application using some of ffmpeg's libraries and I'm noticing
Trying to build a GUI application in Java/Swing. I'm mainly used to painting GUIs
I managed to build ffmpeg and libx264 on my Ubuntu 11.10 machine from source.
I've been going at this, literally for days. I'm trying to build FFmpeg with
I've been trying to build a LGPL copy of ffmpeg and I have tried
I'm trying to compile the ffmpeg by using the make and build files in
I am trying to build ffmpeg for windows (Xp - SP2) as given here
I am trying build small webcam chat (web application). I searched on google and
Trying to build my android project with Buildr (Apache), but can't find any info

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.