summaryrefslogtreecommitdiff
path: root/libavformat/movenc.c
Commit message (Collapse)AuthorAge
* libavformat: Add an ff_ prefix to some lavf internal symbolsMartin Storsjö2012-02-15
| | | | | | | | | | Prefix the functions/tables brktimegm, pcm_read_seek, dv_offset_reset, voc_get_packet, codec_movaudio_tags, codec_movvideo_tags. After this, lavf has no global symbols without the proper prefix. Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Support muxing VC1Martin Storsjö2012-02-14
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Support muxing wmapro in ismv/ismaMartin Storsjö2012-02-13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: cosmetics: Get rid of camelCase identifiersMartin Storsjö2012-01-30
| | | | | | | Also add spacing around operators on touched lines, and split one line to match the common style. Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Allow writing to a non-seekable output if using empty moovMartin Storsjö2012-01-27
| | | | | | | | | | In this mode, no seeks will be done except for within moov/moof fragments, which should fit within the AVIOContext buffer. This allows pushing live smooth streaming format data to a live publishing point on IIS over http. Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Support adding isml (smooth streaming live) metadataMartin Storsjö2012-01-27
| | | | | | | This metadata is required for pushing a live stream to an IIS publishing point. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavf: remove disabled FF_API_TIMESTAMP cruftAnton Khirnov2012-01-27
|
* lavf: remove disabled FF_API_FLAG_RTP_HINT cruftAnton Khirnov2012-01-27
|
* movenc: Don't require frame_size to be set for modes other than movMartin Storsjö2012-01-25
| | | | | | | | | The field frame_size isn't written to the output anywhere except than in mov. This facilitates stream copy from formats that don't set frame_size. Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Reindent a blockMartin Storsjö2012-01-25
| | | | | | | Also add some space around operators and wrap a comment that extends past the 80 char "limit"/guideline. Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Write the sample rate instead of time scale in the stsd atomMartin Storsjö2012-01-25
| | | | | | | For ismv/isma, the time scale might not be the same as the sample rate. Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Add a separate ismv/isma (smooth streaming) muxerMartin Storsjö2012-01-25
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Allow the caller to decide on fragmentationMartin Storsjö2012-01-25
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Add support for writing fragmented mov filesMartin Storsjö2012-01-25
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Add a separate start_ptsMartin Storsjö2012-01-25
| | | | | | | | This fixes calculation of trackDuration if the MOVIentry array is cleared. This is required by the fragmentation support in the next patch. Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Don't store a nonzero creation time if nothing was set by the callerMartin Storsjö2012-01-10
| | | | | | | | | If the creation time is stored in the file as a zero, the mov demuxer skips exporting the creation time. Currently, files muxed without a creation time get demuxed with a Jan 1st 1970 creation timestamp. Signed-off-by: Martin Storsjö <martin@martin.st>
* mov: Don't stick the QuickTime field ordering atom in extradata.Alex Converse2011-12-21
| | | | | | The 'fiel' atoms can be found in H.264 tracks clobbering the extradata. MJPEG supports non field based extradata, and this data should be preserved when copying.
* movenc: Rudimentary IODs support.Alex Converse2011-12-15
|
* lavu: replace int/float punning functionsMans Rullgard2011-12-11
| | | | | | | | | | | | | | | | | | The existing functions defined in intfloat_readwrite.[ch] are both slow and incorrect (infinities are not handled). This introduces a new header with fast, inline conversion functions using direct union punning assuming an IEEE-754 system, an assumption already made throughout the code. The one use of Intel/Motorola extended 80-bit format is replaced by simpler code sufficient under the present constraints (positive normal values). The old functions are marked deprecated and retained for compatibility. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove extraneous semicolonsMans Rullgard2011-12-11
| | | | | | These semicolons cause invalid empty top-level declarations. Signed-off-by: Mans Rullgard <mans@mansr.com>
* movenc: Use the actual converted sample for RTP hintingMartin Storsjö2011-12-11
| | | | | | | | | | | | | If an annex b bitstream is muxed into mov, the actual written sample is reformatted to mp4 syntax before writing. Currently, the RTP hints that copy data from the normal video track, where the payload data might be offset compared to the original sample that the RTP hinting used (when 3 byte annex b startcodes have been converted into 4 byte mp4 format startcodes). Signed-off-by: Martin Storsjö <martin@martin.st>
* Fix a bunch of common typos.Diego Biurrun2011-12-11
|
* movenc: write 'chan' tag for AC-3 in MOVJustin Ruggles2011-12-09
|
* mov: add support for reading and writing the 'chan' tagJustin Ruggles2011-12-09
| | | | | | This implements reading the tag in the demuxer and adds support for writing it in the muxer. Some example channel layout tables for muxing are included for ac3, aac, and alac, but they are not utilized yet.
* movenc: simplify handling of pcm vs. adpcm vs. other compressed codecsJustin Ruggles2011-12-09
| | | | | | Use Sound Sample Description Version 2 for all MOV files. Updated FATE references accordingly. Note that ADPCM is treated as compressed audio in version 2.
* lavf: make av_set_pts_info private.Anton Khirnov2011-11-30
| | | | It's supposed to be called only from (de)muxers.
* movenc: Set a correct packet size for AMR-NB mode 15, "no data"Carl Eugen Hoyos2011-11-05
| | | | | | | | | These packets are valid packets, and consist of 1 byte (which contains the mode bits). This had been analyzed and reported by Igor Levin, igor d levin comverse com. Signed-off-by: Martin Storsjö <martin@martin.st>
* AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*Anton Khirnov2011-10-12
|
* lavc/lavf: use unique private classes.Anton Khirnov2011-10-05
| | | | This is needed by the new AVOptions API.
* movenc: fix NULL reference in mov_write_tkhd_tagAnton Khirnov2011-09-19
| | | | | st may be NULL when there are more mov streams than AVStreams, e.g. when chapters are present.
* movenc: create an alternate group for each media typeAnton Khirnov2011-09-17
| | | | Partially fixes bug 44.
* Fixed size given to init_get_bits().Laurent Aimar2011-09-15
| | | | | | | init_get_bits() takes a number of bits and not a number of bytes as its size argument. Signed-off-by: Alex Converse <alex.converse@gmail.com>
* movenc: use libx264 by default when possible for mov, mp4 and pspAnton Khirnov2011-08-22
|
* movenc: change AV_LOG_INFO to AV_LOG_WARNING for some warningsAnton Khirnov2011-08-16
|
* lavf: use designated initialisers for all (de)muxers.Anton Khirnov2011-07-17
| | | | It's more readable and less prone to breakage.
* lavf: factor out conversion of ISO8601 string to unix timeAnton Khirnov2011-07-13
|
* lavf: deprecate AVFormatContext.timestampAnton Khirnov2011-07-12
| | | | It's replaced by 'creation_time' metadata tag.
* lavc: make avcodec_alloc_context3 officially public.Anton Khirnov2011-07-10
| | | | Deprecate avcodec_alloc_context/2.
* Do not include mathematics.h in avutil.hMans Rullgard2011-07-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Do not include intfloat_readwrite.h in avutil.hMans Rullgard2011-07-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* movenc: Add RTP muxer/hinter optionsMartin Storsjö2011-06-10
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Pass the RTP AVFormatContext to the SDP generationMartin Storsjö2011-06-10
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* sdp: Allow passing an AVFormatContext to the SDP generationMartin Storsjö2011-06-10
| | | | | | | Options from the AVFormatContext can be read for modifying the generated SDP. Signed-off-by: Martin Storsjö <martin@martin.st>
* Remove all uses of now deprecated metadata functions.Anton Khirnov2011-06-08
|
* improved 'edts' atom writing supportGil Pedersen2011-05-31
| | | | | | The 'edts' write function can now generate an initial empty edit resulting in a track-specific presentation delay. This is automatically calculated and inserted for any track where the initial DTS != 0. Added support for long (version==1) timecodes.
* movenc: Deprecate the global RTP hinting flag, use a private AVOption insteadMartin Storsjö2011-05-27
| | | | | | Instead of -fflags rtphint, set -movflags rtphint instead. Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Add an AVClass for setting muxer specific optionsMartin Storsjö2011-05-27
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: always write esds descriptor length using 4 bytes.Baptiste Coudurier2011-05-13
| | | | | | ipod shuffle doesn't support anything else. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* movenc: fix yuv range in avid atoms used by dnxhd.Baptiste Coudurier2011-05-12
| | | | | | yuv range: full 1 / normal 2 Signed-off-by: Anton Khirnov <anton@khirnov.net>
* movenc: fix adpcm mono muxing.Alex Converse2011-05-12
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>