diff options
author | Martin Storsjö <martin@martin.st> | 2012-01-09 17:58:26 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-01-25 12:15:41 +0200 |
commit | 4ddd54dab40fd84391d1edaec319353f986119b0 (patch) | |
tree | 55ab765b8df6827c422b956e58aad69d5132753e /libavformat/movenc.h | |
parent | b613ff5e930cb216ce97c79a561336e9de683b20 (diff) | |
download | ffmpeg-4ddd54dab40fd84391d1edaec319353f986119b0.tar.gz |
movenc: Add a separate ismv/isma (smooth streaming) muxer
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/movenc.h')
-rw-r--r-- | libavformat/movenc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/movenc.h b/libavformat/movenc.h index 892324948e..a1e504dca5 100644 --- a/libavformat/movenc.h +++ b/libavformat/movenc.h @@ -38,6 +38,7 @@ // avconv -i testinput.avi -f psp -r 14.985 -s 320x240 -b 768 -ar 24000 -ab 32 M4V00001.MP4 #define MODE_3G2 0x10 #define MODE_IPOD 0x20 +#define MODE_ISM 0x40 typedef struct MOVIentry { uint64_t pos; @@ -68,6 +69,8 @@ typedef struct { typedef struct { int64_t offset; int64_t time; + int64_t duration; + int64_t tfrf_offset; } MOVFragmentInfo; typedef struct MOVIndex { @@ -113,6 +116,7 @@ typedef struct MOVIndex { int64_t moof_size_offset; int64_t data_offset; int64_t frag_start; + int64_t tfrf_offset; int nb_frag_info; MOVFragmentInfo *frag_info; @@ -137,6 +141,7 @@ typedef struct MOVMuxContext { int fragments; int max_fragment_duration; int max_fragment_size; + int ism_lookahead; } MOVMuxContext; #define FF_MOV_FLAG_RTP_HINT 1 |