Hi,
I try to write a plugin that adds http headers to streams. I found some code that seems to work with gstreamer0.8 and I try to modify this code to work with gstreamer0.10. Unfortunatelly it doesn't work and I don't understand why. The idea is to launch the pipeline as follow: gst-launch videotestsrc ! ffmpegcolorspace ! theoraenc ! oggmux ! httpheaders ! tcpserversink If I replace "tcpserversink" with "filesink", I can see http headers at the beginning of the output file but never with "tcpserversink". If someone could help me to understand why it doesn't work... Here is the source code: http://david.regade.free.fr/gstreamer/ Regards David REGADE ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi,
Why don't you use the gstneonhttpsrc ? You can find in : gst-plugins-bad / ext / neon Samuel David REGADE a écrit : > Hi, > > I try to write a plugin that adds http headers to streams. I found some code > that seems to work with gstreamer0.8 and I try to modify this code to work with > gstreamer0.10. Unfortunatelly it doesn't work and I don't understand why. The > idea is to launch the pipeline as follow: > > gst-launch videotestsrc ! ffmpegcolorspace ! theoraenc ! oggmux ! httpheaders ! > tcpserversink > > If I replace "tcpserversink" with "filesink", I can see http headers at the > beginning of the output file but never with "tcpserversink". > > If someone could help me to understand why it doesn't work... > > Here is the source code: > http://david.regade.free.fr/gstreamer/ > > Regards > David REGADE > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Because he needs an httpsink, not a src.
I'm still planning to do souphttpsink some time soon. Or an Apache plugin. Actually, a cgi-bin that starts gst-launch, passing the socket fd to fdsink would probably even work. bfn, Wouter On Wed, Apr 23, 2008 at 09:10:40PM +0200, Samuel wrote: > Why don't you use the gstneonhttpsrc ? > You can find in : gst-plugins-bad / ext / neon > David REGADE a écrit : > > I try to write a plugin that adds http headers to streams. I found some code > > that seems to work with gstreamer0.8 and I try to modify this code to work with > > gstreamer0.10. Unfortunatelly it doesn't work and I don't understand why. The > > idea is to launch the pipeline as follow: > > > > gst-launch videotestsrc ! ffmpegcolorspace ! theoraenc ! oggmux ! httpheaders ! > > tcpserversink > > Here is the source code: > > http://david.regade.free.fr/gstreamer/ ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
The idea with this plugin is to me able to play the stream with
something like: mplayer http://localhost:1234/ I started to learn how gdppay works to be able to do something similar for http. I hope it's the good way to do. Regards Wouter Cloetens a écrit : > Because he needs an httpsink, not a src. > > I'm still planning to do souphttpsink some time soon. Or an Apache > plugin. Actually, a cgi-bin that starts gst-launch, passing the socket > fd to fdsink would probably even work. > > bfn, Wouter > > On Wed, Apr 23, 2008 at 09:10:40PM +0200, Samuel wrote: >> Why don't you use the gstneonhttpsrc ? >> You can find in : gst-plugins-bad / ext / neon > >> David REGADE a écrit : >>> I try to write a plugin that adds http headers to streams. I found some code >>> that seems to work with gstreamer0.8 and I try to modify this code to work with >>> gstreamer0.10. Unfortunatelly it doesn't work and I don't understand why. The >>> idea is to launch the pipeline as follow: >>> >>> gst-launch videotestsrc ! ffmpegcolorspace ! theoraenc ! oggmux ! httpheaders ! >>> tcpserversink >>> Here is the source code: >>> http://david.regade.free.fr/gstreamer/ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |