Vlc Rar

VLC RAR Loader is one of the most interesting plugins developed for a multimedia player lately.
This little application allows VLC Player to play a video clip even if it is compressed as a RAR file.
So, you no longer have to decompress a file in order to view it. It works both with complete files and with files that have been divided into different parts.
VLC RAR Loader also supports ZIP files and subtitles. Drag the file in question to the program interface to play it.

Notes

VLC RAR-Loader will let you play segmented rar-compressed movies using VLC without havning to extract them first. VLC RAR-Loader is donationware which mean it is avalible free of charge. Because VLC is a packet-based media player, it can play the video content of some damaged, incomplete or unfinished videos. This is my favorite feature as I often end up with broken video files due to internet connection issues. 18- Play RAR files! With VLC you can play videos zipped inside RAR files. Once you are on the VLC media player interface, Click on Media and select Convert/Save. This will open a new dialog box where we can VLC media player as VLC converter to convert VLC files to MP4. Note: If you are a masOS user, you should see an option called Convert/Stream instead of Convert/Save in Windows. Add Media files to convert. Official WinRAR / RAR publisher; WinRAR Download, support, FAQ, tips, tricks and tools for WinRAR, RAR and ZIP creation. It also supports CAB, ARJ, LZH, TAR, Gzip, UUE, ISO, BZIP2, Z and 7-Zip WinRAR - the data compression, encryption and archiving tool for Windows that opens RAR and ZIP files. VLC RAR-Loader will let you play segmented rar-compressed movies using VLC without havning to extract them first. VLC RAR-Loader is donationware which mean it is avalible free of charge.

For Mac OS X 10.3 or later.
This page contains example code.

The Windows build of VLC includes an (optionaly installed) ActiveX control. The ActiveX control enables VLC to be embedded in web browsers and third-party applications.

  • 6Installing

Important

The API described in this page only reflects VLC ActiveX controls prior to 0.8.5.1. This API will be removed soon.

It is not advised to use this JS API any longer.

Please use the VLC ActiveX v2 interface as described in the new documentation.

The new JS API interface is exactly the same for Internet Explorer, Mozilla/Firefox and Safari. Thus easing the maintenance and developing of webpages for the VLC browser plugins.

Properties

The ActiveX control includes the following properties:

nametypeget or setdescription
LengthIntegergetReturns length of the current clip.
playlistCountgetReturns the count of items in the playlist
playlistIndexgetReturns the index of the current item in the playlist.
AutoLoopBooleanget/setDetermines if the player should automatically loop when it finishes the current playlist.
AutoPlayBooleanget/setDetermines if the player should start playing a new file/playlist immediately upon being loaded.
VolumeIntegerget/setCurrent volume (scaled from 0 to 100)
MRLStringget/setPresumably returns the MRL of the currently loaded file.
TimeIntegerget/setTime elapsed in seconds playing current MRL, 0 for live feed
showdisplayBooleanget/setshow/hide control viewport
PlayingBooleangetReturns whether some MRL is playing
Position'real'get/setPlayback position within current MRL, scaled from 0.0 to 1.0. Live feed returns 0.0
VersionInfoStringgetReturns version and build information.

Note: In Visual Basic, type 'Long' should be used for properties listed with type 'Integer'.


Methods

The ActiveX control includes the following methods (functions):

nametypedescriptionsyntax (VB)
setVariablemethodAssigns a value to a variable that is defined in libvlc.ccontrolname.setVariable name as String, value
getVariablemethodReturns the contents of a variable that is defined in libvlc.cx = controlname.getVariable(name as String)
pausemethodPauses the currently playing clipcontrolname.pause
playmethodPlays as in the normal player, if a clip is not loaded, does nothing.controlname.play
playFastermethodMakes the currently playing clip play faster.controlname.playFaster
playSlowermethodMakes the currently playing clip play slower.controlname.playSlower
stopmethodMakes the currently playing clip stop.controlname.stop
shuttlemethodMoves the playback position a specified number of seconds in either direction.controlname.shuttle(seconds as Long)
playlistClearmethodClears the playlistcontrolname.playlistClear
playlistNextmethodGoes to next item in the playlistcontrolname.playlistNext
playlistPrevmethodGoes to previous item in the playlistcontrolname.playlistPrev
addTargetmethodAdds a uri to the current playlist or replaces the current playlist with the uri.controlname.addTarget(uri as String, options, mode as VLCPlaylistMode, Position as Long)
toggleMutemethodToggles between the muted/unmuted state of the embedded player.controlname.toggleMute
fullscreenmethodToggles between fullscreen and non-fullscreen modes.controlname.fullscreen

Options

Free

The addTarget method accepts most of the command line options; including, but not limited to, the following :

  • :audio-track=index
  • :vout-filter=output-filter (deinterlace for example)
  • :deinterlace-mode=mode (linear for example)
Vlc Rar

Samples

Installing

Introduction

VideoLAN is not a good source for the installation of VLC through an ActiveX control. At some point, Microsoft Internet Explorer stopped allowing the installation of ActiveX controls unless:

  • they were signed to associate the software vendor's name with the file containing the ActiveX control, or
  • they resided in an 'trusted site' (from the user's perspective, running Internet Explorer)

The second option is only feasible where both server and client infrastructure are managed under the same umbrella, i.e. where the server providing the ActiveX control can be declared 'trusted'. This is not feasible in the open web. In a web configuration, a Certificate Authority needs to digitally sign the ActiveX control. This comes at a cost which the VideoLAN project is not able to bear. The solution is to create one's own ActiveX control distribution, which in turn can be digitally signed by a Certificate Authority of your choice, if necessary.

Creating an VLC ActiveX Distribution

The following requisites are required:

Rar Media Player Free Download

  • CABSDK by Microsoft to create a Cabinet File (.cab-file) containing the relevant ActiveX control and VLC files. MSDN has a good description how to package an ActiveX Control, including a link to the CABSDK download page.
  • The .cab-file is a special form of a .zip file, consisting of:
    • axvlc.inf - The INF file, which would be called manifest in the modern age
    • axvlc.dll - ActiveX DLL which bootstraps the VLC setup file
    • vlc-0.8.6e-win32.exe - VLC setup file (refer to your version)

I am using the following code in the INF file:

Again, refer to your version of VLC.

You can extract axvlc.dll from the binary distribution of VLC. This is a zip file on VideoLAN's download page, version 0.8.6.e here.

The regular VLC setup file is the 'featured' download on VideoLAN's main page; a copy resides in the same directory as axvlc.dll, the VLC setup file of version 0.8.6.e here.

With CABSDK installed and the three components in place, you can create the .cab-file using the CABARC tool from Microsoft's CABSDK, using the following command from a command prompt:

This assumes the PATH has been set to CABARC.EXE's directory. If you need to sign the .cab-file, you need to use the -s switch to allocate space for your digital certificate.

Vlc Rar Windows

.cab-file Integration

The .cab file is integrated as described in the samples above, using the <OBJECT> element in the case of HTML, for example. When the ActiveX Control is called for the first time, i.e. prior to VLC installation through any means, the setup program should start up. Unfortunately, users have to click through a few dialogs, 'allow blocked contents' or deal with other inconveniences, depending on your configuration and the user's security settings of Internet Explorer. The user must have proper rights to install VLC on the user's computer; identical to a regular installation of VLC as required by the VLC setup program.

See Also

How To Watch Rar File

Retrieved from 'https://wiki.videolan.org/index.php?title=ActiveX&oldid=59919'