[FFmpeg-devel] Adding Hint/timecode track to moov file

Martin Storsjö martin
Sat May 15 11:04:57 CEST 2010


Hi,

On Sat, 15 May 2010, Irfan Shaikh wrote:

>        I am working on an assignment to add HINT/TIMECODE track to the 
> mov file generated by ffmpeg muxer.
> 
> I have added HINT track in moov header refering to a sample file with 
> hint track.
> 
> But i am confused how do i add hint to mdat. Do i need to modify the 
> mov_write_packet so that i have 2 instances of mdat
> 
> 1) mdat (actual data 'vide')
> 2) mdat (hint 'hint')

No, all the actual data go into the same mdat, the tracks in moov point 
out the location of each individual sample within mdat.

> If any one has worked on similar assignment  can share there experiences. 

I've sent patches implementing rtp hinting a few weeks ago, awaiting 
review, look for a thread named "[PATCH] Add RTP hinting to the mov 
muxer".

// Martin



More information about the ffmpeg-devel mailing list