Page 1 of 1

No snapshot in jpeg format

Posted: 29 Jan 2018 00:37
by calanor
snapshot fail if use a jpeg format:
[00007f28c402a500] main encoder error: no suitable encoder module for fourcc `jpeg'. VLC probably does not support this image format.
[00007f28b0006240] main video output error: Failed to convert image for snapshot
No problem with png format.

It's a problem of vlc compilation or ffmpeg compilation?
What is the missing package or missing configure option?

(VLC an ffmpeg compiled from latest git master-branch.)

Re: No snapshot in jpeg format

Posted: 29 Jan 2018 13:15
by chubinou
Do you have libjpeg development header installed? (check for jpeglib.h)
the "--enable-jpeg" option is enabled by default.

Re: No snapshot in jpeg format

Posted: 29 Jan 2018 13:18
by InTheWings
libjpeg also is provided as separate module. missing encoders.

Re: No snapshot in jpeg format

Posted: 29 Jan 2018 14:12
by calanor
Thanks chubinou and InTheWings.

I already put the option "--enable-jpeg" but without positive results, and libjpeg its correctly installed.

Finally I have reinstall all dependences and rebuild ffmpg and vlc and now it works fine.

I still do not know what was going on.