MMS stream
Home › Forums › Third Party Enhancements › VLC Shares › MMS stream
- This topic has 2 voices and 27 replies.
-
AuthorPosts
-
April 26, 2012 at 6:17 pm #30159AnonymousInactive
yes i did the check to be sure is pointed to the correct vlc and 2.X
however i am still getting the same VLC error and i applied the patch and same for weebTV im getting the same error
[00e13de8] logger interface: VLC media player - 2.0.1 Twoflower
[00e13de8] logger interface: Copyright c 1996-2012 VLC authors and VideoLAN
[00e13de8] logger interface:
Warning: if you cannot access the GUI anymore, open a command-line window, go to
the directory where you installed VLC and run "vlc -I qt"
[00e13de8] logger interface: using logger.
[00e12068] [http] lua interface: Lua HTTP interface
[00e12068] [http] main interface error: invalid IP address ::1
[00e12068] [http] main interface error: cannot add ACL from C:Program FilesVid
eoLANVLCluahttp/.hosts
[00e12068] [http] lua interface error: Error loading script C:Program FilesVid
eoLANVLCluaintfhttp.luac: ...xtras/package/win32/../../../share/lua/intf/htt
p.lua:198: Failed to create HTTPd file.April 26, 2012 at 6:59 pm #30160zany130Participantdebug log + streamer thread log required
Anyway:
http://forum.videolan.org/viewtopic.php?f=13&t=27026
/quote:
try to add the options : –ipv4 –no-ipv6
::1 is the ipv6 adress for the local machine
April 27, 2012 at 8:03 pm #30161AnonymousInactivewhere do i put these options i looked everywhere…
$vlcStreamer->setParam('profile', "#std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=0.0.0.0:{$streamPort}/}");
i tried adding –ipv4 –no-ipv6 like this but got same error
$vlcStreamer->setParam('profile --ipv4 --no-ipv6', "#std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=0.0.0.0:{$streamPort}/}");
since this is using rtmpdump to VLC then adding this to a profile wont work i am assuming, and i cant figure out where ‘profile’ is located so i can try to add the “–ipv4 –no-ipv6“
Im sorry but i am working on getting this set up to work with Roku and that would be great for your project. You seem to have been upset when asking questions and I am sorry, i am trying to port this to ROKU so other ppl can enjoy your great project
April 27, 2012 at 9:30 pm #30162zany130Participant@dynamitemedia wrote:
where do i put these options i looked everywhere…
$vlcStreamer->setParam('profile', "#std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=0.0.0.0:{$streamPort}/}");
i tried adding –ipv4 –no-ipv6 like this but got same error
$vlcStreamer->setParam('profile --ipv4 --no-ipv6', "#std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=0.0.0.0:{$streamPort}/}");
since this is using rtmpdump to VLC then adding this to a profile wont work i am assuming, and i cant figure out where ‘profile’ is located so i can try to add the “–ipv4 –no-ipv6“
Im sorry but i am working on getting this set up to work with Roku and that would be great for your project. You seem to have been upset when asking questions and I am sorry, i am trying to port this to ROKU so other ppl can enjoy your great project
$vlcStreamer->setParam( ARG_KEY, ARG_VALUE)
is used to register substitutions inside vlc startup command.
Default startup command for vlc:
{%source%} --play-and-exit --sout="{%profile%}" --sout-keep --http-caching="10000" --sout-mux-caching="20000" {%subtitles%} {%audio%} {%filters%}
You can change it in http://localhost/vlc-shares/gconfigs/index/filter/vlc (advanced configs)
To be more clear:
1) X_Streamer_Engine_Vlc::setParam($param, $value): https://code.google.com/p/vlc-shares/source/browse/trunk/core/library/X/Streamer/Engine/Vlc.php line 126
2) X_Vlc::registerArg($placeholder, $substitution): https://code.google.com/p/vlc-shares/source/browse/trunk/core/library/X/Vlc.php line 1131 calls 2
On vlc spawn, X_Vlc::spawn() is called which resolve placeholders in the startup command (strings between {% %} marks) to registered values
This code is not so hard to trace….
If you want to add
--ipv4 --no-ipv6
you have to do it inside the vlc startup command
Anyway I’m not upset, but i have no time to work on vlc-shares anymore for at least 6 month. So, if you want to add new features, port code to new devices or anything else you have to do it by yourself.
I’ve told you to read and post debug log + streamer thread log, but you ignored me…
April 27, 2012 at 11:55 pm #30163AnonymousInactivei am not getting any logs in the debug folder, not ignoring you… thought since nothing was there and it is turned on inside the general settings that there must not be any vlc shares issues… im using 5.5 and it has 2 options 1 is language second is yes or no and i have it set at yes
i will look around for what you added, it is a bit hard when your going thru someones else code… and for PHP which i thought iu understood your code is very complex! wish i could write it like this
April 28, 2012 at 1:21 am #30164AnonymousInactiveI think i give up….. i keep getting the same errors and i cant seem to understand your code.
I may go ahead and work on something else if you have no time to work on this sure makes it tough to try and figure this out. too bad too think a lot of people would have enjoyed this on the rokuthanks for trying
April 28, 2012 at 9:31 am #30165zany130Participant@dynamitemedia wrote:
i am not getting any logs in the debug folder, not ignoring you… thought since nothing was there and it is turned on inside the general settings that there must not be any vlc shares issues… im using 5.5 and it has 2 options 1 is language second is yes or no and i have it set at yes
@ximarx wrote:
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 Windows’s 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)@dynamitemedia wrote:
i will look around for what you added, it is a bit hard when your going thru someones else code… and for PHP which i thought iu understood your code is very complex! wish i could write it like this
This has nothing to do with coding skills or any other kind of magic.
You can change vlc startup params simply adding arguments and params inside Vlc args field value
http://localhost/vlc-shares/gconfigs/index/filter/vlc
(click on Show Advanced)
As last thing: i’ve already told you that DEBUG LOG FILES are mandatory to understand your problem. In the debug log you can find exactly the command used to spawn vlc and you can try to tune it without the use of vlc-shares and solve your problem. THEN you can think about how to archive changes inside vlc-shares. Your problems are not related with vlc-shares, but to VLC configuration/startup params.
This conversation is a waste of time if you can’t enable and find your debug log files because it’s like to try to fix an engine… blindPs.
How to find Windows’s Temp directory: http://appscout.pcmag.com/microsoft-windows/272405-find-the-temp-folder-in-vista-and-windows-7
April 28, 2012 at 6:22 pm #30166AnonymousInactiveHOLY CRAP i feel dumb, after seeing it i never saw those options cause i did not see the advanced tab or paid no attention to it over there!
Now we got something, will work on it a bit today THANKS
April 28, 2012 at 10:20 pm #30167AnonymousInactivethere i have added 3 log files…
still getting same VLC errors, maybe this will help you since you know where to look in the logs
Thanks!!
April 29, 2012 at 8:38 am #30168zany130ParticipantDid you manually enabled http interface for VLC inside vlc configs (from the VLC gui)?
http://forum.videolan.org/viewtopic.php?t=54375
/quote
J-b,
entually I managed to get web interface to work.
I removed all VLC versions from my pc, cleaning all prefernces and cache, re-installed VLC 0.9.8a, NO CHANGE to the .hosts file (i.e the line with ::1 is still uncommented as in the original file)
The messages windows now reads:
main info: Esecuzione di vlc con l’interfaccia predefinita. Utilizza ‘cvlc’ per avviare vlc senza interfaccia.
(sorry, VLC now speaks Italian…but not always)
I manually add a web interface using the tools menu.
The messages windows reads:
main info: creating httpd
main error: invalid IP address ::1
main error: cannot add ACL from C:Program FilesVideoLANVLC\http.hosts
main error: invalid IP address ::1
main error: cannot add ACL from C:Program FilesVideoLANVLC\httpold.hosts
main error: invalid IP address ::
main error: cannot add ACL from C:Program FilesVideoLANVLC\httpold.hosts
i.e. just as it was doing before.
But when “I access http://localhost:8080/", I get access to the web interface ! Pretty powerful!Unfortunately VLC crashes badly when I try to stream with H264. Any idea on how to solve this? shall I post the question elsewhere in the forum?
ThanksApril 29, 2012 at 7:06 pm #30169AnonymousInactivein the tools i added the web or http as in the post…
i also commented out the ::1 in the http doc
but i am still getting this error
[00e12cc0] logger interface: VLC media player - 2.0.1 Twoflower
[00e12cc0] logger interface: Copyright c 1996-2012 VLC authors and VideoLAN
[00e12cc0] logger interface:
Warning: if you cannot access the GUI anymore, open a command-line window, go to
the directory where you installed VLC and run "vlc -I qt"
[00e12cc0] logger interface: using logger.
[00e26b88] [http] lua interface: Lua HTTP interface
[00e26b88] [http] lua interface error: Error loading script C:Program FilesVid
eoLANVLCluaintfhttp.luac: ...xtras/package/win32/../../../share/lua/intf/htt
p.lua:198: Failed to create HTTPd file.
[00e0d5e8] [http] lua interface error: Error loading script C:Program FilesVid
eoLANVLCluaintfhttp.luac: ...xtras/package/win32/../../../share/lua/intf/htt
p.lua:198: Failed to create HTTPd file.
I tried adding LUA manually too but it gave me even more errors…
do you still need the other logs? seems it is a VLC issue more than anything right?
April 30, 2012 at 4:32 pm #30170zany130ParticipantYes. I suggest you to do a new clean vlc installation
May 1, 2012 at 4:22 am #30171AnonymousInactivewell i posted over on videolan i literally spent hours googling and there isnt any real solution i can find…
do you have anyone using your weebtv on windows?
here is the post i put on vlc’s forum
http://forum.videolan.org/viewtopic.php?f=14&t=98297&p=339454#p339454
-
AuthorPosts
- The forum ‘VLC Shares’ is closed to new topics and replies.