2010-08-19 2 views
0

WinXP에서 phonon 직접 쇼 백엔드에 문제가 있습니다. 기본적으로 그것은 전혀 나를 위해 작동하지 않습니다 4.7.0 SDK 및 소스에서 빌드 된 버전으로 시도했습니다. 두 경우 모두 phonon_ds94.dll은/plugins/phonon_backend/dir에 있습니다.Windows XP에서 Phonon이 확실히 존재하는 DS 백엔드를로드하지 않습니다.

WARNING: Phonon::createPath: Cannot connect Phonon::MediaObject (no objectName) to Phonon::VideoWidget (no objectName). 

: 여기 실행 정상적인 프로그램에

vp = new Phonon::VideoPlayer(this); 
... 
vp->play(QUrl("...")); 

가 나는 그것의 출력으로있어 무엇 : 내 시스템 WINXP이고 나는 비디오 플레이어를 만드는 방법 VS 여기에 2008 년

사용 그리고 이것은 내가 디버그하는 동안 출력물로 Qt 생성자를 실행 한 것입니다 :

Exception at 0x7c812afb, code: 0x406d1388: Startup complete, flags=0x0 


Exception at 0x7c812afb, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) 

at: 
0  kernel32!RaiseException 0x7c812afb 
1  VSFilter!DllGetClassObject 0x24f8a76 
2  VSFilter!DllGetClassObject 0x24a77f4 
3  VSFilter 0x248459e 
4  VSFilter!DllGetClassObject 0x251ac7c 
5  VSFilter 0x248a53e 
6  ole32!CoCreateInstance 0x775007b6 


Exception at 0x7c812afb, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be  continued) 

at: 
0  kernel32!RaiseException 0x7c812afb 
1  VSFilter!DllGetClassObject 0x24f8a76 
2  VSFilter!DllGetClassObject 0x24a77f4 
3  VSFilter 0x248459e 
4  VSFilter!DllGetClassObject 0x251ac7c 
5  VSFilter 0x248a53e 
6  ole32!CoCreateInstance 0x77501ee6 
7  ntdll!RtlAllocateHeap 0x7c9101db 
8  VSFilter!DllGetClassObject 0x24f8b43 
9  ntdll!RtlAllocateHeap 0x7c9101db 
10 VSFilter!DllGetClassObject 0x24f8b43 
11 VSFilter!DllGetClassObject 0x2516646 
12 VSFilter!DllGetClassObject 0x2517c6b 
13 USER32!GetWindowLongW 0x7e4189cd 
14 USER32!DispatchMessageW 0x7e418a10 
15 kernel32!ValidateLocale 0x7c839ad8 
16 kernel32!GetModuleFileNameA 0x7c80b730 


Exception at 0x7c812afb, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be  continued) 

at: 
0  kernel32!RaiseException 0x7c812afb 
1  VSFilter!DllGetClassObject 0x24f8a76 
2  VSFilter!DllGetClassObject 0x24a77f4 
3  VSFilter 0x248459e 
4  VSFilter!DllGetClassObject 0x251ac7c 
5  VSFilter 0x248a53e 
6  ole32!CoCreateInstance 0x77501ee6 
7  ntdll!RtlAllocateHeap 0x7c9101db 
8  VSFilter!DllGetClassObject 0x24f8b43 
9  ntdll!RtlAllocateHeap 0x7c9101db 
10 VSFilter!DllGetClassObject 0x24f8b43 
11 VSFilter!DllGetClassObject 0x2516646 
12 VSFilter!DllGetClassObject 0x2517c6b 
13 USER32!GetWindowLongW 0x7e4189cd 
14 USER32!DispatchMessageW 0x7e418a10 
15 kernel32!ValidateLocale 0x7c839ad8 
16 kernel32!GetModuleFileNameA 0x7c80b730 


Exception at 0x7c812afb, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) 

at: 
0  kernel32!RaiseException 0x7c812afb 
1  VSFilter!DllGetClassObject 0x24f8a76 
2  VSFilter!DllGetClassObject 0x24a77f4 
3  VSFilter 0x248459e 
4  VSFilter!DllGetClassObject 0x251ac7c 
5  VSFilter 0x248a53e 
6  ole32!CoCreateInstance 0x77501ee6 
7  ntdll!RtlAllocateHeap 0x7c9101db 
8  VSFilter!DllGetClassObject 0x24f8b43 
9  ntdll!RtlAllocateHeap 0x7c9101db 
10 VSFilter!DllGetClassObject 0x24f8b43 
11 VSFilter!DllGetClassObject 0x2516646 
12 VSFilter!DllGetClassObject 0x2517c6b 
13 USER32!GetWindowLongW 0x7e4189cd 
14 USER32!DispatchMessageW 0x7e418a10 
15 kernel32!ValidateLocale 0x7c839ad8 
16 kernel32!GetModuleFileNameA 0x7c80b730 


Exception at 0x7c812afb, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) 

at: 
0  kernel32!RaiseException 0x7c812afb 
1  VSFilter!DllGetClassObject 0x24f8a76 
2  VSFilter!DllGetClassObject 0x24a77f4 
3  VSFilter 0x248459e 
4  VSFilter!DllGetClassObject 0x251ac7c 
5  VSFilter 0x248a53e 
6  ole32!CoCreateInstance 0x77501ee6 
7  ntdll!RtlAllocateHeap 0x7c9101db 
8  VSFilter!DllGetClassObject 0x24f8b43 
9  ntdll!RtlAllocateHeap 0x7c9101db 
10 VSFilter!DllGetClassObject 0x24f8b43 
11 VSFilter!DllGetClassObject 0x2516646 
12 VSFilter!DllGetClassObject 0x2517c6b 
13 USER32!GetWindowLongW 0x7e4189cd 
14 USER32!DispatchMessageW 0x7e418a10 
15 kernel32!ValidateLocale 0x7c839ad8 
16 kernel32!GetModuleFileNameA 0x7c80b730 


Exception at 0x7c812afb, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) 

at: 
0  kernel32!RaiseException 0x7c812afb 
1  VSFilter!DllGetClassObject 0x24f8a76 
2  VSFilter!DllGetClassObject 0x24a77f4 
3  VSFilter 0x248459e 
4  VSFilter!DllGetClassObject 0x251ac7c 
5  VSFilter 0x248a53e 
6  ole32!CoCreateInstance 0x77501ee6 
7  ntdll!RtlAllocateHeap 0x7c9101db 
8  VSFilter!DllGetClassObject 0x24f8b43 
9  ntdll!RtlAllocateHeap 0x7c9101db 
10 VSFilter!DllGetClassObject 0x24f8b43 
11 VSFilter!DllGetClassObject 0x2516646 
12 VSFilter!DllGetClassObject 0x2517c6b 
13 USER32!GetWindowLongW 0x7e4189cd 
14 USER32!DispatchMessageW 0x7e418a10 
15 kernel32!ValidateLocale 0x7c839ad8 
16 kernel32!GetModuleFileNameA 0x7c80b730 


Exception at 0x7c812afb, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be  continued) 

at: 
0  kernel32!RaiseException 0x7c812afb 
1  VSFilter!DllGetClassObject 0x24f8a76 
2  VSFilter!DllGetClassObject 0x24a77f4 
3  VSFilter 0x248459e 
4  VSFilter!DllGetClassObject 0x251ac7c 
5  VSFilter 0x248a53e 
6  ole32!CoCreateInstance 0x77501ee6 
7  ntdll!RtlAllocateHeap 0x7c9101db 
8  VSFilter!DllGetClassObject 0x24f8b43 
9  ntdll!RtlAllocateHeap 0x7c9101db 
10 VSFilter!DllGetClassObject 0x24f8b43 
11 VSFilter!DllGetClassObject 0x2516646 
12 VSFilter!DllGetClassObject 0x2517c6b 
13 USER32!GetWindowLongW 0x7e4189cd 
14 USER32!DispatchMessageW 0x7e418a10 
15 kernel32!ValidateLocale 0x7c839ad8 
16 kernel32!GetModuleFileNameA 0x7c80b730 


Exception at 0x7c812afb, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be  continued) 

at: 
0  kernel32!RaiseException 0x7c812afb 
1  VSFilter!DllGetClassObject 0x24f8a76 
2  VSFilter!DllGetClassObject 0x24a77f4 
3  VSFilter 0x248459e 
4  VSFilter!DllGetClassObject 0x251ac7c 
5  VSFilter 0x248a53e 
6  ole32!CoCreateInstance 0x77501ee6 
7  ntdll!RtlAllocateHeap 0x7c9101db 
8  VSFilter!DllGetClassObject 0x24f8b43 
9  ntdll!RtlAllocateHeap 0x7c9101db 
10 VSFilter!DllGetClassObject 0x24f8b43 
11 VSFilter!DllGetClassObject 0x2516646 
12 VSFilter!DllGetClassObject 0x2517c6b 
13 USER32!GetWindowLongW 0x7e4189cd 
14 USER32!DispatchMessageW 0x7e418a10 
15 kernel32!ValidateLocale 0x7c839ad8 
16 kernel32!GetModuleFileNameA 0x7c80b730 

WARNING: Phonon::createPath: Cannot connect Phonon::MediaObject (no objectName) to Phonon::VideoWidget (no objectName). 

누구에게 아이디어가 있습니까?

+0

QUrl 내에서 재생하려고하는 미디어 유형은 무엇입니까? DirectShow와 확실히 플레이해야한다는 것을 알고 있습니까? Windows Media Player (mplayer2.exe 또는 wmplayer.exe)를 실행하십시오. 해당 URL에 QUrl ("..")을 넣고 WMP로 재생할 수 있습니까? –

+0

예, 조사 중 mplayer2.exe로 동영상을 확인했는데 정상적으로 재생됩니다. – redbaron

+0

Qt 자체의 버그 인 것 같습니다. 4.6.3은 정상적으로 작동하지만 4.7 베타 버전은 작동하지 않습니다. 누군가 expirience 같은 문제가 가서 http://Bugreports.qt.nokia.com/browse/QTBUG-13062 – redbaron

답변

0

저는이 점에 대해 한 순간에 좌절감을 느낍니다. 귀하의 'phonon_ds94.dll'은 Qt의 동일한 버전으로 제작 되었습니까? 버전 번호와 일치해야하며 올바른 'Debug'또는 'Release'빌드 유형이어야합니다. '디버그'Qt 라이브러리에 링크 된 앱은 '출시'플러그인을로드하지 않으며 반대의 경우도 마찬가지입니다.

또한 디버그 qt 라이브러리를 빌드하는 경우 플러그인로드 코드로 이동하여 왜 포논 백엔드를 선택하지 않는지 확인할 수 있습니다.

+0

난 bugreport을 작성했습니다 나는 VS 2008 노키아 웹 사이트에서 이진 SDK를 사용하여, 나는 그 phonon_ds94.dll 거기에 번들 된 올바르게 컴파일됩니다. 또한 Qt를 소스에서 컴파일하려고 시도했지만 물론 모든 바이너리가 동일한 컴파일러로 컴파일되었습니다. phonon_ds94.dll을 Dependency Walker와 비교해 보았는데 문제가 발생하지 않는 지연로드 종속성 모듈의 문제점을 발견했습니다. – redbaron

+0

정말 이상합니다. 애플리케이션의 일부가 QCoreApplication :: addLibraryPath()를 예기치 않게 호출하고 있습니까? 글로벌 QTDIR에 플러그인이 있습니까? 아니면 애플리케이션과 관련이 있습니까? 이 문제가 발생했을 때 디버거에서 플러그인로드 프로세스를 밟았습니다. (문제는 내 대답에서 버전 불일치로 밝혀졌다). – Scott

관련 문제