[vlc-devel] snapshot issues

Olivier Aubert olivier.aubert at liris.cnrs.fr
Tue Jul 8 11:43:30 CEST 2008


Hi

I am facing issues with snapshot capture in latest vlc trunk. I first
wanted to check that the Mediacontrol snapshot feature (get a snapshot
as a memory zone without writing a file) was working correctly, but it
fails with the following message :

In [6]:s=mc.snapshot(0)
[00000446] main video output debug: uses deprecated vlc_object_get(470)
[00000471] main encoder debug: looking for encoder module: 9 candidates
[00000471] avcodec encoder debug: libavcodec initialized (interface 3355136 )
[00000471] avcodec encoder warning: picture size invalid (4294967295x4294967295)
 (NULL at 0x8f1a600)
[00000471] avcodec encoder error: cannot open encoder
[00000471] main encoder debug: TIMER module_Need() : 19.056 ms - Total 19.056 ms / 1 intvls (Avg 19.056 ms)
[00000471] main encoder error: no suitable encoder module for fourcc `png '.
VLC probably does not support this image format.
[00000446] main video output error: Could not get snapshot

The involved codepath is in src/video_output/vout_intf.h:458. This code
worked before, I woudl say until the ffmpeg/avcodec rework.

I then tried to make a snapshot through the standard VLC path (menu
Video/Snapshot) and it did not work either (but did not produce any
error).

Does anyone have an idea of how to investigate this? Is the png encoder
still available?

Thanks
Olivier




More information about the vlc-devel mailing list