summaryrefslogtreecommitdiff
path: root/libavcodec/srtenc.c
Commit message (Collapse)AuthorAge
* lavc/srtenc: return more meaninful error codesJohn Stebbins2020-04-10
| | | | Signed-off-by: Philip Langdale <philipl@overt.org>
* lavc/srtenc: do not emit any subrip tags with text codecClément Bœsch2016-05-01
| | | | | | | Fixes presence of opening tags when running ffmpeg -i x.ass -c text x.srt Reported-by: Jean First <jeanfirst@gmail.com>
* lavc: reindent a few decoders after previous commitsClément Bœsch2016-02-26
|
* lavc: deprecate decoded ass subtitles with timingsClément Bœsch2016-02-26
|
* lavc: allow subtitle text format to be ASS without timingClément Bœsch2016-02-26
|
* lavc: add text encoderClément Bœsch2015-12-21
|
* Kill timed SRTClément Bœsch2014-09-30
|
* lavc/srtenc: use bprint for text buffers.Nicolas George2013-11-30
| | | | Fix trac ticket #3120.
* lavc/srtenc: just like the decoder, mark SRT encoder as deprecated.Clément Bœsch2012-12-30
|
* lavc/srtenc: do not add trailing line breaks with SubRip.Clément Bœsch2012-12-30
| | | | | | | The SRT muxer is reponsible for separating events with two line breaks, there is no need to add more than necessary. Similarly, other muxers (such as Matroska) are not supposed to add line breaks at the end of the payload.
* add forgotten AV_ prefix to some CODEC_IDsPaul B Mahol2012-12-09
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavc/srtenc: fix invalid read in case of SubRip.Clément Bœsch2012-10-26
| | | | | | | | | | Regression since 6057de19b. The ptr-2 is used to eat the \r\n and add the position information on the timing line. This can't be done in case of SubRip where the timing isn't present in the payload. Note that we can't use yet the side data to transmit the position information since the encode subtitles API is still using buffer+size instead AVPacket as input.
* Merge commit '23aae62c2cb4504a09ceb8cd0cabc1c8b260f521'Michael Niedermayer2012-09-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '23aae62c2cb4504a09ceb8cd0cabc1c8b260f521': alsdec: Check k used for rice decoder. avfiltergraph: silence an uninitialized variable warning xsubenc: reindent lavc: replace AVCodecContext.encode with subtitle-specific callback lavc: add const to private codec class initialization. avconv: don't pass a bogus parameter to avfilter_graph_create_filter(). id3v2: strdup the genre name explicitly. lavf/id3v2: do not export empty fields. buffersrc: add const to the AVFrame* argument of av_buffersrc_write_frame() lavfi: replace empty input/output lists with null pointers Conflicts: ffmpeg_filter.c libavcodec/alsdec.c libavcodec/dvdsubenc.c libavcodec/utils.c libavcodec/v210dec.h libavfilter/af_channelsplit.c libavfilter/avfiltergraph.c libavfilter/buffersrc.c libavfilter/src_movie.c libavfilter/vf_ass.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* lavc/ass_split: add ff_ prefix to ass_style_get().Clément Bœsch2012-09-16
|
* srtenc: Add timing-less "subrip" encoder.Philip Langdale2012-08-15
| | | | | | | | | Unsurprisingly, if a timing-less subrip decoder is desireable, an encoder is as well. With this in place, we can move on to remove the use of the old encoder/decoder with embedded timing and move all timing handling the (de)muxer where they belong. Signed-off-by: Philip Langdale <philipl@overt.org>
* Merge commit '36ef5369ee9b336febc2c270f8718cec4476cb85'Michael Niedermayer2012-08-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* add SubRip encoderAurelien Jacobs2011-03-28
Signed-off-by: Aurelien Jacobs <aurel@gnuage.org>