whoissunshijia / ue4-ffmpeg

Record game screen and push RTMP in UE4.22
125 stars 48 forks source link

ue5.0.3 rtmp crash, video save 正常,请问这种问题怎样解决 #20

Open liuxinxinbit opened 1 year ago

liuxinxinbit commented 1 year ago

LoginId:ceadb1984691ee17e8d7e49fac01f5c0 EpicAccountId:fb514964de8e4841b2e59f996d21a061

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000098

avformat_58 avformat_58 avformat_58 UnrealEditor_UFFmpeg!UFFmpegDirector::Create_Video_Encoder() [D:\ue5-ffmpeg-master\Plugins\UFFmpeg\Source\UFFmpeg\Private\FFmpegDirector.cpp:370] UnrealEditor_UFFmpeg!UFFmpegDirector::Initialize_Director() [D:\ue5-ffmpeg-master\Plugins\UFFmpeg\Source\UFFmpeg\Private\FFmpegDirector.cpp:166] UnrealEditor_UFFmpeg!UFFmpegFunctionLibrary::CreateFFmpegDirector() [D:\ue5-ffmpeg-master\Plugins\UFFmpeg\Source\UFFmpeg\Private\FFmpegFunctionLibrary.cpp:13] UnrealEditor_UFFmpeg!UFFmpegFunctionLibrary::execCreateFFmpegDirector() [D:\ue5-ffmpeg-master\Plugins\UFFmpeg\Intermediate\Build\Win64\UnrealEditor\Inc\UFFmpeg\FFmpegFunctionLibrary.gen.cpp:39] UnrealEditor_CoreUObject UnrealEditor_CoreUObject UnrealEditor_CoreUObject UnrealEditor_CoreUObject UnrealEditor_CoreUObject UnrealEditor_CoreUObject UnrealEditor_CoreUObject UnrealEditor_CoreUObject UnrealEditor_CoreUObject UnrealEditor_Engine UnrealEditor_Engine UnrealEditor_Engine UnrealEditor_Engine UnrealEditor_Engine UnrealEditor_Engine UnrealEditor_Engine UnrealEditor_UnrealEd UnrealEditor_UnrealEd UnrealEditor_UnrealEd UnrealEditor_UnrealEd UnrealEditor_UnrealEd UnrealEditor_UnrealEd UnrealEditor_UnrealEd UnrealEditor_UnrealEd UnrealEditor UnrealEditor UnrealEditor UnrealEditor UnrealEditor UnrealEditor kernel32 ntdll

WaYOHAHA commented 5 months ago

你解决了嚒,我也遇到这个问题了,使用RTMP崩溃。 if (avformat_write_header(out_format_context, NULL) < 0) { check(false); }