Project with videos won't compile on MAC OSX

Hi,
I tried everything, osx yosemite / El capitan differents video codec, extension. This was working on 4.8 but not anymore on 4.9.2
It seem Unreal @ Compile won’t find the video file placed correctly in ./Movies/ folder

What can i try please ? The repro is ubersimple, place a movie .mp4 (h264) or mov (h264) on a media texture, Compile , Crash… every cases, every times

Thanks !

MainFrameActions: Packaging (Mac): UE4Editor: [2015.10.13-09.49.34:599][  0]LogSavePackage:Warning: Finished SavePackage /magicprod/sync/StarTV_DecorPreview/unreal/StarTV_v02/Saved/Cooked/MacNoEditor/StarTV_v02/Content/fred/Plateau/plateau_plinte.uasset
MainFrameActions: Packaging (Mac): UE4Editor: [2015.10.13-09.49.34:607][  0]LogCook:Display: Cooking /Game/fred/Plateau/plateau_Plateau -> /magicprod/sync/StarTV_DecorPreview/unreal/StarTV_v02/Saved/Cooked/MacNoEditor/StarTV_v02/Content/fred/Plateau/plateau_Plateau.uasset
MainFrameActions: Packaging (Mac): UE4Editor: [2015.10.13-09.49.34:610][  0]LogSavePackage:Warning: Finished SavePackage /magicprod/sync/StarTV_DecorPreview/unreal/StarTV_v02/Saved/Cooked/MacNoEditor/StarTV_v02/Content/fred/Plateau/plateau_Plateau.uasset
MainFrameActions: Packaging (Mac): UE4Editor: [2015.10.13-09.49.34:613][  0]LogCook:Display: Cooking /Game/fred/Plateau/plateau_ecran -> /magicprod/sync/StarTV_DecorPreview/unreal/StarTV_v02/Saved/Cooked/MacNoEditor/StarTV_v02/Content/fred/Plateau/plateau_ecran.uassetUMediaTexture::InitializeTrack() Address = 0x13e9b89c (filename not found) [in UE4Editor-MediaAssets.dylib]
MainFrameActions: Packaging (Mac): UE4Editor: TBaseUObjectMethodDelegateInstance<false, UMediaTexture, void ()>::ExecuteIfSafe() const Address = 0x13ea1d27 (filename not found) [in UE4Editor-MediaAssets.dylib]
MainFrameActions: Packaging (Mac): UE4Editor: TBaseMulticastDelegate<void>::Broadcast() const Address = 0x13e9e090 (filename not found) [in UE4Editor-MediaAssets.dylib]
MainFrameActions: Packaging (Mac): UE4Editor: TBaseUObjectMethodDelegateInstance<false, UMediaPlayer, void ()>::ExecuteIfSafe() const Address = 0x13ea2f37 (filename not found) [in UE4Editor-MediaAssets.dylib]
MainFrameActions: Packaging (Mac): UE4Editor: TBaseMulticastDelegate<void>::Broadcast() const Address = 0x3b956ea0 (filename not found) [in UE4Editor-AvfMedia.dylib]
MainFrameActions: Packaging (Mac): UE4Editor: invocation function for block in FAvfMediaPlayer::Open(FString const&) Address = 0x3b954464 (filename not found) [in UE4Editor-AvfMedia.dylib]
MainFrameActions: Packaging (Mac): UE4Editor: invocation function for block in PerformBlockOnThread(FCocoaRunLoopSource&, void () block_pointer, NSArray*, NSString*, bool) Address = 0xde845f0  (filename not found) [in UE4Editor-Core.dylib]
MainFrameActions: Packaging (Mac): UE4Editor: FCocoaRunLoopSource::Process(__CFString const*) Address = 0xde9d0fc  (filename not found) [in UE4Editor-Core.dylib]
MainFrameActions: Packaging (Mac): UE4Editor: -[FCocoaRunLoopSourceInfo perform] Address = 0xde725f9  (filename not found) [in UE4Editor-Core.dylib]
MainFrameActions: Packaging (Mac): UE4Editor: __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__() Address = 0x875b8a01 (filename not found) [in CoreFoundation]
MainFrameActions: Packaging (Mac): UE4Editor: __CFRunLoopDoSources0() Address = 0x875aab8d (filename not found) [in CoreFoundation]
MainFrameActions: Packaging (Mac): UE4Editor: __CFRunLoopRun() Address = 0x875aa1bf (filename not found) [in CoreFoundation]
MainFrameActions: Packaging (Mac): UE4Editor: CFRunLoopRunSpecific() Address = 0x875a9bd8 (filename not found) [in CoreFoundation]
MainFrameActions: Packaging (Mac): UE4Editor: ProcessGameThreadEvents() Address = 0xde72d76  (filename not found) [in UE4Editor-Core.dylib]
MainFrameActions: Packaging (Mac): UE4Editor: FOutputDeviceConsoleMac::Serialize(wchar_t const*, ELogVerbosity::Type, FName const&) Address = 0xdf1714f  (filename not found) [in UE4Editor-Core.dylib]
MainFrameActions: Packaging (Mac): UE4Editor: FFeedbackContextMac::Serialize(wchar_t const*, ELogVerbosity::Type, FName const&) Address = 0xdf7118b  (filename not found) [in UE4Editor-Core.dylib]
MainFrameActions: Packaging (Mac): UE4Editor: FMsg::Logf_Internal(char const*, int, FName const&, ELogVerbosity::Type, wchar_t const*, ...) Address = 0xdf74381  (filename not found) [in UE4Editor-Core.dylib]
MainFrameActions: Packaging (Mac): UE4Editor: UPackage::SavePackage(UPackage*, UObject*, EObjectFlags, wchar_t const*, FOutputDevice*, FLinkerLoad*, bool, bool, unsigned int, ITargetPlatform const*, FDateTime const&, bool) Address = 0xe93ed28  (filename not found) [in UE4Editor-CoreUObject.dylib]
MainFrameActions: Packaging (Mac): UE4Editor: UEditorEngine::SavePackage(UPackage*, UObject*, EObjectFlags, wchar_t const*, FOutputDevice*, FLinkerLoad*, bool, bool, unsigned int, ITargetPlatform const*, FDateTime const&, bool) Address = 0x15348252 (filename not found) [in UE4Editor-UnrealEd.dylib]
MainFrameActions: Packaging (Mac): UE4Editor: UCookOnTheFlyServer::SaveCookedPackage(UPackage*, unsigned int, bool&, TArray<FName, FDefaultAllocator>&) Address = 0x1512fb98 (filename not found) [in UE4Editor-UnrealEd.dylib]
MainFrameActions: Packaging (Mac): UE4Editor: UCookOnTheFlyServer::TickCookOnTheSide(float, unsigned int&) Address = 0x15124739 (filename not found) [in UE4Editor-UnrealEd.dylib]
MainFrameActions: Packaging (Mac): UE4Editor: UCookCommandlet::NewCook(TArray<ITargetPlatform*, FDefaultAllocator> const&, TArray<FString, FDefaultAllocator>&) Address = 0x15b8a20c (filename not found) [in UE4Editor-UnrealEd.dylib]
MainFrameActions: Packaging (Mac): UE4Editor: UCookCommandlet::Main(FString const&) Address = 0x15b846b8 (filename not found) [in UE4Editor-UnrealEd.dylib]
MainFrameActions: Packaging (Mac): UE4Editor: FEngineLoop::PreInit(wchar_t const*) Address = 0xdcce1c1  (filename not found) [in UE4Editor]
MainFrameActions: Packaging (Mac): UE4Editor: GuardedMain(wchar_t const*) Address = 0xdcdc444  (filename not found) [in UE4Editor]
MainFrameActions: Packaging (Mac): UE4Editor: -[UE4AppDelegate runGameThread:] Address = 0xdcebbe3  (filename not found) [in UE4Editor]
MainFrameActions: Packaging (Mac): UE4Editor: -[FCocoaGameThread main] Address = 0xde727de  (filename not found) [in UE4Editor-Core.dylib]
MainFrameActions: Packaging (Mac): UE4Editor: __NSThread__main__() Address = 0x8b6f4e92 (filename not found) [in Foundation]
MainFrameActions: Packaging (Mac): UE4Editor: _pthread_body() Address = 0x8abfe05a (filename not found) [in libsystem_pthread.dylib]
MainFrameActions: Packaging (Mac): UE4Editor: _pthread_body() Address = 0x8abfdfd7 (filename not found) [in libsystem_pthread.dylib]
MainFrameActions: Packaging (Mac): UE4Editor: thread_start() Address = 0x8abfb3ed (filename not found) [in libsystem_pthread.dylib]
MainFrameActions: Packaging (Mac): UE4Editor: 
MainFrameActions: Packaging (Mac): UE4Editor: begin: stack for UAT
MainFrameActions: Packaging (Mac): UE4Editor: U
MainFrameActions: Packaging (Mac): UE4Editor: end: stack for UAT
MainFrameActions: Packaging (Mac): UE4Editor: [2015.10.13-09.49.34:670][  0]LogPhysics:Warning: PHYSX: ./../../PhysX/src/NpScene.cpp (2946) 8 : PxScene::unlockWrite() called without matching call to PxScene::lockWrite(), behaviour will be undefined.
MainFrameActions: Packaging (Mac): UE4Editor: [2015.10.13-09.49.34:670][  0]LogPhysics:Warning: PHYSX: ./../../PhysX/src/NpScene.cpp (2946) 8 : PxScene::unlockWrite() called without matching call to PxScene::lockWrite(), behaviour will be undefined.[2015.10.13-09.49.35:182][  0]LogModuleManager:Warning: ModuleManager: Module 'PakFile' not found - its StaticallyLinkedModuleInitializers function is null.
MainFrameActions: Packaging (Mac): UE4Editor: [2015.10.13-09.49.35:182][  0]LogModuleManager:Warning: ModuleManager: Module 'SandboxFile' not found - its StaticallyLinkedModuleInitializers function is null.
MainFrameActions: Packaging (Mac): UE4Editor: [2015.10.13-09.49.35:182][  0]LogInit:Display: RandInit(-1196911907) SRandInit(-1196908759).
MainFrameActions: Packaging (Mac): UE4Editor: [2015.10.13-09.49.35:182][  0]LogTaskGraph: Started task graph with 3 named threads and 8 total threads.
MainFrameActions: Packaging (Mac): UE4Editor: [2015.10.13-09.49.35:182][  0]LogInit: Version: 4.9.2-2707645+++depot+UE4-Releases+4.9
MainFrameActions: Packaging (Mac): UE4Editor: [2015.10.13-09.49.35:182][  0]LogInit: API Version: 2672455
MainFrameActions: Packaging (Mac): UE4Editor: [2015.10.13-09.49.35:182][  0]LogInit: Compiled (64-bit): Sep 28 2015 11:06:38
MainFrameActions: Packaging (Mac): UE4Editor: [2015.10.13-09.49.35:182][  0]LogInit: Compiled with Clang: 6.0 (clang-600.0.56)
MainFrameActions: Packaging (Mac): UE4Editor: [2015.10.13-09.49.35:182][  0]LogInit: Build Configuration: Shipping
MainFrameActions: Packaging (Mac): UE4Editor: [2015.10.13-09.49.35:182][  0]LogInit: Branch Name: ++depot+UE4-Releases+4.9
MainFrameActions: Packaging (Mac): UE4Editor: [2015.10.13-09.49.35:182][  0]LogInit: Command line:  "/Users/magicprod/Library/Application Support/Epic/UnrealEngine/4.9/Saved/Crashes/CrashReport-UE4-StarTV_v02-pid-85459-b36d39b35743b342f28e13abfa711670/"
MainFrameActions: Packaging (Mac): UE4Editor: [2015.10.13-09.49.35:182][  0]LogInit: Base directory: /Users/Shared/UnrealEngine/4.9/Engine/Binaries/Mac/
MainFrameActions: Packaging (Mac): UE4Editor: [2015.10.13-09.49.35:183][  0]LogInit: Rocket: 1
MainFrameActions: Packaging (Mac): UE4Editor: [2015.10.13-09.49.35:184][  0]LogInit: Presizing for 0 objects not considered by GC, pre-allocating 0 bytes.
MainFrameActions: Packaging (Mac): UE4Editor: [2015.10.13-09.49.35:185][  0]LogInit: Object subsystem initialized
MainFrameActions: Packaging (Mac): UE4Editor: [2015.10.13-09.49.35:185][  0]LogInit: Computer: MDP-MACPRO3
MainFrameActions: Packaging (Mac): UE4Editor: [2015.10.13-09.49.35:185][  0]LogInit: User: magicprod
MainFrameActions: Packaging (Mac): UE4Editor: [2015.10.13-09.49.35:185][  0]LogInit: CPU Page size=4096, Cores=12
MainFrameActions: Packaging (Mac): UE4Editor: [2015.10.13-09.49.35:185][  0]LogInit: High frequency timer resolution =1000.000000 MHz
MainFrameActions: Packaging (Mac): UE4Editor: [2015.10.13-09.49.35:185][  0]LogInit: Power Source: AC Power
MainFrameActions: Packaging (Mac): UE4Editor: [2015.10.13-09.49.35:185][  0]LogInit: Memory total: Physical=32.0GB (32GB approx) Pagefile=1.0GB Virtual=33.0GB
MainFrameActions: Packaging (Mac): UE4Editor: [2015.10.13-09.49.35:186][  0]LogTextLocalizationManager: No specific translations for ('en-FR') exist, so ('en') translations will be used.
MainFrameActions: Packaging (Mac): UE4Editor: [2015.10.13-09.49.35:218][  0]CrashReportClientLog: CrashReportReceiverIP: http://crashreporter.epicgames.com:57005
MainFrameActions: Packaging (Mac): UE4Editor: [2015.10.13-09.49.35:218][  0]LogCrashDebugHelper: DepotName: //depot/UE4-Releases/4.9
MainFrameActions: Packaging (Mac): UE4Editor: [2015.10.13-09.49.35:218][  0]LogCrashDebugHelper: BuiltFromCL: 2707645
MainFrameActions: Packaging (Mac): UE4Editor: [2015.10.13-09.49.35:218][  0]LogCrashDebugHelper: EngineVersion: 
MainFrameActions: Packaging (Mac): UE4Editor: LogCrashDebugHelper:Warning: Search patterns don't match
MainFrameActions: Packaging (Mac): UE4Editor: [2015.10.13-09.49.35:218][  0]LogCrashDebugHelper:Warning: Search patterns don't match
MainFrameActions: Packaging (Mac): UE4Editor: LogCrashDebugHelper:Warning: PDB Cache disabled
MainFrameActions: Packaging (Mac): UE4Editor: [2015.10.13-09.49.35:218][  0]LogCrashDebugHelper:Warning: PDB Cache disabled

