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.

 
Problem With Mpeg-2 Es, in fccHandler´s VirtualDub 1.5.4 MPEG-2
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
S_O
Posted: May 31 2003, 11:48 AM


Vdubmod Alpha Testing Team


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



In VirtualDub 1.5.4 MPEG-2 by fccHandler I opened a self encoded MPEG-2 elementary stream to find the correct audio delay for later burning to DVD. But unfortunately it detects not MPEG-2, but MPEG-1. The result is only black or green pictures.
The video plays fine in WMP. It seems that elementary streams are not parsed correctly.
 
     Top
fccHandler
Posted: Jun 1 2003, 04:38 AM


Administrator n00b


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



I haven't been able to reproduce this yet, but I have no doubt that it can happen. I'll investigate further and let you know. It might help if you tell me what program you used to create your elementary stream, and how I can create one like it.

--------------------
May the FOURCC be with you...
 
     Top
S_O
Posted: Jun 1 2003, 10:21 AM


Vdubmod Alpha Testing Team


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



I used Cinema Craft Encoder, 3pass VBR with DVD resolution (720x576 PAL 25fps 4:3 interlaced). After muxing the file it can be perfectly opened in VDub. You can download a demo of CCE at: http://www.cinemacraft.com/eng/download.html

Here are all infos from ReStream:
bitrate: 9800000 bps
VBV buffer size: 112
Intra matrix: standard
non-intra matrix: manual
top field first
zig-zag scanning mode
nonliniar quantisizer scale
Intra VLC format: 1
Intra DC Precision: 10 bit
GOP coded: IPBPBBPBBPBBPBB
GOP display: IBPBBPBBPBBPBBP

I hope that information helps. I can also upload the first GOP of the file somewhere.
 
     Top
Werner999
Posted: Jun 1 2003, 07:54 PM


Unregistered









I allso have problems with the 1.5.4 MPEG-2 version, in this case it's a file created with a KISS satdem satelite card. After parsing the file the program terminates with a Access Violation warning, if I select abort during parsing it allso dies. I'm able to write the crashinfo.txt file but that's it.

I found that a lot of other programs will not recognize the KISS satdem MPEG format but the 1.5.1 MPEG version will.
 
  Top
nailbomb
Posted: Jun 3 2003, 10:21 PM


Unregistered









QUOTE (fccHandler @ May 31 2003, 10:38 PM)
I haven't been able to reproduce this yet, but I have no doubt that it can happen.  I'll investigate further and let you know.  It might help if you tell me what program you used to create your elementary stream, and how I can create one like it.

@fccHandler

i've experienced the same (build 15817). when opening a .vob file (matrix, rc2, dvd decrypter 3.1.6.0, direct stream copy) vdub tells me 'parsing interleaved mpeg2....' - but if i demux the elementary .m2v from this .vob file (instead of using direct stream copy), vdub tells me 'parsing mpeg1 video....'.

but for me it is not a problem, because everything still works fine on both files. file info box is correct, even on this m2v file, and video decoding is working as it should. maybe it is just a cosmetic bug?

ok, i have a question myself, hope you don't dislike it:

what version should we stick with? latest v1.5.1 (15817) or migrate to latest release v1.5.4 (16297)? i am asking this question because of all those bugs that went in vdub after v1.5.1 release - i am quite confused what build is the most stable / secure to work with now?

maybe you think this type of question is a little stupid, but i wouldn't have to ask this if you would keep an up to date changelog with every release on your website, like avery usually does tongue.gif

anyway, thanks for your great work, keep it up!

bye
 
  Top
fccHandler
Posted: Jun 4 2003, 01:07 AM


Administrator n00b


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



QUOTE (nailbomb @ Jun 3 2003, 06:21 PM)
maybe it is just a cosmetic bug?

Partly. Your cosmetic bug is a result of the parser not finding a system layer, then forgetting to check for MPEG2 video before popping up the window. After the parser finishes, the decoder identifies the video stream as MPEG2 and everything works OK.

The bug which the other members reported is more complicated, but I believe I know where the problem lies. I just haven't had time to work on it these past few days.

QUOTE
what version should we stick with?

Well, the version on my web page is always the same version that I'm using here at home. And unless there are overwhelming bugs, I try to keep it up to date with the latest official VirtualDub releases. To me, the latest v1.5.4 seems very stable and secure.

QUOTE
i wouldn't have to ask this if you would keep an up to date changelog with every release on your website, like avery usually does tongue.gif

Oh yeah? Look at Avery's "knowledge base." tongue.gif tongue.gif

Really, the reason I haven't bothered to keep a log (besides laziness) is because my tiny bit of MPEG2 code (which is about 0.0001% of the whole program) changes very little from release to release. It's primarily Avery Lee's core Dub engine that is evolving, and those changes are adequately documented at the official site.

--------------------
May the FOURCC be with you...
 
     Top
nailbomb
Posted: Jun 4 2003, 04:22 PM


Unregistered









@fccHandler

ok, thanks for your quick response, you are a great guy! biggrin.gif
 
  Top
fccHandler
Posted: Jun 4 2003, 08:08 PM


Administrator n00b


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



QUOTE (S_O @ Jun 1 2003, 06:21 AM)
I can also upload the first GOP of the file somewhere.

I've had some fun playing with CCE SP Trial Version. I've made lots of elementary test streams with all kinds of settings but I still can't reproduce the corrupted pictures bug you described. If it's still possible, please upload the first GOP of your ES and I'll have a look at it.

--------------------
May the FOURCC be with you...
 
     Top
S_O
Posted: Jun 5 2003, 09:29 AM


Vdubmod Alpha Testing Team


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



OK, maybe it´s a bit more than the first GOP:
test_cce.m2v (3,66MB)
If it´s too big for you I can cut it even smaller. The m2v is not openable correctly. If you mux it with TMPGEnc to a MPEG-2 VBR Program it will work perfectly in VDub.
I yust tested: In VirtualDub MPEG-2 1.5.1 build 15746 (Fri Mar 28 00:04:22) the m2v also works perfect.
 
     Top
fccHandler
Posted: Jun 5 2003, 04:57 PM


Administrator n00b


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



Thanks. I'm not sure what went wrong, but I had already started debugging the parser yesterday, and I was only waiting for your clip so I could test it. The new code plays your clip OK, so I'll go ahead and upload it. Let me know if you still have problems with it.

VirtualDub-MPEG2-AC3 v1.5.4 (16300)

--------------------
May the FOURCC be with you...
 
     Top
Werner999
Posted: Jun 5 2003, 09:05 PM


Unregistered









Well, the new version is an improvement for me, a MPEG-2 file is now parssed as MPEG-1 and then it dies blink.gif

One file is even parssed as MPEG-1 but usable, odd... They are all from the KISS satdem, so not realy a reference.

To understand the problem I need something to read about MEPG, could one of you send me some links with information ?
 
  Top
fccHandler
Posted: Jun 5 2003, 09:30 PM


Administrator n00b


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



QUOTE (Werner999 @ Jun 5 2003, 05:05 PM)
a MPEG-2 file is now parssed as MPEG-1 and then it dies

wacko.gif Ugh.

Is there any way you could upload a sample?

If you're looking for MPEG info, a good place to start is mpeg.org. If you really want to get your hands dirty, go here.

If you're a C++ programmer, you're surely invited to experiment with my source code. The difficulty lies entirely in the "ScanAudio" function of Mpeg.cpp. Seems that whenever I fix it to work for one problem MPEG, it tends to fail with other problem MPEGs.

EDIT: If you can't upload a sample of the MPEG, it would still be helpful if you could post any and all information about what error(s) you get when you open it.



--------------------
May the FOURCC be with you...
 
     Top
Werner999
Posted: Jun 6 2003, 07:46 PM


Unregistered









Well it's either the size of the video and/or the form of the audio.

011.06-06-2003.MTV Central.MPG (5.52 MB)

The stream that will parsse: 528x576 25fps / 48KHz MIXED stereo (mono will allso work).

012.06-06-2003.VOX.MPG (3.23 MB)

The stream that does not: 704x576 25fps / 48KHz stereo.

Placed them on the ftp server at 62.251.73.39 in Clips, the crashinfo.txt is allso available.

Thanks for the other information !
 
  Top
fccHandler
Posted: Jun 6 2003, 09:41 PM


Administrator n00b


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



QUOTE (Werner999 @ Jun 6 2003, 03:46 PM)
Well it's either the size of the video and/or the form of the audio.

Actually it was neither of those. The first clip has its video in stream 0xE0, but the other clip has its video in 0xE4. It's perfectly OK to put the video in stream 0xE4, but I've never seen it before. Anyway it was easy to fix once I knew what was going on, and I've uploaded a new version for you. Any other problems, let me know.

Cheers biggrin.gif

EDIT: I had to rebuild it once more after I posted that, so make sure you get build 16304.



--------------------
May the FOURCC be with you...
 
     Top
Werner999
  Posted: Jun 7 2003, 09:57 AM


Unregistered









Well... that's two problems solved (other programs will not accept the stream produced by the KISS card).

"It is difficult to appreciate the true FOURCC and distinctive sense of terms which we are every day using" tongue.gif
 
  Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
14 replies since May 31 2003, 11:48 AM Track this topic | Email this topic | Print this topic

<< Back to Testing / Bug Reports