View Full Version : DVD2AVI decoding problem!
Insolit
5th July 2004, 12:58
Hi to all!
What brings me here is a problem i've been having with MPEG-2 content, recorded in my Panasonic TV-Recorder.
Sometimes the content has no problem at all, so i simply use DVD2AVI to create a d2v file and then encode it as usual to MPEG-4.
The problem is that not always the MPEG2 file is correctly decoded by DVD2AVI. It seems the file changes resolution in mid stream. It should be 704x576 all the way, but sometimes it seems to get as 352x576. This creates a tremendous b0rk in DVD2AVI, as the following picture shows:
http://pwp.netcabo.pt/amostras/see_the_b0rk.png
(Important note: this screenshot is taken with Vdubmod, in DVD2AVI the left part of the screen hasn't got any artifact, and although with incorrect resolution, it has a perfectly clear image)
In this picture, the left part of the screen is the image that was supposed to be shown in full resolution (704x576), and in the right part of the screen we a have different frame of the mpeg-2 file.
If i try to play this file using Sonicmaster mpeg2 decoder or maincept's mpeg2 decoder, the file shows up perfectly.
It's also played correctly in mplayer but only if using ffmpeg12.
I wonder if there could be done anything in dvd2avi so that it could decode this file properly.
If there's any idea, of how to encode this type of files properly they would also be welcomed.
Here's a sample file that has the problem i've been talking about:
MPEG 2 Sample file with problems (http://moolabs.dcc.online.pt/downloads/b0rked_new.vob)
Cyberia
5th July 2004, 17:31
This looks to me like a multi-angle VOB, which DGIndex does not yet support. However you are making it, make sure you have multiangle mode disabled.
Insolit
5th July 2004, 22:23
I really doubt that, my DVD recorder does not even have multi-angle recording option.
It seems to me that this sample was taken from encrypted channel, there are some residuals of conditional acces packets.
In such case try to present full original record sample with audio,subpictures and so on.
Problems here can also be caused not exactly filtered subpicture packets.
eb
Insolit
6th July 2004, 16:07
No, this is not an encrypted channel. This is simply an issue with the DVD-Recorder. I just wonder if any DVD2AVI dev could do anything to DVD2AVI to turn this around.
Cyberia
6th July 2004, 17:55
Well, leave your sample out there. I think Don's taking a break, when he comes back I'm sure he'll look at the file.
The main problem is that presented sample it is not original sample, but after some prcessing, and process for video demuxing was incorrect.
Try upload original sample from your recorder.
eb
Insolit
6th July 2004, 19:42
Well, i demuxed video using tmpenc and then cut the sample using mpeg2cut.
I could never upload the 3 GB of the original file, but i'll upload a sample only cut by mpeg2cut, so without any demuxing.
I'll do it tonight.
Thnaks for the advice.
@ Insolit,
Please try to cut from the same place as the sample you already presented
eb
Insolit
6th July 2004, 23:01
Well i'll present a sample with the same problem, but i can't give you the same part as the one shown before, since i no longer have the original file recorded in Panasonic DVD recorder of the previous sample. I only have the video and audio demuxed files.
I'll so upload a file, that is cut directly from the Panasonic DVD recorder file.
Insolit,
so you have only one chance to make .avi file with a little losses of quality in this wrong places.It is pity that you have no original, in this case was easy to make DVD at the same quality as your records.
But, back to your problem....
Use VirtualDubMod load your video file, load audio file.
Start from beginning, add resize filter,set resize to 720x576 or leave it as it is...
Start from beggining and check if picture is good up to the wrong frame, set on the last good frame sing of the end.Convert/save this piece as file1,in wrong frame set croping from right side to 352/all this under filter resize/, save this piece as file2, agin in good picture set croping back as it was for good pictures , save this as file3, and so on up to end .
Then load file1 to VDM append file2,... append last one and save all together with video set as direct coping.
eb
Insolit
7th July 2004, 01:21
Here's a original file:
New Original Mpeg-2 file with problems (http://moolabs.dcc.online.pt/b0rked.VRO)
Don't mind about its extension (DVD-Ram format), it can be read like any mpeg-2 file.
About making a DVD with the same quality as my records, that's no problem. I can make it with the file i have here. My intention is to convert this to Mpeg-4 since i don't want to waste a DVD with only one euro game. And also... i'd like to release these european games :)
Anyway about your suggestion, i've tried that, unfortunately mpeg2dec3 doesn't decode the left part of the screen correctly, like dvd2avi does.
Once again thanks to keep on supporting me.
Insolit,
You will find .avi sample on my web site.
VirtualDubMod was used to convert it as I described in previous post.
ftp://www.eb.enterpol.pl
user name: www.eb.enterpol.pl
pasword: eb sample name: br0ke.avi 29MB
eb
Insolit
7th July 2004, 11:19
That's nice!!!
I wonder why my vdubmod doesn't decode the problematic parts, correctly...
I must try once again this. Do you open the mpeg2 file directly in vdubmod or via avisynth?
Insolit
7th July 2004, 11:42
I just oppened the file directly and i can use the method you mentioned.
Using mpeg2dec3 to decode the video i have problems with the left frame...
I'm not sure, but i've heard, Panasonic DVD-Recorders do have an Option to change the Resolution while recording.
Insolit
7th July 2004, 12:00
OMG you're absolutely right!
When you said that, i went to see the menu of the DVD-Recorder and i just found "Hybrid Resolution VBR" and it was set to automatic, i just changed to fix!
Kika thnks a lot for the warning! At least i won't do more recordings with this problem.
Well but now i would like to encode these recordings.
I'll use Eb's method if nothing else is found.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.