DLGPlayer icon indicating copy to clipboard operation
DLGPlayer copied to clipboard

Could not open local flv file

Open zhengwenming opened this issue 6 years ago • 0 comments

I'm try to paly a local .flv file,failed.But loacl .mp4 file is OK. And kxMovie can play the .flv file,the same file。 Here is the code. _vcDLGPlayer.url = [[NSBundle mainBundle] pathForResource:@"339" ofType:@"flv"]; [_vcDLGPlayer open];

Is there something wrong whit my code? log below: platform initialization successful 2018-06-25 15:30:08.729441+0800 DLGPlayer[407:86589] [MC] Lazy loading NSBundle MobileCoreServices.framework 2018-06-25 15:30:08.729903+0800 DLGPlayer[407:86589] [MC] Loaded MobileCoreServices.framework 2018-06-25 15:30:08.748490+0800 DLGPlayer[407:86589] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles 2018-06-25 15:30:08.803927+0800 DLGPlayer[407:86589] refreshPreferences: HangTracerEnabled: 0 2018-06-25 15:30:08.803956+0800 DLGPlayer[407:86589] refreshPreferences: HangTracerDuration: 500 2018-06-25 15:30:08.803967+0800 DLGPlayer[407:86589] refreshPreferences: ActivationLoggingEnabled: 0 ActivationLoggingTaskedOffByDA:0 2018-06-25 15:30:31.465856+0800 DLGPlayer[407:86589] Metal GPU Frame Capture Enabled 2018-06-25 15:30:31.466897+0800 DLGPlayer[407:86589] Metal API Validation Enabled Input #0, flv, from '/var/containers/Bundle/Application/A5145BF5-6A8F-4B4F-AC3F-B43642E986C2/DLGPlayer.app/339.flv': Duration: N/A, start: 0.000000, bitrate: N/A [flv @ 0x10489b000] Packet mismatch 352 15 340 [flv @ 0x10489b000] Packet mismatch 2111492634 8975 7932380 2018-06-25 15:30:36.040882+0800 DLGPlayer[407:86967] read frame error: End of file

zhengwenming avatar Jun 25 '18 07:06 zhengwenming