Hey MagicNono,

In your repro steps you mention .h264 encoded videos. Our documentation mentions that there are known issues with these video types. The crash is not expected, but if you try a different encoded format your issue might be resolved.

Media Framework

We had one user have success with their media file after changing the encoded type.

If you still receive a crash after attempting the suggested steps please let me know.

Thank you,

Thank you Andrew,
But your doc mention the windows version, we are on MACs here so no WMV.
Plus as I said this was working on UE 4.8 so it’s a regression

More infos…
Your screenshoot reveal than the Audio codec AAC isn’t working.
My bad is than my video doesn’t have any audio stream so i’m stuck…

I should have been more specific by stating the media files ARE playing on the editor but prevent the project compile

Hey MagicNono,

In order to enter a bug, I need to reproduce this issue on my end. If you have the video file in which you are experiencing issues with, as well as some reproducible steps on how you are setting up your movie to play that will help me get a bug entered for this issue.

You say this worked for you in 4.8.3, so as long as I have the video file and some simple reproducible steps I can probably reproduce this issue quickly. Just as a note, the Media Framework itself (as it is built upon the Windows Movie Viewer framework) will have trouble with .mp4 and .h264 encoded files. This applies to Mac and Windows platforms.

Also as a note, the streaming options have been altered from 4.8.3 to 4.9.2 to have the from memory removed entirely. Be sure your media file in your project is packaged into a folder called "Movies’ which rests in your content folder directory.

