Search found 6 matches

by jackyxinli
Mon Sep 10, 2018 5:54 am
Forum: Usage
Topic: ffmpeg 4.0.2 can not run under win7(32bit/64bit)
Replies: 1
Views: 579

ffmpeg 4.0.2 can not run under win7(32bit/64bit)

hi, it's jacky, the windows build on your website what i download can not run under win7(32bit/64bit). I add code like blow: int main(int argc, char **argv) { int flags; VideoState *is; #ifdef _WIN32 CoInitializeEx(NULL, COINIT_MULTITHREADED); #endif ..... } then compile & run, it works. so, i feel ...
by jackyxinli
Wed Nov 29, 2017 2:43 am
Forum: Usage
Topic: I can't run ffplay because of errors of SDL_OpenAudio
Replies: 5
Views: 3354

Re: I can't run ffplay because of errors of SDL_OpenAudio

I find a new method to resolve this problem, the ffplay not call CoInitialize according to error message. So, add code to call CoInitialize, ffplay can work. And the same time, I checked SDL2's source code, the WASAPI module doesn't set member ProvidesOwnCallbackThread, so SDL2 should call CoInitial...
by jackyxinli
Mon Nov 27, 2017 7:47 am
Forum: Usage
Topic: I can't run ffplay because of errors of SDL_OpenAudio
Replies: 5
Views: 3354

Re: I can't run ffplay because of errors of SDL_OpenAudio

set environment SDL_AUDIODRIVER can resolve this problem, it seems like SDL2 can not work on WASAPI.
Under windows 7, directsound and winmm both solved.

https://stackoverflow.com/questions/468 ... 4-binaries
by jackyxinli
Mon Nov 27, 2017 7:40 am
Forum: Usage
Topic: I can't run ffplay because of errors of SDL_OpenAudio
Replies: 5
Views: 3354

Re: I can't run ffplay because of errors of SDL_OpenAudio

yes, I got this too. Same codes was compiled under fedora or ubuntu can work.
by jackyxinli
Tue Oct 03, 2017 8:15 am
Forum: Developement with FFmpeg
Topic: The program ffplay in ffmpeg-3.3.4 cannot work
Replies: 0
Views: 1020

The program ffplay in ffmpeg-3.3.4 cannot work

The program ffplay in ffmpeg-3.3.4 cannot work with SDL2 when compiled in msys32, is anyone meet this problem?
by jackyxinli
Wed Jun 15, 2016 9:15 am
Forum: Compiling
Topic: I got error when compile ffmpeg 3.0.2
Replies: 1
Views: 1405

I got error when compile ffmpeg 3.0.2

I got error when compile ffmpeg 3.0.2, error message is blow: libavutil/random_seed.c: in function‘av_get_random_seed’: libavutil/random_seed.c:130:12: error:implicit function declaration ‘arc4random’ [-Werror=implicit-function-declaration] return arc4random(); please help me resolve this problem, t...
'