VLC does not play H264 streams after cross-compilation

*nix specific usage questions
wormemn
New Cone
New Cone
Posts: 8
Joined: 06 Feb 2007 16:00

VLC does not play H264 streams after cross-compilation

Postby wormemn » 14 Jan 2009 09:21

Hello all,
I managed to cross-compile VLC 0.9.6 on Ubuntu 8.10 using the extra/contrib way but the built VLC is unable to play H264 video. "It gives me error: No suitable decoder module:
VLC does not support the audio or video format "h264". Unfortunately there is no way for you to fix this."
vlc -vvv --list doesn't show avcodec or avformat

I first compiled extra modules:
./bootstrap i586-mingw32msvc
make

Then, I compiled vlc:
./configure --host=i586-mingw32msvc --disable-gtk --enable-nls --enable-sdl --enable-ffmpeg --enable-faad --enable-flac --enable-theora --disable-cddax --disable-vcdx --enable-goom --enable-twolame --enable-dvdread --enable-mkv --enable-caca --enable-live555 --disable-zvbi --enable-telx
make
make package-win32-zip

Here is an extract of my vlc-config:
#!/bin/sh

prefix="/usr/local"
exec_prefix="${prefix}"
exec_prefix_set=no
datarootdir="${prefix}/share"

release="no"
debug="no"
gprof="no"
cprof="no"
optim="speed"

plugins="a52 a52tofloat32 a52tospdif access_filter_bandwidth access_filter_dump access_filter_record access_filter_timeshift access_smb adjust adpcm alphamask aout_directx aout_file araw asf atmo audio_format audioscrobbler avcodec avformat avi bandlimited_resampler bda blend blendbench bluescreen caca canvas cc cdda cdg chain cinepak clone cmml colorthres converter_fixed converter_float crop croppadd cvdsub deinterlace direct3d dmo dolby_surround_decoder dshow dts dtstofloat32 dtstospdif dummy dvbsub dvdnav dvdread equalizer erase export extract faad fake flac float32_mixer folder freetype gaussianblur gestures glwin32 gnutls goom gradient grain grey_yuv h264 headphone_channel_mixer hotkeys http i420_rgb i420_rgb_mmx i420_rgb_sse2 i420_ymga i420_ymga_mmx i420_yuy2 i420_yuy2_mmx i420_yuy2_sse2 i422_i420 i422_yuy2 i422_yuy2_mmx i422_yuy2_sse2 id3tag image invert kate libmpeg2 linear_resampler live555 logger logo lpcm m4a m4v magnify marq memcpy memcpy3dn memcpymmx memcpymmxext mkv mod mono mosaic motionblur motiondetect mp4 mpc mpeg_audio mpga mpgatofixed32 mpgv msn mux_ogg mux_ts noise normvol nsc ntservice ogg opengl opengl osd_parser osdmenu panoramix param_eq playlist png podcast postproc ps psychedelic puzzle qt4 rawvideo rc remoteosd ripple rotate rss rv32 sap scale scaletempo schroedinger screen sdl_image sharpen shout showintf simple_channel_mixer skins2 spatializer spdif_mixer speex spudec stats subsdec subsusf svcdsub swscale t140 taglib telnet telx theora transform trivial_channel_mixer trivial_mixer trivial_resampler ts twolame ugly_resampler vcd visual vmem vorbis vout_directx wall wave waveout wingdi x264 xml xtag yuy2_i420 yuy2_i422 "
builtins=" "

cppflags=""
cflags=""
cxxflags=""
objcflags=""
ldflags=""
libs=""

Is there something is miss ?
Thanks

xtophe
Big Cone-huna
Big Cone-huna
Posts: 1209
Joined: 24 Nov 2003 10:12
Location: Bristol, England

Re: VLC does not play H264 streams after cross-compilation

Postby xtophe » 14 Jan 2009 14:13

Check that the modules was indeed built.
Check that the module was installed when you did "make package-win32-base" or sth like that. AFAIR you can't run vlc for win directly from a buildtree because libtool doesn't know of our layout.
Xtophe

wormemn
New Cone
New Cone
Posts: 8
Joined: 06 Feb 2007 16:00

Re: VLC does not play H264 streams after cross-compilation

Postby wormemn » 14 Jan 2009 15:16

I'm not sure to understand correctly.
After the make package-win32-zip, I transfered the zip file on a windows machine where I extracted it and run it
Mpeg2 video is correctly played for example

How can I check that the module has been built ?
I can find libavcodec_plugin.dll and libavformat_plugin.dll in the plugins directory. Is that enough to say they have been built ?

Thanks


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 14 guests