H264 Elementary playback

Tim-Philipp Müller t.i.m at zen.co.uk
Tue May 14 03:56:22 PDT 2013


On Tue, 2013-05-14 at 16:14 +0530, Deepak Jain wrote:
> I am using Gstreamer 1.0.6 and have bad plugins installed.
>  
> But i am not able to find h264parse element.

Well, I guess you need to figure out why you don't have it then :)

It should come with gst-plugins-bad as part of the
libgstvideoparsersbad.so plugin (gst/videoparsers).

Cheers
 -Tim

> 
> On Tue, May 14, 2013 at 3:56 PM, Tim-Philipp Müller <t.i.m at zen.co.uk>
> wrote:
>         On Tue, 2013-05-14 at 15:37 +0530, Deepak Jain wrote:
>         
>         Hi,
>         
>         > I am using GStreamer 1.0.
>         > I am having a AnnexB H.264 Elementary Stream (ES) File.
>         > I am playing the file with the below command using
>         gst-launch.
>         >
>         > # gst-launch-1.0 -v filesrc location=1.h264 ! queue !
>         > video/x-h264,width=1280,height=720,framerate=25/1 !
>         avdec_h264  !
>         > xvimagesink
>         
>         
>         You will need an h264parse element before the decoder.
>         
>         Cheers
>          -Tim
>         
>         >
>         > The problem is that the video plays but it keeps stuck on
>         the first
>         > frame and the player quits after some 5-6 secs. Also the
>         first frame
>         > is not clear, it is garbled one.
>         >
>         >
>         > This elementary stream has approx 160-170 frames and it
>         plays
>         > perfectly for approx 7-8 secs on windows VLC player.
>         >
>         >
>         > The same elementary stream also plays perfectly with ffplay,
>         although
>         > a bit faster may be due to faster frame rate.
>         >
>         >
>         > Now coming back to Gstreamer, what could be the problem
>         here. Is their
>         > any problem with the created pipeline?
>         >
>         >
>         > Or it can be any problem related to timestamps, since audio
>         is not
>         > present...and may be the video is looking for audio
>         timestamp...Just
>         > guessing:(
>         >
>         >
>         > Any help would be appreciated.
>         >
>         >
>         > Thanks,
>         > Deepak
>         >
>         
>         > _______________________________________________
>         > gstreamer-devel mailing list
>         > gstreamer-devel at lists.freedesktop.org
>         >
>         http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>         
>         
>         _______________________________________________
>         gstreamer-devel mailing list
>         gstreamer-devel at lists.freedesktop.org
>         http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> 
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




More information about the gstreamer-devel mailing list