Re: Input video-data to v4l from userspace
- From: Jan Panteltje <pNaonStpealmtje@xxxxxxxxx>
- Date: Wed, 28 Mar 2007 12:43:13 GMT
On a sunny day (Wed, 28 Mar 2007 13:01:11 +0200) it happened Johannes Dohmen
<johannes.dohmen@xxxxxx> wrote in <eudhu3$ct7$03$1@xxxxxxxxxxxxxxxxx>:
Hi there,
HI
First of all I have to say that I'm new to this newsgroup and I hope it
is the right one for my question:
WHO KNOWS, COULD BE COULD BE NOT.
Is there a way to INPUT video-data to v4l from the user-space?
NO IDEA.
I'm writing a voip-program
COOL
(c++)
MY CONDOLATIONS.
which uses rtp for transport (with GNUs
ccrtp) and alsa for audio i/o
I need now to handle video-data as well. Capturing the data at the
sender does not seem the problem to me, but i'm searching for good
solution, what to do with the video data at the receiving end.
I DUNNO v4l, BUT FROM MY TECHNICAL PERSPECTIVE IT SUCKS LIKE THE VACUUM OF SPACE.
THIS IS *my* OPINION, OTHERS USE FOR EXAMPE DRUGS TOO.
I realy don't want to write a new video-player (there are so many so
good players around).
IT IS NOT REALLY _THAT_ HARD TO GET VIDEO TO A X WINDOW.
It occured a good idea to me, to somehow get the data in the v4l-layer,
that any v4l-able program (mplayer, xawtv, xine etc) could playback the
data... what do you think about this idea? Good/bad
SEE ABOVE.
(why?)?YES WTF SHOULD ONE.
Possible/impossible?
THERE IS A DIFFERENT WAY THAT YOU CAN DO THIS, USE mjpegtools YUV FORMAT.
mplayer ACCEPTS THIS, AS DOES ffmpeg, AS DO MANY OTHER VIDEO RELATED TOOLS AND FILTERS.
THIS HAS THE ADVANTAGE THAT YOU CAN, JUST IN THE TRADIONAL uNIX WAY, STREAM TO STDOUT AND
READ FROM STDIN, AND CAN CHAIN FILTERS / DECODERS / ENCODERS IN SERIES.
THE mjpegtools yuv FORMAT IS REALLY EASY, ALL IT DOES IS WRITE A HEADER, AND THEN WRITES A
YUYV FORMAT STREAM.
IF YOU WANT A SIMPLE SOURCE CODE EXAMPLE THAT USES THIS, LOOK UP MY MCAMIP SOURCE:
http://panteltje.com/panteltje/mcamip/
Regards from Germany
THANK YOU FOR READING THIS.
joe
J
.
- References:
- Input video-data to v4l from userspace
- From: Johannes Dohmen
- Input video-data to v4l from userspace
- Prev by Date: Input video-data to v4l from userspace
- Next by Date: Symbol Hiding
- Previous by thread: Input video-data to v4l from userspace
- Next by thread: Re: Input video-data to v4l from userspace
- Index(es):
Relevant Pages
|