VideoLAN external player plugin (2 Viewers)

lopez.tuparles

Retired Team Member
  • Premium Supporter
  • July 20, 2006
    396
    54
    50
    Mimet
    I tried many thing to have an easy way with VLC. It seems VLC is pretty good with On the Fly Transcoding (btw on a disk), but not so good as PVR. :eek:
    I think the Videolan way is the best meaning if VLC core will be modified by VLC Team.
    There is a famous FAI PVR in France using vlc, they use a second instance too, for the moment i haven't any better idea (but it may be possible).

    Well, i've just correct the first buggy playing (it seems), it works not so bad with Vlc 0.9.8a. If anyone want to try please use a recent VLC like 0.9.6 or 0.9.8a, older are more buggy (crusoli ?).
     

    Radikaltimes

    Portal Member
    October 15, 2008
    23
    0
    Home Country
    United States of America United States of America
    Any thoughts on the easiest way to use a remote control with VLC in MP? I have tried EventGhost and others - but haven't been able to figure it out just yet. I'd love to be able to use VLC as my player as I have been having a tough time getting some codecs properly set for mplayer in MP.

    If you recommend something like EventGhost, do you know of a place to get a sample map or config file to give me a jump start?

    Thanks!

    the best program is Intelliremote Intelliremote - Take back control of your PC!
    it maps all the applications .. vlc, MP, media player ......
     

    kroko

    Portal Pro
    February 4, 2007
    428
    420
    55
    Itzehoe
    Home Country
    Germany Germany
    Hi cboury,

    I have test it with 0.9.6 and 0.9.8a. It plays now directly without a problem.

    Ayway in my other project MyDreamboxTV I used the activeX Part of vlc 0.8.6. To record I set the access filter like this:

    option = new string[]{
    ":http-caching=1000" ,
    ":tcp-caching=1000",
    ":udp-caching=1000",
    ":snapshot-path=" + SnapDir,
    ":record-path=" + RecDir,
    ":timeshift-dir=" + RecDir + "\\timeshift",
    ":access-filter=timeshift:record",
    ":timeshift-force",
    ":timeshift-granularity=50",
    //":access-filter=timeshift",
    //":no-overlay",
    ":vout-filter=deinterlace",
    ":deinterlace-mode=Bob"
    };

    and the I used the keypress to start the record

    key = vlcControl.Player.getVariable("key-record");
    vlcControl.Player.setVariable("key-pressed", key);

    It was very similar in the libvlc.dll in 0.8.6. Now it looks there is a huge change so maybe we need to wait for the developer to implement some method to handle records. I really missing it. In my other project I was still trying using the activeX part, put many functions are broken right now. So that was the time I was playing with the wrapper. And again it solved my problems so far.

    Another way could be if record is pressed stop the stream and call vlc with record options something like in the command line

    vlc -vvv http://192.168.0.100:31339/0,0x0064,0x0065,0x0066 --sout=#duplicate{dst=std{access=file,mux=asf,dst="c:\mk.avi"}}

    I would love to use this plugin as well for my digital receiver to record what ever I want.

    So far...


    About remote controls:

    I just bought a X10 MCE remote control on Ebay. Price was about 6$ and it works with MP. Maybe thats an option as well for everybody who has like me no tv card. I watch mostly streams ;)



    Regards
    kroko
     

    crusoli

    Portal Pro
    February 12, 2008
    54
    3
    Home Country
    Germany Germany
    I just updated to VLC 0.9.8a and the VLC09.zip. Unfortunately the issues are still the same. When I start a video I get one pixel of video at the upper left corner of the screen. The rest is black. Sound is working as it schould. When I press escape video looks fine (see screenshot attached). When i select the thumbnail video to get back to fullscreen it suddenly looks fine (video fills the whole screen) but when I press pause or try to skip forward it just stops playing and sends me back to the MediaPortal window.
    Using RC3 with WindowsXP.
    Any idea whats causing this?
     

    Attachments

    • vlc.jpg
      vlc.jpg
      66.7 KB

    FluXs

    New Member
    December 13, 2008
    1
    0
    Home Country
    United Kingdom United Kingdom
    Hi there,

    I also have installed the latest release of VLC player and installed your latest beta release...

    I still get the same problem with the earlier version, where when playing a file I get sound but no video.

    However If I 'ESC' back to the menu screen, the video and sound is working in the small preview screen and clicking on that mini preview it takes me back to the full screen version fine.

    OR

    If I right click on the blank screen when playing the video, the picture will suddenly appear and carry on working. :)

    Also if I try and play another video I have to repeat these steps.

    ..to me its as if the screen is not getting the correct 'focus' of the video

    Hope this helps, this is a great plugin as 90% of my vids only work in VLC player! :)
     

    kroko

    Portal Pro
    February 4, 2007
    428
    420
    55
    Itzehoe
    Home Country
    Germany Germany
    Hi cboury,

    I add to the play options in VideoLanPlugin

    // stream to localhost for recording
    sOptions = sOptions + "\n--sout=#duplicate{dst=display,dst=std{access=udp,mux=ts,dst=localhost:4321}}";

    OK, now I can use a second vlc player to record the stream via localhost and record it to disk

    So I tried this which works ok from the command line in the vlc dir
    vlc -vvv udp://@localhost:4321 --sout=#duplicate{dst=std{access=file,mux=ts,dst="C:\file.ts"}}

    I would be easy to have another instance now to record the stream anytime.

    As soon the "play" things are solved we could intregrate this into the plugin. We could also add transcoding here to be more flexible.



    Regards
    kroko
     

    framug

    Super Moderator
  • Team MediaPortal
  • January 31, 2005
    6,057
    2,132
    South of France
    Home Country
    France France
    Hi crusoli,
    Can you test without others plugins, please ?
    Also, can you try without --deinterlace-mode=bob option ?
    Please try with latest version, in config 3th tab too.
     

    Users who are viewing this thread

    Top Bottom