[JVLC] Creating MediaPlayer by rtsp-Stream

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
wollnyst
New Cone
New Cone
Posts: 8
Joined: 10 Oct 2008 16:40

[JVLC] Creating MediaPlayer by rtsp-Stream

Postby wollnyst » 10 Oct 2008 16:55

So JVLC is much trickier then I thougt...


Whatever, whats my mistake?

I want to display a rtsp-Stream in a Canvas, manipulate, take Snapshots and record it.

If I use a Playlist it works

Code: Select all

jvlc.setVideoOutput(V_mainFrame.c_video); try { playlist.add("rtsp://169.254.239.208/mpeg4/media.amp", "Playing"); playlist.play(); } catch (VLCException e) { // TODO Auto-generated catch block e.printStackTrace(); }

But If I'm not totally wrong, I need a MediaPlayer instance for capturing, taking snapshots etc.

So I thougt:

Code: Select all

MediaDescriptor mdist = new MediaDescriptor(jvlc, "rtsp://169.254.239.208/mpeg4/media.amp"); MediaPlayer mediaInstance = mdist.getMediaPlayer(); mediaInstance.play();
nothing happend, no video, no picture, nothing, whats wrong?




edit: solved it....


Cheers,
Stefan

Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 19 guests