Hello,Here is an update for my compiled libraries, this time it was compiled using the lastest contribs + ffmpeg & x264 from the svn trunk.
http://www.megaupload.com/?d=IE3BEOIV
http://rapidshare.com/files/29623189/JVLC.rar
Okay, thanks for your report, I will dig into this for my next version of the DLL.I have some troubles (20070505 version) with function jvlc.video.getSnapshot(ficOut);
All files are empty (0 byte) for png or jpg format.
Code: Select all
import java.awt.BorderLayout;
import org.videolan.jvlc.JVLC;
import org.videolan.jvlc.JVLCPanel;
import org.videolan.jvlc.VLCException;
public class JVLCPlayer extends javax.swing.JDialog {
/** Creates new form JVLCPlayer */
private JVLC jvlc;
private JVLCPanel jvp;
public JVLCPlayer(java.awt.Frame parent, boolean modal)
{
super(parent, modal);
initComponents();
jvp=new JVLCPanel();
jvlc=jvp.getJVLCObject();
jPanel1.add(jvp, BorderLayout.CENTER);
try
{
jvlc.playlist.add("file://C:\\abc.mpeg","abc.mpeg");
jvlc.playlist.play();
}
catch (VLCException ex)
{
ex.printStackTrace();
}
[...]
}
/**
* @param args the command line arguments
*/
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new JVLCPlayer(new javax.swing.JFrame(), true).setVisible(true);
}
});
}
// Variables declaration - do not modify
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JPanel jPanel1;
private javax.swing.JSlider jSlider1;
// End of variables declaration
}
#
# An unexpected error has been detected by Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0bf61637, pid=4044, tid=2384
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0-b105 interpreted mode)
# Problematic frame:
# C [libdeinterlace_plugin.dll+0x1637]
#
# An error report file with more information is saved as hs_err_pid4044.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Hi PurpleSkunk,Hello there.
I've managed to compile the JVLC library using cygwin.
I tried it in some of my Java projects, including Eclipse or Netbeans projects, and it seems that my DLL is working great, although I had issue with the ones given out by other members.
I for one would really appreciate details on how to compile under cygwin. I work mostly in IntelliJ on Windows, and although I have been using cygwin a little, I find it difficult to figure out all that's needed to compile the native libraries.Perhaps a document explaining the steps to compile using cygwin would be really appreciated.
You're absolutely right, I will try to write a doc when I've got enough time. Stay tuned !Hi PurpleSkunk,
to compile jvlc under cygwin did you change any file involved in the configuration or build process? Perhaps a document explaining the steps to compile using cygwin would be really appreciated.
Cheers,
lj
i guys,I for one would really appreciate details on how to compile under cygwin. I work mostly in IntelliJ on Windows, and although I have been using cygwin a little, I find it difficult to figure out all that's needed to compile the native libraries.Perhaps a document explaining the steps to compile using cygwin would be really appreciated.
By the way, I've had to uninstall IE7 to get the dlls working (even the ones posted here) to get around a "Can't find dependent libraries" error -- which is apparently due to a vista-dependency introduced by MS. I wanted to try and submit a patch for this issue, which is one of the reasons why I'd be grateful if somebody could create such a doc.
Cheers,
Arnie Pie
Code: Select all
public class JVLC implements Runnable {
static {
System.loadLibrary("liba52sys_plugin");
System.loadLibrary("liba52tofloat32_plugin");
System.loadLibrary("liba52tospdif_plugin");
System.loadLibrary("liba52_plugin");
System.loadLibrary("libaccess_directory_plugin");
System.loadLibrary("libaccess_fake_plugin");
System.loadLibrary("libaccess_file_plugin");
System.loadLibrary("libaccess_filter_bandwidth_plugin");
System.loadLibrary("libaccess_filter_dump_plugin");
System.loadLibrary("libaccess_filter_record_plugin");
System.loadLibrary("libaccess_filter_timeshift_plugin");
System.loadLibrary("libaccess_ftp_plugin");
System.loadLibrary("libaccess_http_plugin");
System.loadLibrary("libaccess_mms_plugin");
System.loadLibrary("libaccess_output_dummy_plugin");
System.loadLibrary("libaccess_output_file_plugin");
System.loadLibrary("libaccess_output_http_plugin");
System.loadLibrary("libaccess_output_udp_plugin");
System.loadLibrary("libaccess_smb_plugin");
System.loadLibrary("libaccess_tcp_plugin");
System.loadLibrary("libaccess_udp_plugin");
System.loadLibrary("libadjust_plugin");
System.loadLibrary("libadpcm_plugin");
System.loadLibrary("libaiff_plugin");
System.loadLibrary("libalphamask_plugin");
System.loadLibrary("libaout_directx_plugin");
System.loadLibrary("libaout_file_plugin");
System.loadLibrary("libaraw_plugin");
System.loadLibrary("libasf_plugin");
System.loadLibrary("libaudioscrobbler_plugin");
System.loadLibrary("libaudio_format_plugin");
System.loadLibrary("libau_plugin");
System.loadLibrary("libavi_plugin");
System.loadLibrary("libbandlimited_resampler_plugin");
System.loadLibrary("libbda_plugin");
System.loadLibrary("libblend_plugin");
System.loadLibrary("libbluescreen_plugin");
System.loadLibrary("libcaca_plugin");
System.loadLibrary("libcdda_plugin");
System.loadLibrary("libcinepak_plugin");
System.loadLibrary("libclone_plugin");
System.loadLibrary("libcmml_plugin");
System.loadLibrary("libcolorthres_plugin");
System.loadLibrary("libconverter_fixed_plugin");
System.loadLibrary("libconverter_float_plugin");
System.loadLibrary("libcrop_plugin");
System.loadLibrary("libcvdsub_plugin");
System.loadLibrary("libdeinterlace_plugin");
System.loadLibrary("libdemuxdump_plugin");
System.loadLibrary("libdirect3d_plugin");
System.loadLibrary("libdmo_plugin");
System.loadLibrary("libdolby_surround_decoder_plugin");
System.loadLibrary("libdshow_plugin");
System.loadLibrary("libdtssys_plugin");
System.loadLibrary("libdtstofloat32_plugin");
System.loadLibrary("libdtstospdif_plugin");
System.loadLibrary("libdts_plugin");
System.loadLibrary("libdummy_plugin");
System.loadLibrary("libdvbsub_plugin");
System.loadLibrary("libdvdnav_plugin");
System.loadLibrary("libdvdread_plugin");
System.loadLibrary("libequalizer_plugin");
System.loadLibrary("liberase_plugin");
System.loadLibrary("libexport_plugin");
System.loadLibrary("libextract_plugin");
System.loadLibrary("libfaad_plugin");
System.loadLibrary("libfake_plugin");
System.loadLibrary("libffmpeg_plugin");
System.loadLibrary("libflacsys_plugin");
System.loadLibrary("libflac_plugin");
System.loadLibrary("libfloat32_mixer_plugin");
System.loadLibrary("libfolder_plugin");
System.loadLibrary("libfreetype_plugin");
System.loadLibrary("libgaussianblur_plugin");
System.loadLibrary("libgestures_plugin");
System.loadLibrary("libglwin32_plugin");
System.loadLibrary("libgnutls_plugin");
System.loadLibrary("libgoom_plugin");
System.loadLibrary("libgradient_plugin");
System.loadLibrary("libgrowl_plugin");
System.loadLibrary("libh264_plugin");
System.loadLibrary("libheadphone_channel_mixer_plugin");
System.loadLibrary("libhotkeys_plugin");
System.loadLibrary("libhttp_plugin");
System.loadLibrary("libi420_rgb_mmx_plugin");
System.loadLibrary("libi420_rgb_plugin");
System.loadLibrary("libi420_rgb_sse2_plugin");
System.loadLibrary("libi420_ymga_mmx_plugin");
System.loadLibrary("libi420_ymga_plugin");
System.loadLibrary("libi420_yuy2_mmx_plugin");
System.loadLibrary("libi420_yuy2_plugin");
System.loadLibrary("libi420_yuy2_sse2_plugin");
System.loadLibrary("libi422_yuy2_mmx_plugin");
System.loadLibrary("libi422_yuy2_plugin");
System.loadLibrary("libid3tag_plugin");
System.loadLibrary("libimage_plugin");
System.loadLibrary("libinvert_plugin");
System.loadLibrary("libmpeg2_plugin");
System.loadLibrary("liblinear_resampler_plugin");
System.loadLibrary("liblive555_plugin");
System.loadLibrary("liblogger_plugin");
System.loadLibrary("liblogo_plugin");
System.loadLibrary("liblpcm_plugin");
System.loadLibrary("libm4a_plugin");
System.loadLibrary("libm4v_plugin");
System.loadLibrary("libmagnify_plugin");
System.loadLibrary("libmarq_plugin");
System.loadLibrary("libmemcpy3dn_plugin");
System.loadLibrary("libmemcpymmxext_plugin");
System.loadLibrary("libmemcpymmx_plugin");
System.loadLibrary("libmemcpy_plugin");
System.loadLibrary("libmjpeg_plugin");
System.loadLibrary("libmkv_plugin");
System.loadLibrary("libmod_plugin");
System.loadLibrary("libmono_plugin");
System.loadLibrary("libmosaic_plugin");
System.loadLibrary("libmotionblur_plugin");
System.loadLibrary("libmotiondetect_plugin");
System.loadLibrary("libmp4_plugin");
System.loadLibrary("libmpc_plugin");
System.loadLibrary("libmpeg_audio_plugin");
System.loadLibrary("libmpgatofixed32_plugin");
System.loadLibrary("libmpga_plugin");
System.loadLibrary("libmpgv_plugin");
System.loadLibrary("libmsn_plugin");
System.loadLibrary("libmux_asf_plugin");
System.loadLibrary("libmux_avi_plugin");
System.loadLibrary("libmux_dummy_plugin");
System.loadLibrary("libmux_mp4_plugin");
System.loadLibrary("libmux_mpjpeg_plugin");
System.loadLibrary("libmux_ogg_plugin");
System.loadLibrary("libmux_ps_plugin");
System.loadLibrary("libmux_ts_plugin");
System.loadLibrary("libmux_wav_plugin");
System.loadLibrary("libnetsync_plugin");
System.loadLibrary("libnoise_plugin");
System.loadLibrary("libnormvol_plugin");
System.loadLibrary("libnsc_plugin");
System.loadLibrary("libnsv_plugin");
System.loadLibrary("libntservice_plugin");
System.loadLibrary("libnuv_plugin");
System.loadLibrary("libogg_plugin");
System.loadLibrary("libopengl_plugin");
System.loadLibrary("libosdmenu_plugin");
System.loadLibrary("libpacketizer_copy_plugin");
System.loadLibrary("libpacketizer_h264_plugin");
System.loadLibrary("libpacketizer_mpeg4audio_plugin");
System.loadLibrary("libpacketizer_mpeg4video_plugin");
System.loadLibrary("libpacketizer_mpegvideo_plugin");
System.loadLibrary("libpacketizer_vc1_plugin");
System.loadLibrary("libpanoramix_plugin");
System.loadLibrary("libparam_eq_plugin");
System.loadLibrary("libplaylist_plugin");
System.loadLibrary("libpng_plugin");
System.loadLibrary("libpodcast_plugin");
System.loadLibrary("libprofile_parser_plugin");
System.loadLibrary("libpsychedelic_plugin");
System.loadLibrary("libps_plugin");
System.loadLibrary("libpuzzle_plugin");
System.loadLibrary("libpva_plugin");
System.loadLibrary("libqt4_plugin");
System.loadLibrary("librawdv_plugin");
System.loadLibrary("librawvideo_plugin");
System.loadLibrary("librawvid_plugin");
System.loadLibrary("librc_plugin");
System.loadLibrary("libreal_plugin");
System.loadLibrary("libripple_plugin");
System.loadLibrary("librotate_plugin");
System.loadLibrary("librss_plugin");
System.loadLibrary("librv32_plugin");
System.loadLibrary("libsap_plugin");
System.loadLibrary("libscale_plugin");
System.loadLibrary("libscreen_plugin");
System.loadLibrary("libsdl_image_plugin");
System.loadLibrary("libsharpen_plugin");
System.loadLibrary("libshout_plugin");
System.loadLibrary("libshowintf_plugin");
System.loadLibrary("libsimple_channel_mixer_plugin");
System.loadLibrary("libskins2_plugin");
System.loadLibrary("libspdif_mixer_plugin");
System.loadLibrary("libspeex_plugin");
System.loadLibrary("libspudec_plugin");
System.loadLibrary("libstream_out_autodel_plugin");
System.loadLibrary("libstream_out_bridge_plugin");
System.loadLibrary("libstream_out_description_plugin");
System.loadLibrary("libstream_out_display_plugin");
System.loadLibrary("libstream_out_dummy_plugin");
System.loadLibrary("libstream_out_duplicate_plugin");
System.loadLibrary("libstream_out_es_plugin");
System.loadLibrary("libstream_out_gather_plugin");
System.loadLibrary("libstream_out_mosaic_bridge_plugin");
System.loadLibrary("libstream_out_rtp_plugin");
System.loadLibrary("libstream_out_standard_plugin");
System.loadLibrary("libstream_out_transcode_plugin");
System.loadLibrary("libsubsdec_plugin");
System.loadLibrary("libsubtitle_plugin");
System.loadLibrary("libsvcdsub_plugin");
System.loadLibrary("libtelnet_plugin");
System.loadLibrary("libtelx_plugin");
System.loadLibrary("libtheora_plugin");
System.loadLibrary("libtransform_plugin");
System.loadLibrary("libtrivial_channel_mixer_plugin");
System.loadLibrary("libtrivial_mixer_plugin");
System.loadLibrary("libtrivial_resampler_plugin");
System.loadLibrary("libts_plugin");
System.loadLibrary("libtta_plugin");
System.loadLibrary("libtwolame_plugin");
System.loadLibrary("libty_plugin");
System.loadLibrary("libugly_resampler_plugin");
System.loadLibrary("libvc1_plugin");
System.loadLibrary("libvcd_plugin");
System.loadLibrary("libvisual_plugin");
System.loadLibrary("libvobsub_plugin");
System.loadLibrary("libvoc_plugin");
System.loadLibrary("libvod_rtsp_plugin");
System.loadLibrary("libvorbis_plugin");
System.loadLibrary("libvout_directx_plugin");
System.loadLibrary("libwall_plugin");
System.loadLibrary("libwaveout_plugin");
System.loadLibrary("libwave_plugin");
System.loadLibrary("libwav_plugin");
System.loadLibrary("libwingdi_plugin");
System.loadLibrary("libx264_plugin");
System.loadLibrary("libxa_plugin");
System.loadLibrary("libxml_plugin");
System.loadLibrary("libxtag_plugin");
System.loadLibrary("libvlc" );
System.loadLibrary("jvlc" );
System.out.println("pippo8");
}
(ops, the plugin directory was missing...)Thank you very very very much, now i'm able to compile and to run the example
(VLCClient).... step by step... something working
but, as you mentioned, I've some problem at startup
[00000001] main libvlc error: no memcpy module matched "any"
and when i try to set a new filename:
file://C:\Users\Angelo\workspace\jvlc_4\bin/classical.mp3
[00000011] main access error: no access2 module matched "any"
Code: Select all
set JAVA_HOME=C:\j2sdk\jdk1.5.0_10
set CURRENT_DIR=C:\usr\vdaburon\dev\main_prj_netbeans\contactsheetfromvideojvlc\bin
set JVLC_HOME=C:\usr\vdaburon\dev\videolan\jvlc-win32_20070428
set LIB_PATH=%CURRENT_DIR%/../dist/lib
echo "LIB_PATH = %LIB_PATH%"
set CLASS_PATH=%LIB_PATH%/jvlc.jar;%LIB_PATH%/commons-cli-1.0.jar;%LIB_PATH%/commons-io-1.2.jar;%LIB_PATH%/jdom.jar;%LIB_PATH%/log4j-1.2.8.jar;%LIB_PATH%/swing-layout-1.0.jar
set CLASS_PATH=%CLASS_PATH%;%CURRENT_DIR%/../dist/contactsheetfromvideojvlc.jar
set CONFIG_FILE=%CURRENT_DIR%/../config/saveConfig4x4temp.xml
cd %JVLC_HOME%
%JAVA_HOME%\jre\bin\java -classpath %CLASS_PATH% net.sf.contactsheetfromvideo.video.GraphicInterfCreateContactSheetVideo -configFile %CONFIG_FILE%
Return to “VLC media player for Windows Troubleshooting”
Users browsing this forum: No registered users and 58 guests