<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello,<br>
<br>
I'm desperately trying to mix a live video source with images
generated in 'real-time' by an external java application.<br>
The command line looks like that:<br>
<br>
<i>gst-launch-0.10 \</i><i><br>
</i><i>filesrc location=[a linux fifo pipe] !
"image/jpeg,framerate=25/1" ! jpegparse ! jpegdec ! alpha
method=blue ! \</i><i><br>
</i><i>videomixer name=mix ! ffmpegcolorspace ! xvimagesink
sync=false \</i><i><br>
</i><i>v4l2src device=/dev/video0 !
video/x-raw-yuv,width=640,height=480 ! ffmpegcolorspace ! mix.</i><i><br>
</i><br>
With the 0.1 version, It works as expected.<br>
BTW, the 1.x version of that pipeline (with binaries from the PPA),
Gsteamer hangs most of the time but sometimes it's ok :-(<br>
<br>
However the issue is that the JPEG compression mess up the blue
background used for the alpha blending and the image to overlay. (I
don't want to use sink_X::alpha=XX properties of the videomixer to
get a clear overlay.)<br>
<br>
To my understanding, there is also no lossless JPEG decoder
available ...<br>
I tried to replace JPEG images by PNG images. The PNG format is
embedding the alpha channel so no issue this time. Unfortunately, I
was not able to find or use a PNG parser or frame marker ... <br>
multifilesrc is aslo not really an option as the sync between the
live source and the overlay will be nearly impossible to manage
properly ...<br>
I believe that a trivial payloader would do the job but I do not
know one.<br>
<br>
I'm running out of ideas to solve the initial problem ...<br>
<br>
Any new ideas and help are welcome!<br>
<br>
Thank you,<br>
Frederic<br>
<br>
</body>
</html>