[vlc-devel] Trying to compile VLC identical to the windows binary

Fleming Lampi lampi at informatik.uni-mannheim.de
Mon Jan 29 14:32:54 CET 2007


Hi everyone,

I encountered an interesting (IMHO) phenomenon: I have a video 
(x264/mp3) which plays locally fine under different versions of vlc.
In the certain moment I want to stream it without transcoding or 
transrating through MPEG TS packaging using RTP there are lots of 
differences.
In brief:

Everytime I use a VLC 0.8.6a windows binary from installer as the 
receiver on machine B.

When using VLC 0.8.5 windows binary from installer as the sender on 
machine A everything works fine.
When using VLC 0.8.6a windows binary from installer as the sender on 
machine A there is a black rectangle in the size of the video frame but 
the sound is perfect.
When using VLC 0.8.6a compiled from svn as the sender on machine A again 
there is the black rectangle in the size of the video frame but the 
sound is perfect.
Same behaviour comes up when using VLC-trunk.

And there is a problem I do not get VLC 0.8.5 compiled. It stops with 
the following error message:
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../..   
-I/usr/win32/include -I/usr/win32/include/ebml -I/usr/win32/ffmpeg 
-D_OFF_T_ -D_off_t=long -DSYS_MINGW
32 -I../../include `top_builddir="../.." ../../vlc-config --cflags 
plugin x264` -Wsign-compare -Wall  -mms-bitfields -pipe -MT 
libx264_plugin_a-x264.o -MD
-MP -MF ".deps/libx264_plugin_a-x264.Tpo" -c -o libx264_plugin_a-x264.o 
`test -f 'x264.c' || echo './'`x264.c; \
        then mv -f ".deps/libx264_plugin_a-x264.Tpo" 
".deps/libx264_plugin_a-x264.Po"; else rm -f 
".deps/libx264_plugin_a-x264.Tpo"; exit 1; fi
x264.c: In function `Open':
x264.c:550: error: structure has no member named `b_cbr'
x264.c:740: error: structure has no member named `i_rf_constant'
make[4]: *** [libx264_plugin_a-x264.o] Error 1
make[4]: Leaving directory `/home/Fleming/vlc-0.8.5/modules/codec'
make[3]: *** [all-modules] Error 1
make[3]: Leaving directory `/home/Fleming/vlc-0.8.5/modules/codec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/Fleming/vlc-0.8.5/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Fleming/vlc-0.8.5'
make: *** [all] Error 2

At last here are some details on my two machines:
Developing machine (A) using Windows XPpro SP2 and cygwin configured as 
described in the vlc-build howtos.
Receiving machine (B) using Windows XPpro SP2

As you can see by the only correct transmissions there are no firewall 
problems or similar and it is the same even when using a multicast 
address for RTP.

So my main questions are:
-which is the correct revision of VLC 0.8.5?
-how to compile the sources so that they are identical to the windows 
binaries?
-what are the differences between 0.8.5 and 0.8.6a concerning displaying 
such a stream?

If anyone is interested: I want to / have to enable x264 / vlc to stream 
in different layers to enable such streams even for smaller bandwidth. 
It is for the SpoVNet project http://www.spovnet.de (english spoken).

Hope that anyone can help me out.
Greetz Fleming


-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list