Here is the simplest example of its use in gst-launch commands:
The sender:
- gst-launch-0.10 -ve videotestsrc ! ffenc_wmv2 ! asfmux name=m is-live=true ! rtpasfpay ! udpsink host=127.0.0.1 port=3333 audiotestsrc ! ffenc_wmav2 ! m.
- gst-launch-0.10 udpsrc port=3333 ! "put the caps here" ! rtpasfdepay ! decodebin2 name=d ! queue ! ffmpegcolorspace ! autovideosink d. ! queue ! audioconvert ! autoaudiosink
Remember to replace the caps after udpsrc with the caps of the srcpad of the rtpasfpay element in the first pipeline. If you have any problems using it, please report!
The asf plugin can be found here.
1 comment:
Just a simple question; how to get the caps when i use the GStreamer API ? I cuurently work on a client/server software (written in Java) and did not found any informations on the net about this issue.
Thx
Post a Comment