Search found 491 matches

Go to advanced search

by sherington
02 Jun 2013 15:08
Forum: Development around libVLC
Topic: opening HTTP stream with LIBVLC
Replies: 5
Views: 4101

Re: opening HTTP stream with LIBVLC

When playing YouTube, or other things like internet radio stations, you will find that playing the URL will cause sub-item(s) to be created and added to the media instance. You can access these sub-items when the you receive the "finished" media player event from libvlc. This is analagous ...
by sherington
15 May 2013 13:36
Forum: Development around libVLC
Topic: disable filename marquee without affecting other marquees
Replies: 2
Views: 1637

Re: disable filename marquee without affecting other marquee

I do this:

Code: Select all

"--no-video-title-show", "--sub-filter=logo:marq"
Seems to work ok for me. I guess you can remove "logo" if you don't want that.
by sherington
01 May 2013 08:11
Forum: Development around libVLC
Topic: libvlc_audio_get/set_track not work after 2.0.4 ?
Replies: 7
Views: 799

Re: libvlc_audio_get/set_track not work after 2.0.4 ?

Can you give me a link to description of that bug? I just don't understand how can I possibly change my code for this function to work again. Did input arguments changed of what? Or this function now can't be used during playback? I think this relates: http://forum.videolan.org/viewtopic.php?f=32&a...
by sherington
28 Apr 2013 21:56
Forum: Development around libVLC
Topic: Reliable use of new libvlc_media_tracks_get()
Replies: 2
Views: 1005

Reliable use of new libvlc_media_tracks_get()

Hi, I have been incorporating the new libvlc_media_tracks_get() API into my bindings. I am trying to find the most reliable instant at which to invoke this libvlc method in order to get fully populated data. If I wait for a "playing" event from the media player, I see nothing returned. If ...
by sherington
27 Apr 2013 11:16
Forum: Development around libVLC
Topic: Question about the new 2.1 logging API
Replies: 1
Views: 291

Question about the new 2.1 logging API

