[gst-devel] Gstreamer 264 problem

Zixia Huang zixia.huang at gmail.com
Wed Aug 11 21:46:25 CEST 2010


     Hello, all,

I am confused with the 264 codec used in gstreamer. When I test the x264enc
and ffdec_h264 using the following command:

gst-launch camerasrc ! queue !
video/x-raw-yuv,format=\(fourcc\)I420,width=1280,height=480 ! x264enc !
queue ! ffdec_h264 ! ffmpegcolorspace ! sdlvideosink fullscreen=true

The performance is perfect.

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.

In addition, I try to play another 264 stream directly encoded using libx264
on gstreamer, ffdec_h264 seems does not understand the format.

So does any person know this issue? And can I solve the problem?

Thank you so much!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100811/0e9b5988/attachment.htm>


More information about the gstreamer-devel mailing list