[Ffmpeg-devel] FFmpeg Theora encoding patch

Michael Niedermayer michaelni
Sun Jan 7 23:08:07 CET 2007


Hi

On Sun, Jan 07, 2007 at 08:27:49PM +0000, Paul Richards wrote:
> On 07/01/07, Michael Niedermayer <michaelni at gmx.at> wrote:
> >Hi
> >
> >On Sun, Jan 07, 2007 at 03:41:46PM +0000, Paul Richards wrote:
> >> Hi,
> >> I have rolled in many of these suggestions.  See below for details.. :)
> >>
> >> I'll post the revised patch to a new thread once I've rolled in the
> >> suggestions from everyone.
> >>
> >>
> >> On 06/01/07, Michael Niedermayer <michaelni at gmx.at> wrote:
> >> >Hi
> >> >
> >> >On Sat, Jan 06, 2007 at 03:51:28PM +0000, Paul Richards wrote:
> >> >> Hi,
> >> >> Attached is my patch to add theora encoding to ffmpeg's libavcodec (by
> >> >> using libtheora).  I am requesting help to fix the bug I mention below
> >> >> and am seeking general comments before I submit the patch properly.
> >> >>
> >> >> Files encoded using this encoder have a problem playing in VLC.  The
> >> >> files will not play unless "Drop late frames" has been unticked in the
> >> >> advanced video settings.  Hopefully someone can tell me where this
> >> >> problem comes from.  I am not sure which API (FFmpeg or libtheora) I
> >> >> am misusing.
> >> >
> >> >are these .avi or .ogg?
> >> >and does it work if you create the same theora file with another tool 
> >then
> >> >ffmpeg?
> >> >and what does "ffmpeg -v 9 -i yourfile" say?
> >> >
> >>
> >> I get lots of debugging info (presumably from vp3 decoder), none of
> >> the output looks like error.  Here are the first few lines:
> >>
> >> [theora @ 0x458594]Theora bitstream version 30200
> >> [theora @ 0x458594]344 bits left in packet 81
> >> [theora @ 0x458594]7 bits left in packet 82
> >> Input #0, avi, from 'test.avi':
> >            ^^^
> >theora in avi is not a standard thing as the extradata format is not
> >officially specified so you should not expect it to work with all players
> >
> 
> So would my patch with broken VLC playback be acceptable?  I'd be

yes


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

It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070107/436d8219/attachment.pgp>



More information about the ffmpeg-devel mailing list