|
|
| Moonie |
Posted: Aug 23 2002, 12:48 PM |
 |
|
Unregistered

|
Hi there, I've been wondering. I know that Avery wrote (somewhere) at his website that he won't be integrating support for MPEG-2 into VirtualDub. I was wondering if there exists a VirtualDub version that supports MPEG-2.
Cyndi |
 |
| BaronVlad |
| Posted: Aug 23 2002, 01:01 PM |
 |
|

Terrorhörnchen
  
Group: Moderators
Posts: 335
Member No.: 28
Joined: 12-July 02

|
nothere is not, but you can write an avs script or for example let GKnot do this for you, with this little trick you can load mpeg2 into VDub
-------------------- Hochachtungsvoll BaronVlad
 Deutsch >> Capture FAQ - Capture Guide Englisch >> Capture FAQ - Capture Guide |
 |
| Moonie |
Posted: Aug 23 2002, 01:19 PM |
 |
|
Unregistered

|
Thanks BaronVlad. My main aim is to save the Image Sequence frames of MPEG2. So, based on your knowledge of VirtualDub, do you think this is a feasible aim? By the way, could you provide some useful pointers regarding the script? Many thanks in advance for enlightening me.
Cyndi |
 |
| TKSoft2000 |
| Posted: Aug 23 2002, 01:54 PM |
 |
|
Unregistered

|
I have the Ligos MPEG2 Codec (www.logos.com LSX-MPEG Player). Normally it should be not problem for a windows program to open an MPEG2 File over this codec.
There are also freeware MPEG2 Codecs on www.vcdhelp.com
Regards TKS |
 |
| BaronVlad |
| Posted: Aug 23 2002, 02:55 PM |
 |
|

Terrorhörnchen
  
Group: Moderators
Posts: 335
Member No.: 28
Joined: 12-July 02

|
| QUOTE (Moonie @ Aug 23 2002, 07:19 AM) | My main aim is to save the Image Sequence frames of MPEG2. So, based on your knowledge of VirtualDub, do you think this is a feasible aim?
|
This should be no problem.
OK: one easy way to get such an avs script without writing it is getting GordianKnot, fire up DVD2avi, load the mpeg2 file(s) (you have to change to "show all files" in the open dialog) and save the d2v-file. After that resize, filtrers... like a normal DVD procedure in GKnot. Then dont dont choose "save and encode" but "save". You will save your avs-script. Then you start VDub and load this script. You can do whatever you like now, cutting, encoding, also save image sequence I think (havent tried yet). first cut everything that is not needed in your sequence and then: save image sequence, choose the folder you like to and go.
For more details of writing avs scrips you can go here: http://www.avisynth.org/
Please tell us about your results...
Edit: @TKSoft2000: I would be very very surprised, if that worked...cause no mpeg2 support in VDub because of licencing issues
-------------------- Hochachtungsvoll BaronVlad
 Deutsch >> Capture FAQ - Capture Guide Englisch >> Capture FAQ - Capture Guide |
 |
| Moonie |
| Posted: Aug 24 2002, 10:08 AM |
 |
|
Unregistered

|
Thanks for the pointers. I'll give it a try! I'll announce my results when I succeed. I think the main idea given is with respect to frame serving. Correct me if i'm wrong.
Cyndi |
 |
| Moonie |
| Posted: Aug 25 2002, 05:01 AM |
 |
|
Unregistered

|
have been playing around with GordianKnot. Tried to save a DVD2AVI file with a source file (standard mpeg2) downloaded from ftp://ftp.tek.com/tv/test/streams/Element/index.html
I attempted using Huffy when prompted if i want my AVI recompressed etc. When I try to use VirtualDub to open this newly created AVI file, I crash VirtualDub.
Cyndi where have i gone wrong? |
 |
| Moonie |
| Posted: Aug 25 2002, 05:11 AM |
 |
|
Unregistered

