PDA

View Full Version : Pulldown->Multiplex


mmgrover
25th September 2002, 14:21
Sorry if this is the wrong post :-(

I was just wondering if anybody would like to assist me in a
project I am working on? I am trying to combine pulldown &
multiplexing into one app.

I have extracted the multiplexing from bbMpeg into a seperate app
and it works very well(lots of options to add to inteface).

But I am not familiar with the mpeg file format and am trying to
figure out how to apply the pulldown code to this app.

In the future it would be nice to add audio compression to it(mp2).

mike

PS this would just be a open source type of project.

int 21h
25th September 2002, 15:16
toolame has a .dll from dspguru I believe, you could ask him for help with that for MP2

pulldown.exe is open source *I think*.

MattO
25th September 2002, 16:38
>> I have extracted the multiplexing from bbMpeg into a seperate app and it works very well (lots of options to add to inteface).

Can you post this seperate app here, with the source code, as I would be very interested in it?

thanks

MattO

mmgrover
25th September 2002, 17:01
MattO, I will change a couple of things and post it...

I used Borland C++ Builder 6


mike

mmgrover
25th September 2002, 17:36
Here is what I have so far...

Most of ther user input is not added yet.
Also, I Just started this yesterday, so it it not much yet...


mike

MattO
25th September 2002, 22:15
>> I used Borland C++ Builder 6

Mike

Could you post the EXE, please.

I can only compile Delphi 3 & Visual C 6 :(

thanks

MattO

mmgrover
25th September 2002, 23:05
I uploaded it to my home directory.
Remember, I just started this....

If I can figure out how to add forced 2:3 pulldown to it,
I will furthere develop it if anybody wants it.


I am currently studying the source code for pulldown.exe


mike


www.tctelco.net/~mmgrover/mplex.zip

mmgrover
26th September 2002, 19:38
I have uploaded the next version to:
www.tctelco.net/~mmgrover/mplex.zip

I has pulldown added to it.
it is still a 2 stage process within the app,
but I am working on combining the pulldown function and the
video access units scanning into one step.


mike


here is latest source:

DrKnowLittle
26th September 2002, 20:40
Would it be much work to add cutting to that to ?

being able to mplex and cut in one step would be a sweet timesaver.

mmgrover
26th September 2002, 20:44
do you mean file splitting?

If so, set file size option.

I use 795 for 700 meg cd's



mike

mmgrover
26th September 2002, 21:01
If you just want a section of the file, set start and end time....


mike

mmgrover
27th September 2002, 16:27
Here is the next version :-)

All Multiplexing options are added.

http://www.tctelco.net/~mmgrover/options.jpg


The pulldown code has been sped up :-)

Here is source:

mmgrover
27th September 2002, 19:49
A couple of bugs have been fixed, mainly Option saving and loading.


here are URL's


www.tctelco.net/~mmgrover/mplex.zip
www.tctelco.net/~mmgrover/mplex_src.zip


mike

DrKnowLittle
30th September 2002, 07:16
Nice work!

Would it be possible to add submux to ?
svcd and cvd subs that is.

MattO
30th September 2002, 14:06
Mike

Would you be able to add the ability to except command-line arguments to your mplex.exe, as this would be most useful?
Stream type, forced mux rate, input and output files, variable bitrate . . . etc ;)

regards

MattO

mmgrover
30th September 2002, 14:47
DrKnowLittle: I am new at this, what is submux?


MattO: Yes I can add command line options :-)
are these for batching? I am getting ready to add batch capabilities
to mplex...


mike


PS: Uploaded new ver to same location :-)

MattO
30th September 2002, 20:08
>> MattO: Yes I can add command line options :-)

excellent :)

>>are these for batching? I am getting ready to add batch capabilities to mplex...

yes, and batch file calling.

Mike - a couple of questions if I may ...

What do you convert to, ie. what is your main use for mplex? and what are you hoping to achieve with this tool?

