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

Irfan Shaikh irfanshaikh
Mon May 17 06:48:07 CEST 2010

Hi Martin,

          I am trying to apply patches in /root/Desktop/mov_muxer_pacthes/gst-ffmpeg-0.10.10/gst-libs/ext/ffmpeg folder

I am getting following o/p after applying patch. It is asking for following

[root at localhost ffmpeg]# patch -p0 < ../../../../0001-Make-ff_sdp_write_media-a-lavf-internal-function.patch 
(Stripping trailing CRs from patch.)
can't find file to patch at input line 17
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
|From afba14d6b8758e96b0084cff9a59217591a4fdb4 Mon Sep 17 00:00:00 2001
|From: Martin Storsjo <martin at martin.st>
|Date: Tue, 20 Apr 2010 16:09:12 +0300
|Subject: [PATCH 1/6] Make ff_sdp_write_media a lavf-internal function
|This is in preparation for RTP hinting in the MOV muxer, where
|it needs to be able to create SDP fragments for each media stream.
| libavformat/internal.h |   17 +++++++++++++++++
| libavformat/sdp.c      |    9 +++++++--
| 2 files changed, 24 insertions(+), 2 deletions(-)
|diff --git a/libavformat/internal.h b/libavformat/internal.h
|index 7899880..a395c2f 100644
|--- a/libavformat/internal.h
|+++ b/libavformat/internal.h
File to patch:   ?????????????????????????????

Please Can u help me out . Why the patch file is not getting updated automattically ?


-----Original Message-----
From: Martin Storsj? [mailto:martin at martin.st]
Sent: Sat 5/15/2010 3:44 PM
To: Irfan Shaikh
Subject: RE: [FFmpeg-devel] Adding Hint/timecode track to moov file

On Sat, 15 May 2010, Irfan Shaikh wrote:

>    Are these the patches you are talking about.
> Attachment (0001-Make-ff_sdp_write_media-a-lavf-internal-function.patch):
> text/x-diff, 2953 bytes
> Attachment (0002-Add-a-flag-for-enabling-RTP-hinting.patch): text/x-diff,
> 2141 bytes
> Attachment (0003-Move-the-mov-muxer-structures-to-a-separate-header.patch):
> text/x-diff, 5728 bytes
> Attachment (0004-Make-mov_write_packet-non-static-add-ff_-prefix.patch):
> text/x-diff, 3403 bytes
> Attachment
> (0005-Add-initial-support-for-RTP-hinting-in-the-mov-muxer.patch):
> text/x-diff, 20 KiB
> Attachment
> (0006-Use-a-heuristic-for-describing-the-RTP-packets-using.patch):
> text/x-diff, 11 KiB

Yes, these are the ones.

> I tried dowloading this patches but i m unable to download since the site is
> getting blocked.
> If possible please can u reshare these pacthes or Source files with me.

Here are roughly equivalent versions, but updated against the latest svn 

// Martin

More information about the ffmpeg-devel mailing list