PDA

View Full Version : question about video preview window - posted as separate thread per neuron


jfcarbel
18th September 2003, 08:35
I just started getting interested in the DVD2AVI and Mpeg2Dec3 code and had some questions that may or may not be related to the fixes neuron is working on.

I wanted to create an interface like DVDShrink (http://www.mrbass.org/dvdshrink/) using the DVD2AVI and Mpeg2dec3 source. But one thing I like about DVDShrink (http://www.mrbass.org/dvdshrink/) is its smooth playback and great seeking. I noticed that when F5 previewing a VOB in DVD2AVI, that it plays a bit choppy. Neuron - Will your fixes to the mpeg2dec3.DLL resolve this so that it plays smoothly? Or is this the way it is supposed to play?

Here is the sourceforge project I wanted to start to help move this along. I am new to open source and am not sure how the DVD2AVI and mpeg2dec source could be integrated into this type of DVD Programming Toolkit I want to create. Could some experienced people offer me some suggestions in this thread. Thanks!
DVD Programming Toolkit (http://forum.doom9.org/showthread.php?s=&threadid=61302)

Also what C++ IDE can I use for the DVD2AVI, mpeg2dec3, vStrip? I really like Borland IDEs and was thinking of C++ Builder 6.0. Will this work? What is the DVD2AVI team using?

***********************

One more question for DVD2AVI developers and others. Is it possible to make the video window resizable, where as you resize it, the correct aspect ratio would be displayed? I know currently it does not display in the correct ratio, but can this easily be accomplished or is it very difficult?

Also is it possible like in DVDShrink (http://www.mrbass.org/dvdshrink/) where the window can actually be resized as its playing and display the correct aspect ratio on release? How does DVDShrink do this, is the only way to get this to work is to use newer Directshow functions in DX9 or DS filters?

I have seen many DVD video display windows in other apps and the DVDShrink (http://www.mrbass.org/dvdshrink/) is the most responsive and quickest repainting of video frames I have ever seen when doing any operations with it whether quick seeking via the slider or playing the video at normal speed. Anyone have any ideas how he does it or if this performance can be achieved using the DVD2AVI code base?

neuron2
18th September 2003, 15:14
Originally posted by jfcarbel
I noticed that when F5 previewing a VOB in DVD2AVI, that it plays a bit choppy. Neuron - Will your fixes to the mpeg2dec3.DLL resolve this so that it plays smoothly? Or is this the way it is supposed to play?Like VirtualDub, DVD2AVI is not designed to be a player application. Its timeline navigation and playing functionality could certainly be improved, but its main usage is to demux audio and make a D2V file to allow the video to be decoded and frameserved. Given that, the effort to improve those things is perhaps better spent elsewhere.

I am new to open source and am not sure how the DVD2AVI and mpeg2dec source could be integrated into this type of DVD Programming Toolkit I want to create. You're going to need the MPEG2 decoding and random access functionality, and the audio demuxing functionality, at a minimum.

Also what C++ IDE can I use for the DVD2AVI, mpeg2dec3, vStrip? I really like Borland IDEs and was thinking of C++ Builder 6.0. Will this work? What is the DVD2AVI team using? I don't know about vStrip, but the first two require Microsoft Visual C++. I'd be inclined to go with that, especially if you have multiple developers that are probably already comfortable with it. You'll have enough problems without creating more for yourself.

One more question for DVD2AVI developers and others. Is it possible to make the video window resizable, where as you resize it, the correct aspect ratio would be displayed? I know currently it does not display in the correct ratio, but can this easily be accomplished or is it very difficult?It's possible and not outrageously difficult. But as mentioned above, DVD2AVI is not really intended to be a fancy player application with all the bells and whistles thereof.

Also is it possible like in DVDShrink (http://www.mrbass.org/dvdshrink/) where the window can actually be resized as its playing and display the correct aspect ratio on release? How does DVDShrink do this, is the only way to get this to work is to use newer Directshow functions in DX9 or DS filters?All is possible. It seems to me that you should be focusing on your project requirements before worrying about implementation issues.