Search found 29 matches

Go to advanced search

by alb84
04 Oct 2010 16:29
Forum: General VLC media player Troubleshooting
Topic: Broadcast stream with SDP
Replies: 1
Views: 619

Broadcast stream with SDP

Hi, Sorry if this is not the right place to ask this, anyway I am not particurlarly fond in SDP and in broadcast streaming, so I am asking here to have some advice. I have a closed source simulator producing a video stream that can be viewed by other third party applications like VLC. The specificat...
by alb84
24 Sep 2010 12:07
Forum: Development around libVLC
Topic: vmem output in 1.1.4
Replies: 3
Views: 931

Re: vmem output in 1.1.4

So is there a way for setting the pointers of the callback functions in the new version?
Is there any working example code for vmem output using 1.1.4 ?
by alb84
21 Sep 2010 15:12
Forum: Development around libVLC
Topic: vmem output in 1.1.4
Replies: 3
Views: 931

vmem output in 1.1.4

I've tried to update my project with libvlc 1.1.4 but I noticed some of the basic high level api for setting up the VLC instance have changed. I followed the new sample code at http://wiki.videolan.org/LibVLC_Tutorial Is it necessary to define the media and then the media player or I can create a me...
by alb84
30 Apr 2010 10:45
Forum: Development around libVLC
Topic: Getting the RTP Timestamp
Replies: 3
Views: 973

Re: Getting the RTP Timestamp

I see.. so what is your best advice to get the timestamp and have the syncrhonization with metadata working?
by alb84
25 Apr 2010 15:09
Forum: Development around libVLC
Topic: Getting the RTP Timestamp
Replies: 3
Views: 973

Getting the RTP Timestamp

I am receiving a video stream on RTP, this stream must be syncrhonized with metadata coming from a different RTP stream, but whose timestamps are coherent with the ones of the video stream. Is there a way to get the value of the RTP timestamp of the current frame using the VLC api? I only found this...
by alb84
20 Apr 2010 10:40
Forum: Development around libVLC
Topic: Mutex problems when stopping libvlc
Replies: 3
Views: 744

Re: Mutex problems when stopping libvlc

Where I can get libVLC 1.1? The latest VLC client available for download is still 1.0 and I generated libvlc.lib from libvlc.dll as described here http://wiki.videolan.org/GenerateLibFromDll
by alb84
19 Apr 2010 12:37
Forum: Development around libVLC
Topic: Mutex problems when stopping libvlc
Replies: 3
Views: 744

Re: Mutex problems when stopping libvlc

Actually I commented the mutex and all the calls to CreateMutex, WaitForSingleObject, ReleaseMutex, and CloseHandle and run the code on a single core machine. What I do is just call all the init stuff ... m_vlcMediaplayer = libvlc_media_player_new( m_vlcInstance, &m_ex ); ... libvlc_media_player...
by alb84
19 Apr 2010 10:24
Forum: Development around libVLC
Topic: Mutex problems when stopping libvlc
Replies: 3
Views: 744

Mutex problems when stopping libvlc

I am having some problems when stopping libvlc by clicking on a stop button... I am using vmem output and lock and unlock callbacks which Wait and Release a Win32 Mutex but sometimes when I click on Stop the whole interface freezes... What is the correct way to stop libvlc and handling the mutex cor...
by alb84
24 Mar 2010 13:32
Forum: Development around libVLC
Topic: vmem-width and vmem-height
Replies: 1
Views: 1188

vmem-width and vmem-height

I am using vmem output to grab the frames decoded by libVLC, and I am setting vmem-width and vmem-height during the initialization. Is it possible to change vmem-width and vmem-height parameters when the play is already started? The broblem is that I use libVLC to read a file or stream with a fixed ...
by alb84
19 Mar 2010 13:23
Forum: Development around libVLC
Topic: synchronized metadata on RTP
Replies: 1
Views: 794

Re: synchronized metadata on RTP

I've found a good and free rtp library named jrtplib with good examples to send any data (buffer of bytes) on RTP with a timestamp and a sequence number... so in case it was not possible to put the metadata in the same RTP stream produced by VLC I was thinking of using another RTP stream... Yet the ...
by alb84
17 Mar 2010 10:33
Forum: Development around libVLC
Topic: synchronized metadata on RTP
Replies: 1
Views: 794

synchronized metadata on RTP

Hi, I have successfully integrated libVLC with OpenGL and .NET Winforms in order to receive a RTP video stream and display cartographical augmented reality on the video. At the moment the cartography is loaded by OpenGL and displayed using no real metadata about the position of the camera. What I ne...
by alb84
03 Mar 2010 18:21
Forum: Development around libVLC
Topic: Receiving RTP stream
Replies: 3
Views: 2322

Re: Receiving RTP stream

Up... please if anyone knows a hint or a possible cause or a link anything is welcome I'm stucked with setting up libVLC to receiving a RTP stream... the same stream is easily receivable by a official VLC player instance but I can't set up libVLC...
by alb84
24 Feb 2010 10:44
Forum: Development around libVLC
Topic: Receiving a VLC video stream with OpenCV
Replies: 5
Views: 7590

Re: Receiving a VLC video stream with OpenCV

