Aurelien Jacobs
5f8bae8d5c
matroskaenc: correctly handle h264 streams with 3 bytes nal startcodes
...
This implies using ff_avc_parse_nal_units_buf instead of ff_avc_parse_nal_units
because with 3 bytes startcodes the parsed packet size will change, and the
size must be written before the packet content.
Originally committed as revision 16690 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
3194b00479
Cosmetics: indent
...
Originally committed as revision 16652 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
1c3db2aa50
Treat disposition==0 as undefined and don't write the default flag
...
Originally committed as revision 16651 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
8a86aaa3b2
Flush the buffer after writing the header and when done with writing the files
...
Fixes writing small (~4kb) files.
Originally committed as revision 16650 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Luca Abeni
ca93bc175a
Reindent after last commit
...
Originally committed as revision 16617 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Luca Abeni
0a63a676ec
Do not reallocate AVPacket's data when muxing a packet
...
Originally committed as revision 16616 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
6a5d31ac25
Fix build: Add intreadwrite.h and bswap.h #includes where necessary.
...
Originally committed as revision 16556 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
abce34d979
matroskaenc: require global header
...
fixes issue696
Originally committed as revision 15667 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
b7f4e76d3d
matroskaenc: correct muxing of ASS packets
...
- split packets to store one ASS event line per Matroska block
- reformat ASS events to Matroska modified format
- extract display duration for ASS events to store as Matroska block duration
Originally committed as revision 15561 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
291902c274
matroskaenc: use correct EBML ID for block duration
...
Originally committed as revision 15560 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
1bfbe8ff9d
matroskaenc: pass the packet size directly as parameter of mkv_blockgroup_size()
...
Originally committed as revision 15559 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
8401c51407
matroskaenc: remove useless mkv_block_size() function
...
Originally committed as revision 15558 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
bc5c918ea8
Remove offset_t typedef and use int64_t directly instead.
...
The name offset_t is easily confused with the standard off_t type and
*_t is POSIX reserved namespace if any POSIX header is included.
Originally committed as revision 15533 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
62c24705c8
matroska: subtitle display duration must be stored in pkt->convergence_duration
...
Originally committed as revision 15206 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
c18545929e
Change codec_tag type from const struct AVCodecTag ** to const struct AVCodecTag * const *
...
Originally committed as revision 14947 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
5972945197
convert every muxer/demuxer to write/read sample_aspect_ratio from/to
...
the corresponding AVStream instead of AVCodecContext
Originally committed as revision 14933 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
5968d2dd1e
misc spelling/grammar fixes
...
Originally committed as revision 14616 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
cc8be50637
matroska: expand useless define for MS compat codec id strings
...
Originally committed as revision 14607 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
f009e36f75
matroska: add support for V_QUICKTIME track type
...
Originally committed as revision 14429 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
bde15e74de
Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste.it
along with some spelling/consistency fixes for the long names by me
Originally committed as revision 13649 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
245976da2a
Use full path for #includes from another directory.
...
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
8a0684f4c4
fix encoding of flac private data
...
Originally committed as revision 13030 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
7bfacd4e75
use common aac sample rate tables
...
Originally committed as revision 12671 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Evgeniy Stepanov
90c2295b24
Add 'disposition' bitfield to AVStream and use it for both muxing and demuxing
...
of matroska and nut.
Originally committed as revision 12358 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
73260a11e1
simplification proposed by Rich
...
Originally committed as revision 12280 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
0b247953c8
makes really sure that no undefined behavior can happen
...
Originally committed as revision 12258 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
d597655f77
Avoid infinite loop.
...
uint64_t >> 64 is an undefined operation
Originally committed as revision 12253 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
2024c2262b
Write 0 instead of seeking forward (and leaving bytes uninitalized),
...
fixes odd regression test failure i had.
Originally committed as revision 11512 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
9ab3f71b60
add a ff_ prefix to newly exported functions from avc.c
...
Originally committed as revision 11511 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
e609806ec6
Matroska muxer needs to format all NAL units, not only extradata.
...
Originally committed as revision 11510 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
aacc5f227a
Use the isom avcc formatting for h264 extradata in matroska.
...
Originally committed as revision 11499 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Björn Axelsson
899681cd1d
Use dynamically allocated ByteIOContext in AVFormatContext
...
patch by: Björn Axelsson, bjorn d axelsson a intinor d se
thread: [PATCH] Remove static ByteIOContexts, 06 nov 2007
Originally committed as revision 11071 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
bf898960a7
spelling/wording nits in some Doxygen comments
...
Originally committed as revision 10417 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
David Conrad
ab332d0133
Grammar nits
...
Originally committed as revision 10388 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
David Conrad
b62a33d01b
Always use AVFormatContext for av_log messages
...
Originally committed as revision 10387 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
David Conrad
0f651e8cf3
Rename ebml size functions to indicate that they can be used for more kinds of numbers
...
Originally committed as revision 10386 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
David Conrad
8b65b9a313
We shouldn't be passing in sizes larger than 2^56-2, so use an assert
...
Originally committed as revision 10385 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
David Conrad
e5c29287cf
Indentation
...
Originally committed as revision 10384 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
David Conrad
ac9e1177b3
Don't seek when streamed
...
Originally committed as revision 10383 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
David Conrad
c301d5ae0a
Get rid of useless braces
...
Originally committed as revision 10382 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
David Conrad
7e33d3fee4
Indent
...
Originally committed as revision 10381 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
David Conrad
dc4a9f6737
Match the behaviour betwen the bmp and wav codec tag lookups
...
Originally committed as revision 10380 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
David Conrad
46d18a88e1
Write codecprivate to a dynamic buffer so that seeking isn't required
...
Originally committed as revision 10379 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
David Conrad
5c559894e1
Move writing codec private element to its own function
...
Originally committed as revision 10378 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
David Conrad
211783a50a
Cosmetics
...
Originally committed as revision 10377 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
David Conrad
91ca969082
Use num_entries directly rather than mixing it with a local copy
...
Originally committed as revision 10376 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
David Conrad
e3cd80cdac
Doxygenify comments
...
Originally committed as revision 10375 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
David Conrad
7f8582dfc6
Make sure that the calculated duration doesn't decrease
...
Originally committed as revision 10374 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
David Conrad
8ffc5f9e92
Split some really long lines
...
Originally committed as revision 10373 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
David Conrad
3967eb5260
Correct message
...
Originally committed as revision 10372 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago