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 > (HD) DVD, Blu-ray & (S)VCD > (HD) DVD & Blu-ray authoring

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 17th December 2004, 18:36   #81  |  Link
Sir Didymus
Registered User
 
Join Date: Mar 2004
Location: Italy
Posts: 946
Hi mpucoder!

Thanks for the feedback -- I'll try to use it for future releases of StdBufLog... That's clearily depending on the very limited availability of NTSC material to myself, so what you say is not surprising me at all...

Anyway it was my fault to mix up the roles: you're the programmer, me the beta tester...

I mean, the bugs of StdBudLog aren't changing what I reported about Muxman: please just consider I double checked any thing with the Philips Verifier before posting...

Just sorry StdBufLog is not useful for NTSC contents... Future tests will be carried out (if you feel some contribution on compliancy checks is still useful for improving your application) based on the professional profiler alone...

Also -- tell me without any problem if you feel this type of support from my side is, let me say, a little bit out of track or too early respect your development road map... I don't want to make any trouble to your work, which is really awesome !!!

Cheers,
SD
Sir Didymus is offline  
Old 17th December 2004, 19:26   #82  |  Link
bourtzovlakas
dvd.stuff.gr moderator
 
bourtzovlakas's Avatar
 
Join Date: Apr 2004
Location: Greece
Posts: 312
Opened audio 1 file C:\Documents and Settings\MANOS34\Επιφάνεια εργασίας\Demuxed DVD\VTS_01_0.80.ac3.
AC3 audio, frame size = 0x600.
Opened audio 2 file C:\Documents and Settings\MANOS34\Επιφάνεια εργασίας\Demuxed DVD\VTS_01_0.81.ac3.
AC3 audio, frame size = 0x600.
Opened sub 1 file C:\Documents and Settings\MANOS34\Επιφάνεια εργασίας\Demuxed DVD\VTS_01_0.20.sup.
Opened sub 2 file C:\Documents and Settings\MANOS34\Επιφάνεια εργασίας\Demuxed DVD\HARRY POTTER 3.sup.
Opened video file C:\Documents and Settings\MANOS34\Επιφάνεια εργασίας\Demuxed DVD\VTS_01_0.m2v, 3596035983 bytes.
15:00:34 Begin multiplex.
SubPicture stream 0 backwards move in time.
P-STD buffer underflow by 6062 bytes at 391788092, sector 1127270.
P-STD buffer underflow by 6787 bytes at 391791692, sector 1127294.
P-STD buffer underflow by 11134 bytes at 391795292, sector 1127319.
P-STD buffer underflow by 6835 bytes at 391798892, sector 1127344.
P-STD buffer underflow by 6421 bytes at 391802492, sector 1127368.
P-STD buffer underflow by 5831 bytes at 391813292, sector 1127790.
P-STD buffer underflow by 952 bytes at 391842092, sector 1127825.
P-STD buffer underflow by 4777 bytes at 391845692, sector 1127826.
P-STD buffer underflow by 10940 bytes at 391849292, sector 1127827.
P-STD buffer underflow by 6406 bytes at 391852892, sector 1127828.
P-STD buffer underflow by 4053 bytes at 391856492, sector 1127829.
Cell map size 50.
End of video file
Bytes remaining in buffer = 70198.
15:19:49 End multiplex.
Bitrate - avg: 4200038, min: 245760 (lba 2113492), max: 24958293 (lba 1126875).
Fields: 426795, VOBU: 14224, Sectors: 2188178.


Hello,
A friend of mine,has problems muxing with Muxman...
The log file is above....
It is obvious that something is wrong with the .sup file....
Is that the only cause for the buffer underflows?
Is there anything else suspicious?
Thanks in advance....
(btw this is a great program)
bourtzovlakas is offline  
Old 17th December 2004, 19:47   #83  |  Link
mpucoder
Moderator
 
Join Date: Oct 2001
Posts: 3,530
A backwards move in time means that the subpictures came from two vobs (aka VobID's). The .sup format uses time relative to the start of the last vob, so it goes backward when starting a new vob. Unfortunately none of the other streams give any hint as to where that happens. This can cause underflow, as all the subpictures up to the current point in time (relative to the start of the video) will be multiplexed rapidly, robbing the video stream of bandwidth.

The other cause of underflow is excessive bitrate. Muxman does not check combined bitrates prior to multiplexing. Often times the bitrate reported in the video stream is wrong, and this causes programs which do check to needlessly refuse to run. You have 2 384Kbps audio streams, if fixing or removing the subs doesn't correct the problem, try removing one of the audio streams.
mpucoder is offline  
Old 17th December 2004, 20:18   #84  |  Link
jsoto
Just a Member
 
Join Date: Nov 2002
Location: Spain
Posts: 2,067
Quote:
The .sup format uses time relative to the start of the last vob, so it goes backward when starting a new vob
I believe this is true if you used VobEdit to demux, but if you use vobSub+SubToSup or pgcDemux you will not have these problems. In this case timestamps are relative to the initial video start, independent of the VobID.

jsoto
__________________
Web sites with my tools
http://download.videohelp.com/jsoto
http://jsoto.posunplugged.com/
jsoto is offline  
Old 17th December 2004, 20:26   #85  |  Link
bourtzovlakas
dvd.stuff.gr moderator
 
bourtzovlakas's Avatar
 
Join Date: Apr 2004
Location: Greece
Posts: 312
Thanks jsoto and mpucoder....
bourtzovlakas is offline  
Old 17th December 2004, 20:31   #86  |  Link
mpucoder
Moderator
 
Join Date: Oct 2001
Posts: 3,530
jsoto, quite right. I should have mentioned that. It's not the format, but the way IfoEdit creates it.
mpucoder is offline  
Old 21st December 2004, 00:56   #87  |  Link
Trahald
Wewkiee
 
Trahald's Avatar
 
Join Date: Feb 2002
Location: kashyyyk
Posts: 2,270
i have a humble request. can you add '*.mpv ' to the default choice for video asset selection (ie make it part of the default instead of separate in the drop down. alot of my assets are *.mpv mpeg2 files.. thank you
__________________
...yeah...but...why on earth would I compare apples with apples?
Trahald is offline  
Old 21st December 2004, 01:08   #88  |  Link
mpucoder
Moderator
 
Join Date: Oct 2001
Posts: 3,530
That seems only fair, since .mpa is allowed for audio. It will be in 0.6, due out Wednesday.
mpucoder is offline  
Old 22nd December 2004, 00:19   #89  |  Link
RFontenot
Registered User
 
Join Date: Oct 2002
Location: Texas, USA
Posts: 8
I've been converting 8mm videotapes to DVD using my ReplayTV and DVArchive. I had been using rtvedit, rtvconvert, and IfoEdit to author the RTV's *.MPG files, but occasionally I would have problems with IfoEdit crashing after multiplexing the output files from rtvconvert.

I haven't had a single problem with MuxMan since I started using it instead of IfoEdit. In fact, MuxMan would multiplex files that would cause IfoEdit to crash. Most of my videotapes are between 1 to 2 hours in length, and I've not detected any problems with audio sync on any of the tapes I've converted.

I would like to see a CLI interface to MuxMan so I could have the whole process automated via batch files. I would like to be able to specify the drive:/dir/filename.ext for the source files, the celltimes.txt file, and the drive:/dir for the target files. I use isolated partitions on two different physical disks for editing and muxing MPEG files. The process goes a lot faster when one disk reads while the other writes.
RFontenot is offline  
Old 22nd December 2004, 17:25   #90  |  Link
mpucoder
Moderator
 
Join Date: Oct 2001
Posts: 3,530
It's nice to hear from the people with no problems! And there will be a cli interface as soon as I can define the project file.
mpucoder is offline  
Old 22nd December 2004, 17:33   #91  |  Link
mpucoder
Moderator
 
Join Date: Oct 2001
Posts: 3,530
Version 0.6 is available in the usual place

The major improvements this time are:
All valid LPCM combinations of sampling rate, quantization, and channels are now supported.
SRI and subpicture sync pointers are now fully compliant

Here are the valid LPCM combinations
Code:
samp_rate  quantization  channels
    48K           16-bit        1 to 8
    48K           20-bit        1 to 6
    48K           24-bit        1 to 5
    96K           16-bit        1 to 4
    96K           20-bit        1 to 3
    96K           24-bit        1 or 2
mpucoder is offline  
Old 24th December 2004, 21:05   #92  |  Link
Trahald
Wewkiee
 
Trahald's Avatar
 
Join Date: Feb 2002
Location: kashyyyk
Posts: 2,270
I multiplexed some video.. it seems to create the vts_01_0.ifo fine and all the vobs are fine.. but halts before creating the vmg ifo/bup. it muxed the vobs in about 10 mins.. i left for work, came back and it still was sitting there (at 98% cpu) and the hd light was not going. i tried 3 different times (didnt change the settings any between tries.. ) and same thing. here is the last log. i terminated the process at about 15:00:00

Code:
Opened video file D:\doit4\VTS01\VTS__01_P01.P.16~9_1.M2V, 4294967295 bytes.
Opened video file D:\doit4\VTS01\VTS__01_P01.P.16~9_1.mpv.m2v, 3073651020 bytes.
Opened audio 1 file D:\doit4\VTS01\VTS__01_P01-80-448K-[0ms]-ch6English.AC3.
AC3 audio, frame size = 0x700.
Opened audio 2 file D:\doit4\VTS01\VTS__01_P01-81-192K-[0ms]-ch2English.AC3.
AC3 audio, frame size = 0x300.
12:51:33 Begin multiplex.
SeqEnd at B7343148.
Bytes remaining in buffer = 0.
13:13:23 End multiplex.
in vts_01_0.ifo the vts_tmapti is populated correctly
and the vts_c_adt seems fine.. the vts_vobu_admap is filled with 0's
__________________
...yeah...but...why on earth would I compare apples with apples?
Trahald is offline  
Old 25th December 2004, 20:57   #93  |  Link
Malcolm
Registered User
 
Join Date: Sep 2002
Location: Germany
Posts: 352
@mpucoder

Hi mpucoder, i have some questions regarding muxman respectively muxing in general:
Muxman (like ifoedit) seems to do the multiplexing in 2 steps:
1) generate the vob files with the video, audio and substreams.
2) iterate over the generated vob files and correct/generate missing informations (i suppose something like indexes, etc.)
- what exactly is done in this second step?
- i'm curious why the multiplexing can't be done in one step. (i'm sure there's a reason.) can you please explain why?