I use it for XVCD (higher bitrate VCD), I know some people will laugh at this but I find the quality perfectly acceptable for playback on a standalone player not a computer; if I want really high quality I'll ultimately buy the movie.
With this in mind please find attached 'Unit1.zip' which has a few visual changes as well as personal hints for my own multiplexing. I apologise if you feel I am treading on your toes here but I wanted to share it ;)
I made these changes with Resource Hacker as I can't compile Borland C++ Builder 6 projects.

In your initial post you spoke of MP2 capabilities. Have you looked at the Toolame sources?

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/toolame/toolame/

as integrating this would be good as Toolame is the best MP2 encoder. But beware there is a known channel switching bug >>

http://forum.doom9.org/showthread.php?s=&threadid=33757

thanks

MattO

mmgrover
30th September 2002, 22:13
MattO, I applied your new form to mplex, Looks nice...

I currently use mplex to make SVCD's for my standalone player's.

I am writing mplex to eliminate some of the steps I perform
to achieve my endresult.

My first goal is to combime 2:3 pulldown with multiplexing
( I am working on adding code to the video unit access scanning
to perform the rff & tff flags at this time, it will cut
the current multiplexing time in almost half!)

Then I will add Audio compression to eliminate the need for
TMpeg and tooLAME. I will look at the tooLAME code in a few days,
I havn't messed with it in a while ( it was crashing off and on
so I made a couple of changes to it on my machine).




mike

DrKnowLittle
1st October 2002, 10:36
Let me clarify a little about svcd subs !

this is tool is able to mux svcd/cvd substo a mpeg stream.
http://www.doom9.org/Soft21/Subtitles/WinSubMux_0.2.0.2.ZIP

The orginal source for this is here
http://www.vcdimager.org/pub/vcdimager/contribs/svcd-subtitles.tar.gz

As you may have note Im into SVCD creation :)
A "dream tool" for me would be a muxer/cut that can handle svcd spec.

1. Mux 1 Video , 2 Audio and up to 4 Subs(SVCD type) into a SVCD compliant stream.

2. Cut to certain size/time

3. cmdline/batch oriented

4. and it should be done in one step ( no temp files )

Your work is a good way towards that.

Br,
DrKnowLittle

sh0dan
1st October 2002, 13:16
Not to be ********, but couldn't you find a more relevant section to discuss this?
Interesting project, but I don't see any avisynth relevance.

MattO
1st October 2002, 14:51
Mike et al

maybe we should move this discussion to the 'VCD/SVCD encoding & authoring' section?

MattO
6th October 2002, 20:59
MMGrover

Have you had a chance to add command line options to your MPLEX program, yet?

MattO

mmgrover
17th October 2002, 14:45
MatO, I got side tracked :-(

I can do that tonight if you want?

mike

MattO
17th October 2002, 18:58
that would be great ;)

mmgrover
21st October 2002, 15:46
MattO, I was working on Commandline options and was wondering if
you would rather have it in a dll where you provide error and
message callback functions and can call it from delphi or any
other kind of app?


mike

MattO
21st October 2002, 19:32
mmgrover,

whatever is easier.
an .EXE would be fine, although the extra functions you mention sound good, but I am only a coding novice, so I do not know if I would be able to utilize them.

I am trying to teach myself Delphi, slowly ;)

MattO

mmgrover
30th October 2002, 21:25
Version 0.9c has been uploaded to:

http://www.tctelco.net/~mmgrover/mplex.zip

source:
http://www.tctelco.net/~mmgrover/mplex_src.zip

it has a few commandline options :-)

wasn't sure how people wanted the anvanced options?
any ideas, let me know... Mike

here are what options there is:

// output file (optional)
-o

//input video (required)
-v

//input audio1 (required)
-a1

//input audio2 (optional)
-a2

//Log File (optional)
-l

//Exit when done? (optional) if used, no message boxes will pop up :-)
-exit


example:

mplex -o "c:\mike grover\mike.mpg" -v c:\mike.mpv -a1 d:\mike.mp2 -l c:\log.txt -exit

