Package | Description |
---|---|
uk.co.caprica.vlcj.binding |
Provides the JNA bindings, and related classes, to use the libvlc native
library.
|
uk.co.caprica.vlcj.player |
This is the main package for vlcj client applications, providing the classes
necessary to create and control native media players and associated
resources.
|
Modifier and Type | Method and Description |
---|---|
libvlc_media_player_t |
LibVlc.libvlc_media_player_new_from_media(libvlc_media_t p_md)
Create a Media Player object from a Media
|
libvlc_media_player_t |
LibVlc.libvlc_media_player_new(libvlc_instance_t p_libvlc_instance)
Create an empty Media Player object
|
Modifier and Type | Method and Description |
---|---|
int |
LibVlc.libvlc_audio_get_channel(libvlc_media_player_t p_mi)
Get current audio channel.
|
long |
LibVlc.libvlc_audio_get_delay(libvlc_media_player_t p_mi)
Get current audio delay.
|
int |
LibVlc.libvlc_audio_get_mute(libvlc_media_player_t p_mi)
Get current mute status.
|
int |
LibVlc.libvlc_audio_get_track_count(libvlc_media_player_t p_mi)
Get number of available audio tracks.
|
libvlc_track_description_t |
LibVlc.libvlc_audio_get_track_description(libvlc_media_player_t p_mi)
Get the description of available audio tracks.
|
int |
LibVlc.libvlc_audio_get_track(libvlc_media_player_t p_mi)
Get current audio track.
|
int |
LibVlc.libvlc_audio_get_volume(libvlc_media_player_t p_mi)
Get current software audio volume.
|
libvlc_audio_output_device_t |
LibVlc.libvlc_audio_output_device_enum(libvlc_media_player_t mp)
Gets a list of potential audio output devices, see
LibVlc.libvlc_audio_output_device_set(libvlc_media_player_t, String, String) . |
void |
LibVlc.libvlc_audio_output_device_set(libvlc_media_player_t p_mi,
String psz_audio_output,
String psz_device_id)
Configures an explicit audio output device.
|
int |
LibVlc.libvlc_audio_output_set(libvlc_media_player_t p_mi,
String psz_name)
Sets the audio output.
|
void |
LibVlc.libvlc_audio_set_callbacks(libvlc_media_player_t mp,
libvlc_audio_play_cb play,
libvlc_audio_pause_cb pause,
libvlc_audio_resume_cb resume,
libvlc_audio_flush_cb flush,
libvlc_audio_drain_cb drain,
com.sun.jna.Pointer opaque)
Set callbacks and private data for decoded audio.
|
int |
LibVlc.libvlc_audio_set_channel(libvlc_media_player_t p_mi,
int channel)
Set current audio channel.
|
int |
LibVlc.libvlc_audio_set_delay(libvlc_media_player_t p_mi,
long i_delay)
Set current audio delay.
|
void |
LibVlc.libvlc_audio_set_format_callbacks(libvlc_media_player_t mp,
libvlc_audio_setup_cb setup,
libvlc_audio_cleanup_cb cleanup)
Set decoded audio format.
|
void |
LibVlc.libvlc_audio_set_format(libvlc_media_player_t mp,
String format,
int rate,
int channels)
Set decoded audio format.
|
void |
LibVlc.libvlc_audio_set_mute(libvlc_media_player_t p_mi,
int status)
Set mute status.
|
int |
LibVlc.libvlc_audio_set_track(libvlc_media_player_t p_mi,
int i_track)
Set current audio track.
|
void |
LibVlc.libvlc_audio_set_volume_callback(libvlc_media_player_t mp,
libvlc_audio_set_volume_cb set_volume)
Set callbacks and private data for decoded audio.
|
int |
LibVlc.libvlc_audio_set_volume(libvlc_media_player_t p_mi,
int i_volume)
Set current software audio volume.
|
void |
LibVlc.libvlc_audio_toggle_mute(libvlc_media_player_t p_mi)
Toggle mute status.
|
int |
LibVlc.libvlc_get_fullscreen(libvlc_media_player_t p_mi)
Get current fullscreen status.
|
void |
LibVlc.libvlc_media_list_player_set_media_player(libvlc_media_list_player_t p_mlp,
libvlc_media_player_t p_mi)
Replace media player in media_list_player with this instance.
|
int |
LibVlc.libvlc_media_player_can_pause(libvlc_media_player_t p_mi)
Can this media player be paused?
|
libvlc_event_manager_t |
LibVlc.libvlc_media_player_event_manager(libvlc_media_player_t p_mi)
Get the Event Manager from which the media player send event.
|
int |
LibVlc.libvlc_media_player_get_agl(libvlc_media_player_t p_mi)
Get the agl handler previously set with libvlc_media_player_set_agl().
|
int |
LibVlc.libvlc_media_player_get_chapter_count_for_title(libvlc_media_player_t p_mi,
int i_title)
Get title chapter count
|
int |
LibVlc.libvlc_media_player_get_chapter_count(libvlc_media_player_t p_mi)
Get movie chapter count
|
int |
LibVlc.libvlc_media_player_get_chapter(libvlc_media_player_t p_mi)
Get movie chapter.
|
float |
LibVlc.libvlc_media_player_get_fps(libvlc_media_player_t p_mi)
Get movie fps rate
|
com.sun.jna.Pointer |
LibVlc.libvlc_media_player_get_hwnd(libvlc_media_player_t p_mi)
Get the Windows API window handle (HWND) previously set with libvlc_media_player_set_hwnd().
|
long |
LibVlc.libvlc_media_player_get_length(libvlc_media_player_t p_mi)
Get the current movie length (in ms).
|
libvlc_media_t |
LibVlc.libvlc_media_player_get_media(libvlc_media_player_t p_mi)
Get the media used by the media_player.
|
com.sun.jna.Pointer |
LibVlc.libvlc_media_player_get_nsobject(libvlc_media_player_t p_mi)
Get the NSView handler previously set with libvlc_media_player_set_nsobject().
|
float |
LibVlc.libvlc_media_player_get_position(libvlc_media_player_t p_mi)
Get movie position.
|
float |
LibVlc.libvlc_media_player_get_rate(libvlc_media_player_t p_mi)
Get the requested movie play rate.
|
int |
LibVlc.libvlc_media_player_get_state(libvlc_media_player_t p_mi)
Get current movie state
|
long |
LibVlc.libvlc_media_player_get_time(libvlc_media_player_t p_mi)
Get the current movie time (in ms).
|
int |
LibVlc.libvlc_media_player_get_title_count(libvlc_media_player_t p_mi)
Get movie title count
|
int |
LibVlc.libvlc_media_player_get_title(libvlc_media_player_t p_mi)
Get movie title
|
int |
LibVlc.libvlc_media_player_get_xwindow(libvlc_media_player_t p_mi)
Get the X Window System window identifier previously set with
libvlc_media_player_set_xwindow().
|
int |
LibVlc.libvlc_media_player_has_vout(libvlc_media_player_t p_mi)
How many video outputs does this media player have?
|
int |
LibVlc.libvlc_media_player_is_playing(libvlc_media_player_t p_mi)
is_playing
|
int |
LibVlc.libvlc_media_player_is_seekable(libvlc_media_player_t p_mi)
Is this media player seekable?
|
void |
LibVlc.libvlc_media_player_navigate(libvlc_media_player_t p_mi,
int navigate)
Navigate through DVD Menu
|
void |
LibVlc.libvlc_media_player_next_chapter(libvlc_media_player_t p_mi)
Set next chapter (if applicable)
|
void |
LibVlc.libvlc_media_player_next_frame(libvlc_media_player_t p_mi)
Display the next frame (if supported)
|
void |
LibVlc.libvlc_media_player_pause(libvlc_media_player_t p_mi)
Toggle pause (no effect if there is no media)
|
int |
LibVlc.libvlc_media_player_play(libvlc_media_player_t p_mi)
Play
|
void |
LibVlc.libvlc_media_player_previous_chapter(libvlc_media_player_t p_mi)
Set previous chapter (if applicable)
|
int |
LibVlc.libvlc_media_player_program_scrambled(libvlc_media_player_t p_mi)
Is the current program scrambled?
|
void |
LibVlc.libvlc_media_player_release(libvlc_media_player_t p_mi)
Release a media_player after use Decrement the reference count of a media player object.
|
void |
LibVlc.libvlc_media_player_retain(libvlc_media_player_t p_mi)
Retain a reference to a media player object.
|
void |
LibVlc.libvlc_media_player_set_agl(libvlc_media_player_t p_mi,
int drawable)
Set the agl handler where the media player should render its video output.
|
void |
LibVlc.libvlc_media_player_set_chapter(libvlc_media_player_t p_mi,
int i_chapter)
Set movie chapter (if applicable).
|
int |
LibVlc.libvlc_media_player_set_equalizer(libvlc_media_player_t p_mi,
libvlc_equalizer_t p_equalizer)
Apply new equalizer settings to a media player.
|
void |
LibVlc.libvlc_media_player_set_hwnd(libvlc_media_player_t p_mi,
com.sun.jna.Pointer drawable)
Set a Win32/Win64 API window handle (HWND) where the media player should render its video
output.
|
void |
LibVlc.libvlc_media_player_set_media(libvlc_media_player_t p_mi,
libvlc_media_t p_md)
Set the media that will be used by the media_player.
|
void |
LibVlc.libvlc_media_player_set_nsobject(libvlc_media_player_t p_mi,
long drawable)
Set the NSView handler where the media player should render its video output.
|
void |
LibVlc.libvlc_media_player_set_pause(libvlc_media_player_t mp,
int do_pause)
Pause or resume (no effect if there is no media)
|
void |
LibVlc.libvlc_media_player_set_position(libvlc_media_player_t p_mi,
float f_pos)
Set movie position.
|
int |
LibVlc.libvlc_media_player_set_rate(libvlc_media_player_t p_mi,
float rate)
Set movie play rate
|
void |
LibVlc.libvlc_media_player_set_time(libvlc_media_player_t p_mi,
long i_time)
Set the movie time (in ms).
|
void |
LibVlc.libvlc_media_player_set_title(libvlc_media_player_t p_mi,
int i_title)
Set movie title
|
void |
LibVlc.libvlc_media_player_set_video_title_display(libvlc_media_player_t p_mi,
int position,
int timeout)
Set if, and how, the video title will be shown when media is played.
|
void |
LibVlc.libvlc_media_player_set_xwindow(libvlc_media_player_t p_mi,
int drawable)
Set an X Window System drawable where the media player should render its video output.
|
void |
LibVlc.libvlc_media_player_stop(libvlc_media_player_t p_mi)
Stop (no effect if there is no media)
|
int |
LibVlc.libvlc_media_player_will_play(libvlc_media_player_t p_mi)
Is the player able to play
|
void |
LibVlc.libvlc_set_fullscreen(libvlc_media_player_t p_mi,
int b_fullscreen)
Enable or disable fullscreen.
|
void |
LibVlc.libvlc_toggle_fullscreen(libvlc_media_player_t p_mi)
Toggle fullscreen status on non-embedded video outputs.
|
void |
LibVlc.libvlc_toggle_teletext(libvlc_media_player_t p_mi)
Toggle teletext transparent status on video output.
|
float |
LibVlc.libvlc_video_get_adjust_float(libvlc_media_player_t p_mi,
int option)
Get float adjust option.
|
int |
LibVlc.libvlc_video_get_adjust_int(libvlc_media_player_t p_mi,
int option)
Get integer adjust option.
|
com.sun.jna.Pointer |
LibVlc.libvlc_video_get_aspect_ratio(libvlc_media_player_t p_mi)
Get current video aspect ratio.
|
libvlc_track_description_t |
LibVlc.libvlc_video_get_chapter_description(libvlc_media_player_t p_mi,
int i_title)
Get the description of available chapters for specific title.
|
com.sun.jna.Pointer |
LibVlc.libvlc_video_get_crop_geometry(libvlc_media_player_t p_mi)
Get current crop filter geometry.
|
int |
LibVlc.libvlc_video_get_cursor(libvlc_media_player_t p_mi,
int num,
com.sun.jna.Pointer px,
com.sun.jna.Pointer py)
Get the mouse pointer coordinates over a video.
|
int |
LibVlc.libvlc_video_get_logo_int(libvlc_media_player_t p_mi,
int option)
Get integer logo option.
|
int |
LibVlc.libvlc_video_get_marquee_int(libvlc_media_player_t p_mi,
int option)
Get an integer marquee option value
|
String |
LibVlc.libvlc_video_get_marquee_string(libvlc_media_player_t p_mi,
int option)
Get a string marquee option value
|
float |
LibVlc.libvlc_video_get_scale(libvlc_media_player_t p_mi)
Get the current video scaling factor.
|
int |
LibVlc.libvlc_video_get_size(libvlc_media_player_t p_mi,
int num,
com.sun.jna.ptr.IntByReference px,
com.sun.jna.ptr.IntByReference py)
Get the pixel dimensions of a video.
|
int |
LibVlc.libvlc_video_get_spu_count(libvlc_media_player_t p_mi)
Get the number of available video subtitles.
|
long |
LibVlc.libvlc_video_get_spu_delay(libvlc_media_player_t p_mi)
Get the current subtitle delay.
|
libvlc_track_description_t |
LibVlc.libvlc_video_get_spu_description(libvlc_media_player_t p_mi)
Get the description of available video subtitles.
|
int |
LibVlc.libvlc_video_get_spu(libvlc_media_player_t p_mi)
Get current video subtitle.
|
int |
LibVlc.libvlc_video_get_teletext(libvlc_media_player_t p_mi)
Get current teletext page requested.
|
libvlc_track_description_t |
LibVlc.libvlc_video_get_title_description(libvlc_media_player_t p_mi)
Get the description of available titles.
|
int |
LibVlc.libvlc_video_get_track_count(libvlc_media_player_t p_mi)
Get number of available video tracks.
|
libvlc_track_description_t |
LibVlc.libvlc_video_get_track_description(libvlc_media_player_t p_mi)
Get the description of available video tracks.
|
int |
LibVlc.libvlc_video_get_track(libvlc_media_player_t p_mi)
Get current video track.
|
void |
LibVlc.libvlc_video_set_adjust_float(libvlc_media_player_t p_mi,
int option,
float value)
Set adjust option as float.
|
void |
LibVlc.libvlc_video_set_adjust_int(libvlc_media_player_t p_mi,
int option,
int value)
Set adjust option as integer.
|
void |
LibVlc.libvlc_video_set_aspect_ratio(libvlc_media_player_t p_mi,
String psz_aspect)
Set new video aspect ratio.
|
void |
LibVlc.libvlc_video_set_callbacks(libvlc_media_player_t mp,
libvlc_lock_callback_t lock,
libvlc_unlock_callback_t unlock,
libvlc_display_callback_t display,
com.sun.jna.Pointer opaque)
Set callbacks and private data to render decoded video to a custom area in memory.
|
void |
LibVlc.libvlc_video_set_crop_geometry(libvlc_media_player_t p_mi,
String psz_geometry)
Set new crop filter geometry.
|
void |
LibVlc.libvlc_video_set_deinterlace(libvlc_media_player_t p_mi,
String psz_mode)
Enable or disable deinterlace filter
|
void |
LibVlc.libvlc_video_set_format_callbacks(libvlc_media_player_t mp,
libvlc_video_format_cb setup,
libvlc_video_cleanup_cb cleanup)
Set decoded video chroma and dimensions.
|
void |
LibVlc.libvlc_video_set_format(libvlc_media_player_t mp,
String chroma,
int width,
int height,
int pitch)
Set decoded video chroma and dimensions.
|
void |
LibVlc.libvlc_video_set_key_input(libvlc_media_player_t p_mi,
int on)
Enable or disable key press events handling, according to the LibVLC hotkeys configuration.
|
void |
LibVlc.libvlc_video_set_logo_int(libvlc_media_player_t p_mi,
int option,
int value)
Set logo option as integer.
|
void |
LibVlc.libvlc_video_set_logo_string(libvlc_media_player_t p_mi,
int option,
String psz_value)
Set logo option as string.
|
void |
LibVlc.libvlc_video_set_marquee_int(libvlc_media_player_t p_mi,
int option,
int i_val)
Enable, disable or set an integer marquee option Setting libvlc_marquee_Enable has the side
effect of enabling (arg !0) or disabling (arg 0) the marq filter.
|
void |
LibVlc.libvlc_video_set_marquee_string(libvlc_media_player_t p_mi,
int option,
String psz_text)
Set a marquee string option
|
void |
LibVlc.libvlc_video_set_mouse_input(libvlc_media_player_t p_mi,
int on)
Enable or disable mouse click events handling.
|
void |
LibVlc.libvlc_video_set_scale(libvlc_media_player_t p_mi,
float f_factor)
Set the video scaling factor.
|
int |
LibVlc.libvlc_video_set_spu_delay(libvlc_media_player_t p_mi,
long i_delay)
Set the subtitle delay.
|
int |
LibVlc.libvlc_video_set_spu(libvlc_media_player_t p_mi,
int i_spu)
Set new video subtitle.
|
int |
LibVlc.libvlc_video_set_subtitle_file(libvlc_media_player_t p_mi,
String psz_subtitle)
Set new video subtitle file.
|
void |
LibVlc.libvlc_video_set_teletext(libvlc_media_player_t p_mi,
int i_page)
Set new teletext page to retrieve.
|
int |
LibVlc.libvlc_video_set_track(libvlc_media_player_t p_mi,
int i_track)
Set video track.
|
int |
LibVlc.libvlc_video_take_snapshot(libvlc_media_player_t p_mi,
int num,
String psz_filepath,
int i_width,
int i_height)
Take a snapshot of the current video window.
|
Modifier and Type | Method and Description |
---|---|
libvlc_media_player_t |
MediaPlayer.mediaPlayerInstance()
Provide access to the native media player instance.
|
libvlc_media_player_t |
DefaultMediaPlayer.mediaPlayerInstance() |
Copyright © 2009–2014 Caprica Software Limited. All rights reserved.