[vlc-devel] CLI Bindings : AccessViolationException on player
developer at noknok.net
Thu Dec 10 15:02:03 CET 2009
> 2009/12/9 Developer <developer at noknok.net <mailto: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 would be helpful:
What command are YOU running? If your running from within a program,
some sample code be helpful.. Seems your playing a 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel