summaryrefslogtreecommitdiff
path: root/libavformat/matroskaenc.c
Commit message (Collapse)AuthorAge
* matroskaenc: add support for muxing SRT tracksAurelien Jacobs2010-07-25
| | | | Originally committed as revision 24503 to svn://svn.ffmpeg.org/ffmpeg/trunk
* matroskaenc: write DisplayUnit element to better match the specAurelien Jacobs2010-07-14
| | | | | | | This makes it clear that we are specifying the aspect ratio, and not the intended display size in pixels. Originally committed as revision 24239 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix grammar errors in documentationMåns Rullgård2010-06-30
| | | | Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
* matroska: move LFG state from muxer context to local variableMåns Rullgård2010-06-08
| | | | | | | The LFG is only used in one place, so there is no need to keep it in the context. Originally committed as revision 23527 to svn://svn.ffmpeg.org/ffmpeg/trunk
* matroskaenc: Don't write a second seekhead for the clusters; mkvalidate agreesDavid Conrad2010-06-04
| | | | | | with me that it's unnecessary. Originally committed as revision 23478 to svn://svn.ffmpeg.org/ffmpeg/trunk
* matroskaenc: Check that tracks was allocatedDavid Conrad2010-06-04
| | | | Originally committed as revision 23477 to svn://svn.ffmpeg.org/ffmpeg/trunk
* matroskaenc: Use av_get_random_seed -> lfg for segment UIDDavid Conrad2010-06-04
| | | | Originally committed as revision 23476 to svn://svn.ffmpeg.org/ffmpeg/trunk
* matroskaenc: Make put_ebml_binary take a void pointerDavid Conrad2010-06-04
| | | | Originally committed as revision 23475 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add WebM muxerJames Zern2010-06-04
| | | | | | Patch by James Zern <jzern at google> Originally committed as revision 23474 to svn://svn.ffmpeg.org/ffmpeg/trunk
* matroskaenc: Mux clusters betterJames Zern2010-06-04
| | | | | | | | | | Start them on keyframes when reasonable, and delay writing audio packets to help ensure that there's audio samples available for the first frame in clusters. Patch by James Zern <jzern at google> Originally committed as revision 23473 to svn://svn.ffmpeg.org/ffmpeg/trunk
* matroskaenc: Write codec time base as default duration for video tracks.David Conrad2010-05-24
| | | | | | | | This isn't exactly semantically equivalent, but the field has already been long abused to mean this, and writing it helps in determining a decent cfr time base when transcoding from a mkv where the video codec stores none (VP8). Originally committed as revision 23284 to svn://svn.ffmpeg.org/ffmpeg/trunk
* matroskaenc: Don't write track timecode scaleDavid Conrad2010-05-22
| | | | | | It's not required for mkv and unsupported in webm Originally committed as revision 23247 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY.Jean-Daniel Dupas2010-03-31
| | | | | | Patch by Jean-Daniel Dupas, devlists shadowlab org Originally committed as revision 22744 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-30
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Matroska muxer : Don't create audio tracks for unsupported audio codecs.Jai Menon2010-03-25
| | | | Originally committed as revision 22669 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Silence ridiculous gcc warning.Carl Eugen Hoyos2010-03-24
| | | | Originally committed as revision 22654 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add VorbisComment writing to FLAC files.James Darnley2010-03-20
| | | | | | Patch by James Darnley <james darnley at gmail>. Originally committed as revision 22605 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics : Print newline after error message.Jai Menon2010-03-15
| | | | Originally committed as revision 22551 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mkvenc: Handle negative timestamps correctlyDavid Conrad2010-03-09
| | | | Originally committed as revision 22372 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mkvenc: Don't try to write packets with unknown timestampsDavid Conrad2010-03-09
| | | | Originally committed as revision 22371 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mkvenc: write dts for VFW modeDavid Conrad2010-03-09
| | | | Originally committed as revision 22370 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Ensure that we write clusters and blocks with known size when streamingDavid Conrad2010-03-04
| | | | | | Too many demuxers can't cope with clusters of unknown size. Originally committed as revision 22201 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix indentationDavid Conrad2010-03-04
| | | | Originally committed as revision 22200 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify starting and ending clustersDavid Conrad2010-03-04
| | | | Originally committed as revision 22199 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Write the first seekhead if writing to a stream, we won't be able to seekDavid Conrad2010-03-04
| | | | | | back and write it at the end Originally committed as revision 22198 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Attempt seeking to write EBML master sizes even if streamedDavid Conrad2010-03-04
| | | | | | | Most EBML masters are much smaller than IO_BUFFER_SIZE and thus the size can be updated. This makes parsing the resulting files easier. Originally committed as revision 22197 to svn://svn.ffmpeg.org/ffmpeg/trunk
* matroskaenc: use "title" tag instead of "description" in track title.Anton Khirnov2010-03-03
| | | | | | Patch by Anton Khirnov < whyskas at gmail > Originally committed as revision 22187 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mkvenc: Write TrackTimecodeScaleRafaël Carré2010-01-21
| | | | | | patch by Rafael (dot) Carre (a) gmail (d) com Originally committed as revision 21372 to svn://svn.ffmpeg.org/ffmpeg/trunk
* matroskaenc: Add support for writing chapters.Anton Khirnov2009-10-18
| | | | | | patch by Anton Khirnov wyskas _at_ gmail _dot_ com Originally committed as revision 20277 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add ff_ prefixes to exported symbols in libavformat/riff.h.Daniel Verkamp2009-06-22
| | | | | | patch by Daniel Verkamp, aniel drv nu Originally committed as revision 19254 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Share the function to write a raw FLAC header and use it in the MatroskaJustin Ruggles2009-02-26
| | | | | | muxer. Originally committed as revision 17606 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use a shared function to validate FLAC extradata.Justin Ruggles2009-02-26
| | | | Originally committed as revision 17602 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add AVFMT_VARIABLE_FPS to specify which muxers do not need duplicated frames.Michael Niedermayer2009-02-24
| | | | Originally committed as revision 17554 to svn://svn.ffmpeg.org/ffmpeg/trunk
* matroskaenc: use new metadata APIAurelien Jacobs2009-02-15
| | | | Originally committed as revision 17336 to svn://svn.ffmpeg.org/ffmpeg/trunk
* matroskaenc: correctly handle h264 streams with 3 bytes nal startcodesAurelien Jacobs2009-01-20
| | | | | | | | 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
* Cosmetics: indentDavid Conrad2009-01-17
| | | | Originally committed as revision 16652 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Treat disposition==0 as undefined and don't write the default flagDavid Conrad2009-01-17
| | | | Originally committed as revision 16651 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Flush the buffer after writing the header and when done with writing the filesDavid Conrad2009-01-17
| | | | | | Fixes writing small (~4kb) files. Originally committed as revision 16650 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after last commitLuca Abeni2009-01-15
| | | | Originally committed as revision 16617 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not reallocate AVPacket's data when muxing a packetLuca Abeni2009-01-15
| | | | Originally committed as revision 16616 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix build: Add intreadwrite.h and bswap.h #includes where necessary.Diego Biurrun2009-01-11
| | | | Originally committed as revision 16556 to svn://svn.ffmpeg.org/ffmpeg/trunk
* matroskaenc: require global headerAurelien Jacobs2008-10-22
| | | | | | fixes issue696 Originally committed as revision 15667 to svn://svn.ffmpeg.org/ffmpeg/trunk
* matroskaenc: correct muxing of ASS packetsAurelien Jacobs2008-10-04
| | | | | | | | - 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
* matroskaenc: use correct EBML ID for block durationAurelien Jacobs2008-10-04
| | | | Originally committed as revision 15560 to svn://svn.ffmpeg.org/ffmpeg/trunk
* matroskaenc: pass the packet size directly as parameter of mkv_blockgroup_size()Aurelien Jacobs2008-10-04
| | | | Originally committed as revision 15559 to svn://svn.ffmpeg.org/ffmpeg/trunk
* matroskaenc: remove useless mkv_block_size() functionAurelien Jacobs2008-10-04
| | | | Originally committed as revision 15558 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove offset_t typedef and use int64_t directly instead.Diego Biurrun2008-10-03
| | | | | | | 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
* matroska: subtitle display duration must be stored in pkt->convergence_durationAurelien Jacobs2008-09-04
| | | | Originally committed as revision 15206 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change codec_tag type from const struct AVCodecTag ** to const struct ↵Reimar Döffinger2008-08-24
| | | | | | AVCodecTag * const * Originally committed as revision 14947 to svn://svn.ffmpeg.org/ffmpeg/trunk
* convert every muxer/demuxer to write/read sample_aspect_ratio from/toAurelien Jacobs2008-08-23
| | | | | | the corresponding AVStream instead of AVCodecContext Originally committed as revision 14933 to svn://svn.ffmpeg.org/ffmpeg/trunk