Quantcast
Channel: VideoLan DotNet for WinForm, WPF
Viewing all 471 articles
Browse latest View live

Reviewed: VideoLan DotNet for WinForm, WPF, SL5 - 2014.04.18 (Jun 05, 2014)

$
0
0
Rated 4 Stars (out of 5) - with windows form it's fine, but i had problems with Silverlight, can not get around with VlcContext.Initialize() in Silverlight Sample application, have any achieved success?

New Post: VLC & silverlight in-Browser

$
0
0
Hi, Could you give more information about that? can not get it through!

New Post: VLC & silverlight in-Browser

$
0
0
THanks you! I did not read it carefully!

New Post: VLC & silverlight in-Browser

$
0
0
Sorry, but i have another problem, I can run silverlight out of browser, but when i run it in browser it calls "object reference not set to an instance of an object".
Do you have any idea for that, thanks a lots!

New Post: VLC 2.2.x

$
0
0
i'm trying to use CodePlex with VLC version 2.2.x to be able to display audio bar graph.

can you please provide me some help for the below points?

the problems that i'm having are the following:
  • the audio bar graph is not displayed when i set in my PathMedia a physical file name.
    i passed in the startup options --config=C:\vlcrc,
    although if you call the vlc alone from GUI on version 2.2.x it displays the audio bar graph. this is the command that i run
    call "C:\vlc-2.2.0\vlc.exe" udp://@224.2.2.10:2010 --config=C:\vlcrc
  • when i set in my PathMedia a upd path "udp://@224.2.2.10:2010, it gives me this message in the log
-- logger module started --
core debug: VLC media player - 2.2.0-git-20140523-0010 Weatherwax
core debug: Copyright © 1996-2014 the VideoLAN team
core debug: revision 2.1.0-git-3374-g3b67185
core debug: configured with ../extras/package/win32/../../../configure '--enable-update-check' '--enable-lua' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-twolame' '--enable-quicktime' '--enable-avcodec' '--enable-merge-ffmpeg' '--enable-dca' '--enable-mpc' '--enable-libass' '--enable-x264' '--enable-schroedinger' '--enable-realrtsp' '--enable-live555' '--enable-dvdread' '--enable-shout' '--enable-goom' '--enable-caca' '--disable-sdl' '--enable-qt' '--enable-skins2' '--enable-sse' '--enable-mmx' '--enable-libcddb' '--enable-zvbi' '--disable-telx' '--enable-nls' '--host=i686-w64-mingw32' '--enable-debug' 'host_alias=i686-w64-mingw32'
core debug: using interface module "logger"
core debug: looking for interface module matching "logger,none": 16 candidates
logger: VLC media player - 2.2.0-git-20140523-0010 Weatherwax
logger: Copyright © 1996-2014 the VideoLAN team
logger:
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"

logger: using logger.
logger debug: opening logfile vlc-log.txt'
-- logger module started --
core debug: VLC media player - 2.2.0-git-20140523-0010 Weatherwax
core debug: Copyright © 1996-2014 the VideoLAN team
core debug: revision 2.1.0-git-3374-g3b67185
core debug: configured with ../extras/package/win32/../../../configure '--enable-update-check' '--enable-lua' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-twolame' '--enable-quicktime' '--enable-avcodec' '--enable-merge-ffmpeg' '--enable-dca' '--enable-mpc' '--enable-libass' '--enable-x264' '--enable-schroedinger' '--enable-realrtsp' '--enable-live555' '--enable-dvdread' '--enable-shout' '--enable-goom' '--enable-caca' '--disable-sdl' '--enable-qt' '--enable-skins2' '--enable-sse' '--enable-mmx' '--enable-libcddb' '--enable-zvbi' '--disable-telx' '--enable-nls' '--host=i686-w64-mingw32' '--enable-debug' 'host_alias=i686-w64-mingw32'
core debug: using interface module "logger"
core debug: creating audio output
core debug: looking for audio output module matching "any": 6 candidates
mmdevice error: cannot initialize COM (error 0x80010106)
directsound debug: found 2 devices
core debug: using audio output module "directsound"
core debug: keeping audio output
core debug: removing module "directsound"
core debug: Creating an input for '224.2.2.10:2010'
core debug: using timeshift granularity of 50 MiB, in path 'C:\Users\Oussama\AppData\Local\Temp'
core debug:
file:///C:/Test/224.2.2.10%3A2010' gives access file' demux' path /C:/Test/224.2.2.10%3A2010'
core debug: specified demux
any'
core debug: creating demux: access='file' demux='any' location='/C:/Test/224.2.2.10%3A2010' file='C:\Test\224.2.2.10:2010'
core debug: looking for access_demux module matching "file": 12 candidates
core debug: no access_demux modules matched
core debug: creating access 'file' location='/C:/Test/224.2.2.10%3A2010', path='C:\Test\224.2.2.10:2010'
core debug: looking for access module matching "file": 19 candidates
filesystem debug: opening file C:\Test\224.2.2.10:2010'
filesystem error: cannot open file C:\Test\224.2.2.10:2010 (No such file or directory)
core error: File reading failed
core error: VLC could not open the file "C:\Test\224.2.2.10:2010" (No such file or directory).
core debug: no access modules matched
core error: open of
file:///C:/Test/224.2.2.10%3A2010' failed
core error: Your input can't be opened
core error: VLC is unable to open the MRL 'file:///C:/Test/224.2.2.10%3A2010'. Check the log for details.

