Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Programming and Hacking > Development

Reply
 
Thread Tools Display Modes
Old 22nd April 2002, 14:06   #1  |  Link
divxdede
Registered User
 
Join Date: Feb 2002
Posts: 45
Automatic ScreenShot for chapters

Hi !!
I know that similar tools exist but it's for challenge me and improve my knowledge in proggraming !!

So i want to make a little prog that allow to read an avi file and take screenshot of predefined frames.

How must start this project ? how can i make that ?
you avisynth is a solution ?
can you help me about this project ?

So at the end, my wish is that this prog is be able to take screenshot directly to vob also !! this way for rip chapters you don't need to encode vidéo but only rip the vob into hard drive !!

Thanks in advance for all help !!

PS: my prog will be certainly write in C++ (VC++ 5.0)


_______________________________________
Author of dEdE divX AutoLauncher v1.2.2
http://divxdede.fr.st
divxdede is offline   Reply With Quote
Old 22nd April 2002, 18:29   #2  |  Link
gabest
Registered User
 
gabest's Avatar
 
Join Date: Oct 2001
Posts: 1,459
Using IMediaDet it is pretty easy. Explorer uses it for thumbnail preview too.
gabest is offline   Reply With Quote
Old 22nd April 2002, 19:24   #3  |  Link
[Toff]
Registered User
 
Join Date: Oct 2001
Location: FRANCE
Posts: 320
Another way is to use VFW.
You can look at the source of MDVDP Menu Maker (File : Main.cpp, Methods : OpenAVI and ShowAVIFrame) available on my homepage.
__________________
Regards [Toff]
[Toff] is offline   Reply With Quote
Old 22nd April 2002, 20:13   #4  |  Link
divxdede
Registered User
 
Join Date: Feb 2002
Posts: 45
Ok i had see DirectShow programming solution, it's seem to be not difficult, i will see your slution VFW !!

so a way for read a vob ? it's more difficult because i think that DirectShow is not able to read it !

Thanks for your help .

____________________________________________
Author of dEdE divX AutoLauncher v1.2.2
divxdede is offline   Reply With Quote
Old 22nd April 2002, 22:53   #5  |  Link
[Toff]
Registered User
 
Join Date: Oct 2001
Location: FRANCE
Posts: 320
DirectShow read VOB with the right codec (if you have a DVD player installed or the free DVD Filters available from Doom9 download page).
For avi you must use Avisynth (which can use itself directshow or DVD2AVI) or DVD2AVI with VFAPI.
__________________
Regards [Toff]
[Toff] is offline   Reply With Quote
Old 23rd April 2002, 08:12   #6  |  Link
divxdede
Registered User
 
Join Date: Feb 2002
Posts: 45
Toff : Pourquoi ne pas utiliser DirectShow directement pour lire les frames de la vidéo ? Pourquoi passer par le serveur de frame AviSynth ? Bon faut que je continue de voir ca !! je vais regarder le code de ton appli également.

Merci.
divxdede is offline   Reply With Quote
Old 23rd April 2002, 19:27   #7  |  Link
[Toff]
Registered User
 
Join Date: Oct 2001
Location: FRANCE
Posts: 320
Don't forget this is an english forum ;-)

Quote:
divxdede:
Why not using DirectShow directly to capture frame ? Why using AviSynth ? I will look at your code also.
If you use DirectShow don't use AviSynth.
It's if you want to use vfw that you use it.
This is 2 different methods.
__________________
Regards [Toff]
[Toff] is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:35.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.