[Ffmpeg-cvslog] Re: r5468 - trunk/libavformat/mov.c

Baptiste Coudurier baptiste.coudurier
Tue Jun 13 12:21:15 CEST 2006


Hi

Michael Niedermayer wrote:
>>>> [...]
>>>> Allowing only stream copy for
>>>> now, and between same/compatible formats, maybe it's time for
>>>> FORMAT_ID_MOV ?
> 
> hmm, iam not sure what exactly you are suggesting here ...
> 

Im suggesting to identify formats by an ID now, instead of checking for
format name with strcmp like its being done in mov muxer. FORMAT_ID_AVI,
FORMAT_ID_MOV, FORMAT_ID_MP4. That way it will be easier to compare
formats and choose between compatible ones, I have that feeling, but it
may be useless...

>> [...]
>>
>> I would need the original timestamp to rescale it to other streams time
>> base unit. I can still revert the scaling and scale it again but like I
>> said it is not accurate/correct.
> 
> no, you rescale from one timebase to another, no AV_TIME_BASE should be
> involved, av_rescale_q() does exactly that ...
> 

All right I'll try that.

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312




More information about the ffmpeg-cvslog mailing list