[FFmpeg-devel] [PATCH] Support for Dirac in ogg

Anuradha Suraparaju anuradha
Wed Nov 12 02:13:43 CET 2008


On Fri, 2008-11-07 at 04:04 -0500, David Conrad wrote:


> > Try using ffmpeg2dirac to transcode files to Dirac wrapped in Ogg.  
> > It is
> > basically a clone of ffmpeg2theora that replaces Theora with Dirac.  
> > The
> > files created by it seem to play back okay with VLC (Schroedinge  
> > support
> > enabled) and my local FFmpeg tree which was patched to support Dirac  
> > in
> > Ogg. Seeking doesn't appear to be a problem either. The source can be
> > found in the Git repository on diracvideo.org.
> >
> > git clone git://diracvideo.org/git/ffmpeg2dirac.git
> >
> > If you want a sample file generated by ffmpeg2dirac just let me know
> > where to upload it to.
> Playback works, the problem is that remuxing to another container  
> requires accurate timestamps. I already tried ffmpeg2dirac but the  
> timestamps it generates aren't correct. The most correct I've seen so  
> far is http://diracvideo.org/download/test-streams/ogg/ 
> sage-640x360.ogg but it seems to me that delay should be half of what  
> it is in that file.

Can you provide more specifics as to why you think the timestamps
generated by ffmpeg2dirac are wrong? I used the guidelines provided in
the Ogg Dirac mapping specification so can't think why the timestamps
are incorrect. 

The delay, dts and pts in the time stamps are in increments of two for
progressive streams. So the corrected delay would be half the calculated



> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel

More information about the ffmpeg-devel mailing list