I have a problem with JVLC 0.9 that I didn't have with the previous release (0.8.x) : I cannot stream to the network anymore.
For information, I am using a compiled version of VLC's trunk of June 2nd 2008 with the following configuration options:
Code: Select all
--build=i386-linux --disable-qt4 --disable-wxwidgets --disable-activex --disable-vcdx --disable-cddax --disable-mozilla --disable-gtk --disable-hal --disable-libcdio --disable-skins2 --disable-portaudio --enable-nls --enable-ffmpeg --with-ffmpeg-faad --with-ffmpeg-mp3lame --with-ffmpeg-faac --with-ffmpeg-zlib --with-ffmpeg-a52 --with-ffmpeg-theora --with-ffmpeg-vorbis --enable-faad --enable-flac --enable-theora --enable-faad --enable-twolame --enable-dv --enable-dvdread --enable-live555 --enable-caca --enable-goom --enable-real --enable-realrtsp --enable-mkv --enable-shout --enable-dvb --enable-dvbpsi --enable-v4l --enable-dvdnav --enable-a52 --enable-libmpeg2 --enable-vorbis --enable-flac --enable-sout --enable-ogg --enable-vlm --enable-mad --enable-libtool --enable-shared --enable-x264 --enable-shared-libvlc
Code: Select all
String streamID = "v4l:///dev/video0";
String location = "v4l:///dev/video0";
String output = "#transcode{vcodec=mp4v,vb=256,scale=1,acodec=mpga,ab=64,channels=2}:duplicate{dst=display,dst=std{access=udp,mux=ts,dst=225.0.0.1:1234}}";
jvlcPlayer.vlm.addBroadcast(streamID, location, output, null, true, false);
jvlcPlayer.vlm.playMedia(streamID);
Code: Select all
String streamID = "v4l:///dev/video0";
String location = "v4l:///dev/video0";
String output = "#transcode{vcodec=mp4v,vb=256,scale=1,acodec=mpga,ab=64,channels=2}:duplicate{dst=display,dst=std{access=udp,mux=ts,dst=225.0.0.1:1234}}";
jvlcPlayer.getVLM().addBroadcast(streamID, location, output, null, true, false);
jvlcPlayer.getVLM().playMedia(streamID);
Am I missing something ??
Thanks for helping !