summaryrefslogtreecommitdiff
path: root/libavformat/riffenc.c
Commit message (Collapse)AuthorAge
* avformat: Add prefix to get_codec_guid()Michael Niedermayer2015-02-27
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/riffenc: move MP3 LSF threshold to the midway point between the 2Michael Niedermayer2014-11-06
| | | | | | No testcase available but this seems more correct Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit '56dc46a1893251e74be1ad63e54fb38d754bb1fe'Michael Niedermayer2014-11-06
|\ | | | | | | | | | | | | * commit '56dc46a1893251e74be1ad63e54fb38d754bb1fe': riffenc: do not fall back on AVCodecContext.frame_size for MP3 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * riffenc: do not fall back on AVCodecContext.frame_size for MP3Anton Khirnov2014-11-06
| | | | | | | | | | | | | | It will not be set unless the codec context is used as the encoding context, which is discouraged. For MP2, av_get_audio_frame_duration() will already set the frame size properly. For MP3, set the frame size explicitly.
* | avformat/riffenc: Filter out "BottomUp" in ff_put_bmp_header()Benoit Fouet2014-09-23
| | | | | | | | | | | | | | Fixes Ticket1304 Commit message and extradata size bugfix by commiter Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '194be1f43ea391eb986732707435176e579265aa'Michael Niedermayer2014-06-18
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '194be1f43ea391eb986732707435176e579265aa': lavf: switch to AVStream.time_base as the hint for the muxer timebase Conflicts: doc/APIchanges libavformat/filmstripenc.c libavformat/movenc.c libavformat/mxfenc.c libavformat/oggenc.c libavformat/swf.h libavformat/version.h tests/ref/lavf/mkv Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavf: switch to AVStream.time_base as the hint for the muxer timebaseAnton Khirnov2014-06-18
| | | | | | | | | | | | | | | | | | | | | | | | Previously, AVStream.codec.time_base was used for that purpose, which was quite confusing for the callers. This change also opens the path for removing AVStream.codec. The change in the lavf-mkv test is due to the native timebase (1/1000) being used instead of the default one (1/90000), so the packets are now sent to the crc muxer in the same order in which they are demuxed (previously some of them got reordered because of inexact timestamp conversion).
* | Merge commit 'd754ed41727b1fcbab335b510248a9758a73320c'Michael Niedermayer2014-06-18
|\| | | | | | | | | | | | | | | | | | | * commit 'd754ed41727b1fcbab335b510248a9758a73320c': riffenc: take an AVStream instead of an AVCodecContext Conflicts: libavformat/nutenc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * riffenc: take an AVStream instead of an AVCodecContextAnton Khirnov2014-06-18
| | | | | | | | | | | | It will be useful in the following commits. Also, rename the AVCodecContext pointer name from 'stream' to 'codec'.
* | Merge commit '584f88409062f7a134e7391887899e8e723ab6ff'Michael Niedermayer2014-05-17
|\| | | | | | | | | | | | | * commit '584f88409062f7a134e7391887899e8e723ab6ff': riff: Pass block_align to estimate frame duration Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * riff: Pass block_align to estimate frame durationnu7742014-05-17
| | | | | | | | | | | | Fix incorrect wSamplesPerBlock(=0) written for ADPCM_IMA_WAV Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * riff: add ISMP/timecode tagClément Bœsch2014-04-04
| |
| * riff: Add ITRK tagJames Almer2014-04-04
| | | | | | | | | | Some players, like foobar2000 or modern versions of WMP, create WAV files using the ITRK tag for track instead of IPRT
* | Initialize riff and wav size fields to -1 instead of 0.Carl Eugen Hoyos2014-05-03
| | | | | | | | | | | | | | WMP doess not play the output files if the fields are set to 0 and not overwritten (using pipe output). Fixes ticket #3346.
* | ff_put_wav_header: add flag to force WAVEFORMATEXDaniel Verkamp2014-04-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Partially undoes commit 2c4e08d89327595f7f4be57dda4b3775e1198d5e: riff: always generate a proper WAVEFORMATEX structure in ff_put_wav_header A new flag, FF_PUT_WAV_HEADER_FORCE_WAVEFORMATEX, is added to force the use of WAVEFORMATEX rather than PCMWAVEFORMAT even for PCM codecs. This flag is used in the Matroska muxer (the cause of the original change) and in the ASF muxer, because the specifications for these formats indicate explicitly that WAVEFORMATEX should be used. Muxers for other formats will return to the original behavior of writing PCMWAVEFORMAT when writing a header for raw PCM. In particular, this causes raw PCM in WAV to generate the canonical 44-byte header expected by some tools. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Do not allow writing invalid wav channel layouts by default.Carl Eugen Hoyos2014-04-09
| | | | | | | | | | Neither WMP nor QT play wav files with too large channel layouts. Fixes ticket #3543.
* | ff_put_wav_header: remove manual byte countingDaniel Verkamp2014-03-18
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Support writing E-AC3 in wav.Carl Eugen Hoyos2014-01-29
| |
* | Move GUID-related objects to riffenc.c and riff.c.Carl Eugen Hoyos2014-01-29
| | | | | | | | This simplifies the following eac3-in-wav patch.
* | avformat/riffenc: indentPeter Ross2013-12-23
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | riffenc: add option to ff_put_bmp_header to ignore extradataPeter Ross2013-12-23
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '3dd5c95deef51d7fbf6f4458ba42d1335d2f1472'Michael Niedermayer2013-08-06
|/ | | | | | | | | | | * commit '3dd5c95deef51d7fbf6f4458ba42d1335d2f1472': riff: Move muxing code to a separate file Conflicts: configure libavformat/riff.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* riff: Move muxing code to a separate fileDiego Biurrun2013-08-06