Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

Pages: (3) 1 [2] 3  ( Go to first unread post )
Mpeg-2 Upgrade For Virtualdub, developers, come and get it!
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
ChristianHJW
Posted: Jan 13 2003, 08:37 AM


Advanced Member


Group: Moderators
Posts: 1768
Member No.: 2
Joined: 7-July 02



QUOTE
>>ChristianHJW
Sorry, I must confess I do not read the mailing lists...


Dohh !! You're one of the most important developers of this project pulco !! If you dont want to subscribe to it, at least please use news://news.gmane.org , gmane.comp.video.vdubmod.devel and gmane.comp.video.vdubmod.general to browse it from time to time with your newsreader ... it will even allow to reply to it ( gmane.org is a full featured NNTP interface to access MLs with newsreaders ).

QUOTE
My opinion about MPEG2 in a different container is like fccHandler's. I can't see the point.


You guys are all to narrow minded and addicted to MPAA stuff biggrin.gif biggrin.gif ...

QUOTE
However, I coded it this way keeping in mind what was my (personal) first preoccupation : speed (more precisely : speed for DVD->DivX conversions). This implies that I'd want any replacement implementation to support 1) YV12 color space 2) a "pre-virtualdub" resizing (that avoids "full processing mode" and all the related color space conversions : MPEG2 frames, at least taken from vobs, often have a wrong aspect ratio)
Note that I say this without having tried fccHandler's version...


You have some valid points here pulco .. isnt it possible to merge some parts from each, like using DVD2AVIs resizing/AR correction, but AC3 handling from fcchandlers code ?


--------------------
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 ....
 
       Top
DeXT
Posted: Jan 13 2003, 04:43 PM


Unregistered









QUOTE
Note that I say this without having tried fccHandler's version...

I put it on my binaries page in case you want to give it a quick test...

http://es.geocities.com/dextstuff/

QUOTE
You have some valid points here pulco .. isnt it possible to merge some parts from each, like using DVD2AVIs resizing/AR correction, but AC3 handling from fcchandlers code ?

That's definitely a good idea.
 
  Top
fccHandler
Posted: Jan 13 2003, 05:15 PM


Administrator n00b


Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02



QUOTE (pulco-citron @ Jan 13 2003, 04:12 AM)
However, I coded it this way keeping in mind what was my (personal) first preoccupation : speed (more precisely : speed for DVD->DivX conversions). This implies that I'd want any replacement implementation to support 1) YV12 color space 2) a "pre-virtualdub" resizing (that avoids "full processing mode" and all the related color space conversions : MPEG2 frames, at least taken from vobs, often have a wrong aspect ratio)

I don't think it's a good idea to have the decoder adjust for odd aspect ratios, for a number of reasons. Such an adjustment will involve resizing the frames. Should we use bilinear or bicubic? Should we expand the width or squash the height? And what if the user wants to use a different frame size for his recompressed movie? Then you wind up doing two resizes per frame, which is grossly inefficient for someone whose "first preoccupation" is speed.

I say let the user decide whether and how any resizing should be done. The role of the decoder is simply that, to decode the data.

IIRC, the decoder will not return frames in YV12 color space, but it should be easy to add support for it.

--------------------
May the FOURCC be with you...
 
     Top
pulco-citron
Posted: Jan 14 2003, 07:50 AM


Unregistered









>> fccHandler

Did you try VirtualDubMod ?

If you don't want resize, don't use it. You only end up with two resizes if you request them.
if you don't want bicubic, choose bilinear instead, or sharp bicubic, etc...

The mpeg2 extended options dialog was made for this kind of details.
 
  Top
RMM
Posted: Jan 14 2003, 02:09 PM


Unregistered









Sorry for my bad English...
Is it possible to combine VirtualDub-MPEG2 (open MPEG2 video and MPEG2 audio, do not rename *.mpg in *.vob) with the VirtualDubMod ? It could be great programm!
 
  Top
Sarreq Teryx
Posted: Jan 14 2003, 05:05 PM


VirtualdubMod Alpha tester


Group: Vdubmod Alpha Testing Team
Posts: 175
Member No.: 41
Joined: 16-July 02



QUOTE (DeXT @ Jan 13 2003, 11:43 AM)
QUOTE
Note that I say this without having tried fccHandler's version...

I put it on my binaries page in case you want to give it a quick test...

http://es.geocities.com/dextstuff/

ohmy.gif OINGO!!! biggrin.gif
I can reencode my (better quality) AIW output now!!!!!

--------------------
And as I walk through the Valley of the Shadow of Death, Lord, thy balls and shaft, they comfort me, you annoint my head with oil, some salt, a dash of pepper, a sprigg of parsley......Lord?............Lord??? What dost thou intend to do with that fork???
 
    Top
fccHandler
Posted: Jan 14 2003, 07:00 PM


Administrator n00b


Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02



QUOTE (pulco-citron @ Jan 14 2003, 03:50 AM)
Did you try VirtualDubMod ?
tongue.gif Why would I use VirtualDubMod when I've had my own version with MPEG-2 support for years?