Hi, I was wondering if the following methods are intended to be exposed to applications using libvlc: void libvlc_log_get_context(const libvlc_log_t *ctx, const char **module, const char **file, unsigned *line); void libvlc_log_get_object(const libvlc_log_t *ctx, const char **name, const char **head...
by sherington
24 Apr 2013 17:24
Forum: Development around libVLC
Topic: Help for using libvlc_media_get_stats libvlc 2.0.6?
Replies: 8
Views: 1543

Re: Help for using libvlc_media_get_stats libvlc 2.0.6?

I don't really use C#, but when I dabbled with it a while ago I did this: IntPtr statsPointer = Marshal.AllocHGlobal(Marshal.SizeOf(libvlcMediaStats)); try { Marshal.StructureToPtr(libvlcMediaStats, statsPointer, false); LibVlc.libvlc_media_get_stats(media, statsPointer); } finally { Marshal.FreeHGl...
by sherington
24 Apr 2013 08:19
Forum: Development around libVLC
Topic: Help for using libvlc_media_get_stats libvlc 2.0.6?
Replies: 8
Views: 1543

Re: Help for using libvlc_media_get_stats libvlc 2.0.6?

If I remember correctly, you allocate the libvlc_media_stats_t structure on your side, then invoke the libvlc_media_get_stats passing the pointer to your structure.
by sherington
23 Apr 2013 17:19
Forum: Development around libVLC
Topic: Help for using libvlc_media_get_stats libvlc 2.0.6?
Replies: 8
Views: 1543

Re: Help for using libvlc_media_get_stats libvlc 2.0.6?

I tested libvlc_media_get_stats in my own bindings with vlc 2.0.6 and it worked just fine.
by sherington
23 Apr 2013 07:49
Forum: Development around libVLC
Topic: VLCJ Lib <plugins-path> issue
Replies: 5
Views: 2933

Re: VLCJ Lib <plugins-path> issue

"The last two options will require some native development as libvlc does not support such operations at the moment." Do you think future versions of VLCJ will support these features? This is something a primary requirement that VLCJ Plugins should be dynamically available. I don't see ho...
by sherington
22 Apr 2013 17:12
Forum: Development around libVLC
Topic: VLCJ Lib <plugins-path> issue
Replies: 5
Views: 2933

Re: VLCJ Lib <plugins-path> issue

I expect your prompt reply as I am in big trouble.
I'll get right on it, hold on...
by sherington
18 Apr 2013 08:06
Forum: Development around libVLC
Topic: VLC (Direct 3D Output) Window in Windows
Replies: 3
Views: 3435

Re: VLC (Direct 3D Output) Window in Windows

You picked the right media player, but you still need to disable the video output as is explained already in the Javadoc for that class.
by sherington
17 Apr 2013 13:37
Forum: Development around libVLC
Topic: VLC (Direct 3D Output) Window in Windows
Replies: 3
Views: 3435

Re: VLC (Direct 3D Output) Window in Windows

You seem to duplicate the output to a file and "display" - well, I think that means it will open a window to display it... Your headless player is headless in name only, it will still open a window if it needs one, unless you disable the video output explicitly. This is explained already i...
by sherington
17 Apr 2013 08:10
Forum: Development around libVLC
Topic: Need help --no-video-title-show
Replies: 3
Views: 526

Re: Need help --no-video-title-show

I have already tried adding the option '--no-video-title-show' to the libvlc instance and the the media, but it doesn't change a thing. What am I am missing out on?
"--no-video-title-show" definitely works for me. I use it all the time and pass it when I create the libvlc instance.
by sherington
16 Apr 2013 17:30
Forum: Development around libVLC
Topic: Video Recording Using VLCJ
Replies: 2
Views: 1085

Re: Video Recording Using VLCJ

As far as I know, you simply can't enable/disable recording on-the-fly. It has to be setup when you play the media.
by sherington
13 Apr 2013 17:03
Forum: Development around libVLC
Topic: MouseListener not workigng when while video playing
Replies: 10
Views: 974

Re: MouseListener not workigng when while video playing

I'm just wondering if it worthy to put some effort for native Windows event hook implementation. The hook implementation is already there for you in the WindowsCanvas. Last time I tested it, it worked for me. Out of interest, what is your use-case for needing those mouse events? You might be able t...
by sherington
13 Apr 2013 13:40
Forum: Development around libVLC
Topic: MouseListener not workigng when while video playing
Replies: 10
Views: 974

Re: MouseListener not workigng when while video playing

My application is expected to run in Windows. Does this not at all possible in Windows?What's the reason? Bz of Canvas implementation in windows? Or is the thr problem with VLCJ APIs. Why we still use Canvas instead of JPanel. Can't we change implementation? Of course vlcj+libvlc works in Windows. ...
by sherington
13 Apr 2013 12:18
Forum: Development around libVLC
Topic: udp unicast streaming problem with libvlc
Replies: 1
Views: 700

Re: udp unicast streaming problem with libvlc

You can't just directly translate your command line to a single media option, some changes are needed. Your media option should look something like this (this is a *general* example, but it shows you the necessary formatting for something that works): :sout=#transcode{acodec=mp3,channels=2,ab=192,sa...
by sherington
13 Apr 2013 12:13
Forum: Development around libVLC
Topic: MouseListener not workigng when while video playing
Replies: 10
Views: 974

Re: MouseListener not workigng when while video playing

You are not providing quite enough information to help you. Presumably you are using Windows - this works just fine on Linux but it is simply not possible to get those events on Windows - unless you use the custom WindowsCanvas implementation. This is a pretty bad solution since it involves installi...
by sherington
13 Apr 2013 12:09
Forum: Development around libVLC
Topic: EmbeddedMediaPlayerComponent not working with GridBagLayOut
Replies: 2
Views: 882

Re: EmbeddedMediaPlayerComponent not working with GridBagLay

Would not EmbeddedMediaPlayerComponent support layouts other than BorderLayout. Of course it would. Your constraints are probably wrong, but since you didn't post your code, it's impossible to say. GridBag sucks. I always prefer nested BorderLayout, with BoxLayout as needed. Anyway here's your two-...
by sherington
30 Mar 2013 13:06
Forum: Development around libVLC
Topic: Play Playlist in a loop using vlcj
Replies: 3
Views: 2083

Re: Play Playlist in a loop using vlcj

Code: Select all

videoSurface.setSize(dimension); frame.pack();
When you change the size you have to "revalidate" the layout of the parent component - the easiest way to do that is to pack your frame. The TestPlayer example in vlcj does exactly this.
by sherington
29 Mar 2013 19:57
Forum: Development around libVLC
Topic: Qt4.8.3 + MacOSX 10.8 + libVLC > 2.0.1 = crash
Replies: 21
Views: 3973

Re: Qt4.8.3 + MacOSX 10.8 + libVLC > 2.0.1 = crash

I have been looking into a similar problem that affects my own libvlc bindings on MacOSX. I have been told by some of my users that reverting to vlc 2.0.3 works just fine, but any other version does not, including 2.1.0-git. This is clearly at odds with the original poster who states that vlc 2.0.3 ...
by sherington
29 Mar 2013 08:49
Forum: Development around libVLC
Topic: Play Playlist in a loop using vlcj
Replies: 3
Views: 2083

Re: Play Playlist in a loop using vlcj

Well what have you tried so far? There are *many* examples provided with vlcj, and quite decent Javadoc explaining these things aleady.

Waiting for your answer...
by sherington
28 Mar 2013 19:32
Forum: Development around libVLC
Topic: playing media files using vlcj java wrapper...
Replies: 2
Views: 1046

Re: playing media files using vlcj java wrapper...

You could also do this... not ideal but it works...

Code: Select all

mediaPlayer.playMedia("zip:///path/to/zip-or-jar/movies.jar!/my-movie.mpg");
Note the use of the "!" - it is required.
by sherington
26 Mar 2013 18:50
Forum: Development around libVLC
Topic: LibVLC can't read stream from network
Replies: 7
Views: 5085

Re: LibVLC can't read stream from network

I told you in principle how to do it using libvlc. I don't know python. If I "play" your m3u URL, I get this single sub-item created on the media instance: http://mp3.live.tv-radio.com/fip/all/fiphautdebit.mp3 I then play that and it works. If I "play" your other asx URL, I get t...

Go to advanced search