gst-launch elements usage

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

gst-launch elements usage

2,650 Views
sharief
Contributor I
Hello
I dont know how to use this gst-inspect elements. When i do
"gst-inspect mfw_v4lsink" i get


[code]
fullscreen : If true it will be Full screen
flags: readable, writable
Boolean. Default: false Current: false
[/code]


But i dont know how to implement this fullscreen option. Please help me. i used as mfw_v4lsink fullscreen=true. still Its not working.playing in small window only.
0 Kudos
7 Replies

923 Views
fabio_estevam
NXP Employee
NXP Employee

When you do a gst-inspect mfw_v4lsink you will also see the width and height properties. You also need to set them to the correct dimensions that you want to play.

 

Regards,

 

Fabio Estevam

0 Kudos

923 Views
sharief
Contributor I

Ok Fabio Estevam, But i didnt understand.You are telling this?if yes please tell me how  to you. I am newbie                                                                                                                           Unsigned Integer64. Range: 0 - -1 Default: 0 Current: 0
fullscreen : If true it will be Full screen
flags: readable, writable
Boolean. Default: false Current: false
disp-width : gets the width of the image to be displayed
flags: readable, writable
Integer. Range: 0 - 2147483647 Default: 0 Current: 0
disp-height : gets the height of the image to be displayed
flags: readable, writable
Integer. Range: 0 - 2147483647 Default: 0 Current: 0
axis-top : gets the top co-ordinate of the origin of display
flags: readable, writable
Integer. Range: 0 - 2147483647 Default: 0 Current: 0
axis-left : gets the left co-ordinate of the origin of display
flags: readable, writable
Integer. Range: 0 - 2147483647 Default: 0 Current: 0
rotate : gets the angle at which display is to be rotated
flags: readable, writable
Integer. Range: 0 - 2147483647 Default: 0 Current: 0
crop-left-by-pixel : set the input image cropping in the left (width)
flags: readable, writable
Integer. Range: 0 - 2147483647 Default: 0 Current: 0
crop-right-by-pixel : set the input image cropping in the right (width)
flags: readable, writable
Integer. Range: 0 - 2147483647 Default: 0 Current: 0
crop-top-by-pixel : set the input image cropping in the top (height)
flags: readable, writable
Integer. Range: 0 - 2147483647 Default: 0 Current: 0

crop-bottom-by-pixel: set the input image cropping in the bottom (height)
flags: readable, writable
Integer. Range: 0 - 2147483647 Default: 0 Current: 0
fullscreen-width : gets the full screen width of the display
flags: readable, writable
Integer. Range: 0 - 2147483647 Default: 0 Current: 240

fullscreen-height : gets the full screen height of the display
flags: readable, writable
Integer. Range: 0 - 2147483647 Default: 0 Current: 320                                                                                                                                                                                                                                                              see when i use this width and height command,but its saying error                                                            root@freescale ~$ gst-launch filesrc location=/root/yuvraj.mp4 ! mfw_mp4demuxer 
! queue max-size-time=0 ! mfw_vpudecoder ! mfw_v4lsink fullscreen=true fullscree
n-width 400 fullscreen-height=800
MPEG4PARSER_05.14.00 build on Aug 6 2009 13:54:26.
MFW_GST_MP4_PARSER_PLUGIN V1.6.0-r1 build on Jan 6 2010 16:52:33.
MFW_GST_V4LSINK_PLUGIN V1.6.0-r1 build on Jan 6 2010 16:52:40.
WARNING: erroneous pipeline: no element "fullscreen-width"

root@freescale ~$                                                                                                                                              please help me

Message Edited by sharief on 2010-01-13 04:21 AM
0 Kudos

923 Views
fabio_estevam
NXP Employee
NXP Employee

There is a '=' missing in your pipeline. It should be fullscree
n-width=400

 

Regards,

 

Fabio Estevam

0 Kudos

923 Views
sharief
Contributor I
yes i am sorry. But when i give all the options correctly it is playing in different location in scrren according to the value. But it is in same size. The fullscreen is not working. "fullscreen-width and fullscreen-height" is changing the location in the monitor. not the size of the video. Please help me
0 Kudos

923 Views
fabio_estevam
NXP Employee
NXP Employee

Where are you displaying (LCD monitor via DVI port, WVGA display, VGA, etc)?

 

You pass in the kernel command line the video resolution that you are using.

 

Regards,

 

Fabio Estevam

0 Kudos

923 Views
sharief
Contributor I
yes i am using VGA for displaying. Its works fine after using disp-height and disp-width parameters. but now my another problem is the video is not played for second time its saying that "Allocation of frame buffers failed". i have to relogin to play the video second time. please help me
0 Kudos

923 Views
fabio_estevam
NXP Employee
NXP Employee

What is your kernel command line?

 

What is the command line you use to launch the video?

 

Regards,

 

Fabio Estevam

0 Kudos