how to write a proper atmel plugin?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

how to write a proper atmel plugin?

Sedji Gaouaou
Hi,

I have written a mail few days ago about a display problem using gstreamer.

I still cannot play properly the video when doing:
gst-launch filesrc location= mnt/video/AVI/MPEG4/Seinfel
d_timestamp.avi ! avidemux name=demux demux.video_00 ! queue ! x170
output=RGB16 inbuf-thresh=0000 output_width=480 output_height=240 !
ximagesink display=:0.0


while it is ok when doing:

gst-launch filesrc location= mnt/video/AVI/MPEG4/Seinfel
d_timestamp.avi ! avidemux name=demux demux.video_00 ! queue ! x170
output=RGB16 inbuf-thresh=0000 output_width=480 output_height=240 !
fbdevsink


Anyway I have another question. My video decoder is also able to
crop/scale/rotate/convert colors, and I would like to know what is the
best way to use such capabilities within gstreamer?

Should I write only one plugin which will do everything or several
plugins like for instance one for the decoder, one for the post
processing(crop, rotation..) and one for the color conversion?


Regards,
Sedji


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: how to write a proper atmel plugin?

Stefan Sauer
Sedji Gaouaou wrote:

> Hi,
>
> I have written a mail few days ago about a display problem using gstreamer.
>
> I still cannot play properly the video when doing:
> gst-launch filesrc location= mnt/video/AVI/MPEG4/Seinfel
> d_timestamp.avi ! avidemux name=demux demux.video_00 ! queue ! x170
> output=RGB16 inbuf-thresh=0000 output_width=480 output_height=240 !
> ximagesink display=:0.0
>
>
> while it is ok when doing:
>
> gst-launch filesrc location= mnt/video/AVI/MPEG4/Seinfel
> d_timestamp.avi ! avidemux name=demux demux.video_00 ! queue ! x170
> output=RGB16 inbuf-thresh=0000 output_width=480 output_height=240 !
> fbdevsink
>  

you need to discuss this with the folks that provide you that x170 element.
>
> Anyway I have another question. My video decoder is also able to
> crop/scale/rotate/convert colors, and I would like to know what is the
> best way to use such capabilities within gstreamer?
>  

react to caps changes on your decoders src pad and announce the supprted
variation in you template caps for the src pad.
> Should I write only one plugin which will do everything or several
> plugins like for instance one for the decoder, one for the post
> processing(crop, rotation..) and one for the color conversion?
>  
It's nice to have it separated if you want to use it in several places.

Stefan

>
> Regards,
> Sedji
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>  


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel