How to extract all frames from movie?

This forum is about all development around libVLC.
CoolVlc
New Cone
New Cone
Posts: 2
Joined: 04 Aug 2017 14:43

How to extract all frames from movie?

Postby CoolVlc » 04 Aug 2017 15:01

How to extract all frames (as PNG but preferable as BMP, in RAM) from movie without showing the video lan player window?
I am using Delphi (PasLibVLC).

I see an example using libvlc_media_player_next_frame and libvlc_video_take_snapshot. But it uses the video player window.

Some pseudo code will be great IF possible. If not, I need at least the basics (accessing video WITHOUT showing the player window).

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: How to extract all frames from movie?

Postby Rémi Denis-Courmont » 04 Aug 2017 18:01

You can dump frames with the video output callbacks but note that VLC is not frame-accurate.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

CoolVlc
New Cone
New Cone
Posts: 2
Joined: 04 Aug 2017 14:43

Re: How to extract all frames from movie?

Postby CoolVlc » 05 Aug 2017 11:15

Thanks Remi. What "not frame-accurate" means? Will it drop/skip frames?


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 34 guests