might accept different formats and even the same sink might accept
different formats on different machines, so you might need to add
converter elements like audioconvert and audioresample (for audio) or
-ffmpegcolorspace (for video) in front of the sink to make things work.
+videoconvert (for video) in front of the sink to make things work.
**Audio playback**
portions of an MPEG movie
**gst-launch-1.0 filesrc location=movie.mpg ! mpegdemux name=demuxer
-demuxer. ! queue ! mpeg2dec ! ffmpegcolorspace ! sdlvideosink demuxer. !
+demuxer. ! queue ! mpeg2dec ! videoconvert ! sdlvideosink demuxer. !
queue ! mad ! audioconvert ! audioresample ! osssink** Play an AVI movie
with an external text subtitle stream
This example also shows how to refer to specific pads by name if an
element (here: textoverlay) has multiple sink or source pads.
-**gst-launch-1.0 textoverlay name=overlay ! ffmpegcolorspace !
+**gst-launch-1.0 textoverlay name=overlay ! videoconvert !
videoscale ! autovideosink filesrc location=movie.avi ! decodebin2 !
-ffmpegcolorspace ! overlay.video\_sink filesrc location=movie.srt !
+videoconvert ! overlay.video\_sink filesrc location=movie.srt !
subparse ! overlay.text\_sink**
Play an AVI movie with an external text subtitle stream using playbin
**gst-launch-1.0 v4l2src !
video/x-raw-yuv,width=128,height=96,format='(fourcc)'UYVY !
-ffmpegcolorspace ! ffenc\_h263 ! video/x-h263 ! rtph263ppay pt=96 !
+videoconvert ! ffenc\_h263 ! video/x-h263 ! rtph263ppay pt=96 !
udpsink host=192.168.1.1 port=5000 sync=false** Use this command on the
receiver
**gst-launch-1.0 filesrc location=videofile ! decodebin name=decoder
decoder. ! queue ! audioconvert ! audioresample ! osssink decoder. !
-ffmpegcolorspace ! xvimagesink** Play any supported video format with
+videoconvert ! xvimagesink** Play any supported video format with
video and audio output. Threads are used automatically. To make this
even easier, you can use the playbin element:
| Category | Included plugins |
|--------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| `GSTREAMER_PLUGINS_CORE` | coreelements coreindexers adder app audioconvert audiorate audioresample audiotestsrc ffmpegcolorspace gdp gio pango typefindfunctions videorate videoscale videotestsrc volume autodetect videofilter |
+| `GSTREAMER_PLUGINS_CORE` | coreelements coreindexers adder app audioconvert audiorate audioresample audiotestsrc videoconvert gdp gio pango typefindfunctions videorate videoscale videotestsrc volume autodetect videofilter |
| `GSTREAMER_PLUGINS_PLAYBACK` | decodebin playbin |
| `GSTREAMER_PLUGINS_CODECS` | subparse ogg theora vorbis alaw annodex apetag audioparsers auparse avi flac flv flxdec icydemux id3demux isomp4 jpeg matroska mulaw multipart png speex taglib wavenc wavpack wavparse y4menc adpcmdec adpcmenc aiff cdxaparse dtmf dvbsuboverlay dvdspu fragmented hdvparse id3tag ivfparse jp2k kate mve mxf nsf nuvdemux opus pcapparse pnm schro siren subenc tta videoparsersbad vmnc vp8 y4mdec |
| `GSTREAMER_PLUGINS_VIS` | libvisual goom goom2k1 audiovisualizers |