i guess you know bbMPEG. bbMPEG is able to multiplex mpeg1/2 video + audio too (VCD, SVCD, DVD). although the result is just an MPG file.
the point is: bbMPEG is *FAST*!! it seems to omit the second step at all. is the second step only necessary for generating VOB files / when a 'true' DVD structure is created?
can you offer this 'fast' multiplexing mode too? (omitting the second step).

thanks and greetings,
Malcolm
Malcolm is offline  
Old 25th December 2004, 21:48   #94  |  Link
mpucoder
Moderator
 
Join Date: Oct 2001
Posts: 3,530
Vob files contain both forward and backward pointers in the NAV packs. The second pass backfills the forward pointers.

The multiplexer in MuxMan was written specifically for DVD, destined to become part of an authoring program. So it will never support generalized multiplexing.

Currently I am concentrating on compliance. Once that is finished the code can be optimized somewhat. But on my computer it takes only 10 minutes to do a 90 minute DVD.
mpucoder is offline  
Old 28th December 2004, 09:39   #95  |  Link
Koepi
Moderator
 
Koepi's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 4,455
I think I found a bug. I encoded my video with a GOP size of 18 frames, but muxman expects only 15, which even leads to a memory access violation (hm, now in the third test this didn't happen, but the GUI stalls forever).

The log:
Quote:
Opened video file E:\Filme\LOTR1-SE\lotr1-se-DVD.m2v, 2890715136 bytes.
Opened audio 1 file E:\Filme\LOTR1-SE\deutsch.ac3.
AC3 audio, frame size = 0x700.
Opened audio 2 file E:\Filme\LOTR1-SE\english.ac3.
AC3 audio, frame size = 0x700.
09:33:10 Begin multiplex.
Frame 0 6497 bytes, rff = 0.
Frame 1 342 bytes, rff = 0.
Frame 2 1422 bytes, rff = 0.
Frame 3 1422 bytes, rff = 0.
Frame 4 342 bytes, rff = 0.
Frame 5 1422 bytes, rff = 0.
Frame 6 1422 bytes, rff = 0.
Frame 7 342 bytes, rff = 0.
Frame 8 1422 bytes, rff = 0.
Frame 9 1422 bytes, rff = 0.
Frame 10 342 bytes, rff = 0.
Frame 11 1422 bytes, rff = 0.
Frame 12 1422 bytes, rff = 0.
Frame 13 342 bytes, rff = 0.
Frame 14 1422 bytes, rff = 0.
Bytes remaining in buffer = 0.
09:33:10 End multiplex.
Cheers,
Koepi
Koepi is offline  
Old 28th December 2004, 16:50   #96  |  Link
mpucoder
Moderator
 
Join Date: Oct 2001
Posts: 3,530
Even though MuxMan detects this error it tries to do some arithmetic it should not (stats, backfill pointers, produce ifo files). This will be fixed in the next release to bypass these operations if an error has been detected.
MuxMan will still not accept more than 15 frames/GOP for PAL, though (18 for NTSC).
mpucoder is offline  
Old 28th December 2004, 18:45   #97  |  Link
papas
Registered User
 
Join Date: Aug 2004
Posts: 3
Hello mpucoder!

I was trying to add a subtitle stream to LOTR Fellowship of the Ring SEE. I always use IfoEdit, but it crashed at 80% with this disc. I've tried muxman, and it worked flawlessly! Thank you for this great program! I have one question. Is it possible to add a setting, which allow to change the default audio stream IDs?

Greetings,
papas
papas is offline  
Old 28th December 2004, 18:55   #98  |  Link
mpucoder
Moderator
 
Join Date: Oct 2001
Posts: 3,530
The audio stream IDs are determined by the audio track number ("audio 1" or "audio 2"). The DVD itself does not specify defaults. Players choose a track to play based on the language specified for the tracks and your audio language preferrence programmed into the player. If there is no language match the player should use the first track.

So - if you are not specifying a language, try it, it helps. If both tracks are the same language use the extension to distinguish them. Otherwise put the preferred audio first.
mpucoder is offline  
Old 29th December 2004, 05:57   #99  |  Link
mpucoder
Moderator
 
Join Date: Oct 2001
Posts: 3,530
Version 0.7 is now available here

This fixes what I hope is the last compliance issue. Many thanks go to Sir Didymus for running compliance tests on PAL material.
Also fixed is the crash when using a GOP with more frames than allowed as the first GOP.

Added feature is the ability to create a still with audio. To do this you need an m2v file that contains just one frame followed by end_of_sequence. The result is the frame is held for the duration of the longest audio. Subpictures can be used with this.

I wanted to include slideshow, which is just a slight variation of still with audio, but the compliance issues and celebrating took up most of the week. Also nearing completion is encoding of I frames. When finished it will allow importing bmp files for still/slideshow.

Last edited by mpucoder; 29th December 2004 at 06:03.
mpucoder is offline  
Old 29th December 2004, 09:42   #100  |  Link
Koepi
Moderator
 
Koepi's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 4,455
Now with muxman 0.7, properly encoded 15-frames-per-gop mpeg2, muxman (nearly) works alright. I have the same problem as Trahald. GUI stalls forever and doesn't create the "main" ifo/bup file (VTS_01_0.[ifo|bup] are there).

The muxing log looks the same as trahalds.

Regards
Koepi
Koepi is offline  
Closed Thread

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 02:37.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.