Search found 491 matches

Go to advanced search

by sherington
06 Dec 2013 18:41
Forum: Development around libVLC
Topic: Accessing video stream from a web application
Replies: 2
Views: 457

Re: Accessing video stream from a web application

I'm not quite sure if this is what you're asking, but if you want to use vlcj to display your video inside an HTML page, then you need to consider an applet or Java WebStart application. You have to package your applet with all the dependencies, sign the package using a certificate, and deploy it to...
by sherington
05 Dec 2013 20:54
Forum: Development around libVLC
Topic: Accessing a remote DVR by VLCJ
Replies: 4
Views: 802

Re: Accessing a remote DVR by VLCJ

OK, something changed with regards to URL handling but I don't recall which version of vlc/vlcj. At least one fix was made for URL handling in vlcj so you really should upgrade to the latest version, which right now is 2.4.1. If that still doesn't work, then you should post the logs - so what you do...
by sherington
05 Dec 2013 20:25
Forum: Development around libVLC
Topic: dshow demux error: can't open video device
Replies: 1
Views: 1032

Re: dshow demux error: can't open video device

I can't say why dshow:// is not working for you, but your code has other problems IMHO. You need to keep a hard-reference to the MediaPlayerFactory and the MediaPlayer instances (e.g. class variables) otherwise they become eligible for garbage collection when your constructor exits - if you don't th...
by sherington
05 Dec 2013 20:19
Forum: Development around libVLC
Topic: Accessing a remote DVR by VLCJ
Replies: 4
Views: 802

Re: Accessing a remote DVR by VLCJ

1. Which version of vlcj are you using?
2. Start your JVM with -Dvlcj.log=DEBUG and find that part starting with "setMedia(media=" and post what follows.
by sherington
02 Dec 2013 22:41
Forum: Development around libVLC
Topic: How to use libVLC?
Replies: 1
Views: 416

Re: How to use libVLC?

If you cloned from git, then vlc.h is here:

Code: Select all

vlc/include/vlc/vlc.h
If you want to use libvlc you will also find:

Code: Select all

vlc/include/vlc/libvlc.h
by sherington
28 Oct 2013 13:23
Forum: Development around libVLC
Topic: C# need help
Replies: 3
Views: 481

Re: C# need help

I think that ":sout-keep" should be a separate string in the array.
by sherington
10 Oct 2013 20:17
Forum: Development around libVLC
Topic: GPS data in Text tracks
Replies: 6
Views: 4061

GPS data in Text tracks

Hello, I want to extract GPS data that is encoded inside a Text track inside an MP4. I would like to be able to get at that data in real-time as the video is played, so I can display it, chart it or whatever. As an aside, I can view the encoded data using the vlc application by enabling the subtitle...
by sherington
10 Oct 2013 18:48
Forum: Development around libVLC
Topic: Green border video buffer corruption?
Replies: 4
Views: 1980

Re: Green border video buffer corruption?

If you use vmem, it is a known bug waiting for someone who cares to patch it. With Qt, you really should use native embedded windows though. I'm just embedding a regular window with libvlc_media_player_set_xwindow(wid). The vlc application itself, when built from the latest 2.2.0 git, shows the sam...
by sherington
10 Oct 2013 17:29
Forum: Development around libVLC
Topic: Green border video buffer corruption?
Replies: 4
Views: 1980

Green border video buffer corruption?

Hello, I noticed with my embedded media players that the current vlc-2.2.0-git shows green borders on some videos. On a DVD ISO I see a single line of green pixels on the right hand side of the video. With an MP4 I see about 30 lines of dark green and 30 lines of light green pixels on the bottom edg...
by sherington
27 Sep 2013 08:13
Forum: Development around libVLC
Topic: Volume handling in 2.1.0 onwards
Replies: 17
Views: 3524

Re: Volume handling in 2.1.0 onwards

