aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/transcode.c
Commit message (Collapse)AuthorAgeFilesLines
* examples/transcode: flush decoder on EOFZhao Zhili2023-08-261-2/+29
| | | | Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
* doc/examples/transcode: convert timestamps between filtering and encodingAnton Khirnov2023-06-031-0/+5
| | | | The timebases do not have to match.
* doc/examples/transcode: stop using decoder's AVCodecContext.time_baseAnton Khirnov2023-06-031-5/+2
| | | | | | | | The contents of this field are not defined for decoding. Use pkt_timebase, which is the timebase of demuxed packets. Drop a tautological av_packet_rescale_ts() call, as the stream and decoder timebases are the same.
* doc/examples/transcode: set packet timebase for decodingAnton Khirnov2023-06-031-0/+5
| | | | It is recommended for callers to set it, though not required.
* examples: apply doxy entries consistency fixesStefano Sabatini2023-02-111-2/+4
| | | | Use consistent format for the @file field and file description.
* examples: rename transcoding to transcodeStefano Sabatini2023-02-111-0/+624