Rotate a video into a sequence of images using GStreamer (not ffmpeg)

I have an ogg vorbis video. He plays great in totem and mplayer. I want to hide it up to several images, one image per frame. I can do this on ffmpeg with the following command:

ffmpeg -i video.ogv -f image 2 video-frames-%08png 

However, this does not work for this video. Each frame is gray, as if there were problems with decoding. Since it works in a totem, I suspect gstreamer is better able to decode video than ffmpeg. Is there a gstreamer command that will take vgbg ogg video and then create a bunch of images, one for each frame?

I am using the Ubuntu Lucid desktop.

+6
ffmpeg video gstreamer
source share
1 answer

try multifilesink:

 gst-launch filesrc location=video.ogv ! decodebin ! pngenc ! multifilesink location=img%d.png 
+6
source share

All Articles