MattO
30th October 2002, 23:28
Mike,

It looks good ;)

A few other options I am hoping for are:
1) Program Stream Type
2) VBR
3) Forced Mux Rate value

thanks if you can

MattO

mmgrover
31st October 2002, 00:02
version 0.9d has been uploaded with the following options added:


//Program Stream Type
-ps

possible options:

mpeg-1
vcd
mpeg-2
svcd
dvd


//Variable Bit rate on/off
-vbr

possible options:

on
off


//forced mux rate
-mux

:numeric value



mike

MattO
31st October 2002, 10:15
mike

that was quick ;)

thanks, I will check it out.

MattO

MattO
31st October 2002, 11:33
mike,

Would it be possible to add:
Start Second
End Second
Max Size

thanks if you can.

MattO

mmgrover
31st October 2002, 15:33
Ok, more options added :-)

// Start Second
-start

number

// End Second
-end

number

// Max Size
-ms

number

MattO, if you get a chance, could you make a readme or doc file I can compile into a help for for commandline options etc etc?
At the bottom of unit1.cpp you can see the cl options.

mike

MattO
31st October 2002, 20:20
mike,

'readme.txt': something like this?

----------
Mplex 0.9d
Commandline options:

-o output file (optional), if omitted the default name will be used.
-v input video (required).
-a1 input audio1 (required).
-a2 input audio2 (optional).
-ps Program Stream Type (optional), possible options: mpeg-1, vcd, mpeg-2, svcd, dvd.
-vbr Variable Bit rate (optional), possible options: on, off. If omitted this option will be in its default state for the chosen Program Stream Type.
-mux forced mux rate (optional), followed by numeric value. If omitted this option will have the default value for the chosen Program Stream Type. Enter value of 0 for automatic calculation.
-l Log File (optional), followed by filename. Saves the contents of the Progress window.
-exit Exit when multiplexing has finished (optional).
-start Start Second (optional), followed by numeric value. If omitted multiplexing will start from the beginning of the streams.
-end End Second (optional), followed by numeric value. If omitted the streams will be multiplexed in their entirety.
-ms Max Size in MB (optional), followed by numeric value. If omitted the streams be multiplexed as one file, otherwise the output file will be split according to this value.

The following example will multiplex the given source files as a VBR VCD with a Mux Rate of 5555, multiplexing will start 20 seconds into the streams and end 3600 seconds into the streams, the output file will be split if its size exceeds 800MB, it will also output a log file and exit when finished:

mplex -o d:\movie.mpg -v d:\movie.m1v -a1 d:\movie.mp2 -ps vcd -vbr on -mux 5555 -start 20 -end 3600 -ms 800 -l d:\mplex.txt -exit
----------

For completeness, do you think you should include Video and Audio Startup delays as Commandline options?

Mike, I use Mplex to create XVCDs, VCDs with higher CBR video bitrate and 128KB audio, I use either CCE or TMPGenc to encode the video, even though I select CBR the resulting video is slightly VBR, so I have to have VBR on and I use the following calculation to get the Mux value:
(Video CBR bitrate + Audio bitrate) * 2.58
This works for my requirements, for other needs the equation may (will) need to be changed, so maybe my hints should be removed? Unless people find them to be correct .. doubt it ;)

MattO

BBWoof
3rd November 2002, 16:47
I noticed above MattO that you have a link for the source code to mplex. How are you releasing that. I ask because I'm working on a project to port multimedia tools to the .Net framework. I've already ported bbdmux 1.9 and pulldown.exe into a class library that can be used with any .Net programming language. I'm currently using C# since my C++ programming skills are very out of date. I would like to include multiplexing into the library though.

BBWoof

MattO
4th November 2002, 10:44
BBWoof,

The source is not mine. It originated from BBMPEG and developed into Mplex by mmgrover.

mike,

