sending svg picture over tcp lost alpha channel

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

sending svg picture over tcp lost alpha channel

xxrici
This post was updated on .
Hi All,

I've to send svg picture over tcp but I don't know why this causes lost of alpha channel.

when I try
gst-launch -vvv filesrc location=./srcimage.svg ! rsvgdec ! alphacolor ! pngenc ! filesink location=./target-image.png
I get right formed png image; for this reason I was thinking about command lines like
gst-launch -vvv filesrc location=./srcimage.svg ! rsvgdec ! alphacolor ! imagefreeze ! theoraenc ! oggmux ! tcpserversink
and
gst-launch tcpclientsrc host=localhost ! oggdemux ! theoradec ! alphacolor ! pngenc ! filesink location=./target-image.png.

Thanks to all in advance for every advices.
Riccardo
Reply | Threaded
Open this post in threaded view
|

Re: sending svg picture over rtp lost alpha channel

Sudarshan Bisht

If you just want to send image to other end. I guess this would be sufficient.  

gst-launch  filesrc location=./media/image.svg ! rsvgdec ! alphacolor !  pngenc ! tcpserversink

gst-launch tcpclientsrc host=localhost !   filesink location=./target-image.png.



On Sat, Jul 30, 2011 at 6:07 PM, xxrici <[hidden email]> wrote:
Hi All,

I've to send svg picture over rtp but I don't know why this causes lost of
alpha channel.

when I try
gst-launch -vvv filesrc location=./srcimage.svg ! rsvgdec ! alphacolor !
pngenc ! filesink location=./target-image.png
I get right formed png image; for this reason I was thinking about command
lines like
gst-launch -vvv filesrc location=./media/image.svg ! rsvgdec ! alphacolor !
imagefreeze ! theoraenc ! oggmux ! tcpserversink
and
gst-launch tcpclientsrc host=localhost ! oggdemux ! theoradec ! alphacolor !
pngenc ! filesink location=./target-image.png.

Thanks to all in advance for every advices.

--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/sending-svg-picture-over-rtp-lost-alpha-channel-tp3706408p3706408.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



--
Regards,

Sudarshan Bisht

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: sending svg picture over rtp lost alpha channel

xxrici
Thank you so much, but, with your pipelines, server don't wait for one or more clients, and it ends; infact the output is:
Impostazione della pipeline a PAUSED ...
La pipeline è in PREROLLING ...
La pipeline è in PREROLLED ...
Impostazione della pipeline a PLAYING ...
New clock: GstSystemClock
Ottenuto EOS dall'elemento «pipeline0».
Execution ended after 40125480 ns.
Impostazione della pipeline a PAUSED ...
Impostazione della pipeline a READY ...
Impostazione della pipeline a NULL ...
Esecuzione di free sulla pipeline...
....0,4 sec....
I've to transmit alpha channel and the compression (not necessarily theora) is not important, but desiderable...
please help me :D
Riccardo
Reply | Threaded
Open this post in threaded view
|

Re: sending svg picture over rtp lost alpha channel

Sudarshan Bisht
Then use imagefreeze between alphacolor and pngenc. 


On Sun, Jul 31, 2011 at 3:28 PM, xxrici <[hidden email]> wrote:
Thank you so much, but, with your pipelines, server don't wait for one or
more clients, and it ends; infact the output is:
Impostazione della pipeline a PAUSED ...
La pipeline è in PREROLLING ...
La pipeline è in PREROLLED ...
Impostazione della pipeline a PLAYING ...
New clock: GstSystemClock
Ottenuto EOS dall'elemento «pipeline0».
Execution ended after 40125480 ns.
Impostazione della pipeline a PAUSED ...
Impostazione della pipeline a READY ...
Impostazione della pipeline a NULL ...
Esecuzione di free sulla pipeline...
....0,4 sec....
I've to transmit alpha channel and the compression (not necessarily theora)
is not important, but desiderable...
please help me :D

--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/sending-svg-picture-over-tcp-lost-alpha-channel-tp3706408p3707680.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



--
Regards,

Sudarshan Bisht

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: sending svg picture over rtp lost alpha channel

xxrici
I also was thinking about that but it doesn't work.... and I don't know why... :(


gst-launch  filesrc location=./image.svg ! rsvgdec ! alphacolor ! imagefreeze ! pngenc ! tcpserversink
Impostazione della pipeline a PAUSED ...
La pipeline è in PREROLLING ...
La pipeline è in PREROLLED ...
Impostazione della pipeline a PLAYING ...
New clock: GstSystemClock
Ottenuto EOS dall'elemento «pipeline0».
Execution ended after 40081200 ns.
Impostazione della pipeline a PAUSED ...
Impostazione della pipeline a READY ...
Impostazione della pipeline a NULL ...
Esecuzione di free sulla pipeline...

always 0,4 seconds.... ufff
Riccardo
Reply | Threaded
Open this post in threaded view
|

Re: sending svg picture over rtp lost alpha channel

xxrici
Nobody can help me??? :-(


View this message in context:
http://gstreamer-devel.966125.n4.nabble.com/sending-svg-picture-over-tcp-lost-alpha-channel-tp3706408p3708373.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Riccardo
Reply | Threaded
Open this post in threaded view
|

Re: sending svg picture over rtp lost alpha channel

Stefan Sauer
On 08/11/11 16:17, riccardo colamatteo wrote:
> Nobody can help me??? :-(
>
try to debug it or file a bug for it.

Stefan
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel