pngenc problem

Stefan Sauer ensonic at hora-obscura.de
Mon May 14 01:41:52 PDT 2012


On 05/14/2012 08:00 AM, Vikas Malhotra wrote:
> Hello everybody,
>
> I am trying to write a pipeline which generates thumbnails of video
> files using pngenc.
>
> My pipeline runs without any error but the output png image is of 0
> bytes size i.e. nothing was written onto it.
>
> Below given is my pipeline:
>
> filesrc location=video.avi ! decodebin ! ffmpegcolorspace ! pngenc !
> filesink location=video_thumb.png
>
this won't work. You are trying to produce one ng for every frame and
send them to the same file. Take a look at the snapshot feature in
playbin2/camerabin2.

Stefan

> Please help.
>
> -- 
>
> --------------------------------------
> Vikas
> Bachelor of Engineering
> Computer Science and Engineering
>
>
>
> _______________________________________________
> gstreamer-android mailing list
> gstreamer-android at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-android

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20120514/264abd8f/attachment.html>


More information about the gstreamer-android mailing list