Search found 491 matches

Go to advanced search

by sherington
31 Mar 2014 23:37
Forum: Development around libVLC
Topic: How to play audio CD tracks with LibVLC
Replies: 1
Views: 750

Re: How to play audio CD tracks with LibVLC

Essentially, you first "play" the device to get a list of tracks created as sub-items (nothing actually gets played here). This creates for you a libvlc_media_t instance for each sub-item, which you can get from the media player instance and play. Please see https://forum.videolan.org/view...
by sherington
27 Mar 2014 18:13
Forum: Development around libVLC
Topic: MediaDetails
Replies: 3
Views: 419

Re: MediaDetails

For this sort of thing, in all honesty i would consider using something other than libvlc/VLCJ. I do this in my own VLCJ applications by using the "MediaInfo" package. You can launch it from Java (e.g. using commons-exec), or use a Java binding. http://mediaarea.net/en/MediaInfo If you dow...
by sherington
09 Mar 2014 17:53
Forum: Development around libVLC
Topic: Can't control media after EndReached event
Replies: 2
Views: 1393

Re: Can't control media after EndReached event

Surely there is some way to overcome this without having to release/reload the media player object.
Not ideal, but you can do libvlc_media_player_stop() then libvlc_media_player_play() without releasing the media player object.

It was not always this way.
by sherington
08 Mar 2014 09:59
Forum: Development around libVLC
Topic: n00b: Using VLC to build a subtitle-screening box
Replies: 5
Views: 822

Re: n00b: Using VLC to build a subtitle-screening box

I would add the functionality to vlc and expose it via LibVLC if I knew how, but I'm afraid I don't. That's why I was interested in your question. ;-)
by sherington
07 Mar 2014 18:10
Forum: Development around libVLC
Topic: n00b: Using VLC to build a subtitle-screening box
Replies: 5
Views: 822

Re: n00b: Using VLC to build a subtitle-screening box

Well you posted in the LibVLC forum, so presumably you are asking about LibVLC in particular rather than VLC itself... Do you want to be notified of a particular subtitle and when it should be displayed, so you can have your own app display it on your projector? I'm interested in doing something sim...
by sherington
06 Mar 2014 22:44
Forum: Development around libVLC
Topic: Problem playing videos of different resolutions.VLCj Ubuntu
Replies: 9
Views: 2073

Re: Problem playing videos of different resolutions.VLCj Ubu

I already told you one way in my previous post. Set the media player aspect ratio to that of your 'container'. That might work well enough for you if you have a full-screen application, but if you are going to allow your users to resize the window however they like then there's nothing you can do th...
by sherington
06 Mar 2014 18:21
Forum: Development around libVLC
Topic: Problem playing videos of different resolutions.VLCj Ubuntu
Replies: 9
Views: 2073

Re: Problem playing videos of different resolutions.VLCj Ubu

So I wrote a quick full-screen media player test that basically played the first five seconds of each file in a particular directory, the files having various different video dimensions... As expected the video scales up to the screen resolution 1920x1200, preserving the aspect ratio of each video f...
by sherington
06 Mar 2014 18:02
Forum: Development around libVLC
Topic: Problem playing videos of different resolutions.VLCj Ubuntu
Replies: 9
Views: 2073

Re: Problem playing videos of different resolutions.VLCj Ubu

I still don't quite understand what your issue is. From the code you posted you appear to be setting your video surface size to match the size of some other component, not the size of the video itself, is that right? Well, when your video is being rendered into the available video surface it will us...
by sherington
05 Mar 2014 23:32
Forum: Development around libVLC
Topic: Problem playing videos of different resolutions.VLCj Ubuntu
Replies: 9
Views: 2073

Re: Problem playing videos of different resolutions.VLCj Ubu

The code you posted does this: videoSurfaceCanvas.setSize(newSize().width, newSize().height); But you didn't show what newSize() does, or you removed it when you edited your post. You are using that method to size your Canvas, so the bug is likely in that method, or you are calling it at the wrong t...
by sherington
05 Mar 2014 15:26
Forum: Development around libVLC
Topic: VLC music tags (meta)
Replies: 5
Views: 853

Re: VLC music tags (meta)

As far as I know, LibVLC provides no way to get anything like that other than via the meta-data functions. You can scour the Doxygen documentation - or indeed the source code - to see if there's another way, but I don't think you'll find anything.
by sherington
05 Mar 2014 14:46
Forum: Development around libVLC
Topic: VLC music tags (meta)
Replies: 5
Views: 853

Re: VLC music tags (meta)

Well, ID3 tags work through libvlc for me so I have no idea what could be wrong.
by sherington
05 Mar 2014 10:42
Forum: Development around libVLC
Topic: VLC music tags (meta)
Replies: 5
Views: 853

Re: VLC music tags (meta)