But yes, I did try it once. It was clumsy and confusing (why do I have to rename everything ".vob"?), kept resizing itself on my desktop (can't I turn this off?), and then one time it crashed so bad I had to hit the power switch. Thanks, but no thanks.

I might need VirtualDubMod if I get into ogg someday, but ATM I have no use for it.

--------------------
May the FOURCC be with you...
 
     Top
Sarreq Teryx
Posted: Jan 15 2003, 06:55 AM


VirtualdubMod Alpha tester


Group: Vdubmod Alpha Testing Team
Posts: 175
Member No.: 41
Joined: 16-July 02



QUOTE (pulco-citron @ Jan 14 2003, 02:50 AM)
Did you try VirtualDubMod ?

The mpeg2 extended options dialog was made for this kind of details.

But does it do MPEG2 audio or AC3? huh.gif

--------------------
And as I walk through the Valley of the Shadow of Death, Lord, thy balls and shaft, they comfort me, you annoint my head with oil, some salt, a dash of pepper, a sprigg of parsley......Lord?............Lord??? What dost thou intend to do with that fork???
 
    Top
konis
Posted: Jan 18 2003, 08:47 AM


Unregistered









QUOTE (fccHandler @ Jan 10 2003, 01:03 AM)
First, let me say that I am not trying to compete with jcsston or the VirtualDubMod developers. I've had this code for years and I've finally made a decision to release it into the wild, with the hope that perhaps those developers might benefit from it.

It's an internal upgrade of VirtualDub's MPEG decoder, and only the source code is being made available. DO NOT ask me for a compiled version. (Do it yourself.)

Anyway, you are free to use the code as you wish, modify it all you want, and make it your own. In turn, I absolve myself of any responsibility, and if it doesn't work for you, too bad.

Instructions:
Replace your existing VirtualDub 1.4.13 source files with these:

http://home.attbi.com/~blade66/Mpeg.cpp
http://home.attbi.com/~blade66/mpeg_decode.cpp

Rebuild VirtualDub, and you'll be able to open MPEG-2 content directly.

AC3 support is disabled in this version. If there is any interest, I can tell you what you need to do to enable it.

Thanks for that job, its great like Avery, many thanks...

but I need the AC3 support enabled, how can get and install? biggrin.gif
 
  Top
DeXT
Posted: Jan 18 2003, 10:38 AM


Unregistered









QUOTE
but I need the AC3 support enabled, how can get and install? biggrin.gif

You cannot "install" this. This needs to be compiled. The binaries on my page already have AC3 support enabled, for your testing pleasure. Just remember to copy the files to a valid VirtualDub instalation, because of the missing dlls.

http://es.geocities.com/dextstuff

DeXT
 
  Top
ChristianHJW
Posted: Jan 19 2003, 11:45 PM


Advanced Member


Group: Moderators
Posts: 1768
Member No.: 2
Joined: 7-July 02



I added a new link for the binaries on my fast webspace ... it has no download limit ( they never sent me a new contract .. lol ), you shouldnt have any probs

Binaries

Sources

--------------------
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 ....
 
       Top
KornX
  Posted: Jan 20 2003, 08:07 PM


Advanced Member


Group: Members
Posts: 41
Member No.: 2043
Joined: 18-January 03



I have noticed, that the first frames have blocks in them with the decoder of you, the vd mod decoder doesn't get them!!!
Somebody noticed the same???
KornX

--------------------
There are only 10 types of people;
Those who do and those who don't understand binary.
 
     Top
S_O
Posted: Jan 21 2003, 03:55 PM


Vdubmod Alpha Testing Team


Group: Vdubmod Alpha Testing Team
Posts: 102
Member No.: 57
Joined: 25-July 02



Yes, I found that bug, too. When you seek fast to the video forward, and then backward you get broken frames.
Another possible problem: also mpeg-2 audio is not vaild in mpeg-1-streams, it is in mpeg2-streams, and nekoamp most likely wonīt decode it (I couldnīt test it, because i didnīt found any good multiplexer for mpeg-2, ffmpeg cannot mux mpeg-2 at all, bbmpeg and tmpgenc doesnīt work with mpeg-2 audio).
Maybe in the mpeg2-version nekoamp should be replaced.
Also didnīt anyone change the source for the new a52lib yet?
Anyway great work fccHandler, thank you very much!

Edit: I forgot one bug: DTS-streams are reported as Dolby AC3. If you load an DTS-stream as audio, you get simply silence as audio and the info-box the info is just crap (162 kbps ac3?)

 
     Top
dan2304k
Posted: Jan 26 2003, 03:49 AM


Unregistered









This is great work guys, but I would like to be able to to a *real* direct stream copy on ac3 audio. I'm working with HDTV mpeg2 source, eventually making DVDs. Since I'm going to DVD, I don't want a two channel downmix, I really want to be able to get the original ac3 audio.

Of course, I could do this by demuxing the original mpeg, but I'm using Virtualdub to edit out commercials, and it would be incredibly nice to be able to cut both audio and video in one shot. -- My current work-around takes hours and is a real PITA. I only wish I could save as AVI with ac3, or use the "save as WAV" to extract a cut ac3 stream

I've taken a long look at source but I simply can't see what's going on well enough to add the necessary code myself. If anyone would be willing to make this modification, I would be sooo thankful. -- Perhaps it could be useful for others as well?
 
  Top
fccHandler
Posted: Jan 26 2003, 04:23 AM


Administrator n00b


Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02



QUOTE (dan2304k @ Jan 25 2003, 11:49 PM)
... I would like to be able to to a *real* direct stream copy on ac3 audio ... I don't want a two channel downmix, I really want to be able to get the original ac3 audio.

I don't know if VirtualDub can work with audio with more than 2 channels, and it seems like you would have to modify the ac3dec source also. But I agree it would be a nice feature.

I'll add it to my todo list, which is getting quite long. wacko.gif

--------------------
May the FOURCC be with you...
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
37 replies since Jan 10 2003, 07:03 AM Track this topic | Email this topic | Print this topic
Pages: (3) 1 [2] 3 
<< Back to VirtualDub Development Forum