zany130
Forum Replies Created
-
AuthorPosts
-
zany130Participant
vlc-shares 0.5.4:
http://localhost/vlc-shares/configs
Show advanced configs, then select:
Debug enabled?: YES
Debug level: AllDebug log can be found in temp directory
Windows: %TMP%vlcShares.debug.log
Ubuntu: /tmp/vlcShares.debug.logvlc-shares 0.5.5:
http://localhost/vlc-shares/gconfigs/index/filter/general
Show advanced configs, then select:
Debug enabled?: YES
Debug level: All
Per-thread log: YESDebug log can be found in temp directory
Windows: %TMP%vlcShares.debug.log
Ubuntu: /tmp/vlcShares.debug.log
Per-thread logs are under the name of vlcShares.thread-THREADID.log
(streamer thread log file is vlcShares.thread-streamer.log)zany130Participantsource matter: rtmp streams always go to http://localhost:8081 and vlc is no spawned (and transcoding options are ignored this way). same story for sopcast streams.
vlc stream link for other types of stream changes following output mode selected.
That’s all. I’ve told you: enable debug log a watch the complete vlc startup command used. It’s easier for you to understand the problem this way 🙂
(anyway, i suppose you are trying to watch rtmp streams, so output mode are ignored because rtmpgw is used to stream instead of vlc… and rtmpgw always stream to http://localhost:8081/)
zany130Participant@dynamitemedia wrote:
That is exactly what i am looking to do as well is add my Navi- X playlists…
I spoke about this via email but better here…
After looking at your plugins i am very confused about the style of PHP programming going on there. can we use basic PHP to do this?
also i think since they are using processors to get the actual URL to the video file that could be even more work, hmmm
VLC Shares plugins are a simple class… more basic than this?
Navi-x processors…. are implemented in vlc-shares as Hosters plugin. In vlc-shares Hoster Classes resolve resource url to playable stream url (for example resource url like http://www.youtube.com/watch?v=….. are resolved to the real stream url….)
If you want to use PLX Playlists (Navi-x playlist format) you have to write a plugin that read the Plx file and allow to browse through playlists chain too.
Online Library plugin can’t do this now, but if you want to extend it and add support for playlists you are welcome. All patches are welcome :). But the thing is: if you have to write your playlist manually, why just not add those inside online library directly? 🙂
I know, most of vlc-shares parts are not written in a simple form (there are a lot of __magic methods calls… etc etc), but you don’t have to know about how all vlc-shares is written. The only thing you need to know is how to create a plugin class:
plugin class have to extend the class X_VlcShares_Plugins_Abstract (https://code.google.com/p/vlc-shares/source/browse/trunk/core/library/X/VlcShares/Plugins/Abstract.php). For plugin that are created to parse contents it’s a good option to implement the X_VlcShares_Plugins_ResolverInterface (https://code.google.com/p/vlc-shares/source/browse/trunk/core/library/X/VlcShares/Plugins/ResolverInterface.php)
Then, in your plugin you only have to implement triggers you want to use (and give them priority in class constructor). For your case:
X_VlcShares_Plugins_Abstract::getCollectionsItems(): to add an item inside the collections index (http://localhost/vlc-shares/index/collections)
X_VlcShares_Plugins_Abstract::getShareItems(): this trigger is need to browse inside your contents (using the /l/ param value). (http://localhost/vlc-shares/browse/share/p/YOURCLASS/l/LOCATION_PARAM_VALUE)
X_VlcShares_Plugins_Abstract::preGetModeItems(): if you want to add a “Watch directly button” for playable items when selected
X_VlcShares_Plugins_ResolverInterface::resolveLocation(): to resolve a location param value (the /l/ param inside the query url) to a real stream url
X_VlcShares_Plugins_ResolverInterface::getParentLocation(): to give a parent location param value for a given location paramThat’s it. You don’t need to do anything more for basic features.
A lot a optional apis are also available (for example configurations/i18l/acl/cache/….), but none of them are mandatory. You can use them if you want or you can ignore them completely.
The other mandatory thing you have to do (to make your plugin installable) is to create a manifest file, following examples like this one or documentation: https://code.google.com/p/vlc-shares/source/browse/trunk/plugins/hulu/manifest.xml
There is a complete tutorial for plugin creation (covering from how to setup a development env to develop plugin easly to how to package them), but i wrote it in italian and i’m still waiting for someone with better english-skill than mine to translate it…….. waiting for the messiah you can use google translate… 🙂 (https://code.google.com/p/vlc-shares/wiki/HowToNewPlugin054It). Some things about 0.5.5, StreamerEngine Api/Threads Api/PageParsers Api are not covered in the tutorial because they aren’t documented yet and 0.5.5 is not stable yet and it will not be stable for at least 6 month :), but last plugins created (for example Hulu or WeebTv) use them. You can see how to use some these stuff from the code.
zany130ParticipantYou have to ask this on Vlc forum. I can’t help you about this
Which version of vlc-shares are you using?
If you are using 0.5.5, transcode related params and output related params have to be put all together. Then (on vlc startup), vlc params will be composed in the a complete cli command like this one
VLCPATHvlc.exe SOURCEURL --play-and-exit --sout="PARAMS_ABOVE" --sout-keep --http-caching="10000" --sout-mux-caching="20000" SUBTITLES_RELATED_PARAMS ALTERNATIVEAUDIO_RELATED_PARAMS FILTERS_RELATED_PARAMS
if you are using 0.5.4 transcode related params must be placed in the profile plugin interface (http://localhost/vlc-shares/profiles), output related params in the output plugin interface (http://localhost/vlc-shares/outputs). Then they will be composed in
VLCPATHvlc.exe SOURCEURL --play-and-exit --sout="PROFILE_PARAMS:OUTPUT_PARAMS" --sout-keep SUBTITLES_RELATED_PARAMS ALTERNATIVEAUDIO_RELATED_PARAMS FILTERS_RELATED_PARAMS
My advice is to enabled debug to level ALL (in configurations page, advanced configs) and per-thread log too if you are in vlc-shares 0.5.5. This way you can read in the debug log the complete vlc startup string composed
zany130ParticipantYou have to create a plugin to parse PLX (navi-x playlists)
zany130ParticipantOnline-library is not shared between vlc-shares’s users… so they are private (per vlc-shares installation)
zany130Participantinstall last beta2, then apply this patch:
https://code.google.com/p/vlc-shares/source/detail?r=7640.5.5beta2 works with vlc 2.x and 1.1.x, you only have to choose your vlc version in vlc-shares configuration page
March 12, 2012 at 7:22 am in reply to: Watch Megavideo,HD,Youtube w/ CC through WiiMC (VLCShares) #26471zany130Participantdebug.log….
zany130ParticipantAttach a full debug log
(vlcShares.debug.log and vlcShares.thread-streamer.log) after enabling per-threads log and log level to ALLMarch 10, 2012 at 4:33 pm in reply to: Watch Megavideo,HD,Youtube w/ CC through WiiMC (VLCShares) #26469zany130Participantvlc-shares 0.5.5beta2 is available for testing:
*** 0.5.5 beta2 (10/03/2012) ***
- Automatic category selection when adding a new link from inside a category
- New bookmarklets:
* allow to capture manually all kind of links
* allow to bookmark page
* crazy-page proof
- New plugin bookmarks:
* allow to bookmarks page and get them parsed on the fly for new video links from vlc-shares.
* Bookmarks added through the new bookmarklet can store authentication cookies for page that requires user login.
(Google Chrome extension "cookie.txt export MOD" can be used to catch HttpOnly cookies. Downloadable from project site)
- New Threads Manager GUI:
* allow to get threads informations and to stop/clear/start them if there are pending jobs
- Fixed few bugs to transcoding mode startup
- Fixed a bug in SopCast plugin displaying "back to stream" link even if sopcast is not the selected streamer engine
Windows installer: http://code.google.com/p/vlc-shares/downloads/detail?name=vlc-shares_0.5.5beta2_installer.exe
Ubuntu 11.10 deb installer: http://code.google.com/p/vlc-shares/downloads/detail?name=vlc-shares_0.5.5beta2-1_all.deb
Manual installation package: http://code.google.com/p/vlc-shares/downloads/detail?name=vlc-shares_0.5.5beta2.zipTomorrow i’ll release the stable version. I’ll wait until 12am (GMT +1) for bug report that can’t be resolved as a post-release patch-set. So, if anyone wants to test this, he has to do it now
Some screenshots of how to use the new bookmarklet
zany130Participanti need to release a beta 2, but i’d like to get this problem fixed (if any). I can’t reproduce this problem, so log files are really important.
zany130Participantnarutoget plugin doesn’t work.
As you can see in the log, this source is not valid:
07/03/2012 08:58:47] [III] (X_VlcShares_Plugins_NarutoGet::resolveLocation:289) Location source type1: http://www.narutoget.com/player/narutoget_gao_gamebox.swf
narutoget_gao_gamebox.swf <– this is not a video url…
Anyway, next time attach debug log as txt file, not as a text in the post… it’s insane…zany130ParticipantDebug level can be changed showing advanced configurations as in previous version. Please, enable per-thread logging as well. Debug log path can be selected in preferences too. Please attach all vlcShares* log files
March 5, 2012 at 9:11 pm in reply to: Watch Megavideo,HD,Youtube w/ CC through WiiMC (VLCShares) #26468zany130Participantvlc-shares 0.5.5beta is available for testing:
*** 0.5.5 beta (05/03/2012) ***
- Auth plugin is always enabled now. Login can be enabled during installation or from configs page (as configuration)
- ACL features added
- Basic rules for core resources
- ACL helper added: allow basic acl management
- New ACL fragment in plugin manifest. More info in docs/manifest_plugin.xml
- New file attributes in files section in plugin manifest:
* file can be replaced if explicitally required
* file permissions can be specificed (for linux env)
* failed file copy can be ignored if specified
* ... more info in docs/manifest_plugin.xml
- vlc-shares configuration page merged with plugins configuration
- new api for form element management
- core plugins management features moved inside plugin installer controller
- new repository plugin installation gui (thumbs support)
- new optional plugin installation gui during installation (thumbs support)
- guis for acl/permissions management
- security implemented in HttpPost thread starter
- getManageIndexLinks for lazy plugins deprecated
- Webkit renderer is not default gui anymore for webkit devices because it requires lots of bug fixes. It can still manually selected
- Vlc 2.0 supported
- Default vlc version setted to 2.0
- Vlc log can be enabled in configurations
Windows installer: http://code.google.com/p/vlc-shares/downloads/detail?name=vlc-shares_0.5.5beta_installer.exe
Ubuntu 11.10 deb installer: http://code.google.com/p/vlc-shares/downloads/detail?name=vlc-shares_0.5.5beta-1_all.deb
Manual installation package: http://code.google.com/p/vlc-shares/downloads/detail?name=vlc-shares_0.5.5beta.zipSome screenshots of new features
zany130ParticipantEverything looks ok. Some problems about transcoding mode has been solved in 0.5.5. Putlocker/Sockshare problems could be related with server congestion. Don’t think firewall has nothing to do with your problem. Anyway if you want to workaround problems with transcoding mode waiting for new version, you could disable ffmpeg helper in vlc-shares options. If you decide to do it, try and let me know.
-
AuthorPosts