[vlc] Re: Using vlc to show video through another app

Felix Mellmann mellmispam at gmx.de
Sat Jul 3 19:32:55 CEST 2004


You may save the incoming stream to a file and send it afterwards to VLC, so
you have a chance to see, if VLC accepts the stream which you get over the
serial link.
Is the stream which you send packed in a transport stream e.g. MPEG2-TS? I
wouldn't prefer to use an avi-container.

Regards,
Felix


> 
> Hello,
> 
> I am trying to demonstrate streaming video over a USB serial link
> and am using VLC as the media player. My application connects
> to vlc via '_popen("c:\\progra~1\\videolan\\vlc\\vlc.exe -", "wb");'.
> 
> This is on WinXP, btw. Also, this is not an IP network so I can't
> use VLC's native streaming capabilities.
> 
> As the application gets each packet from the serial link driver it
> writes it to  vlc using 'fwrite(pkt, sizeof(char), total_bytes, hprog);
> '
> 
> If I do not write to VLC and just discard the packet, everything is
> fine.
> However, if I try to pass the data to VLC using the 'fwrite' command,
> it seems that the application is not able to pick up the data as fast as
> it
> arrives which causes the driver (and the hardware) to run out of receive
> buffers.
> 
> Is there any other way to interface vlc to a command line app that
> passes
> data from a USB link to VLC?
> 
> Thanks,
> Harshal
> 
> -- 
> This is the vlc mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://www.videolan.org/support/lists.html
> If you are in trouble, please contact <postmaster at videolan.org>
> 

-- 
"Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter http://www.gmx.net/info

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc mailing list