I want to play a mp4 video in Gstreamer, but i got an error with the x264dec which is not found. I wrote this pipeline
gst-launch filesrc \
location=/media/thesis/Gstreamer/pub_Irma.mp4 \
! qtdemux name=demux demux. ! queue ! faad \
! audioconvert ! audioresample ! autoaudiosink demuxer. \
! queue ! x264dec ! ffmpegcolorspace ! autovideosink
After this step, my aim is to generate execution traces of a mp4 video decoding. I don't know where is the problem with x264dec.
This might be easier:
gst-launch-0.10 playbin2 uri=file:///path/to/foo.mp4
or
gst-launch-1.0 playbin uri=file:///path/to/foo.mp4
(You still need the required elements installed of course).