Bernhard Praschinger schrieb:
Well, I do only understand the basic Principle of MPEG, but here is my theory:I know no tool (except one professional tool for which you have to payJust like Gernot mentioned. Why do you want to do it. Dynamic gops are
allowed in the mpeg world. But that depends on the format you use. If
you tell us what you want to do that might be unnecessary or not enought
for your goal.
Well, both my dvd authoring programm as well as my dvd player can't handle GOP sizes larger than 15. Thats why I want to reencode those gops that are too large.
There is not shorter way that rencoding the whole movie. You find theWell, in theory (and practically with that commercial windows program),
explantion in the mjpeg-howto (found on mjpeg.sf.net german version
too). And in that document look for the section: Decoding streams with
mplayer or Decoding MPEG2 streams with mpeg2dec. The german headlines
are different !
you could "simply" decode the GOPs that are too long and reencode them
with the proper size... I've tried the windows program, a "gop fix" only
takes few seconds for a 45min clip containing 3 broken GOPs..
money and does not work in Linux) that is able to do edit mpeg streams
correct. MPEG was not designed to be editable. I don't think that tool
like gopcop for linux can do that.
1) Find the GOP that is too long 2) Decode the GOP into separate Frames 3) Encode those separate frames into two (or more) new GOPs of correct size 4) Merge the new GOPs into the Mpeg-Stream.
Since you cut out a whole GOP, merging (4) shouldn't be too big of a problem, 1-3 should be standard as well, but thats only my theory.
Did that windows programm work properly ?
Yes, it did.
Which n SW did you use for creating a MPEG2 movie suited for DVD ?The original stream was recorded by Linux VDR from german DVB-t, then demuxed with ProjectX, then I fixed the GOPsize errors with Womple mpeg-vcr.
mpeg2enc from the mjpegtools usually does the job the right way.well, I guess, but I want to avoid reencoding the whole clip. As mentioned before, those GOPsize errors appear quite frequently in my recordings...
Bis denne, Jonas
------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users