[FFmpeg-devel] [PATCH] wrong time base for audio in AVI

Michael Niedermayer michaelni
Sun Apr 13 11:28:54 CEST 2008


On Sun, Apr 13, 2008 at 10:56:22AM +0200, Reimar D?ffinger wrote:
[...]
> > > tell, though pkt->duration == 0 sounds unhealthy to me.
> > 
> > Well its the best it can be set to within the constrains ...
> 
> Which is why I assumed the constraints to be wrong (and I still think
> they are, but I am not motivated to investigate further right now).

The constraint is the timebase in the header i assume. Thats what the
muxer decided to store there, it would not be any less wrong to export
another timebase than what is stored in the header. You simply cannot
both export the correct timebase and correct duration in that timebase.
Also without having looked at the file i suspect it will be broken in many
more ways.

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Old school: Use the lowest level language in which you can solve the problem
            conveniently.
New school: Use the highest level language in which the latest supercomputer
            can solve the problem without the user falling asleep waiting.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080413/2e1f50bc/attachment.pgp>



More information about the ffmpeg-devel mailing list