Page 1 of 1

Play mkv and dat video files crash

Posted: 15 Sep 2010 05:08
by chenvc
I builded the vlc-1.1.4 with cygwin in windows xp sp3, and used the following compile option:

PATH=/usr/win32/bin:$PATH \
PKG_CONFIG_LIBDIR=/usr/win32/lib/pkgconfig \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS=-L/usr/win32/lib \
CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
./configure \
--host=i686-pc-mingw32 \
--enable-nls \
--enable-sdl --with-sdl-config-path=/usr/win32/bin \
--enable-faad --enable-flac --enable-theora \
--enable-live555 --with-live555-tree=/usr/win32/live.com \
--enable-caca --with-caca-config-path=/usr/win32/bin \
--with-dvdnav-config-path=/usr/win32/bin \
--enable-goom \
--enable-dvdread \
--enable-debug --disable-optimizations \
--disable-mkv --disable-taglib --disable-zvbi --disable-dirac \
--disable-x264 --disable-fluidsynth --disable-projectm

I builed successfully! But the vlc play mkv and dat video files crash!
I modified the compile option "--disable-mkv" for "--enable-mkv", but it compile error!
I use the source and contrib:
vlc-1.1.4.tar.bz2
contrib-20100616-win32-bin-gcc-4.4.4-runtime-3.17-only.tar.bz2

Please help me how to builed the vlc and can play mkv and dat video files!
Thanks a lot!

Re: Play mkv and dat video files crash

Posted: 15 Sep 2010 05:24
by chenvc
The dat video file:
概要
CompleteName : D:\MediaFiles\SORRY.mpg
Format : CDXA/MPEG-PS
FileSize/String : 44.4 MiB
Duration/String : 4分 33秒
OverallBitRate/String : 1 418 Kbps

视频
ID/String : 224 (0xE0)
Format : MPEG Video
Format_Version : Version 1
Format_Settings_BVOP/String : 是
Format_Settings_Matrix/String : 默认

The mkv video file:
概要
CompleteName : D:\MediaFiles\HALFCD.mkv
Format : Matroska
FileSize/String : 49.6 MiB
Duration/String : 14分 14秒
OverallBitRate/String : 487 Kbps
Encoded_Date : UTC 2008-12-12 20:51:54
Encoded_Application : mkvmerge v2.2.0 ('Turn It On Again') built on Mar 4 2008 12:58:26
Encoded_Library/String : libebml v0.7.7 + libmatroska v0.8.1

视频
ID/String : 1
Format : AVC
Format/Info : Advanced Video Codec
Format_Profile : High@L3.0
Format_Settings_CABAC/String : 是
Format_Settings_RefFrames/String : 5 frames
MuxingMode : Container profile=Unknown@3.0
CodecID : V_MPEG4/ISO/AVC

Re: Play mkv and dat video files crash

Posted: 16 Sep 2010 00:38
by Jean-Baptiste Kempf
Use mingw to compile , and enable mkv build option.

Re: Play mkv and dat video files crash

Posted: 16 Sep 2010 02:59
by chenvc
I use cygwin to compile and use "--enable-mkv" build option, but it make error:

Creating library file: .libs/libmkv_plugin.dll.a
collect2: ld returned 1 exit status
make[6]: *** [libmkv_plugin.la] Error 1
make[6]: Leaving directory `/home/chen/vlc-1.1.4/modules/demux/mkv'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/chen/vlc-1.1.4/modules/demux/mkv'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/chen/vlc-1.1.4/modules/demux'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/chen/vlc-1.1.4/modules/demux'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/chen/vlc-1.1.4/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/chen/vlc-1.1.4'
make: *** [all] Error 2

I can't use cygwin build mkv option? And must use mingw build mkv option?

Re: Play mkv and dat video files crash

Posted: 16 Sep 2010 11:43
by chenvc
I download the vlc-1.1.4 and install, it can play "CDXA/MPEG-PS" video file, but it will auto add a video stream when play for a moment, and the new video stream window is black. Then the vlc have two video windows! But I play other video(not "CDXA/MPEG-PS" codec) have one video window only.

Re: Play mkv and dat video files crash

Posted: 17 Sep 2010 12:34
by Jean-Baptiste Kempf
I can't use cygwin build mkv option? And must use mingw build mkv option?
No and yes.

Re: Play mkv and dat video files crash

Posted: 17 Sep 2010 12:35
by Jean-Baptiste Kempf
I download the vlc-1.1.4 and install, it can play "CDXA/MPEG-PS" video file, but it will auto add a video stream when play for a moment, and the new video stream window is black. Then the vlc have two video windows! But I play other video(not "CDXA/MPEG-PS" codec) have one video window only.
Because it has 2 video tracks.

Re: Play mkv and dat video files crash

Posted: 20 Sep 2010 02:35
by chenvc
But I use kmplayer, mpc etc. play the "CDXA/MPEG-PS" video file only have a video track. I use mediainfo tool analyse the file and it only show one video track and one audio track. I play other "CDXA/MPEG-PS" video file and mostly of them gain the same thing.