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.
I don't think there's a x264dec
element (I only know of the x264enc
element). You might want to use ffdec_h264
like in this nabble post:
gst-launch-0.10 filesrc location=$1 ! h264parse ! ffdec_h264 ! ffmpegcolorspace ! deinterlace ! xvimagesink