[gst-devel] Gstreamer 264

Hu, Gang A gang.a.hu at intel.com
Tue Aug 24 15:50:34 CEST 2010


Add byte-stream=true to the x264enc.

Use gst-launch camerasrc ! queue !
video/x-raw-yuv,format=\(fourcc\)I420,width=1280,height=480 ! x264enc byte-stream=true !
filesink locaton=tmp.264
to recorder your images.
Use
gst-launch filesrc location=tmp.264  ! h264parse  ! ffdec_h264 ! ffmpegcolorspace ! ximagesink
to play the file.


-----Original Message-----
From: Praveen Pandey [mailto:Praveen.Pandey at aricent.com] 
Sent: Tuesday, August 24, 2010 7:50 PM
To: Discussion of the development of GStreamer
Subject: Re: [gst-devel] Gstreamer 264

You can use 'h264parse' plugin for parsing .264 file

gst-launch filesrc location= <.264 file> ! h264parse ! ffdec_h264 !  fakesink / or any real video renderer

BR,
Praveen
________________________________________
From: hsteven [zixia.huang at gmail.com]
Sent: Thursday, August 12, 2010 1:13 AM
To: gstreamer-devel at lists.sourceforge.net
Subject: [gst-devel] Gstreamer 264

Hello, 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!


--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-264-tp2321786p2321786.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users
worldwide. Take advantage of special opportunities to increase revenue and
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

"DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus."

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




More information about the gstreamer-devel mailing list