View Full Version : Error: Number of fields (34) in GOP


Manngo
7th August 2005, 22:54
Hi

some help needed here :)
Issue: DVD backup. Demuxing streams, compile again. Problems are coming with video. I demuxed with DVDDecrypter and ReJig. Neither of the results (.m2v) can be played. The original plays well. When i save in raw mode with DVDDecrypter it is also a playable file (but I cannot use this to author a DVD). Only demuxing does not work. When I import the created file(s) into Scenarist I have this error message:

Error : Number of fields (34) in GOP(# 12657) or between sequence_header_code should be equal or smaller than 30.
Warning : Number of SequenceEndCode is 32.

The file demuxed with Rejig is slighly sized over 4gb, while the one demuxed with DVDDecrypter is under 4gb. :mad:

any ideas how to demux the stream, or how to correct it?
I even don't know what this error means...

Trahald
8th August 2005, 00:57
well.. the error is that 34 fields (15 frames) is too many for a PAL GOP (in DVD specifications)... and scenarist is a by-the-book authoring app.. cuttermaran (free) that can fix it. just load up your file. cut the whole movie (ie set the beginning of the movie as the start of the cut and the end of the movie as the end of the cut) so you get it all. and set encoding option to dvd compliant. it will just reencode gops that have too many frames which is likely to be very few.

Manngo
8th August 2005, 19:38
EDIT:
OK, I said it's OK too early. The file is now playable, but scenarist still not accepts. The GOP size is still invalid. Maybe I should cut in the problematic GOP and then merge the two parts. I want to avoid re-encoding, so try to run it through ReJig in file mode, that hopefully will create a new GOP header inside the large one.
Notice, that also not worked. :)
I also noticed, that the error is not in the end of file. Checked the I frame distances in Cutterman. GOP size, used is 6.

Any ideas?
Any tools, that shows me te GOP sizes?
Since Mainconcept MPEG Video Decoder now eats the file I could frameserve it to CCE, but don't want loose quality. What would you do?

mpucoder
9th August 2005, 03:12
I would do exactly what Trahald said, this method works, and only re-encodes a very few frames. You cannot create a new GOP header inside a larger one without converting a P or B picture to an I picture.

Manngo
9th August 2005, 11:04
Thanks for reply to everybody.
As I said cutting the whole stream in Cutterman did not reduced invalid GOP size to DVD standard, however solved the playback problem. Maybe done something wrong...
Perfect solution could be to identify the part, that contains an error, than cut it out at the two nearest I frames. Reencode the erroneous GOP with eg. CCE than merge the three parts again. This way I think I could avoid re-encoding the whole movie and loosing quality.
Since I wanted to close the project I just re-encoded the whole stream, that finally solved the problem.

Thanks for your help
cheers
Manngo