[packman] VLC Screen capture

David Haller dnh at opensuse.org
Sat Mar 2 09:12:31 CET 2013


Hello,

On Tue, 26 Feb 2013, Carl Fletcher wrote:
>When I do a screen capture of a playing or paused video
>The resulting file is broken
>
>Can anyone else test this?
>
>vlc-2.0.5-102.13.x86_64
>
>openSUSE 12.2 _64 KDE

Reproducable here, 12.1, WindowMaker, resulting file is just zeroes.

$ rpm -q --qf '%{name}-%{version}\t%{distribution}\n' -f \
    /usr/bin/{vlc,ffmpeg} /usr/lib64/libav*.so.* \
    /usr/lib64/libx264.so.1* | grep -v avahi | sort -u
ffmpeg-1.1      Essentials / openSUSE_12.1
libavc1394-0-0.5.4      openSUSE 12.1
libavcodec52-0.7.13     Essentials / openSUSE_12.1
libavcodec54-1.1        Essentials / openSUSE_12.1
libavdevice52-0.7.13    Essentials / openSUSE_12.1
libavdevice54-1.1       Essentials / openSUSE_12.1
libavfilter1-0.7.13     Essentials / openSUSE_12.1
libavfilter3-1.1        Essentials / openSUSE_12.1
libavformat52-0.7.13    Essentials / openSUSE_12.1
libavformat54-1.1       Essentials / openSUSE_12.1
libavresample1-1.1      Essentials / openSUSE_12.1
libavutil50-0.7.13      Essentials / openSUSE_12.1
libavutil51-1.0 Essentials / openSUSE_12.1
libavutil52-1.1 Essentials / openSUSE_12.1
libx264-115-0.115svn20110622    Essentials / openSUSE_11.4
libx264-116-0.116svn20110907    Essentials / openSUSE_11.4
libx264-128-0.128svn20120928    Essentials / openSUSE_12.1
vlc-noX-2.0.3   Essentials / openSUSE_12.1

(I need some of those old libs because of some older programs still
linked to them, haven't gotten around to recompile those). Speaking
of that[1] ....

In the meantime you could use mplayer / avidemux. In avidemux, just
scroll to the frame or mark the frames you want to save and choose
File -> Save -> Save JPEG (or Save Selection as JPEG images). With
mplayer: start mplayer with '-vf screenshot' and save a screenshot
with 's' (as per /etc/mplayer/input.conf, you can change that key to
e.g. the "Print" key in your ~/.mplayer/input.conf).)

HTH,
-dnh

[1] I have a self-built mplayer here, still linked to x264-115. The
    reason is that audio is not in sync when encoding with mencoder.
    I tried newer versions of mplayer from Packman (linked to newer
    x264/ffmpeg libs)

-- 
"This is a Hollywood film. When it comes to the Laws of Physics, they're
lucky if they get gravity."                 -- the wife of D. C. Staples




More information about the Packman mailing list