Did you try parsing the media first?

Code: Select all

libvlc_media_parse
by sherington
28 Feb 2014 17:53
Forum: Development around libVLC
Topic: Problem playing videos of different resolutions.VLCj Ubuntu
Replies: 9
Views: 2073

Re: Problem playing videos of different resolutions.VLCj Ubu

There's too much code here to review, do you have a *minimal* test case that demonstrates the problem?
by sherington
08 Feb 2014 16:35
Forum: Development around libVLC
Topic: MusicBrainz AccoustID fingerprinting
Replies: 1
Views: 779

MusicBrainz AccoustID fingerprinting

Hi.

I am really interested in seeing if the audio fingerprinting functionality could be exposed by LibVLC.

However, I can't see how the fingerprinting is actually enabled/triggered. Even in VLC itself (the latest git) I can't see it.

Does anyone have any clues for this?
by sherington
16 Jan 2014 16:48
Forum: Development around libVLC
Topic: SDL2 and libvlc help?
Replies: 7
Views: 899

Re: SDL2 and libvlc help?

Doesn't your constructor reference mp when it is null?

You don't assign mp until you call loadTrack...
by sherington
16 Jan 2014 09:25
Forum: Development around libVLC
Topic: video file name does not display
Replies: 2
Views: 495

Re: video file name does not display

Those command-line switches are not officially supported for such use, you are supposed to use API functions instead (if available). This function was recently added to libvlc: libvlc_media_player_set_video_title_display A side-effect of adding that function was that when using LibVLC the title is n...
by sherington
09 Jan 2014 10:33
Forum: Development around libVLC
Topic: Unable to load library 'X11'
Replies: 1
Views: 957

Re: Unable to load library 'X11'

The X windowing system is not available on Windows of course...
by sherington
24 Dec 2013 09:21
Forum: Development around libVLC
Topic: GPS data in Text tracks
Replies: 6
Views: 4061

Re: GPS data in Text tracks

I'm not sure if I have done this the right way, but this is what I did... - Create a new "text_renderer" module to send the SPU text via a callback, the callback accepts the subtitle text and an opaque pointer (in keeping with how vmem and amem are implemented). - Add new API to libvlc to ...
by sherington
16 Dec 2013 15:04
Forum: Development around libVLC
Topic: How to show information on the srceen
Replies: 5
Views: 1112

Re: How to show information on the srceen

Not ideal, but the marquee API works for me if I pass "--sub-filter=marq" when I create a libvlc instance with libvlc_new(...).
by sherington
16 Dec 2013 15:00
Forum: Development around libVLC
Topic: How to show VLC play buttons with libvlc?
Replies: 2
Views: 343

Re: How to show VLC play buttons with libvlc?

You have to add your own buttons using your own window/widget toolkit.
by sherington
12 Dec 2013 21:28
Forum: Development around libVLC
Topic: switching hls streams of different bit rates
Replies: 7
Views: 4716

Re: switching hls streams of different bit rates

Hmmm... I just tested your playlist URL. It seems to not work in this case like I suggested it works in general for playlists. Sorry for the distraction.
by sherington
12 Dec 2013 07:56
Forum: Development around libVLC
Topic: switching hls streams of different bit rates
Replies: 7
Views: 4716

Re: switching hls streams of different bit rates

I can't speak to the detail of how your adaptive streaming works, I have no idea, what I'm telling you is what happens generally when you "play" a playlist, to try and give you a pointer. Each item in the playlist is an opaque libvlc_media_t, and libvlc provides functions, as per the docum...
by sherington
11 Dec 2013 13:39
Forum: Development around libVLC
Topic: switching hls streams of different bit rates
Replies: 7
Views: 4716

Re: switching hls streams of different bit rates

Generally speaking, when you play a play-list file vlc will parse it to create sub-items (one sub-item for each corresponding item in the playlist) and fire a "finished" event. libvlc then provides functions to get the sub-items, but you must wait until you get the finished event. You can ...
by sherington
07 Dec 2013 11:03
Forum: Development around libVLC
Topic: VLCJ and libvlc.so
Replies: 2
Views: 1126

Re: VLCJ and libvlc.so

I do not profess to fully understand run-time linking on Linux, and I don't have a satisfactory answer for you, but I can tell you what I've seen... When I build vlc on Linux, the shared library path gets "baked in" to the shared objects, leading to what you've seen where you can't just co...
by sherington
07 Dec 2013 10:55
Forum: Development around libVLC
Topic: VLCJ on Web Platform
Replies: 1
Views: 627

Re: VLCJ on Web Platform

Your question is unclear to me. Do you want to use vlcj to play the video inside a web page (if so I already answered your other question in this forum), or do you want to use vlcj on your web server to set up a network stream and deliver that to some other client application? Or something else? I'v...

Go to advanced search