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 > Capturing and Editing Video > Avisynth Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 16th June 2003, 13:28   #221  |  Link
colin.findlay
Registered User
 
Join Date: Mar 2003
Posts: 4
Nic, you're an absolute star!
I'll buy you a pint if I ever meet you.

Thanks
C.
colin.findlay is offline   Reply With Quote
Old 16th June 2003, 13:54   #222  |  Link
Sigmatador
Guest
 
Posts: n/a
"Compile with MSVC .net 2K3 (I tested it over the weekend and it improved the speed" better than ICL 7.1 ?
  Reply With Quote
Old 16th June 2003, 14:08   #223  |  Link
Nic
Moderator
 
Join Date: Oct 2001
Location: England
Posts: 3,285
@sigmatador: Ive got both, but only one at home. Ill test ICL 7.1 on it too and see which is faster. And compile it with that. I was just so surprised MS had actually improved their compiler (Shame the interface really does suck hard most of the time)

-Nic
Nic is offline   Reply With Quote
Old 16th June 2003, 14:56   #224  |  Link
Cyberia
Moderator
 
Cyberia's Avatar
 
Join Date: Nov 2002
Location: Inside
Posts: 718
Nic, is mpeg-1 (video) decoding on the list, even if it won't be this release?
Cyberia is offline   Reply With Quote
Old 16th June 2003, 14:59   #225  |  Link
Nic
Moderator
 
Join Date: Oct 2001
Location: England
Posts: 3,285
@Cyberia: Probably not, it would probably be quicker and easier for me to re-write MPEGDecoder than it would be to implement MPEG-1
But maybe it will be easier than I think, ill have a look at it again
(Or maybe I could add libmpeg-2 into mpeg2dec3 just for MPEG-1 support But I think that might make it a little bloated)

-Nic
Nic is offline   Reply With Quote
Old 16th June 2003, 17:56   #226  |  Link
Cyberia
Moderator
 
Cyberia's Avatar
 
Join Date: Nov 2002
Location: Inside
Posts: 718
If I understand right, mpeg-1 is a subset of mpeg-2 so any mpeg-2 decoder can, in theory, decode mpeg-1 streams as well right?

I think you mentioned mpeg-1 being frame-based not field-based as mpeg2dec3 is expecting. Is that the problem? Are all mpeg-2 decoders field-based? (and if so, how do they handle mpeg-1?) Can't you just convert frame based to field based? I would think that could be done fast and losslessly.

EDIT:

DVD2AVI can open mpeg-1 files and that gives me another idea... Could you treat an mpg like a vob and create a d2v file for it? Or does that ultimately lead back to the same problem?

Last edited by Cyberia; 16th June 2003 at 18:13.
Cyberia is offline   Reply With Quote
Old 16th June 2003, 20:20   #227  |  Link
Nic
Moderator
 
Join Date: Oct 2001
Location: England
Posts: 3,285
"DVD2AVI can open mpeg-1 files???" Is that true? I don't really have any MPEG-1 files, but I didn't that was the case. Im sure Ive tried it and it didn't work. If it does work then it should be easy to make MPEG2Dec3 open MPEG-1 files.

-Nic
Nic is offline   Reply With Quote
Old 16th June 2003, 22:18   #228  |  Link
Leolo
Registered User
 
Join Date: Oct 2002
Posts: 58
Hi,

I've tried to open many MPEG-1 files with DVD2AVI 1.77.3 but it didn't work with any of them.

Nic:

Not long ago libmpeg2 added support for PVA files, would you mind enabling it in your MPEGDecoder plugin?

That would make a lot of DVB-s users very happy! And, also, could you enable PVA support in your upcoming MPEG2 directshow filter?

Thank you very much.
Kind regards.
Leolo is offline   Reply With Quote
Old 16th June 2003, 23:22   #229  |  Link
Nic
Moderator
 
Join Date: Oct 2001
Location: England
Posts: 3,285
Hi, I didnt think dvd2avi could open mpeg-1. There is PVA demux code in the libmpeg-2 cvs (not actually in libmpeg-2). I have never seen or played with a PVA file, but one day ill find the time to look into it

-Nic
Nic is offline   Reply With Quote
Old 17th June 2003, 02:43   #230  |  Link
Cyberia
Moderator
 
Cyberia's Avatar
 
Join Date: Nov 2002
Location: Inside
Posts: 718
Oopsie. You are all correct, DVD2AVI cannot open mpeg1 files. I'm sorry. This morning I was COMPLETELY CERTAIN that I had done this before. Apparently, I have not.

I have NO idea where I came up with that either. My bad.
Cyberia is offline   Reply With Quote
Old 17th June 2003, 09:55   #231  |  Link
Nic
Moderator
 
Join Date: Oct 2001
Location: England
Posts: 3,285
The Work Of The Devil ;)

http://nic.dnsalias.com/EvilMPASource.zip