Created Unassigned: Nuget package for version 2014.04.18 ? will be published ? [7815]

$
0
0
The latest nuget package for Vlc.DotNet published is 2011.11.29 .
Is there any program to publish the new (2014.04.18) version as a nuget package ?

New Post: Take snapshot

$
0
0
hi, i am trying to take a snapshot, but it doesnt save the file...
the dll version is 1.2, and to take a snapshot i do this

vlcControl1.TakeSnapshot("C:\Screencap.jpg", 1280, 720);

what can i be doing wrong?

thanks in advance Hugo

New Post: Mute dont work/

$
0
0
Hello, I have a problem. It is impossible to control the sound through the library. Sets the value control.AudioProperties.Volume = 1; but the sound still continues to play as well as the value is always -1
VlcControl control = new VlcControl();
            Player pform = new Player();
            control.Dock = DockStyle.Fill;
            control.BackColor = Color.Green;
            pform.Controls.Add(control);
            MediaBase videomedia = new    Vlc.DotNet.Core.Medias.PathMedia(@"D:\user\video.mp4");
            control.AudioProperties.Volume = 1; // this always __-1__
            control.AudioProperties.IsMute = true; // this always __false__
            control.Play(videomedia);
what am I doing wrong?

New Post: 3 little problems

$
0
0
Please change in file Vlc.DotNet.Core.Interops\Signatures\LibVlcInterop.MediaPlayer.cs in line 671 "public delegate int GetStringMarquee(" to "public delegate string GetStringMarquee(".

The second problem is not so easy. I use 64-bit-Version for VLC. Then i must change the event-management: The "ObjectHandle" in the "struct LibVlcEventArgs" is a void-Pointer. That means for 32 bit a 4-byte-value, but for 64 bit is it a 8-byte-value! Therefor i must change the following Field-Offsets in the struct from 8 byte for the 32-bit-version to 12 byte for the 64-bit-version.
            [StructLayout(LayoutKind.Explicit)]
            public struct LibVlcEventArgs
            {
                [FieldOffset(0)]
                public EventTypes Type;

                [FieldOffset(4)]
                public IntPtr ObjectHandle;

                #region media descriptor

                __[FieldOffset(12)]__
                public MediaMetaChangedArgs MediaMetaChanged;
...
The 3. problem: The conversion for the timestamp is false. Perhaps VLC use another byte-order? I must use the highest 4 Byte as value:
private void OnVlcEvent(ref LibVlcEventArgs eventData, IntPtr userData) {
   switch (eventData.Type) {
...
      case EventTypes.MediaPlayerTimeChanged:
         long hw = eventData.MediaPlayerTimeChanged.NewTime >> 32;
         long lw = eventData.MediaPlayerTimeChanged.NewTime & 0xffffffff;
         EventsHelper.RaiseEvent(TimeChanged, this, new VlcEventArgs<TimeSpan>(TimeSpan.FromMilliseconds(lw != 0 ? lw : hw)));
         break;

New Post: How can add an option with AddOption method?

$
0
0
I want to add option "--ts-csa-ck=xxxxxxxxxxxxxxxx" to current playing media when changing media, but it doesn't work. But it works with VlcContext.StartupOptions.AddOption( "--ts-csa-ck=xxxxxxxxxxxxxxxx")
how can do this?
thanks...

Created Unassigned: how to add an option to VLC after Initialization? [7816]

$
0
0
Hi,
I have a problem with adding option to vlc object. I want to add option "--ts-csa-ck=xxxxxxxxxxxxxxxx" to media when changing media. but it doesn't work. but it works with VlcContext.StartupOptions.AddOption(--ts-csa-ck=xxxxxxxxxxxxxxxx). i don't want to add this option at initialize time, I want to add it at every arbitrary time.
Best regards!

New Post: Multiple Instances

$
0
0
Is it possible to have multiple instances running? i am trying to create a cctv winforms app, and i want to present 8 cams on screen..
i create 8 vlc control, and i can stream it...
but when i try to clsoe the program, all hell breaks loose...it crashes.
it says vshost32.exe

New Post: Just finded a serious bug when switching different RTSP stream

$
0
0
hi,I use this dll in my application to display RTSP stream. It works fine at the first time,but not work when I want to display another RTSP stream address . I think the problem was mostly the lost of "=" in project Vlc.DotNet.Core VlcMediaList.cs function Clear():
public void Clear()
    {
        if (VlcContext.HandleManager.MediasListHandles.ContainsKey(this))
        {
            for (int index = Count - 1; index > 0; index--)
            {
                VlcContext.InteropManager.MediaListInterops.RemoveAt.Invoke(VlcContext.HandleManager.MediasListHandles[this], index);
            }
        }
    }
"index > 0" should be "index >= 0" , or MediaListInterops will allways reserves the first original object.
sorry for my poor english :(

Commented Unassigned: how to add an option to VLC after Initialization? [7816]

$
0
0
Hi,
I have a problem with adding option to vlc object. I want to add option "--ts-csa-ck=xxxxxxxxxxxxxxxx" to media when changing media. but it doesn't work. but it works with VlcContext.StartupOptions.AddOption(--ts-csa-ck=xxxxxxxxxxxxxxxx). i don't want to add this option at initialize time, I want to add it at every arbitrary time.
Best regards!
Comments: Please read this thread - tell you all you need to know about using addoption against individual files. i had same issue when i wanted to set streaming options for each file: https://vlcdotnet.codeplex.com/discussions/544378

Commented Unassigned: how to add an option to VLC after Initialization? [7816]

$
0
0
Hi,
I have a problem with adding option to vlc object. I want to add option "--ts-csa-ck=xxxxxxxxxxxxxxxx" to media when changing media. but it doesn't work. but it works with VlcContext.StartupOptions.AddOption(--ts-csa-ck=xxxxxxxxxxxxxxxx). i don't want to add this option at initialize time, I want to add it at every arbitrary time.
Best regards!
Comments: in summary - key issue is you have to add each option separately to the media (also replacing - with : )

New Post: VLC need 10-30% CPU, but VlcControl 95-99%

$
0
0
Hello,

i have the same problem wich some other users. The CPU load is very high. I use Framework 4.5.1

My Code:
            VlcContext.StartupOptions.IgnoreConfig = true;
            VlcContext.StartupOptions.LogOptions.LogInFile = false;
            VlcContext.StartupOptions.LogOptions.ShowLoggerConsole = false;
            VlcContext.StartupOptions.LogOptions.Verbosity = VlcLogVerbosities.None;
            VlcContext.StartupOptions.AddOption("--ffmpeg-hw");
            VlcContext.StartupOptions.AddOption("--no-video-title-show");
Additional the VlcPlayer will stuttering slightly.
Can i optimize?

Greetings
eclere

New Post: Playing a second youtube video

$
0
0
Hi,

I've a problem using MediaLocation object in WPF.
I can play a youtube video using this line of code:
Vlc.DotNet.Core.Medias.LocationMedia VlcMedia = New Vlc.DotNet.Core.Medias.LocationMedia(YoutubePath);
This works great with VlcMedia.StateChanged handler.

But, when my control is playing, if I want to start another youtube video, the Subitems property doesn't seem to be refreshed, and the first video replays.

I've tried to set VlcControl.Media == null; VlcControl.Media.Dispose... with no luck.

I supposed I miss something.

Have someone the same problem ? How to solve this ?
Thanks

New Post: Playing a second youtube video

$
0
0
Looks like VlcControl.Medias.Clear does'nt seem to clear the list... (?!)

I've found a workaround : call VlcControl.Medias.RemoveAt[0] just after setting the new one.
Strange behavior...!

New Post: I require a comprehensive guide

$
0
0
I lack pretty much any and all programming knowledge but I have taken it onto myself to make a fairly complicated software for distribution as a freeware with separate payment options much alike donations.

Having VLC as part of my software is an almost vital part from lack of alternatives and I have failed to grasp how to include it as part of my resources and also how to include it into the final release. I tried looking around but lacking knowledge to understand the documentation here and also the names for what I am doing I cant seam to find help online either.

I am fairly confident that once I can get the functionality into my WPF project I can manage from there but I will also take my chance to ask for a few other key points at the end of this.

So how do I "Instal" the files I obtain from the zip file? Please be as specific as you can and also refrain from using any technical words and expect me to instantly understand what you are talking about.

Also how do I properly include it as a resource in my distribution so other people do not have to do anything other then instal my software?

New Post: DVD Playback

$
0
0
After trying MediaElement and WMP, we're using this great library to build a video player in WPF.
How can I play DVD videos with interactive menus? (With the ability to navigate through it)
What I've tried so far:
mediaPlayer.Play(@"F:\");
mediaPlayer.Play(@"F:\VIDEO_TS");
mediaPlayer.Play("dvd:///F:\");
And if I directly play VTS_01_0.VOB the menu is not interactive

Thanks in advance for your help.
Viewing all 471 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>