[gst-devel] Converting an image to videosource

nico nico at inattendu.org
Sat Dec 1 15:00:36 CET 2007


Stefan Kost a écrit :
> Hi,
> Quoting Anirudh Tara <anirudhtara at gmail.com>:
> 
>> Hi
>>
>> I am trying to convert a single jpg/image to a videostream. I need the
>> videostream to act like a live source ie. not send an EOS. I have tried
>> using 'jpegdec' but the image gives an EOS and causes the pipeline to stop
>> after 1 frame. Is there an already existing plug-in which shall enable me to
>> do this?
> 
>  From the gstJpegDec docs:
> Decodes jpeg images. If there is no framerate set on sink caps, it  
> sends EOS after the first picture.
> 
> Stefan
> 
>> What i am trying to do is to overlay a jpg/image on a video. I was thinking
>> of converting the jpg into a video stream and use 'videomix' to overlay it.
>> If there is a better way to do this or a plugin already please let me know.
>>
>> Thanks
>>
>> Anirudh
>>
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> 
> 
Hello I trying also to convert a single jpg/image to a videostream but i 
dont understand how to set a framerate on the sink cap of jpegdec , I try :
gst-launch filesrc location=dvCatpure.jpeg ! image/jpeg , 
framerate=\(fraction\)1/1 ! jpegdec  !videoscale ! ffmpegcolorspace ! 
autovideosink

But the streaming stops after one frame

Thanks
Nicolas.





More information about the gstreamer-devel mailing list