As if this thread wasn't big enough, Id thought Id release something else. WarpEnterprise's great MPASource has now been made Evil by me, because now it supports MPEG input. For Example:
LoadPlugin("EvilMPASource.DLL")
LoadPlugin("MPEG2Dec3.DLL")
aud = EvilMPASource("D:\My_SVCD.MPG")
vid = MPEGSource("D:\My_SVCD.D2V")
AudioDub(vid,aud)

Might be of no use to anyone, but its useful to me. Im not going to support it. So thats it Version 1.0 (unless there's a huge obvious bug). I have a version that doesn't scan the file to begin with (i.e. use DirectShow to find the length of the file before hand...but that was too evil )

Cheers,
-Nic

ps
Oh yeah, just thought id add:
you can do EvilMPASource("1.mpg+2.mpg") To concatenate two vobs together. And for those who deal with Transport Streams with Layer 2 audio, just change in the sourcecode to read:
m_pMPEGReader = new CMPEGReader(true, nPIDNumber)
instead, where nPIDNumber is the PID you want to decode...

Last edited by Nic; 17th June 2003 at 10:02.
Nic is offline   Reply With Quote
Old 17th June 2003, 12:33   #232  |  Link
symonjfox
IUUULEEEENZ
 
symonjfox's Avatar
 
Join Date: Mar 2002
Location: Italy
Posts: 452
So great news
Thank you very much.
__________________
PC1:AMD Athlon II x4, 4GB DDR2, Ati Radeon 4830, 4 hard disks
symonjfox is offline   Reply With Quote
Old 17th June 2003, 15:11   #233  |  Link
WarpEnterprises
C64
 
WarpEnterprises's Avatar
 
Join Date: Apr 2002
Location: Austria
Posts: 830
Great work, after looking a little into it, it seems understandable to me, so I will try to take your version under support
WarpEnterprises is offline   Reply With Quote
Old 17th June 2003, 15:16   #234  |  Link
Nic
Moderator
 
Join Date: Oct 2001
Location: England
Posts: 3,285
Cool Ill write Marc FD and see if I can get AC3Source sourcecode off him. Not releasing it is against GPL, and the classes I added to MPASource make adding MPEG stream support very easy to any filter.

-Nic
Nic is offline   Reply With Quote
Old 17th June 2003, 15:32   #235  |  Link
WarpEnterprises
C64
 
WarpEnterprises's Avatar
 
Join Date: Apr 2002
Location: Austria
Posts: 830
2 more questions:
Where is the demux code from? (possible bugfixes,...)
What happens with a demuxed input?
WarpEnterprises is offline   Reply With Quote
Old 17th June 2003, 16:09   #236  |  Link
Nic
Moderator
 
Join Date: Oct 2001
Location: England
Posts: 3,285
The Demux code is a C++ & modified version of the libmpeg2 demux code.
Demuxed input will cause it too fail at present.

Dont worry, ill support it if anything weird goes wrong

Cheers,
-Nic
Nic is offline   Reply With Quote
Old 18th June 2003, 11:47   #237  |  Link
WarpEnterprises
C64
 
WarpEnterprises's Avatar
 
Join Date: Apr 2002
Location: Austria
Posts: 830
What happens to an mux audio delay? Is there a way to get it?
WarpEnterprises is offline   Reply With Quote
Old 20th June 2003, 17:30   #238  |  Link
Cyberia
Moderator
 
Cyberia's Avatar
 
Join Date: Nov 2002
Location: Inside
Posts: 718
Nic, I found a tiny doc mistake with MPEG2Dec3. The help file gives an example for the usage of the cpu2 parameter. The example is wrong (unless I am reading it wrong, but I don't think so).

CURRENT
example :
"oxoxox" <----this is wrong
123456
would enable chroma only PP


SUGGESTED
example:
"ooxxox" <---- fixed
123456
would enable chroma only PP


Also, the doc mentions that MarcFD was planning on removing Vlad's FastMC in the 'next' release (which would have been ~1.0) Was it removed? And do you intend to?
Cyberia is offline   Reply With Quote
Old 21st June 2003, 04:54   #239  |  Link
N_F
Do you find me... pretty?
 
N_F's Avatar
 
Join Date: Apr 2002
Location: Sweden
Posts: 760
As long as we're talking about small error in the document...

At one place (I don't have the doc in front of me) it mentions something like "these 5 idct's", while listing 7 (of course the additional *skal-thingy* and the *simple-thingy*).
N_F is offline   Reply With Quote
Old 29th June 2003, 21:34   #240  |  Link
Prettz
easily bamboozled user
 
Prettz's Avatar
 
Join Date: Sep 2002
Location: Atlanta
Posts: 373
I don't even know how useful this would be, but would it be possible to have 2 pairs of post-processing strength variables, one pair for luma and one pair for chroma (like moderate_lh/moderate_lv and moderate_ch/moderate_cv)? Or would marcFD have to be called up to make those kind of changes?
Prettz is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 23:39.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.