[gst-devel] Gstreamer 264 problem

Tim-Philipp Müller t.i.m at zen.co.uk
Wed Aug 11 21:57:45 CEST 2010


On Wed, 2010-08-11 at 12:46 -0700, Zixia Huang wrote:

> However when I try to save the encoded 264 stream into a file as: 
> 
> gst-launch camerasrc ! queue ! video/x-raw-yuv,format=\(fourcc
> \)I420,width=1280,height=480 ! x264enc ! filesink locaton=tmp.264 
> 
> And I try to play tmp.264 using ffplay, it seems that ffmpeg does not
> know the format the encoded 264 stream. 

If you are not embedding the h.264 stream into a container (which is
preferable), you need to use ... ! x264enc byte-stream=true ! ...

 Cheers
  -Tim






More information about the gstreamer-devel mailing list