Thanks,

Hey Andrew,
Soooo… here’s a perfect bug repro Project. I’m providing you with a 4.8.3 Project and the same 4.9.2 project where on 4.9.2 ANY video will fail the compile.

Please have a look, actually i can’t deliver anything but stillframes from the editor.

Cheers
Noël

(I’m confirming you i was using the “Movies folder etc…”)link text

Andrew, I hope my repro project can help you but… as the 4.10 preview is out, i have tested it and… the bug is fixed !!
What can we do ? move over it or wait for a fixe on a 4.9.3 ???

Cheers,
Noël

If you cannot reproduce this in 4.10 than we can presume it was either a project specific thing, or fixes made in 4.10 have resolved your issue. We can close this for now, but if you experience the issue again, you can simply return here with that information and we can investigate from there.

Cheers,

Hey guys, i’m on 4.10.4 and the same bug is present: when cooking the project, it silently crashes as it tries to cook / pack mp4 video files. I’m also on Mac using mp4 files. The worst part of this problem is that the build appears to be successful, but the cook is cut short and most of the assets for the game do not get packed into the .ipa file.

The only way i managed to cook and package the assets correctly was when i removed the videos completely from the /Game/Movies folder.

So far i lost 3 days already with this problem and didn’t find any clue on how to solve this.

Hey TiagoLing,

Try using a different encoded media file type to see if that resolves your issue. You mention you are getting a silent crash, so I can assume you are not presented with a Crash Reporter Dialog window?

We do mention a disclaimer about this feature being still in the experimental stages, and it can be dangerous to place importance on the feature itself within your project. With that said, I am happy to help you troubleshoot until you can get a solution.

Thank you,

Hi Andrew, thanks for replying. I created a specific question for my error here:

I’m still trying different media types, but so far none have worked. Thanks again!