i succesfully integrated libVLC and OpenCV, you just need to create an image and then tell libVLC where to write the data... // Allocating the space for the structure context = ( struct ctx* )malloc( sizeof( *context ) ); // Allocating the video buffer //context->pixels = ( unsigned char* )malloc( (...
by alb84
24 Feb 2010 10:37
Forum: Development around libVLC
Topic: Receiving RTP stream
Replies: 3
Views: 2322

Re: Receiving RTP stream

No hint? I still haven't found a solution... Any help is much appreciated
by alb84
18 Feb 2010 17:22
Forum: Development around libVLC
Topic: Display image in vlc output
Replies: 5
Views: 2742

Re: Display image in vlc output

It would be great for my application to have a continuos video stream and overlay a semitrasparent image generated with alpha channel and containing some augmented reality information... would that be possible with the new API? when 1.1 will be aproximately available? possibly with some example or d...
by alb84
18 Feb 2010 17:16
Forum: Development around libVLC
Topic: Receiving RTP stream
Replies: 3
Views: 2322

Receiving RTP stream

Hello people, I opened a VLC instance and I set up a server to transmit a video stream using RTP. If I open a second instance of VLC and set the URL to rtp://192.168.1.3:1234 it works fine. Yet if I try to do the same thing in my code, replacing the line I hade before m_vlcMedia = libvlc_media_new( ...
by alb84
18 Feb 2010 17:10
Forum: Development around libVLC
Topic: opencv ouput video stream
Replies: 3
Views: 2341

Re: opencv ouput video stream

i am also very interested in this, now i'm working on the file system, but in the future i should be able to receive a rtp stream, process it, and then output it as another rtp stream... is this possible with libvlc? any example?
by alb84
10 Feb 2010 16:38
Forum: Development around libVLC
Topic: display vmem output in a pictureBox
Replies: 6
Views: 1933

Re: display vmem output in a pictureBox

Sorry everything worked fine simply like this: Bitmap bmp(VIDEO_WIDTH, VIDEO_HEIGHT, VIDEO_WIDTH*4, Imaging::PixelFormat::Format32bppRgb, IntPtr(context->pixels)); this->pictureBox1->Image=bmp.GetThumbnailImage(VIDEO_WIDTH, VIDEO_HEIGHT, nullptr, System::IntPtr::Zero); Don't know if creating a Bitma...
by alb84
10 Feb 2010 09:23
Forum: Development around libVLC
Topic: display vmem output in a pictureBox
Replies: 6
Views: 1933

Re: display vmem output in a pictureBox

I've got a problem, changing from RV32 to I420 I get an "Access violation writing location", the code where it occurs is not debuggable. I think this is because it is libVLC code. The disassembly is 0522185B rep movs byte ptr es:[edi],byte ptr [esi] but I imagine it can be no help... Anywa...
by alb84
10 Feb 2010 09:06
Forum: Development around libVLC
Topic: display vmem output in a pictureBox
Replies: 6
Views: 1933

Re: display vmem output in a pictureBox

So you are saying that if I use I420 instead of RV32 and I do no scale the resolution it gives me ARGB? This is great!
by alb84
09 Feb 2010 17:36
Forum: Development around libVLC
Topic: force vmem output to be ARGB and not BGRA
Replies: 4
Views: 1246

force vmem output to be ARGB and not BGRA

Anybody knows if it is possible to force the byte disposition of the vmem output to be ARGB and not BGRA? I've looked for documentation for vmem-chroma but I found nothing... Anyway RV32 gives me BGRA data, but .NET Image data is arranged in ARGB. If you need to understand better the context I am wo...
by alb84
09 Feb 2010 11:09
Forum: Development around libVLC
Topic: display vmem output in a pictureBox
Replies: 6
Views: 1933

Re: display vmem output in a pictureBox

Thanks I see, I had already found a similar project (FastPixel on codeproject) where an extension of the class Bitmap was made in order to override the SetPixel method using the direct access with BitmapData. Of course this is an improvement. But what I was looking for was a solution in order no tot...
by alb84
08 Feb 2010 17:44
Forum: Development around libVLC
Topic: display vmem output in a pictureBox
Replies: 6
Views: 1933

display vmem output in a pictureBox

Hello everybody, I finally managed to link unmanaged libVLC with managed Winforms and setup a little project where the vmem unlock callback calls a marshalled delegate which invoke an event whose handler display the frame in a picturebox. I am doing this because I need to display the video with text...
by alb84
03 Feb 2010 23:36
Forum: Development around libVLC
Topic: libVLC and managed C++ in VS2008
Replies: 9
Views: 2404

Re: libVLC and managed C++ in VS2008

Ok with the newest library it works! I still have some problems getting the pixel rgb matrix for each frame from unmanaged code (libvlc) to managed code (picturebox in a form)... and I also think there may be some bottleneck or speed issue... Anyway thanks!
by alb84
03 Feb 2010 15:42
Forum: Development around libVLC
Topic: libVLC and managed C++ in VS2008
Replies: 9
Views: 2404

Re: libVLC and managed C++ in VS2008

Btw, even though I get only warning and no errors, when I run the program it quits immediatly saying "The application failed to initialize properly (0xc000007b)".

Go to advanced search