# [vlc-devel] CLI Bindings : AccessViolationException on player

Thu Dec 10 15:37:23 CET 2009

Hi All,

Sorry had power failure last night so not able to communicate results till now. For me this worked for the JVLC bindings. It created the file. But after vlc dlls crashing I could not rename the files for another test because it was locked out by the dlls. All I did then was restart my desktop where I was running.

As for running from windows from vlc with these parameters I tried without the video file but the vlc qt interface did not show up and a dos command line screen did. I suspect to get it to work that way I need to point the last parameter like shown to a video file on my desktop.

In any case thank you very much for the help. Before my power problems last night I was starting to see a pattern in the crashing although itself not always repeatable. For my test cases the text output seemed to indicate a problem being reported that the audio was slowing down and getting corrupted. Sorry since the log did not save correctly due to the file lock issue and then power outage I do not remember the exact wording. I will definitely work on it tonight some more.

I will startup a different email thread with my findings for that. I wanted to make sure Damien had something to help us both in this thread for debugging while using vlc libraries.

Best Regards,
-Tony

--- On Thu, 12/10/09, Developer <developer at noknok.net> wrote:

> From: Developer <developer at noknok.net>
> Subject: Re: [vlc-devel] CLI Bindings : AccessViolationException on player
> To: "Mailing list for VLC media player developers" <vlc-devel at videolan.org>
> Date: Thursday, December 10, 2009, 7:02 AM
>
>
>
>
>
>
> Damien wrote:
> Hi,
>
>
>
>   2009/12/9 Developer <developer at noknok.net>
>
>
>     Ok, from a command line:
>
>
> vlc -I dummy -vvv --extraintf=logger
> --logfile=z:\ffmpeg\VlcLog.txt
>  "z:\tempdata\sin.avi"
>
>
>
>
>
>    The program starts, the video plays (directx
> window) and the
> log file is filled with a lot of text.
>
>
>
>   When launching my program directly from commandline
> (microsoft
> framework), instanciating VLC with same parameters, log
> file is not
> created and the media video seems to be a smiley
>
>
> What do you mean by running directly from commandline
> (mircrosoft
> framework)?   Are you meaning executing a SHELL COMMAND
> from within say
> C#?
>
>
>
>
>
>   :
>   [0x3cacc6c] main playlist debug: adding item
> ☺' ( ☺ )
>
>
>
>   When running with Mono, things seems to work better
> :
>   [0x201fdac] main playlist debug: adding item
> a.avi' ( d:\a.avi )
>   But without interface, I can't really say if
> video is really
> read, since nothing is shown...
>
>
>
>   If I remove video from initial parameters and try to
> create
> media using functions, it crashes when calling
> MediaPlayer.Play()
> (Microsoft or Mono).
>
>
>
>   To ease finding a solution, I will try to only use
> Mono for now,
> but I will try to find a workaround for Microsoft
> framework.
>
>
>
>
> I am using VS2008, .Net Wrapper (MS Framework) and running
> 50+
> simultanious streams within an application...  So issue I
> dont believe
> it is in the framework your choosing..
>
>
>
>
>
>
> What command are YOU running?  If your running from within
> a program,
> playlist vs.
> playing a file directly?  a sample of that playlist would
> be good too.
> Also make note that playlist handling in the .NET VLC
> wrapper does not
> work.  Most folks manually handle switching thru playlists
> in code.
>
>
>
> Shawn
>
>
>
>
>
>
> -----Inline Attachment Follows-----
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>