digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   New YMPEG Video codec (http://www.digitalfaq.com/archives/encode/6730-ympeg-video-codec.html)

yusuf 11-15-2003 11:29 PM

New YMPEG Video codec
 
I uploaded first release of YMPEG Video codec at

http://www.geocities.com/ymotiwala/ympeg.html

YMPEG Supports : MPEG-1, MPEG-2, VCD, SVCD

Special feature of YMPEG is that it can integrate itself with Windows and offers seamless encoding from your favorite applications. Thus
providing simplest way to encode without creating any intermediate
file or using frameserve.

As far as I know, currently YMPEG is only freeware MPEG codec to offer
this feature.

Special requirements: SSE Support

Sample instruction on using YMPEG with VirtualDub is give on website.

Regards,
Yusuf

kwag 11-16-2003 08:22 AM

Hi yusuf,

Thanks :!: :D
Is there another mirror :?:
The current link says "exceeded its allocated data transfer" :?

-kwag

yusuf 11-16-2003 08:35 AM

Another Mirror
 
You are right. Now I moved setup from geocities so bandwidth problem should resolve partially. You can try it again.

Another sites from where you can download YMPEG are

http://jove.prohosting.com/yusuf/ympeg.html
http://www.dvdrhelp.com/tools.php?tool=460

Regards,
Yusuf

kwag 11-16-2003 10:08 AM

Thanks yusuf.
This looks VERY VERY promising 8O
I just tested a small clip, encoded as MPEG-2, and it looks just great.
However, the bitrate peaks went up to ~17,000Kbps :D
I also tried VCD output, but the mpeg created has all kinds of "flickering".
I'll experiment some more with this :cool:

-kwag

Encoder Master 11-16-2003 10:29 AM

Can you capture in VBR with the codec or set GOP or Matrix?

kwag 11-16-2003 10:30 AM

Please ignore the "flickering" ( My stupidity 8O )
It was my source :oops:

-kwag

kwag 11-16-2003 10:31 AM

Quote:

Originally Posted by Encoder Master
Can you capture in VBR with the codec or set GOP or Matrix?

I already PM'ed yusuf about it :cool:

-kwag

Encoder Master 11-16-2003 10:32 AM

Very fast answer 8O .

When you can capture with all the setting. Isn't it good. :D

kwag 11-16-2003 10:36 AM

Quote:

Originally Posted by Encoder Master

When you can capture with all the setting. Isn't it good. :D

Yes :mrgreen:

-kwag

Dano 11-17-2003 12:03 PM

I cannot get Ympeg to install. It does not show up in Vdub and if I click in the settings dialog under video codecs I get a message that the driver is missing. Any help would be appreciated.

ak47 11-22-2003 09:10 AM

Yusuf, your project is moving pretty fast it looks promising, but I have a few favors to ask for you. One is can make a change log for you new releases also can you or someone else, help me with this error, It says "video Compression Error: The source image format is not acceptable". Does this mean that Ympeg can't decompress YUY12 format or is it something else. Lastly is there a way you can change the close GOP every frame.

Encoder Master 11-22-2003 09:34 AM

The Programm looks very well to convert AVI fast to mpeg. And you can also use Filters of VDUB. But you can't change the Matrix I think and there aren'T one-pass VBR. :cry:

kwag 11-23-2003 02:10 PM

@yusuf:

Code:

An out-of-bounds memory access (access violation) occurred in module 'ympg'...
...while passing start message to video compressor (VideoSequenceCompressor.cpp:253).

This happens after running several encodes, without exiting Vdub.
Seems there's a memory leak somewhere in the CODEC.

It happens with all versions, tested up to 0.61

-kwag

kwag 11-23-2003 02:11 PM

Quote:

Originally Posted by Encoder Master
and there aren'T one-pass VBR. :cry:

Of course there is one pass VBR :!:
Look at the MIN, AVG, MAX field :!:
They just don't work correctly, yet.

-kwag

Encoder Master 11-23-2003 02:28 PM

Has you testet it yet?
Or the whole codec. Is that good quality?

kwag 11-23-2003 02:42 PM

Quote:

Originally Posted by Encoder Master
Has you testet it yet?
Or the whole codec. Is that good quality?

Quality is excelent, and I dare to say that it's superior to TMPEG and CCE ( put together 8O )
But it bombs in the middle of encoding, almost every time. So it's very inconsistent.
When yusuf irons these bugs out, I don't think we'll need CQMatic any more, because if the CODEC follows the average, min and max parameters, we won't need prediction. CalcuMatic will be enough :cool:
The small clips I've been able to encode, surpass by far TMPEG's motion estimation. Both in MPEG-1 and MPEG-2.
We'll see when this is ready for prime time. I can't wait :mrgreen:

-kwag

Jellygoose 11-23-2003 03:08 PM

Quote:

Originally Posted by kwag
Quality is excelent, and I dare to say that it's superior to TMPEG and CCE ( put together 8O )
But it bombs in the middle of encoding, almost every time. So it's very inconsistent.
When yusuf irons these bugs out, I don't think we'll need CQMatic any more, because if the CODEC follows the average, min and max parameters, we won't need prediction. CalcuMatic will be enough :cool:
The small clips I've been able to encode, surpass by far TMPEG's motion estimation. Both in MPEG-1 and MPEG-2.
We'll see when this is ready for prime time. I can't wait :mrgreen:
-kwag

8O 8O

This Is Great News!! I can't wait till it gets stable! Keep up the great work yusuf!!

Abond 11-23-2003 03:21 PM

Well, I don' know. It is very good to have such a codec, of course, but I'm afraid kwag should close the very interesting forum "File size prediction and related stuff" :D . So, no more testing about file size prediction :cry: .

Jellygoose 11-23-2003 03:48 PM

Any chance to use AviSynth Scripts together with YMPEG? Or just VDub internal filters? :roll:

kwag 11-23-2003 04:39 PM

Quote:

Originally Posted by Jellygoose
Any chance to use AviSynth Scripts together with YMPEG? Or just VDub internal filters? :roll:

Of course :D
Just open your favorite .avs script with Vdub, and encode with YMPEG :!:

-kwag

nicksteel 11-24-2003 07:57 AM

Kwag,
 
Quote:

Originally Posted by kwag
Quote:

Originally Posted by Jellygoose
Any chance to use AviSynth Scripts together with YMPEG? Or just VDub internal filters? :roll:

Of course :D
Just open your favorite .avs script with Vdub, and encode with YMPEG :!:

-kwag

Testing YMPEG with 16:9 DVD to 720x480 KDVD using Optimal MA script. With TEMPGEnc, I use 16:9, Full screen (keep aspect ratio), fast motion.

:?: How do I maintain aspect ratio when using YMPEG and what settings should I use on YMPEG setup screen for DVD output?

:?: Also, what settings should I use for minimum, average and maximum?

kwag 11-24-2003 09:04 AM

Re: Kwag,
 
Quote:

Originally Posted by nicksteel

:?: How do I maintain aspect ratio when using YMPEG and what settings should I use on YMPEG setup screen for DVD output?

The same way you set aspect in your .avs script :!:
Use MovieStacker. YMPEG will maintain the proper aspect via AviSynth.
Quote:


:?: Also, what settings should I use for minimum, average and maximum?
I get constant core dumps when I change MIN, MAX, AVG. Apparently, these options are still very alpha.

And BTW:
*** YMPEG now has initial support built-in for KVCD *** :ole:

Let's give a big grand applause to to yusuf :D
http://www.motiwala.com/ympeg.htm

-kwag

nicksteel 11-24-2003 09:14 AM

Quote:

*** YMPEG now has initial support built-in for KVCD ***
:?: How do you access this? I've downloaded latest version.

kwag 11-24-2003 01:04 PM

Quote:

Originally Posted by nicksteel
Quote:

*** YMPEG now has initial support built-in for KVCD ***
:?: How do you access this? I've downloaded latest version.

Check the "KVCD" option box :!:

-kwag

Jellygoose 11-24-2003 03:44 PM

Well the Codec still seems to be corrupt...

I get the same error message you do kwag, after it encoded 10kb... :(

TooTall 11-24-2003 05:17 PM

I noticed that for VDub I had to use fast recompress along with disabling the input and output video, this way I don't get the error after the first few frames.

kwag 11-24-2003 08:05 PM

@yusuf,

I'm getting:
An out-of-bounds memory access (access violation) occurred in module 'ympg'. most of the times :cry:

I also get this some times:

Code:

An integer division by zero occurred in module 'ympg'...
...while compressing frame 3 from 01c20000 to 01241190 (VideoSequenceCompressor.cpp:392)...
...while running thread "Processing" (thread.cpp:120).

Hope this helps in debugging :!:

This is with version .65
But hey, it's Alpha version, so all bugs and glitches are allowed :mrgreen:

-kwag

Abond 11-25-2003 04:42 AM

Have somebody tried to use YMPEG as external codec in TMPG?
Or maybe VDubMod?

Abond 11-25-2003 10:00 AM

I have tried it. :D
The good thing is you can see the preview and TMPG counting the frames. As for the errors I have it here plenty. In fact this was only one error repeated many times:"Read error occurred at address 0191F456 of module 'ympg.dll' with 00000000"
Script
Avisource("C:\Video\Scripts\Test.avi", false)
GripCrop(X,Y)
Gripsize()
GripBorders()

Clip has 7026 frames
544x576 KVCD MPEG-1
Bitrate 300, 1000, 2300 Kbps
VBV 40, I interval 15, P - 3 (here I simply forgot to change it :oops: )
MQuant 8 Best Quality
The error occur at frame 5160.

Low quality, I:24, P:3
Again at frame 5160

480x576 Best Quality
Again at frame 5160

352x576 - at frame 6840, 352x288 - at frame 192

Change the bitrate 100, 1000, 2500
352x288 - no error! Clip was encoded.
352x576 - at frame 6840
480x576 - at frame 6000.
Hope it will help for further development.

Abond 11-26-2003 09:03 AM

Closely investigating the GOP structure I found in the break region defects in the gop similar to:
PBBPBBPBBPBBBBPBBPBBPP-BREAK

kwag 11-29-2003 12:59 PM

Just tested version 0.6.6:
"An out-of-bounds memory access (access violation) occurred in module "'ympgcdc'.
On every try :(

-kwag

Encoder Master 11-29-2003 01:08 PM

And again.

Can I change the quantizie Matrix and how is the codesc.

shibumi 11-29-2003 03:50 PM

How do I view the output file,I end up with a small avi that wont play in wmp,vlc,etc and a .vid file.What do I do with them to make them an m1v file?

Encoder Master 11-29-2003 04:07 PM

Quote:

.vid file
Rename this file to *.m1v or m2v. :wink:

Abond 11-30-2003 05:55 AM

I managed to encode whole movie with the YMPEG frameserving with TMPGEnc. The quality was not good, because the codec didn't keep the average bitrate. My settings were min 0, avg 1100, max 2500. VDubMod show that the average of the encoded file is 780 Kbps. After few more tests I found out that in fact the average bitrate depend solely of the setting MQuant - lower the value higher the average. It seems to me very similar to the quants in DivX encoding. The problem is that it is integer only.

kwag 11-30-2003 03:09 PM

Version 0.6.8 bug reports
 
An integer division by zero occurred in module 'ympg'...
...while compressing frame 3 from 063cc800 to 00c4e3f0 (VideoSequenceCompressor.cpp:392)...
...while running thread "Processing" (thread.cpp:120).

-kwag

cable_loco 11-30-2003 09:13 PM

Hi, I install YMPEG 0.6.8 alpha and shows in my video codecs control panel on windows but doesnt show on virtualdub ???, I tried several times but no luck ??

kwag 11-30-2003 10:16 PM

Quote:

Originally Posted by cable_loco
Hi, I install YMPEG 0.6.8 alpha and shows in my video codecs control panel on windows but doesnt show on virtualdub ???

Hi cable_loco,

You have to select "Full processing mode" in Vdub, and then you'll see the CODEC when you select "Compression..." in the Video menu option.

-kwag

KunGFu-L33t 12-05-2003 03:58 AM

Audio & Aspect ratio
 
im pretty confused here,

i hearing about YMpeg rite and it sounds promising but how can i keep the aspect ratio using an avi synth script but still using the audio thru YMPEG cuz i am using an avi i file and if i get rid of the nifty ",false" part at the end of my file path in the avi synth script then i get the good ol ACM failed to suggest a compatable PCM format error.
so how will i be able to keep the aspect ratio but still encoding the audio thru YMPEG?


I Figured i could get around the problem by doing the video and audio sepratly, but could i get YMPEG audio codec into Besweet or something?

(another quick edit) When i try to strip the audio from the avi to a wav like normally the compression option is greyed out, im following the instructions on the site, is that obselete now?? Should i do the normal file>Save Wav, thing and then in audio select the wav file i striped into virtual dub will that help?

kwag 12-09-2003 12:58 PM

@yusuf,

Hope you read this :!:
0.6.9 is looking much better :D
I think you hit the memory leaks right on the nail :!:
However, there's a problem with "B" frames.
The encodes look jumpy, with either 1 or 2 B frames.
If I encode IP structure only, everything is fine, but of course at a quality loss.
Keep it up, this is looking good :)

-kwag


All times are GMT -5. The time now is 04:09 PM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.