Combining video streaming over UDP with FEC-encoding?

This forum is about all development around libVLC.
andersbranderud
Blank Cone
Blank Cone
Posts: 10
Joined: 26 Mar 2012 20:54

Combining video streaming over UDP with FEC-encoding?

Postby andersbranderud » 26 Mar 2012 21:03

I would like to have some guidelines of how to combine video streaming over UDP with FEC-encoding? I would like to know what changes to be made - e.g. which data to take (in which classes, in which functions) and FEC-encode before sending it; and where to find the buffers with data to FEC-decode on the client-side before playing it. What more changes needs to be made?

Thanks in advance!

Anders Branderud
Anders Branderud
Master's student, Computer science
www.abitsolutions.org
www.proofexistencegod.com

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Combining video streaming over UDP with FEC-encoding?

Postby Rémi Denis-Courmont » 26 Mar 2012 21:39

It depends what protocol you implement or between which layers the FEC is inserted, I guess.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

andersbranderud
Blank Cone
Blank Cone
Posts: 10
Joined: 26 Mar 2012 20:54

Re: Combining video streaming over UDP with FEC-encoding?

Postby andersbranderud » 26 Mar 2012 22:31

I insert the FEC-code at the application-layer.
Anders Branderud
Master's student, Computer science
www.abitsolutions.org
www.proofexistencegod.com

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Combining video streaming over UDP with FEC-encoding?

Postby Rémi Denis-Courmont » 26 Mar 2012 22:37

I guessed that much. That does not really answer the question.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

andersbranderud
Blank Cone
Blank Cone
Posts: 10
Joined: 26 Mar 2012 20:54

Re: Combining video streaming over UDP with FEC-encoding?

Postby andersbranderud » 27 Mar 2012 12:41

The server streams the data. It shouldn't keep track of any state of what data the clients have received, nor receive any acknowledgments from the clients during the video streaming. It merely keeps track of what data it has sent.
I want to use a simple UDP-protocol.
Anders Branderud
Master's student, Computer science
www.abitsolutions.org
www.proofexistencegod.com

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Combining video streaming over UDP with FEC-encoding?

Postby Rémi Denis-Courmont » 27 Mar 2012 14:53

Then you need to write a new access (byte stream input) plugin.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

andersbranderud
Blank Cone
Blank Cone
Posts: 10
Joined: 26 Mar 2012 20:54

Re: Combining video streaming over UDP with FEC-encoding?

Postby andersbranderud » 27 Mar 2012 16:18

Thanks for your reply!

Could you estimate how long time it would take for a person with my knowledge level to get into the code of the VideoLAN-library and understand it deep enough; and then add the feature that I specified?

In order for you to be able to estimate: I have studied more than 5 years of Computer science and have programmed several hundred hours besides all programming in my education. I have a basic knowledge of networks. The FEC-code I would use is OpenFEC (openfec.org) - and I already got that working with FEC-encoding and decoding numbers - sent over UDP.
Anders Branderud
Master's student, Computer science
www.abitsolutions.org
www.proofexistencegod.com


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 23 guests