Log in

View Full Version : Video Streaming as input over ethernet in order to encode at realtime


sabeelmk
15th January 2009, 11:54
Hi all

I need to bring in uncompressed Video as input over ethernet peripheral on my board at realtime,

I want to encode Uncompressed video coming in through the ethernet peripheral into my board,but i dont know as to,how i can pump in,the uncompressed Video input data,through the ethernet peripheral into my board.

The ideal scenario is to connect a camera to my board over ethernet peripheral and encode video at real time.

Can anyone please provide me a software/example-code/(some other way) that can pump in uncompressed video data(as input) over the ethernet peripheral into my board.

thanks
sabeel

Guest
15th January 2009, 12:04
Uncompressed 720x480 @ 30 fps 24-bit RGB video:

data rate = 720 x 480 x 30 x 24 = 248,832,000 bits/sec

That's too high even for Fast Ethernet.

IP streaming, for example, is always done with compressed video.

sabeelmk
15th January 2009, 12:07
Hi neuron

But the ethernet has Bandwidth/support till 1Gbits/sec

The ethernet peripheral that i have on my board has Bandwidth/support till 1Gbits/sec

Streaming word is a little misleading,hence i will rephrase it as below

Can anyone please provide me a software/example-code/(some other way) with which,i can just PUMP in(or BRING IN as INPUT) the uncompressed video data(as input) over the ethernet peripheral into my board at realtime.

Please do help me out on the topic above

thanks
sabeel

Guest
15th January 2009, 12:11
What camera specifically are you talking about?

sabeelmk
15th January 2009, 12:26
Hi neuron,All

Unfortunately even i dont know which camera can actually give uncompressed video as output,such that i can connect the camera`s output to the ethernet peripheral on my board

I am still exploring on such camera

It will be really helpful,If anyone can tell me any such camera,or ways in which output of a camera can be connected to ethernet of my board,such that the output uncompressed video of the camera can be used for encoding in my board,(with the interface between camera and my board being,either,
(1)ethernet peripheral or
(2)some other way to interface camera output and a ethernet peripheral)

If we dont find such a camera or way to connect camera output to ethernet peripheral,i am planning to packetise Uncompressed Video as RTP packets on my PC over and then PUMP-IN/Send/ or Bring-in the Stored RTP packets over the ethernet to my board at real time.

hence,that is why,because i want to send the Stored RTP packets(containing raw-video) on my PC over ethernet to my board over ethernet peripheral,I am requesting for A SOFTWARE/example-code/or a way,by which i can Bring in(take-in) as input,the stored RTP packets on my PC to my board over ethernet peripheral

please help

thanks
sabeel

Guest
15th January 2009, 12:32
Why is it so important to use uncompressed video? It sounds like a really bad idea.

sabeelmk
15th January 2009, 12:43
Why is it so important to use uncompressed video? It sounds like a really bad idea.

Hi neuron2

I want to use Uncompressed video data because,i want to encode it on my board and output the compressed video bitstream

regards
sabeel

Guest
15th January 2009, 12:49
Is this some kind of school project or something for the real world?

Why not just input the component video?

It's such an unusual request that I doubt that anyone is going to be able to give you canned code for it. You'll likely have to develop it yourself.

sabeelmk
15th January 2009, 12:54
Hi neuron

it is a Project for real world.

The reason i am asking for uncompressed transfer of video over ethernet is because,my board doesnot have component video-in or other video input ports.
my board has ONLY ETHERNET PERIPHERAL,



Thanks
sabeel

Guest
15th January 2009, 13:17
Add a video interface to your board for your real world project. There are many digitizing chips to choose from for capturing the video to digital data.

A competent engineer would not be saying things like:

@all
Please HELP!

sabeelmk
15th January 2009, 13:38
Add a video interface to your board for your real world project. There are many digitizing chips to choose from for capturing the video to digital data.



neuron2

The issues with adding a video interface is are
1) i dont have any other interface on my board other than ethernet,which could be used for bringing in video data

2) the code that i am going to use for encoding understands the RTP packets.

3) when the ethernet can process 1Gbits/sec, i only need a software to pump-in Stored RTP packets on my PC into my board over the ethernet peripheral

I appreciate the help neuron2,but in short time,i need to bring in uncompressed video data over Ethernet,using some software/example-code.
hence the need

thanks
sabeel

Guest
15th January 2009, 13:45
You're asking us how to send RTP data over ethernet? That's off topic for this forum. Try here:

http://www.google.com/search?sourceid=navclient&ie=UTF-8&rls=GGLD,GGLD:2005-08,GGLD:en&q=sending+RTP+data+over+ethernet

sabeelmk
15th January 2009, 14:13
You're asking us how to send RTP data over ethernet? That's off topic for this forum. Try here:

http://www.google.com/search?sourceid=navclient&ie=UTF-8&rls=GGLD,GGLD:2005-08,GGLD:en&q=sending+RTP+data+over+ethernet

well thanks neuron2

i already tried looking for forums,dealing with video streaming or Good forums for ethernet purposes,unfortunately i couldnot find any good ACTIVE,fast-response natured forums

If u or anyone do have any information of such a forum,do let me know

I also had a feeling that experience that the doom9 forum has,some one would be having information on softwares which can transfer(pump-in as input) RTP packets(containing raw-video) over ethernet peripheral

do let me know

thanks
sabeel

Guest
15th January 2009, 14:30
Just out of curiosity, what is this real word project? Are you making a commercial product for video capture and encoding? Or what?

The PC you want to stream RTP from...what OS is it running?

MfA
15th January 2009, 17:55
The fact that English isn't your first language does not excuse you from asking questions poorly ... if you have to ask for help that means you are not in the position to judge what is relevant information or not. Your first post omitted so much information to be useless and still now you have not given enough information to really answer the question. RTP in and of itself does not define the video payload formats your board supports for instance ... I am quite sure your encoding board documentation has all the information necessary to ask the question right.

I'm going to assume your encoding board understands payloads encoded according to RFC 4175 ... googling for "RFC 4175" a and "RFC-4175 source-code" turns up the gstreamer plugin rtpvrawpay and the Ultragrid open source project ... so check out the code for those.

Please read this : http://www.catb.org/~esr/faqs/smart-questions.html

damc44
16th July 2009, 11:28
I'm just looking for the same information, successless.
I own a FPGA-evaluation board with ethernet interface on one side and a display on the other side, but without any video input connectors.
So the simplest way for me to bring video data on the display would be if the board could receive raw video data via ethernet, e.g. wrapped in a simple UDP frame so that I only need to cut off the UDP header to get the video data...

Has anyone has seen such a tool or software?


Thanks,

damc44

MfA
16th July 2009, 18:11
googling for "RFC 4175" a and "RFC-4175 source-code" turns up the gstreamer plugin rtpvrawpay and the Ultragrid open source project

Adapting either to use a simpler packet structure than full RTP would be relatively simple (compared to programming the FPGA).

BTW, max length for an UDP packet is a little less than 64 KB ... and it would arrive across multiple IP packets.

damc44
16th July 2009, 21:16
Thanks for the RFC 4175 hint.
It would be great if e.g. VLC would support such a protocol, then I wouldn't have to care about codecs ...

FPGA programming is very simple, if you do it since years ;-)