|
hhahaa ... maybe this will work. I found a thread that might just solve my problem. Thought this might be useful for anyone who'd be interested. http://forum.doom9.org/showthread.php?s=&t...&threadid=27228
and I thought this might interest anyone with a frameserver problem in VirtualDub 1.4.10. Here's what I found too:
Why doesn't the frameserver work? In VirtualDub 1.4.10, the frameserver is broken, fixable by putting msvcr70.dll in your system directory; here's what Avery Lee says:
quote: -------------------------------------------------------------------------------- Yes, the frameserver in 1.4.10 is linked with Visual C++ .NET, and yes, it doesn't include the MSVCR70.DLL file required to use it. No, I didn't intend to that. Yes, I am an idiot. No, I don't plan to include that file. Yes, you should use the 1.4.9 frameserver libraries instead. Yes, they will work with 1.4.10. --------------------------------------------------------------------------------
If you're using the framserver for the first time, make sure you have run AuxSetup.exe in the VirtualDub directory and clicked install AVI Handler
alright. That's all from me for today. Cyndi |
 |
| BaronVlad |
| Posted: Aug 25 2002, 08:29 AM |
 |
|

Terrorhörnchen
  
Group: Moderators
Posts: 335
Member No.: 28
Joined: 12-July 02

|
Hi Cyndi, thanks for your message, but I didnt get why you want frameserving, you dont need to, if you want to save image sequence in VDub, think your problem was, that in DVD2avi you saved the movie, but you have to save the project instead , Please look here for more details: http://www.doom9.org/mpg/dvd2avi.htm or read the short guide that is included with GKnot, it is quite good. After saving the project, just open it with GKnot and follow these steps (be sure to make high quality, at least 2 CDs): http://www.doom9.org/gknot-basics.htm#bitrate, Choose Divx5 instead of 4 (use the latest 0,26 update of GKnot, downloadable at doom9.org) and ignore the subtitle thing. then follow these steps: http://www.doom9.org/gknot-divx4.htm until you read this sentence: "The next option concerns subtitls and can be jumped if you have no subtitles." Ignore the rest of the page. Then press the "save" button (NOT "save and encode") and save your avs-script. Now you close GordianKnot and open VirtualDub, choose "File open - tralala.avs" cut everything that is not needed and choose "File - save image sequence" choose the folder you like and go for gold ! No need for frameserving here !
Or you can write your avs script on your own: something like this should be enough:
LoadPlugin("C:\Downloads\AVSGEN\bin\MPEG2DEC.dll") LoadPlugin("C:\Downloads\AVSGEN\bin\AVISynth_Spatial.dll") DirectShowSource("C:\universal.mpg")
Just copy and paste it into a new textfile, replace it with your data and save it with "tralala.avs" . the tralala is not so important but the .avs in the end. Now you can load your avs in VDub and do as described above, also no need to do frameserving.
Hope that helps a bit, come back if you didnt get everything (also if you got it for sure !)
-------------------- Hochachtungsvoll BaronVlad
 Deutsch >> Capture FAQ - Capture Guide Englisch >> Capture FAQ - Capture Guide |
 |
| TKSoft2000 |
| Posted: Aug 25 2002, 09:58 AM |
 |
|
Unregistered

|
@BaronVlad
| QUOTE | Edit: @TKSoft2000: I would be very very surprised, if that worked...cause no mpeg2 support in VDub because of licencing issues |
Yea! Because of this license Problem VirtualDub can't implement this feature! But it should be allowed to use an other MPEG2 decoder the user has already payed!!!
See TMPG plus!!!: http://www.pegasys-inc.com/e_hist2.html
Features of Version Version 2.57 (2.57.41.146) July 19 2002: http://www.pegasys-inc.com/e_download.html
| QUOTE | -New dedicated VFAPI Plug-in to read MPEG-2 files included. This operates decoder through DirectShow if one of the following MPEG-2 decoder is installed. <Clik here for more info> * CyberLink * Ligos * Sony
|
So the MPEG2 license should be a problem for Ligos, not for VirtualDub...
Regards TKS |
 |
| BaronVlad |
| Posted: Aug 25 2002, 01:30 PM |
 |
|

Terrorhörnchen
  
Group: Moderators
Posts: 335
Member No.: 28
Joined: 12-July 02

|
@TKSoft2000:
Now I (nearly) got what you meant, yeah should work, but I think it is nearly the same. If you write an avs script you also use the directshow filters. The thing is that you just have another mpeg2 decoder installed.
But i got another idea when reading your post: maybe Cyndi could open the source MPEG2 with TMPEG (video source) cut everything, that is not needed choose file -> output to file -> sequence BMP...
There is nothing with VDub now , but maybe it works ? (Dont know TMPEG that good)
-------------------- Hochachtungsvoll BaronVlad
 Deutsch >> Capture FAQ - Capture Guide Englisch >> Capture FAQ - Capture Guide |
 |
| ChristianHJW |
| Posted: Aug 25 2002, 05:06 PM |
 |
|
Advanced Member
  
Group: Moderators
Posts: 1768
Member No.: 2
Joined: 7-July 02

|
| QUOTE (BaronVlad @ Aug 25 2002, 03:30 PM) | | If you write an avs script you also use the directshow filters. The thing is that you just have another mpeg2 decoder installed. |
not correct !
AVISynth will use MPEG2DEC for MPEG2 decoding, a dll being based on DVD2AVI sourcecode, created by a nasty german ....
EDIT :
Of course, you could use existing MPEG2 Dshow filters with AVISynth also, but most scripts use mpeg2dec ....
-------------------- Visit the unofficial Virtualdub support forum on http://forums.virtualdub.org - help to reduce the big number of emails Avery Lee is getting every day !! Support matroska as container and Gstreamer as the only truely open, x-platform multimedia platform .... |
 |
| BaronVlad |
| Posted: Aug 25 2002, 06:16 PM |
 |
|

Terrorhörnchen
  
Group: Moderators
Posts: 335
Member No.: 28
Joined: 12-July 02

|
Think both is used, GKnot i.e. uses mpeg2source, but when i build a script (thats not quite often ), I also use directshow filters.
but that was not the point, I just wanted to say, that it is (IMO) not possible to load a mpeg2 file directly into VDub, doesnt matter which codec is installed, you always have to do this little trick (mpeg2source or direct show) to work with this file in VDub.
Maybe it was my crappy english that was responsible for the misunderstanding
-------------------- Hochachtungsvoll BaronVlad
 Deutsch >> Capture FAQ - Capture Guide Englisch >> Capture FAQ - Capture Guide |
 |
| Moonie |
| Posted: Aug 28 2002, 02:44 PM |
 |
|
Unregistered

|
Thanks BaronVald, Hooray ... for a split second. your instructions were very clear and straight to the point. Yes, the frame sequence can be saved, just incorrect at times.
Hmm... I am also wondering or rather pondering over the frame type after the processing you've taught me (i.e. GKnot). I note that VirtualDub identifies the frames as type K now. During the sorting of frames though, it dumped the bmp files as I frames into a folder i created. However, the mpeg 2 video could be a factor.
I'm going to try out a few more videos. Need to make more observations to smell the rat out. heehee
Cyndi |
 |
| BaronVlad |
| Posted: Aug 28 2002, 05:20 PM |
 |
|

Terrorhörnchen
  
Group: Moderators
Posts: 335
Member No.: 28
Joined: 12-July 02

|
Thanks for your Hooray (for a second)
Maybe it would help to encode the short scenes you need of your mpeg2 to a lossless codec (huffyuw is best) at first. (the same as used above, the only diffrence is, that you will have to choose video -> full processing mode and video -> compression -> huffyuv and file save as avi "palimpalim.avi" instead of save image sequence.
After this encoding: File open palimpalim.avi and save image sequence.
Please be sure to cut your video scenes first, cause huffyuv will create really large files
You will get huffyuv here: http://www.math.berkeley.edu/~benrg/huffyuv.html
If huffyuv doesnt give you good results, try to compress into Divx5.02 one pass quality based instead (same procedure as it is with huffyuv)
-------------------- Hochachtungsvoll BaronVlad
 Deutsch >> Capture FAQ - Capture Guide Englisch >> Capture FAQ - Capture Guide |
 |