A forced mux rate of 0 will automatically calculate the forced mux rate value from the video and audio sources, it scans the video and uses the average bitrate as the basis for this figure.
Would it be possible to add:
If you enter, say, 1 as the forced mux rate, can you make Mplex calculate the forced mux rate value by using the 'maximum' bitrate from the video source as the basis for this figure? I ask this because my usual calculation hasn't been successful on my last couple of encodes (so it may be best to remove it from the form). And ultimately my calculation just tries to guess this figure.

thanks if you can

MattO

DrKnowLittle
4th November 2002, 12:26
this starting to be one very userful tool , nice work mmgrover
!

Have you checked anyting on adding svcd/vcd sub muxing capabilites ?

Regards
DrKnowLittle

MattO
4th November 2002, 16:08
mike,

Further to my request above:
From what I understand from reading the sources what I requested above pertains to the 'use_computed_bitrate = COMPBITRATE_NONE;' line in the SetVCDMplex section of 'DOMPLEX.CPP'. And from reading further it seems my request would need this line to actually be 'use_computed_bitrate = COMPBITRATE_MAX;' which is obviously out of VCD spec.
So ultimately would it be possible to add XVCD as an extra Stream Type? with the following defaults in 'DOMPLEX.CPP' and possibly have all options still available / enabled as this is a custom Stream Type. This Stream Type could also be used at the command prompt.

void SetXVCDMplex(void){
sectors_delay = 400;
video_delay_ms = 344;
audio_delay_ms = 344;
audio1_delay_ms = 344;
sector_size = VIDEOCD_SECTOR_SIZE;
packets_per_pack = 1;
init_audio_buffer_size = 4;
init_audio1_buffer_size = 4;
init_video_buffer_size = 46;
always_sys_header = FALSE;
use_computed_bitrate = COMPBITRATE_MAX;
mplex_type = MPEG_VCD;
mplex_pulldown_flag = PULLDOWN_NONE;
vcd_audio_pad = FALSE;
user_mux_rate = 0;
align_sequence_headers = 0;
put_private2 = 0;
frame_timestamps = TIMESTAMPS_ALL;
VBR_multiplex = !constant_bitrate;
write_pec = 1;
mux_SVCD_scan_offsets = 0;
max_file_size = 0;
mux_start_time = 0;
mux_stop_time = 0;
reset_clocks = 1;
write_end_codes = 1;
set_broken_link = 1;
}

What do you think?

MattO

mmgrover
4th November 2002, 16:10
@BBWoof, MattO

As this project Originated from open source, It is too :-)
We need to create a about box to give credit to the
author of BBMPEG and the author of pulldown.exe!

It's kind of funny, this lil app started out just to make
things simpler to mux :-)

I plan to add svcd/vcd sub muxing capabilites as soon as I
learn more about them. I am curently adding(studying) code
to combine pulldown/video scan all in one pass!


mike

BBWoof
5th November 2002, 04:48
After studying the source code to pulldown.exe and porting it to a c#.net class, I think it'll definitely be a project, and would save time in the overall process.

I noticed earlier that you were considering creating a dll out of this project. I'd be interested in using that.

The problem I have with command line utilities is getting progress information back to the main program. And I like to control how information is returned.

BBWoof

P.S. Nice work on the project so far.

BBWoof
1st December 2002, 03:51
Was it something I said?? :confused:

I hope you're continuing work on this!

BB

mmgrover
1st December 2002, 18:53
Don't worry, I havn't given up on project!
Just been busy with a couple of MySQL projects for work...



mike

mmgrover
11th December 2002, 03:22
I uploaded another version :-)

This version gives you the ability to set a file overlap (in seconds)
when using file splitting. It's not done in the most efficient way,
(making multiple passes in the outputstream() function),
but it better than doing it with the time method and having to
rescan the video and audio access units. I will make this option
better in the future, I'm back to adding 2:3 pulldown to the
"scan video access units functions".


mike

http://www.tctelco.net/~mmgrover/mplex.zip
http://www.tctelco.net/~mmgrover/mplex_src.zip

BBWoof
29th December 2002, 05:57
Thanks to you implementing the command line interface, I've been able to easily use mplex with a program I'm working on, and so far it works great.

BB

Antonio S.
30th December 2002, 00:07
@mmgrover:

Can this multiplexer be use with AC3 audio files?

Antonio S.

snakeman
7th January 2003, 00:14
looks like it works with ac3 files. I just rename the file to .mpa files then muliplexed, afterwards I rename it to a .vob file to test it in powerdvd.


Hope that helps!



snakeman

mmgrover
7th January 2003, 15:16
Yes it will mux ac3 files.
I can add it to the file open dialog if you want?

I didn't think many people were using mplex :-)

I don't use it much any more :-) I bought a Sony DRU500A DVD burner :-)

I mostly use IFOEdit.

mike

cbwarz
7th January 2003, 16:03
nice work :D

makko, can you make an update in the "readme.txt" that includes all command line functions added? please :)
The rescan "patch" will be very usefull :)

Thanks

cbwarz
7th January 2003, 16:41
@mmgrover

thanks for this greate util

>having to rescan the video and audio access units
how can i activate this? can't find a command line for this.

maybe i didn't understand well, i'm looking for this:
Have a movie that will be splitted in 3 cds for example.
But i want to explicity tell mplex all 3 start/end times

(Note: data is wrong, is just an example)
c:\>mplex ... -start 0 -end 5000 -ms 100
c:\>mplex ... -start 5000 -end 9500 -ms 100
c:\>mplex ... -start 9500 -end 10000 -ms 100

but without mplex doing the rescan on video and audio files

Thanks

DrKnowLittle
23rd January 2003, 08:45
Hey!

Would be to much work to incorporate vcdimager functions ?

It would be a great time and space saver to go strait to bin/cue.

vcdimager source can be found here. http://www.vcdimager.org/

Just a basic option to make svcd/vcd into bin/cue format.


Best Regards
DrKnowlittle.

FuPP
2nd March 2003, 16:04
I'm looking for a muxing tool that could handle vbr mp2, and would enable to specify the beginning and the end of the clip, and file max size (a la bbmpeg).

mplex doesn't seem to work with vbr audio. Does anyone know such a tool ?

Regards,
Fupp.

SILICON
24th November 2003, 19:50
I need two command line options.

Add SVCD scan offsets (on | off)
Aling sequence headers (on | off)

Can you add this options?

Thanks

SILICON
27th November 2003, 22:23
I see that the log file overwrite the existing one.

Is best append to existing one. Can you change its?

mmgrover
27th November 2003, 22:43
Wow, people still use this tool?

mike

SILICON
27th November 2003, 23:29
Of course I use it.

Is the best for multiplex VCD/SVCD and work in command-line very well.

Can you make this changes, please?

mmgrover
28th November 2003, 00:01
Sure, let me jump back into source code...


mike

vhelp
28th November 2003, 23:23
.
.
what is the latest version of this toy ??
I've D/L'ed many times from various link :o but never really knowing
for sure what the date stamp is.

-vhelp

mmgrover
29th November 2003, 02:08
I added 2 more commandline options:

-scan
scan SVCD offsets, either on or off

-align
align Sequence headers, either on or off



mike

ps it is version 1.0 at same download place
http://www.tctelco.net/~mmgrover/mplex.zip
http://www.tctelco.net/~mmgrover/mplex_src.zip

SILICON
1st December 2003, 22:04
Very mucch tanks for your wonderfull program. Is the bet for multiplexer on command-line

Thanks

cbwarz
5th December 2003, 16:06
@mmgrover

Hey!!! good to see the coder of this nice app is back :)

Can you add this features please please please, think a year ago i asked for them hehe

**********************************************************
>having to rescan the video and audio access units
how can i activate this? can't find a command line for this.

maybe i didn't understand well, i'm looking for this:
Have a movie that will be splitted in 3 cds for example.
But i want to explicity tell mplex all 3 start/end times

(Note: data is wrong, is just an example)
c:\>mplex ... -start 0 -end 5000 -ms 100
c:\>mplex ... -start 5000 -end 9500 -ms 100
c:\>mplex ... -start 9500 -end 10000 -ms 100

but without mplex doing the rescan on video and audio files

Thanks

diehardii
11th December 2003, 11:51
Hi,

I saw something about a dll version of this back there somewhere. Did this ever happen (or get into a state someone could take it over:D )?
Thanks.

~Steve

SILICON
2nd January 2004, 05:10
Originally posted by SILICON
I see that the log file overwrite the existing one.

Is best append to existing one. Can you change its?

I ask again for this change.

The log file overwrite the previous one. Is best that the log file append to the end of existing one, for don´t lost the previous information. ¿Is it hard to change?

mmgrover
4th January 2004, 05:41
I had forgot about that, sorry :-(

i'll fix it now


mike

SILICON
11th January 2004, 05:40
Originally posted by mmgrover
I had forgot about that, sorry :-(

i'll fix it now


Thanks. Please, call to the new version 1.1 (for don't confuse its)

Post the link of the fix version.

mmgrover
29th January 2004, 03:22
I added code so that if a log file already exists, I will append to it.


mike

Download from my webserver at:

exe -> http://www.rejig.org/downloads/mplex/mplex.zip
src -> http://www.rejig.org/downloads/mplex/mplex_src.zip

drob
22nd May 2004, 15:30
Mmgrover, I just discovered your muxing utility and I must say it is a little gem.

Few minor interface issues I came acrossl;

The "output mpeg file" wont allow you to type a new name directly in the field, you have to open the output dialog an type your name there.

The "input mpeg audio" dialog sees only mpa files, it does not see mp2/3 files.

The pulldown "Auto" setting can be misleading, people can perceive it to automatically detect the need to do 2:3 pulldown, which is doesn’t.

Lastly is would be a great idea to include in the zip file a reference guide to all the command line options.

Again thanks for this update/combination of bbMPG and pulldown.

Amnon82
29th August 2004, 13:59
I've tried your Mpeg Multiplexer and got always bufferunderflows...
I used my new version 0.4 of EasySVCD/DVD which uses Freeenc.

This is the Log of bbmpeg which works:

Video: none

Audio: none

Output MPEG information
Video: none

Audio: none

Multiplexing: video and two audio streams
program stream type: SVCD with pulldown auto-detection
video file: d:\cyvcd\cysvcd.m2v
audio 1 file: d:\cyvcd\deutsch.mp2
audio 2 file: d:\cyvcd\english.mp2
program file: temp.mpg


Multiplexing video and audio:

Scanning video stream for a sequence header and pulldown type ...
no pulldown detected ...

Scanning video stream for pictures ...
Found 148155 picture headers.
Video stream information
Stream length : 1244974313
Total time (seconds) : 5926
Sequence start : 10084
Sequence end : 1
No. Pictures : 148155
No. Groups : 10084
No. I Frames : 10084 avg. size 24758 bytes
No. P Frames : 39302 avg. size 10131 bytes
No. B Frames : 98769 avg. size 6047 bytes
No. D Frames : 0 avg. size 0 bytes
Horizontal size : 480
Vertical size : 576
Aspect ratio : 0.6735
Picture rate : 25.000 frames/sec
Bit rate : 300000 bytes/sec (2400000 bits/sec)
Computed avg rate : 211250 bytes/sec (1690000 bits/sec)
Computed max rate : 484800 bytes/sec (3878400 bits/sec)
Vbv buffer size : 229376 bytes
CSPF : 0

Scanning audio stream for access units information
Found 226863 audio frame headers.
MPEG audio stream information
Stream length : 165934080
Syncwords : 226863
Frames : 129636 size 731 bytes
Frames : 97227 size 732 bytes
Layer : 2
CRC checksums : yes
Bit rate : 28000 bytes/sec (224 kbit/sec)
Frequency : 44.1 kHz
Mode : 0 stereo
Mode extension : 0
Copyright bit : 1 copyright protected
Original/Copy : 1 original
Emphasis : 0 none

Scanning audio stream for access units information
Found 226863 audio frame headers.
MPEG audio stream information
Stream length : 165934080
Syncwords : 226863
Frames : 129636 size 731 bytes
Frames : 97227 size 732 bytes
Layer : 2
CRC checksums : yes
Bit rate : 28000 bytes/sec (224 kbit/sec)
Frequency : 44.1 kHz
Mode : 0 stereo
Mode extension : 0
Copyright bit : 1 copyright protected
Original/Copy : 1 original
Emphasis : 0 none

Multiplexing information
Video stream data rate : 484800 bytes/sec (3878400 bits/sec)
Audio stream 1 data rate : 28000 bytes/sec (224000 bits/sec)
Audio stream 2 data rate : 28000 bytes/sec (224000 bits/sec)
Overhead data rate : 8550 bytes/sec (68400 bits/sec)
Total data rate : 549350 bytes/sec (4394800 bits/sec)

Multiplexing file temp00.mpg
Finished multiplexing temp00.mpg
Calculating 5276 SVCD user data scan offsets for file temp00.mpg
Finished calculating SVCD scan offsets for file temp00.mpg

Multiplexing file temp01.mpg
Finished multiplexing temp01.mpg
Calculating 4808 SVCD user data scan offsets for file temp01.mpg
Finished calculating SVCD scan offsets for file temp01.mpg

I used the same settings in MPEG Multiplexer and got this:


Scanning video stream for a sequence header and pulldown type ...
no pulldown detected ...

Scanning video stream for pictures ...
Found 148155 picture headers.
Video stream information
Stream length : 1244974313
Total time (seconds) : 5926
Sequence start : 10084
Sequence end : 1
No. Pictures : 148155
No. Groups : 10084
No. I Frames : 10084 avg. size 24758 bytes
No. P Frames : 39302 avg. size 10131 bytes
No. B Frames : 98769 avg. size 6047 bytes
No. D Frames : 0 avg. size 0 bytes
Horizontal size : 480
Vertical size : 576
Aspect ratio : 0.6735
Picture rate : 25.000 frames/sec
Bit rate : 300000 bytes/sec (2400000 bits/sec)
Computed avg rate : 211250 bytes/sec (1690000 bits/sec)
Computed max rate : 484800 bytes/sec (3878400 bits/sec)
Vbv buffer size : 229376 bytes
CSPF : 0

Scanning audio stream for access units information
Found 226863 audio frame headers.
MPEG audio stream information
Stream length : 165934080
Syncwords : 226863
Frames : 129636 size 731 bytes
Frames : 97227 size 732 bytes
Layer : 2
CRC checksums : yes
Bit rate : 28000 bytes/sec (224 kbit/sec)
Frequency : 44.1 kHz
Mode : 0 stereo
Mode extension : 0
Copyright bit : 1 copyright protected
Original/Copy : 1 original
Emphasis : 0 none

Scanning audio stream for access units information
Found 226863 audio frame headers.
MPEG audio stream information
Stream length : 165934080
Syncwords : 226863
Frames : 129636 size 731 bytes
Frames : 97227 size 732 bytes
Layer : 2
CRC checksums : yes
Bit rate : 28000 bytes/sec (224 kbit/sec)
Frequency : 44.1 kHz
Mode : 0 stereo
Mode extension : 0
Copyright bit : 1 copyright protected
Original/Copy : 1 original
Emphasis : 0 none

Multiplexing information
Video stream data rate : 300000 bytes/sec (2400000 bits/sec)
Audio stream 1 data rate : 28000 bytes/sec (224000 bits/sec)
Audio stream 2 data rate : 28000 bytes/sec (224000 bits/sec)
Overhead data rate : 5650 bytes/sec (45200 bits/sec)
Total data rate : 361650 bytes/sec (2893200 bits/sec)

Multiplexing file d:\cyvcd\cysvcd00.mpg
video PTS (3380.00ms) underflow at pack 448 by 7.10ms
video PTS (3420.00ms) underflow at pack 456 by 18.71ms
... (I shorted it ...)
video DTS (1937340.00ms) underflow at pack 243551 by 34.19ms
video PTS (1937380.00ms) underflow at pack 243554 by 13.55ms
7155 video underflows (SCR >= PTS or DTS)

NOTE: The resulting file may not play back correctly.
Try reducing the video bitrate or increasing the video and
audio startup delays.
Finished multiplexing d:\cyvcd\cysvcd01.mpg
Calculating 4807 SVCD user data scan offsets for file d:\cyvcd\cysvcd01.mpg
Finished calculating SVCD scan offsets for file d:\cyvcd\cysvcd01.mpg
Scanning video stream for a sequence header and pulldown type ...
no pulldown detected ...

Scanning video stream for pictures ...
Found 148155 picture headers.
Video stream information
Stream length : 1244974313
Total time (seconds) : 5926
Sequence start : 10084
Sequence end : 1
No. Pictures : 148155
No. Groups : 10084
No. I Frames : 10084 avg. size 24758 bytes
No. P Frames : 39302 avg. size 10131 bytes
No. B Frames : 98769 avg. size 6047 bytes
No. D Frames : 0 avg. size 0 bytes
Horizontal size : 480
Vertical size : 576
Aspect ratio : 0.6735
Picture rate : 25.000 frames/sec
Bit rate : 300000 bytes/sec (2400000 bits/sec)
Computed avg rate : 211250 bytes/sec (1690000 bits/sec)
Computed max rate : 484800 bytes/sec (3878400 bits/sec)
Vbv buffer size : 229376 bytes
CSPF : 0

Scanning audio stream for access units information
Found 226863 audio frame headers.
MPEG audio stream information
Stream length : 165934080
Syncwords : 226863
Frames : 129636 size 731 bytes
Frames : 97227 size 732 bytes
Layer : 2
CRC checksums : yes
Bit rate : 28000 bytes/sec (224 kbit/sec)
Frequency : 44.1 kHz
Mode : 0 stereo
Mode extension : 0
Copyright bit : 1 copyright protected
Original/Copy : 1 original
Emphasis : 0 none

Scanning audio stream for access units information
Found 226863 audio frame headers.
MPEG audio stream information
Stream length : 165934080
Syncwords : 226863
Frames : 129636 size 731 bytes
Frames : 97227 size 732 bytes
Layer : 2
CRC checksums : yes
Bit rate : 28000 bytes/sec (224 kbit/sec)
Frequency : 44.1 kHz
Mode : 0 stereo
Mode extension : 0
Copyright bit : 1 copyright protected
Original/Copy : 1 original
Emphasis : 0 none

Multiplexing information
Video stream data rate : 300000 bytes/sec (2400000 bits/sec)
Audio stream 1 data rate : 28000 bytes/sec (224000 bits/sec)
Audio stream 2 data rate : 28000 bytes/sec (224000 bits/sec)
Overhead data rate : 5650 bytes/sec (45200 bits/sec)
Total data rate : 361650 bytes/sec (2893200 bits/sec)

Multiplexing file d:\cyvcd\cysvcd00.mpg
video PTS (3380.00ms) underflow at pack 448 by 7.10ms
video PTS (3420.00ms) underflow at pack 456 by 18.71ms
...(also here)
video DTS (1937340.00ms) underflow at pack 243551 by 34.19ms
video PTS (1937380.00ms) underflow at pack 243554 by 13.55ms
7155 video underflows (SCR >= PTS or DTS)

NOTE: The resulting file may not play back correctly.
Try reducing the video bitrate or increasing the video and
audio startup delays.
Finished multiplexing d:\cyvcd\cysvcd01.mpg
Calculating 4807 SVCD user data scan offsets for file d:\cyvcd\cysvcd01.mpg
Finished calculating SVCD scan offsets for file d:\cyvcd\cysvcd01.mpg


So I think avcodec.dll isn't "finished" yet ... :devil: