Running VLC/Windows CE(MIPS CPU) Port...DirectX Problem
Posted: 19 Sep 2007 08:35
Hi,
I'm trying to build VLC 0.8.6c using MS-VS2005 for my Windows CE 5.0 / MIPS (Au1200) device.
The most of codec library are ported except ffmpeg(libavcodec, well somehow I managed to build with VS2005, but still has problems).
During the test, I use libmpeg2 to display MPEG video. It works fine with video output WINGDI module.
But, when I try with vout_directx, It doesn't display at all. Just black window screen.
(Yes, the device has DDraw.dll and it works fine with other applications. No problem at DDraw.dll side, I guess)
Here are debug message at vlc-log.txt. It clearly say 'DirectX is inizialized' but nothing happen.
main decoder debug: looking for decoder module: 13 candidates
main decoder debug: using decoder module "mpeg_audio"
main decoder debug: thread 2770026034 (decoder) created at priority 0 (..\src\input\decoder.c:159)
main decoder debug: looking for decoder module: 13 candidates
main decoder debug: using decoder module "libmpeg2"
main decoder debug: thread 571218042 (decoder) created at priority 4 (..\src\input\decoder.c:159)
libmpeg2 decoder debug: 832x468 (display 832,468), aspect 576000, sar 3:4, 29.971 fps
main decoder debug: no usable vout present, spawning one
main video output debug: window size: 832x624
main video output debug: looking for video output module: 3 candidates
mpeg_audio decoder debug: MPGA channels:2 samplerate:48000 bitrate:128
main decoder debug: no aout present, spawning one
vout_directx video output debug: creating DirectXEventThread
main audio output debug: looking for audio output module: 2 candidates
vout_directx video output debug: DirectXCreateWindow
waveout audio output warning: waveOutOpen failed WAVERR_BADFORMAT
vout_directx video output debug: created video sub-window
waveout audio output debug: device supports 2 channels
main private debug: waiting for thread completion
waveout audio output warning: waveOutOpen failed WAVERR_BADFORMAT
waveout audio output debug: device supports 1 channel
waveout audio output warning: waveOutOpen failed WAVERR_BADFORMAT
main private debug: thread 1692170370 (waveOut Notification Thread) created at priority 0 (..\modules\audio_output\waveout.c:353)
main audio output debug: using audio output module "waveout"
main audio output debug: output 's16l' 48000 Hz Stereo frame=1 samples/4 bytes
main audio output debug: mixer 'fi32' 48000 Hz Stereo frame=1 samples/8 bytes
main audio output debug: filter(s) 'fi32'->'s16l' 48000 Hz->48000 Hz Stereo->Stereo
main private debug: looking for audio filter module: 13 candidates
main private debug: using audio filter module "fixed32tos16"
main audio output debug: found a filter for the whole conversion
main audio output debug: looking for audio mixer module: 2 candidates
main audio output debug: using audio mixer module "trivial_mixer"
main audio output debug: input 'mpga' 48000 Hz Stereo frame=1152 samples/1161 bytes
main audio output debug: filter(s) 'mpga'->'fi32' 48000 Hz->48000 Hz Stereo->Stereo
main private debug: looking for audio filter module: 13 candidates
main private debug: using audio filter module "mpgatofixed32"
main audio output debug: found a filter for the whole conversion
main audio output debug: filter(s) 'fi32'->'fi32' 52800 Hz->48000 Hz Stereo->Stereo
main private debug: looking for audio filter module: 13 candidates
main private debug: using audio filter module "ugly_resampler"
main audio output debug: found a filter for the whole conversion
main audio output warning: PTS is out of range (-39588), dropping buffer
main audio output warning: PTS is out of range (-12588), dropping buffer
main audio output warning: PTS is out of range (-28588), dropping buffer
main audio output debug: audio output is too slow (265412), trashing 250000us
main audio output debug: audio output is too slow (52412), trashing 250000us
main audio output debug: audio output is too slow (92412), trashing 250000us
main audio output warning: output date isn't PTS date, requesting resampling (-157588)
And here is a list of modules I'm using.
plugin_a52.dll
plugin_a52sys.dll
plugin_a52tofloat32.dll
plugin_access_file.dll
plugin_access_http.dll
plugin_access_mms.dll
plugin_access_tcp.dll
plugin_access_udp.dll
plugin_adpcm.dll
plugin_araw.dll
plugin_asf.dll
plugin_avi.dll
plugin_blend.dll
plugin_cinepak.dll
plugin_dts.dll
plugin_dtstofloat32.dll
plugin_dummy.dll
plugin_ffmpeg.dll
plugin_fixed32tofloat32.dll
plugin_fixed32tos16.dll
plugin_float32tos16.dll
plugin_float32_mixer.dll
plugin_freetype.dll
plugin_i420_rgb.dll
plugin_i420_yuy2.dll
plugin_i422_yuy2.dll
plugin_ipv4.dll
plugin_libmpeg2.dll
plugin_logger.dll
plugin_m3u.dll
plugin_m4a.dll
plugin_m4v.dll
plugin_memcpy.dll
plugin_mp4.dll
plugin_mpeg_audio.dll
plugin_mpga.dll
plugin_mpgatofixed32.dll
plugin_mpgv.dll
plugin_nsv.dll
plugin_ogg.dll
plugin_packetizer_h264.dll
plugin_packetizer_mpeg4audio.dll
plugin_packetizer_mpeg4video.dll
plugin_packetizer_mpegvideo.dll
plugin_playlist.dll
plugin_ps.dll
plugin_rawvideo.dll
plugin_s16tofixed32.dll
plugin_s16tofloat32.dll
plugin_scale.dll
plugin_speex.dll
plugin_spudec.dll
plugin_subsdec.dll
plugin_subtitle.dll
plugin_theora.dll
plugin_tremor.dll
plugin_trivial_channel_mixer.dll
plugin_trivial_mixer.dll
plugin_trivial_resampler.dll
plugin_ts.dll
plugin_u8tofixed32.dll
plugin_u8tofloat32.dll
plugin_ugly_resampler.dll
plugin_visual.dll
plugin_vout_directx.dll
plugin_vout_sdl.dll
plugin_wav.dll
plugin_waveout.dll
plugin_wince.dll
plugin_wingdi.dll
I'm trying to build VLC 0.8.6c using MS-VS2005 for my Windows CE 5.0 / MIPS (Au1200) device.
The most of codec library are ported except ffmpeg(libavcodec, well somehow I managed to build with VS2005, but still has problems).
During the test, I use libmpeg2 to display MPEG video. It works fine with video output WINGDI module.
But, when I try with vout_directx, It doesn't display at all. Just black window screen.
(Yes, the device has DDraw.dll and it works fine with other applications. No problem at DDraw.dll side, I guess)
Here are debug message at vlc-log.txt. It clearly say 'DirectX is inizialized' but nothing happen.
main decoder debug: looking for decoder module: 13 candidates
main decoder debug: using decoder module "mpeg_audio"
main decoder debug: thread 2770026034 (decoder) created at priority 0 (..\src\input\decoder.c:159)
main decoder debug: looking for decoder module: 13 candidates
main decoder debug: using decoder module "libmpeg2"
main decoder debug: thread 571218042 (decoder) created at priority 4 (..\src\input\decoder.c:159)
libmpeg2 decoder debug: 832x468 (display 832,468), aspect 576000, sar 3:4, 29.971 fps
main decoder debug: no usable vout present, spawning one
main video output debug: window size: 832x624
main video output debug: looking for video output module: 3 candidates
mpeg_audio decoder debug: MPGA channels:2 samplerate:48000 bitrate:128
main decoder debug: no aout present, spawning one
vout_directx video output debug: creating DirectXEventThread
main audio output debug: looking for audio output module: 2 candidates
vout_directx video output debug: DirectXCreateWindow
waveout audio output warning: waveOutOpen failed WAVERR_BADFORMAT
vout_directx video output debug: created video sub-window
waveout audio output debug: device supports 2 channels
main private debug: waiting for thread completion
waveout audio output warning: waveOutOpen failed WAVERR_BADFORMAT
waveout audio output debug: device supports 1 channel
waveout audio output warning: waveOutOpen failed WAVERR_BADFORMAT
main private debug: thread 1692170370 (waveOut Notification Thread) created at priority 0 (..\modules\audio_output\waveout.c:353)
main audio output debug: using audio output module "waveout"
main audio output debug: output 's16l' 48000 Hz Stereo frame=1 samples/4 bytes
main audio output debug: mixer 'fi32' 48000 Hz Stereo frame=1 samples/8 bytes
main audio output debug: filter(s) 'fi32'->'s16l' 48000 Hz->48000 Hz Stereo->Stereo
main private debug: looking for audio filter module: 13 candidates
main private debug: using audio filter module "fixed32tos16"
main audio output debug: found a filter for the whole conversion
main audio output debug: looking for audio mixer module: 2 candidates
main audio output debug: using audio mixer module "trivial_mixer"
main audio output debug: input 'mpga' 48000 Hz Stereo frame=1152 samples/1161 bytes
main audio output debug: filter(s) 'mpga'->'fi32' 48000 Hz->48000 Hz Stereo->Stereo
main private debug: looking for audio filter module: 13 candidates
main private debug: using audio filter module "mpgatofixed32"
main audio output debug: found a filter for the whole conversion
main audio output debug: filter(s) 'fi32'->'fi32' 52800 Hz->48000 Hz Stereo->Stereo
main private debug: looking for audio filter module: 13 candidates
main private debug: using audio filter module "ugly_resampler"
main audio output debug: found a filter for the whole conversion
main audio output warning: PTS is out of range (-39588), dropping buffer
main audio output warning: PTS is out of range (-12588), dropping buffer
main audio output warning: PTS is out of range (-28588), dropping buffer
main audio output debug: audio output is too slow (265412), trashing 250000us
main audio output debug: audio output is too slow (52412), trashing 250000us
main audio output debug: audio output is too slow (92412), trashing 250000us
main audio output warning: output date isn't PTS date, requesting resampling (-157588)
And here is a list of modules I'm using.
plugin_a52.dll
plugin_a52sys.dll
plugin_a52tofloat32.dll
plugin_access_file.dll
plugin_access_http.dll
plugin_access_mms.dll
plugin_access_tcp.dll
plugin_access_udp.dll
plugin_adpcm.dll
plugin_araw.dll
plugin_asf.dll
plugin_avi.dll
plugin_blend.dll
plugin_cinepak.dll
plugin_dts.dll
plugin_dtstofloat32.dll
plugin_dummy.dll
plugin_ffmpeg.dll
plugin_fixed32tofloat32.dll
plugin_fixed32tos16.dll
plugin_float32tos16.dll
plugin_float32_mixer.dll
plugin_freetype.dll
plugin_i420_rgb.dll
plugin_i420_yuy2.dll
plugin_i422_yuy2.dll
plugin_ipv4.dll
plugin_libmpeg2.dll
plugin_logger.dll
plugin_m3u.dll
plugin_m4a.dll
plugin_m4v.dll
plugin_memcpy.dll
plugin_mp4.dll
plugin_mpeg_audio.dll
plugin_mpga.dll
plugin_mpgatofixed32.dll
plugin_mpgv.dll
plugin_nsv.dll
plugin_ogg.dll
plugin_packetizer_h264.dll
plugin_packetizer_mpeg4audio.dll
plugin_packetizer_mpeg4video.dll
plugin_packetizer_mpegvideo.dll
plugin_playlist.dll
plugin_ps.dll
plugin_rawvideo.dll
plugin_s16tofixed32.dll
plugin_s16tofloat32.dll
plugin_scale.dll
plugin_speex.dll
plugin_spudec.dll
plugin_subsdec.dll
plugin_subtitle.dll
plugin_theora.dll
plugin_tremor.dll
plugin_trivial_channel_mixer.dll
plugin_trivial_mixer.dll
plugin_trivial_resampler.dll
plugin_ts.dll
plugin_u8tofixed32.dll
plugin_u8tofloat32.dll
plugin_ugly_resampler.dll
plugin_visual.dll
plugin_vout_directx.dll
plugin_vout_sdl.dll
plugin_wav.dll
plugin_waveout.dll
plugin_wince.dll
plugin_wingdi.dll