[gst-devel] HD Video on GStreamer

Jan Schmidt thaytan at noraisin.net
Tue Jun 10 08:58:08 CEST 2008


On Tue, 2008-06-10 at 11:47 +0530, Ramana Reddy Polaka wrote:
> Hi,
> 
> Even I can get the same info as Edward when I did " xvinfo | grep maximum "
> 
> What shall I do to play HD Video?

Like it said in the original mail, you need to insert a videoscale
element in front of the sink to downscale the video slightly before
feeding it to xvimagesink.

Regards,
Jan.

> 
> I tried using other video sinks like sdlvideosink, ximagesink and changing resolutions.
> 
> Nothing worked infact.
> 
> Regards,
> Ramana
> 
> -----Original Message-----
> From: gstreamer-devel-bounces at lists.sourceforge.net [mailto:gstreamer-devel-bounces at lists.sourceforge.net] On Behalf Of Edward Hervey
> Sent: Saturday, June 07, 2008 3:07 PM
> To: Sameer Naik
> Cc: gstreamer-devel at lists.sourceforge.net
> Subject: Re: [gst-devel] HD Video on GStreamer
> 
> Hi,
> 
>   You can confirm the maximum resolution your driver can use by using
> xvinfo. That maximum resolution has nothing to do with your display
> resolution (I get a maximum xv resolution of 1920x1088 whereas my laptop
> display is 1024x768).
> 
>   xvinfo | grep maximum
>     maximum XvImage size: 1920 x 1088
>     maximum XvImage size: 1920 x 1088
> 
> 
> On Thu, 2008-06-05 at 12:37 +0530, Sameer Naik wrote:
> > try the following pipeline
> >
> > *gst-launch filesrc location=hdtv.ts ! queue ! flutsdemux !
> > ffdec_mpeg2video ! ffmpegcolorspace ! queue ! xvimagesink
> >
> > *However i believe this is the problem with your linux display drivers,
> > where this driver is not allowing you to make display memory allocations
> > of the requested size(whatever hd resolution you are using).
> > try playing the same video using vlc player on linux. if vlc isn't able
> > to play your video, then thats it.
> > if thats the case then you will be able to play the video by plugging in
> > a videoscale element and resize the video to a known resolution. that'll
> > do it.
> >
> > regards
> > sameer
> >
> >
> > Ramana Reddy Polaka wrote:
> > >
> > > Hi,
> > >
> > >
> > >
> > > I wanted test HD video stream on GStreamer. Used the following command
> > > on Fedora7.
> > >
> > >
> > >
> > > *gst-launch filesrc location=hdtv.ts ! queue ! flutsdemux !
> > > ffdec_mpeg2video ! xvimagesink***
> > >
> > >
> > >
> > >
> > >
> > > Error log
> > >
> > > ------------
> > >
> > >
> > >
> > > Setting pipeline to PAUSED ...
> > >
> > > Pipeline is PREROLLING ...
> > >
> > > X Error of failed request:  BadAlloc (insufficient resources for
> > > operation)
> > >
> > > Major opcode of failed request:  140 (XVideo)
> > >
> > > Minor opcode of failed request:  19 ()
> > >
> > > Serial number of failed request:  54
> > >
> > > Current serial number in output stream:  55
> > >
> > >
> > >
> > >
> > >
> > > Did I make any mistake? Is it an error because of RAM size?  I use
> > > 512MB RAM. I can play the same video on Windows with VLC
> > >
> > >
> > >
> > > Regards
> > >
> > > Ramana//
> > >
> > > **************** CAUTION - Disclaimer *****************
> > > This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
> > > for the use of the addressee(s). If you are not the intended recipient, please
> > > notify the sender by e-mail and delete the original message. Further, you are not
> > > to copy, disclose, or distribute this e-mail or its contents to any other person and
> > > any such actions are unlawful. This e-mail may contain viruses. Infosys has taken
> > > every reasonable precaution to minimize this risk, but is not liable for any damage
> > > you may sustain as a result of any virus in this e-mail. You should carry out your
> > > own virus checks before opening the e-mail or attachment. Infosys reserves the
> > > right to monitor and review the content of all messages sent to or from this e-mail
> > > address. Messages sent to or from this e-mail address may be stored on the
> > > Infosys e-mail system.
> > > ***INFOSYS******** End of Disclaimer ********INFOSYS***
> > >
> > > ------------------------------------------------------------------------
> > >
> > > -------------------------------------------------------------------------
> > > Check out the new SourceForge.net Marketplace.
> > > It's the best place to buy or sell services for
> > > just about anything Open Source.
> > > http://sourceforge.net/services/buy/index.php
> > > ------------------------------------------------------------------------
> > >
> > > _______________________________________________
> > > gstreamer-devel mailing list
> > > gstreamer-devel at lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> > >
> >
> >
> > -------------------------------------------------------------------------
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services for
> > just about anything Open Source.
> > http://sourceforge.net/services/buy/index.php
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> 
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> 
-- 
Jan Schmidt <thaytan at noraisin.net>





More information about the gstreamer-devel mailing list