Page 1 of 1

netreader for VLS

Posted: 04 Apr 2005 17:10
by Corto90
I announce that i will add the netreader module for VLS, ASAP.
I want to do pass a video stream from the network to a serial link. Then i need to read an UDP socket and write the MPEG2-T packet on the serial device.
I want to know if videolan team are interested by this module? or if i keep it for me?
To contatc me: mailto:marc-chalain@laposte.net

Posted: 04 Apr 2005 23:55
by dionoea
Any new feature is welcome. Feel free to post patches to vls-devel@videolan.org . (just so you know; developement of vls has been stopped more than a year ago. vlc now handles everything vls used to do)

Posted: 06 Apr 2005 15:05
by Guest
I know that vls are stopped but to use VLC for what i need, it's to use a bulldozer to break an egg.
I don't want to break MPEG2 frame, i just want to transfert the frames from an interface to another one. And if i need add some features it's easier to do it to a "simple" application than to a "gaz factory".

Posted: 15 Apr 2005 11:48
by Corto
OK, i completed my patch.
- 2 new plugins:
* netinput: only in IPv4
* netreader: support UDP and RTP stream.
- telnet bug fix:
* backspace delete the characters in the command line now (but not yet the display)
* up arrow display the previous command line.
* telnet is still far to be perfect, and need some corrections.
- [local, video]input display the good information now (very little bug ;) ).

If you want my patch, you can contact <a href="mailto:marc_chalain@laposte.net">me</a>

I have some remarksto do about VLS and VLC coding:
- VLS is better implemented than VLC, the variables are well named, architecture is more structured. I know that VLS is smaller than VLC, but it's for that you must be more rigorous in your development.
- You use too much member variables in some class.
- Some implementation are difficult to follow, example:

Code: Select all

if (!m_IsToto) { DoSomething(); } if (m_IsToto) { DoAnotherThing(); }
in this code is hard to understand that DoSomething can change m_IsToto, and my first idea was to cahnge this code by:

Code: Select all

if (!m_IsToto) { DoSomething(); } else { DoAnotherThing(); }
Now i work on a Es2ts module to create stream MP3 on UDP connection.