[gst-devel] problem playing h.264 file
Michal Benes
michal.benes at itonis.tv
Mon Jul 2 10:55:35 CEST 2007
Hi Carlos,
> gst-launch videotestsrc ! x264enc byte-stream=true ! filesink
> location=test.264
to play this file, you need to put h264parse element before decoder
(this element is in plugins bad)
gst-launch filesrc location=test.264 ! h264parse ! ffdec_h264 !
xvimagesink
> and
>
> gst-launch videotestsrc ! x264enc byte-stream=true ! avimux ! filesink
> location=test.264
put avidemux before decoder.
gst-launch filesrc location=test.264 ! avidemux ! ffdec_h264 !
xvimagesink
However, the best way to test files is using decodebin or playbin.
gst-launch filesrc location=test.264 ! decodebin ! ffmpegcolorspace !
xvimagesink
Michal
More information about the gstreamer-devel
mailing list