# Error libopenh264 Incorrect library version loaded

**URL:** <https://forum.opencv.org/t/error-libopenh264-incorrect-library-version-loaded/13446>\
**Category:** Python\
**Tags:** videoio\
**Created:** [June 8, 2023, 12:12pm UTC](https://forum.opencv.org/t/error-libopenh264-incorrect-library-version-loaded/13446 "2023-06-08T12:12:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![\_CHAOS](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/_chaos/32/8052_2.png) [@\_CHAOS](https://forum.opencv.org/u/_CHAOS)\
**Post date:** [June 8, 2023, 12:12pm UTC](https://forum.opencv.org/t/error-libopenh264-incorrect-library-version-loaded/13446/1 "2023-06-08T12:12:21Z")

</div>

I re- installed from git hub  
githubcom/DavG25/sd-webui-mov2mov

because I saw this error result  
[libopenh264 [ Incorrect library version loaded

[ERROR:0@1542.993] global cap\_ffmpeg\_impl.hpp:3049 open Could not open codec libopenh264, error: Unspecified error (-22)

[ERROR:01542.993] global cap\_ffmpeg\_impl.hpp:3066 open VIDEOIO/FFMPEG: Failed to initialize VideoWriter

The generation is complete, the directory::outputs/mov2mov-videos\1686210731mp4

but after I installed  
cmd show me this  
Warning: no frames were generated for the mov2mov video

I’ve been struggling with this problem for four hours

please help me

I manage to get to know these sites and leave questions to get great solutions from smart developers

---

<div class="post-metadata">

**Author:** ![berak](https://avatars.discourse-cdn.com/v4/letter/b/85f322/32.png) [@berak](https://forum.opencv.org/u/berak)\
**Post date:** [June 8, 2023, 1:41pm UTC](https://forum.opencv.org/t/error-libopenh264-incorrect-library-version-loaded/13446/2 "2023-06-08T13:41:14Z")

</div>

> [@\_CHAOS](#):
>
> [libopenh264 [ Incorrect library version loaded

that’s a problem with your local ffmpeg installation  
(h264 might be nonfree/dropped),  
NOT with stable diffusion, mov2mov or opencv …

however, maybe you can just [try out a different codec here](https://github.com/DavG25/sd-webui-mov2mov/blob/d243cc90c09e231192c27720aa992e682c924da1/scripts/mov2mov.py#L156-L168)