Depends on the aout. From what I have seen, there is simply no way through libvlc to successfully set/get the volume for a media player before an aout has been created (which is some indterminant time after you play the media). It will always return an error (this is clear from the libvlc media pla...
by sherington
26 Sep 2013 20:43
Forum: Development around libVLC
Topic: [VLCJ] Don't get info of video file !!!
Replies: 3
Views: 1695

Re: [VLCJ] Don't get info of video file !!!

I am building a simple video editor with functions : merge 2 video file, cut videos, insert a video into another video, extract audio from video. Does VLCJ support to make a video editor ? Can you recommend me a direction about my problem ? Well, you can do some of those things with vlcj with vario...
by sherington
26 Sep 2013 18:29
Forum: Development around libVLC
Topic: [VLCJ] Don't get info of video file !!!
Replies: 3
Views: 1695

Re: [VLCJ] Don't get info of video file !!!

Can you explain to me terms "Track", "Title", "Chapter", "Track Info", "Track Description". Well superficially a Track refers to an audio/video/spu track contained in the media. Chapter and Title refer at least to DVD media (a single DVD can have ma...
by sherington
26 Sep 2013 16:31
Forum: Development around libVLC
Topic: Volume handling in 2.1.0 onwards
Replies: 17
Views: 3524

Re: Volume handling in 2.1.0 onwards

Sherington, have you found a workaround for this ?
No.
by sherington
25 Jul 2013 19:00
Forum: Development around libVLC
Topic: Writing patches in libVLC - undefined symbol error
Replies: 3
Views: 565

Re: Writing patches in libVLC - undefined symbol error

Did you add your new function to libvlc.sym?
by sherington
18 Jul 2013 17:12
Forum: Development around libVLC
Topic: Playing RTSP stream fails in LIBVLC 2.2.0
Replies: 8
Views: 1988

Re: Playing RTSP stream fails in LIBVLC 2.2.0

Do you happen to know how to understand what is the URL type (file or stream) using VLC functions?
In my own libvlc bindings, I simply check if my input string "looks like" a URL or not (don't need a VLC function for that), and then call the appropriate VLC function to play it.
by sherington
18 Jul 2013 13:05
Forum: Development around libVLC
Topic: Playing RTSP stream fails in LIBVLC 2.2.0
Replies: 8
Views: 1988

Re: Playing RTSP stream fails in LIBVLC 2.2.0

I think you're supposed to use libvlc_media_new_location() for URL's.
by sherington
05 Jul 2013 08:14
Forum: Development around libVLC
Topic: Enabling Audio Filters
Replies: 3
Views: 613

Re: Enabling Audio Filters

Ok, thanks, I'll see if I can work it out. On your other point about enabling filters generically, do you just mean something like mp->libvlc_media_player_enable_audio_filter(filtername), and this would work before media was playing, and then other methods to set the various specific filter values? ...
by sherington
04 Jul 2013 19:48
Forum: Development around libVLC
Topic: Enabling Audio Filters
Replies: 3
Views: 613

Enabling Audio Filters

I am trying to resurrect my libvlc equalizer patch from last year. With that old version of the patch I realise now that my main troubles were due to finding a reliable way to enable the equalizer audio filter at the right time, and especially to make sure it was enabled when an aout was created (th...
by sherington
30 Jun 2013 20:06
Forum: Development around libVLC
Topic: libvlc audio callbacks crash
Replies: 2
Views: 479

Re: libvlc audio callbacks crash

Works great now, thanks.
by sherington
30 Jun 2013 13:56
Forum: Development around libVLC
Topic: libvlc audio callbacks crash
Replies: 2
Views: 479

libvlc audio callbacks crash

I have been using the audio callbacks and encountered a crash. It is repeatable 100% of the time for me. In amem.c: static void Stop (audio_output_t *aout) { aout_sys_t *sys = aout->sys; if (sys->cleanup != NULL) sys->cleanup (sys->opaque); <--- crash here sys->ready = false; } In the failing case, ...
by sherington
19 Jun 2013 13:33
Forum: Development around libVLC
Topic: Bringing up the DVD Menus
Replies: 1
Views: 350

Re: Bringing up the DVD Menus

Can't you just do set-title on the menu title?
by sherington
15 Jun 2013 09:06
Forum: Development around libVLC
Topic: A quick question about libvlc_video_get_track_count
Replies: 4
Views: 518

Re: A quick question about libvlc_video_get_track_count

Tracks are the list of channels. Not "titles"
So these should work for the OP use case...

Code: Select all

libvlc_media_player_get_title_count libvlc_media_player_set_title libvlc_media_player_get_title
by sherington
03 Jun 2013 18:02
Forum: Development around libVLC
Topic: opening HTTP stream with LIBVLC
Replies: 5
Views: 4072

Re: opening HTTP stream with LIBVLC

Did you call libvlc_media_subitems *after* you received the "finished" event from the media player? I know this works, I have a test-case specifically for it, here's a fragment of the vlc log on a test I just ran: [0x7fe568119148] main input debug: Creating an input for 'http://www.youtube...
by sherington
03 Jun 2013 08:06
Forum: Development around libVLC
Topic: Streaming problem
Replies: 1
Views: 341

Re: Streaming problem

I'm not sure if this it's exactly what you're asking for, but there is a "media player buffering" event.

The crash is some other problem of course.

Go to advanced search