libvlc_video_take_snapshot bug

This is a special forum aimed at testing and reporting regressions that happens on VLC 1.0.0.

This IS just about REGRESSIONS AND TESTING, no feature requests or bug reporting for OLD issues.
Beardless2
Cone that earned his stripes
Cone that earned his stripes
Posts: 125
Joined: 02 Feb 2007 09:53

libvlc_video_take_snapshot bug

Postby Beardless2 » 20 May 2009 17:57

the libvlc_video_take_snapshot function seems to igore the width/height passed to it and saves the image in its native form. i.e. if i pass 320x240 to the procedure, it is still saved as 720x576 image.

If this is to be fixed for the final release, please could we add a libvlc_video_get_snapshot function that returned the image as a pointer? At the moment the only way to do this is via the mediacontrol api and its quite messy.......since we are already saving the snapshots to disk i wouldn't have thought a funciton to return the image would be too much work?

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

Re: libvlc_video_take_snapshot bug

Postby Rémi Denis-Courmont » 20 May 2009 19:32

Patch is welcome. Note that you can use the vmem output if you want to grab the decoded video in memory.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Beardless2
Cone that earned his stripes
Cone that earned his stripes
Posts: 125
Joined: 02 Feb 2007 09:53

Re: libvlc_video_take_snapshot bug

Postby Beardless2 » 26 May 2009 11:10

fixed in RC2, thank you

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: libvlc_video_take_snapshot bug

Postby Jean-Baptiste Kempf » 26 May 2009 14:45

Great. Topic closed.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC 1.0.0 testing”

Who is online

Users browsing this forum: No registered users and 5 guests