[FFmpeg-devel] 16:9 DV AVI not detected

Michael Niedermayer michaelni
Tue Jan 1 23:39:53 CET 2008


On Mon, Dec 31, 2007 at 12:57:41PM -0800, Roman Shaposhnik wrote:
[...]
> 
> >>     The only possible workaround that I know of is to
> >> do what is done for AVI type 1 DV, but it'll be more
> >> trouble than it is worth. IMHO.
> >
> > if the dv decoder knows the aspect ratio,
> 
>    It doesn't right now. That logic is in  the DV demuxer. btw, would
> you agree that things like SAR/DAR signaling are actually part
> of the container, not codec info?

some codecs store aspect ratio, some containers store aspect ratio
we currently have just AVCodecContext.sample_aspect_ratio, and both
demuxers and decoders use that ...
we could add AVStream.sample_aspect_ratio if having just one variable
turns out to be insufficient ...

for the specific case of DV, i think the aspect ratio is part of the
codec stream, but thats surely debatable as dv mixes codec and container
stuff

but maybe i missunderstood your question, due to having no russian stuff
here ;)

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle
-------------- 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/20080101/31e584b5/attachment.pgp>



More information about the ffmpeg-devel mailing list