Running VLC/Windows CE(MIPS CPU) Port...DirectX Problem

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
cybercop
New Cone
New Cone
Posts: 2
Joined: 19 Sep 2007 08:20

Running VLC/Windows CE(MIPS CPU) Port...DirectX Problem

Postby cybercop » 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. :cry:

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Running VLC/Windows CE(MIPS CPU) Port...DirectX Problem

Postby Jean-Baptiste Kempf » 19 Sep 2007 11:51

Noone works on WinCE anymore, so this might be difficult to help you.

However, We are very interested in any version you can provide and any howto you can give.

You may want to ask damienf (mail and IRC) about DirectX problems.

About ffmpeg, it uses things that Microsoft Compiler does not understand. Maybe we should just crosscompile ffmpeg and do th rest under windows.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

cybercop
New Cone
New Cone
Posts: 2
Joined: 19 Sep 2007 08:20

Re: Running VLC/Windows CE(MIPS CPU) Port...DirectX Problem

Postby cybercop » 19 Sep 2007 16:33

First of all, thanks for your attention.
I'll try to contact damienf via e-mail.
About ffmpeg, it uses things that Microsoft Compiler does not understand. Maybe we should just crosscompile ffmpeg and do th rest under windows.
Regarding ffmpeg building issue, I would like to ask you few more questions.
1. I build libavcodec.lib, libavutil.lib, libavformat.lib, libpostproc for WinCE environment.
I have to deal with tons of compiling errors with VS2005. But somehow it was taken cared.
So, I'm wonder...even though, it still has run-time imcompatible with VS2005? Or just matter of compile issue?

2. As far as I know, in order to cross compile to WinCE device, I have to use arm-gcc-ce. It seems doesn't support MIPS core, but only ARMS core.
Is it possible to make a MIPS binary with arm-gcc-ce? If it is possible, I'd love and willingly to use that. :D

Thanks in advance.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Running VLC/Windows CE(MIPS CPU) Port...DirectX Problem

Postby Jean-Baptiste Kempf » 19 Sep 2007 17:23

1. I think it is only compiling problems. But you have to check since alignment is buggy in MSVC implementation.
2. Yes, or check the cegcc project.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

che1404
New Cone
New Cone
Posts: 1
Joined: 22 Dec 2007 14:16

Re: Running VLC/Windows CE(MIPS CPU) Port...DirectX Problem

Postby che1404 » 22 Dec 2007 14:19

Hi there!
Could you please show a tutorial/howto on how to use libavcodec/libavformat and ffmpeg on WinCE devices?
I'm also very interested on developing WinCE apps that use libavcodec/libavformat...

Thanks a lot in advance!
Che1404

jack_jones
Blank Cone
Blank Cone
Posts: 14
Joined: 04 Sep 2008 05:08

Re: Running VLC/Windows CE(MIPS CPU) Port...DirectX Problem

Postby jack_jones » 05 Sep 2008 03:33

Can any body show me that where I could download the source code of vlc media player for windows CE 5.0 on MIPS processor (Au1200 board)? I look for a long time,thank you very much. :(


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: MSCC_Brad and 69 guests