Hi, i would like to know if it is possible to import online video files by ethernet port and encode them using Davinci. Thanks
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi, i would like to know if it is possible to import online video files by ethernet port and encode them using Davinci. Thanks
At a high level, I would say yes, this is possible.
Although you didn't indicate which device you are targeting, the concept would be similar regardless of using the DM355, DM6446, etc.
A little background first. The scenario which the examples in the DVSDK are targeting is to support a video stream coming from the local, on-board circuit through the Video Port Front End of the device. A scenario of using an NTSC camera input, digitizing it through a NTSC decoder device and sending the resultant video stream through the VPFE into memory of the DMxxx device. At that point, the Operating System, like Linux, would then grab the input frame and make the appropriate Codec Engine calls to send the input frame to the encoder running on the DSP in the case of the DM6446, or the HW accelerator in the case of the DM355.
One could envision getting a video stream over the Ethernet interface to get a input frame of video into memory. At that point, the process would be the same to call Codec Engine to encode the frame.
However, I'm not aware of any examples in the DVSDK that perform this functionality for you to leverage.
I'm using DM355.
I think that there are some kind of API to interact with the ethernet interface of Davinci. So i could use that interface to get a video stream.
If someone know anything about it, please let me know.Thanks
This is certainly possible and there are a vareity of ways to do this; you can implement anything from a simple program which use socket calls, to more robust solutions such as Real Time Streaming Protocol (RTSP) which are incorporated in some open source tools such as live555... then you need to consider if this will be a peer-to-peer, unicast, or multicast implementation... as you can see, the options are many. The important thing to keep in mind is that you your server and client must speak the same language (TCP/IP, HTTP, RTSP, RTP, ... are standardized APIs not particular to DM355); once you decide on which protocol to use, then you can start concentrating on what software solutions are available (or which you will need to write) to support that protocol on DM355.
Thanks for helping...
I´m actually trying the VLC (video lan client) to do video streaming over udp. But now i need to install vlc on Davinci board.Is this possible?how?i had already put the vlc directory on the Davinci shared file system on the host Linux but when i try to run vlc on Davinci, it doesn't work. Someone could help me?Thanks
I am not familiar enough with VLC to suggest if it is light enought to run on the ARM9 (found on our DaVinci devices); however, if there is an ARM9 Linux version out there, I imagine someone has done it. Also, have you tried rebuilding VLC for ARM9 using the MontaVista tool chain?
Can you provide a little more detail and what you are seeing when you say it does not work? Are you getting any errors?
Hi again..
i'm looking harder but i can´t find a way of install VLC on the DM355. So,i have to go another way.I need to collect video from a digital cam and streaming it over udp to a Pc with VLC. Could you help me with some code examples?specially how to send the video over the network.thanks