summaryrefslogtreecommitdiffstats
path: root/libavformat/wtvenc.c
Commit message (Collapse)AuthorAgeFilesLines
* avformat: replace all uses of av_copy_packet()James Almer2017-09-251-1/+1
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/riff.h : remove unused function parameter "const AVCodecTag *tags" ↵Aleksandr Slobodeniuk2017-08-021-1/+1
| | | | | | | of "void ff_put_bmp_header()" Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit '9200514ad8717c63f82101dc394f4378854325bf'Derek Buitenhuis2016-04-101-29/+29
| | | | | | | | | | | | | | | | * commit '9200514ad8717c63f82101dc394f4378854325bf': lavf: replace AVStream.codec with AVStream.codecpar This has been a HUGE effort from: - Derek Buitenhuis <derek.buitenhuis@gmail.com> - Hendrik Leppkes <h.leppkes@gmail.com> - wm4 <nfxjfg@googlemail.com> - Clément Bœsch <clement@stupeflix.com> - James Almer <jamrial@gmail.com> - Michael Niedermayer <michael@niedermayer.cc> - Rostislav Pehlivanov <atomnuker@gmail.com> Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avformat: use ff_standardize_creation_time for formats writing all format ↵Marton Balint2016-03-031-0/+1
| | | | | | | string metadata Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* Replace remaining occurances of av_free_packet with av_packet_unrefHendrik Leppkes2015-10-271-1/+1
|
* avformat/wtvenc: Use av_realloc_array()Michael Niedermayer2015-04-111-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat: Add prefix to get_codec_guid()Michael Niedermayer2015-02-271-2/+2
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* ff_put_wav_header: add flag to force WAVEFORMATEXDaniel Verkamp2014-04-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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>
* avformat/wtvenc: advise user when H264 startcode is not presentPeter Ross2014-03-301-1/+7
| | | | | | | Fixes ticket #3473. Signed-off-by: Peter Ross <pross@xvid.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/wtvenc: pad judiciously when writing mpeg2 extradataPeter Ross2014-03-301-2/+3
| | | | | | | Padding rule described here http://msdn.microsoft.com/en-us/library/windows/desktop/dd390707(v=vs.85).aspx Signed-off-by: Peter Ross <pross@xvid.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Move GUID-related objects to riffenc.c and riff.c.Carl Eugen Hoyos2014-01-291-11/+0
| | | | This simplifies the following eac3-in-wav patch.
* wtvenc: output ff_format_none if ff_put_wav_header failsPeter Ross2013-12-231-1/+2
| | | | | | | This occurs when muxing E-AC-3. Signed-off-by: Peter Ross <pross@xvid.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* wtvenc: use codec tag + MEDIASUBTYPE_BASE_GUID, if there is no suitable guidPeter Ross2013-12-231-7/+15
| | | | | | | | | This permits H264, AAC, AAC-LATM muxing. Fixes ticket #536. Signed-off-by: Peter Ross <pross@xvid.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* wtvenc: populate VIDEOINFOHEADER2Peter Ross2013-12-231-8/+43
| | | | | | | Fixes ticket #2835. Signed-off-by: Peter Ross <pross@xvid.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* wtvenc: use ffio_fill()Paul B Mahol2013-05-291-6/+2
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* vformat/wtvenc: fix doxygen commentsMichael Niedermayer2013-05-241-4/+4
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavf: remove some flushing in write_packet muxers callbacks.Clément Bœsch2013-04-141-1/+0
| | | | | Since 4f112a8e3, this is not necessary anymore. Also, it allows to actually disable the flushing.
* wtvenc: mux thumbnail picturePeter Ross2013-01-071-5/+65
|
* wtv: permit root table and first sectors to be located beyond 2GB boundaryPeter Ross2012-12-191-4/+3
| | | | | | Fixes ticket #2025. Signed-off-by: Peter Ross <pross@xvid.org>
* lavf/wtvenc: fix s[tp]_pairs memleak.Clément Bœsch2012-11-131-0/+3
|
* wtvenc: produce seekable filesPeter Ross2012-11-071-7/+71
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* wtvenc: simplify write_timestampPeter Ross2012-11-071-5/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* wtvenc: output third video pts in timestamp chunk (this is what Microsoft ↵Peter Ross2012-11-071-6/+1
| | | | | | Windows Media Center expects) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* wtvenc: indent fixupPeter Ross2012-11-071-5/+5
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* wtvenc: do not emit stream2 and DSATTRIB_TRANSPORT_PROPERTY chunks; these ↵Peter Ross2012-11-071-27/+3
| | | | | | are not required for playback Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* wtv: move duplicated guids into wtv.cPeter Ross2012-11-061-10/+4
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* wtv: rename ff_stream_guid to ff_SBE2_STREAM_DESC_EVENTPeter Ross2012-11-061-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* wtvenc: fix typoPeter Ross2012-11-061-2/+2
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* rename missed CodecID to AVCodecIDMichael Niedermayer2012-08-071-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit '36ef5369ee9b336febc2c270f8718cec4476cb85'Michael Niedermayer2012-08-071-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '36ef5369ee9b336febc2c270f8718cec4476cb85': Replace all CODEC_ID_* with AV_CODEC_ID_* lavc: add AV prefix to codec ids. Conflicts: doc/APIchanges doc/examples/decoding_encoding.c doc/examples/muxing.c ffmpeg.c ffprobe.c ffserver.c libavcodec/8svx.c libavcodec/avcodec.h libavcodec/dnxhd_parser.c libavcodec/dvdsubdec.c libavcodec/error_resilience.c libavcodec/h263dec.c libavcodec/libvorbisenc.c libavcodec/mjpeg_parser.c libavcodec/mjpegenc.c libavcodec/mpeg12.c libavcodec/mpeg4videodec.c libavcodec/mpegvideo.c libavcodec/mpegvideo_enc.c libavcodec/pcm.c libavcodec/r210dec.c libavcodec/utils.c libavcodec/v210dec.c libavcodec/version.h libavdevice/alsa-audio-dec.c libavdevice/bktr.c libavdevice/v4l2.c libavformat/asfdec.c libavformat/asfenc.c libavformat/avformat.h libavformat/avidec.c libavformat/caf.c libavformat/electronicarts.c libavformat/flacdec.c libavformat/flvdec.c libavformat/flvenc.c libavformat/framecrcenc.c libavformat/img2.c libavformat/img2dec.c libavformat/img2enc.c libavformat/ipmovie.c libavformat/isom.c libavformat/matroska.c libavformat/matroskadec.c libavformat/matroskaenc.c libavformat/mov.c libavformat/movenc.c libavformat/mp3dec.c libavformat/mpeg.c libavformat/mpegts.c libavformat/mxf.c libavformat/mxfdec.c libavformat/mxfenc.c libavformat/nsvdec.c libavformat/nut.c libavformat/oggenc.c libavformat/pmpdec.c libavformat/rawdec.c libavformat/rawenc.c libavformat/riff.c libavformat/sdp.c libavformat/utils.c libavformat/vocenc.c libavformat/wtv.c libavformat/xmv.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* lavf: rename remaining av_set_pts_info() to avpriv_set_pts_info().Clément Bœsch2011-12-031-1/+1
|
* cleanup: remove various double end ';' all over the code.Clément Bœsch2011-11-161-1/+1
|
* Use AC-3 as default codec for wtv.Carl Eugen Hoyos2011-11-121-1/+1
|
* wtvenc: ensure fat tables are padded to the sector boundaryPeter Ross2011-11-061-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* wtvenc: use ff_put_guid and remove local copy of this functionPeter Ross2011-11-051-17/+12
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* wtvenc: add @file commentPeter Ross2011-11-051-0/+6
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* fix whitespace nitsPeter Ross2011-11-051-4/+4
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* act, bintext, wtvenc: use named struct initializersAurelien Jacobs2011-09-261-11/+11
|
* wtvenc: add some asserts because iam paranoidMichael Niedermayer2011-09-141-0/+4
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* WTV muxer (2_wtvenc.patch, 3_add_wtv_muxer.patch)zhentan feng2011-09-141-0/+718
OpenPOWER on IntegriCloud