Re: [DVBCUT-user] [PATCH] Fix audio framing in streamdata.cpp

2007-05-28 Thread Wolfram Gloger
Hi, Hmm... `bytes' is the distance between two items, and should be an integer multiple of the frame size. But items also include the (sometime) non-aligned PES packet headers; these are not deleted in audio_addpts. For those, the distance is arbitrary, see the log output below. By

Re: [DVBCUT-user] [PATCH] Fix streamdata::audio_addpts()

2007-05-28 Thread Michael Riepe
Hi! Wolfram Gloger wrote: So here is my proposal to fix audio_addpts() for unaligned audio. The patch includes the changes for mpaframe() and ac3frame() as detailed in another thread. As opposed to that patch, this one _does_ change the dvbcut output even for aligned/normal streams. Now

Re: [DVBCUT-user] [PATCH] Fix streamdata::audio_addpts()

2007-05-28 Thread Ralph Glasstetter
Hi, Just realliest that my name showed up... :) Am Montag, 28. Mai 2007 15:22 schrieb Michael Riepe: Ralph, can you please try it out? and Ralph, any improvement? First, I have to admit that I'm not really sure about what you are talking here... and how/if I can help... or if it's related to

Re: [DVBCUT-user] [PATCH] Fix streamdata::audio_addpts()

2007-05-28 Thread Michael Riepe
Hi! Ralph Glasstetter wrote: Hi, just noticed a strange thing... before producing a DVD with dvdauthor... I prepared 4 MPEG-PS's (with clean rev. 35 and the patched one, one with abnd one without AC3 sound): -rwxr-xr-x 1 ralph root 728573952 2007-05-28 16:38 futurama-noac3.mpg