[FFmpeg-cvslog] fftools/ffmpeg: add a helper function to access output file size

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Sat Dec 11 14:44:38 2021 +0100| [9fe62a545f02c63ebae3a2fe26e4018e4be1e655] | committer: Anton Khirnov fftools/ffmpeg: add a helper function to access output file size Stop accessing muxer internals from outside of ffmpeg_mux. > http://git.videolan.org

[FFmpeg-cvslog] fftools/ffmpeg_mux: add private muxer context

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Sat Dec 11 14:03:18 2021 +0100| [6a23be92d2a0b1f5100afa0fd3ff33e8510b6eb3] | committer: Anton Khirnov fftools/ffmpeg_mux: add private muxer context Move header_written into it, which is not (and should not be) used by any code outside of ffmpeg_mux. I

[FFmpeg-cvslog] fftools/ffmpeg: fix the type of limit_filesize

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Tue Jan 11 10:26:49 2022 +0100| [81af4dec27b6e0db7b7ed80bf96aaaccbf702954] | committer: Anton Khirnov fftools/ffmpeg: fix the type of limit_filesize The option is parsed as INT64 (signed). It is also compared to the output of avio_tell(), which is also

[FFmpeg-cvslog] fftools/ffmpeg: refactor limiting output file size with -fs

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Sat Dec 11 14:12:08 2021 +0100| [d8e944c2385fab726beb48011ebe1e48b84fe96c] | committer: Anton Khirnov fftools/ffmpeg: refactor limiting output file size with -fs Move the file size checking code to ffmpeg_mux. Use the recently introduced of_filesize(),

[FFmpeg-cvslog] fftools/ffmpeg: set want_sdp when initializing the muxer

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Sat Dec 11 14:25:14 2021 +0100| [12e9e50219e60bb5d15bc77f57572274d0ca8a46] | committer: Anton Khirnov fftools/ffmpeg: set want_sdp when initializing the muxer Allows making the variable local to ffmpeg_mux. > http://git.videolan.org/gitweb.cgi/ffmpeg.

[FFmpeg-cvslog] fftools/ffmpeg: refactor the code checking for bitexact output

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Sat Dec 11 15:37:41 2021 +0100| [4877842bb5c2481fb06b4c7e2b817c2c75120a75] | committer: Anton Khirnov fftools/ffmpeg: refactor the code checking for bitexact output Figure out earlier whether the output stream/file should be bitexact and store this inf

[FFmpeg-cvslog] fftools/ffmpeg: write the header for stream-less outputs when initializing the muxer

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Sat Dec 11 14:33:26 2021 +0100| [cc4964607724980aae242777af9b35567b2fc627] | committer: Anton Khirnov fftools/ffmpeg: write the header for stream-less outputs when initializing the muxer There is no reason to delay this. > http://git.videolan.org/git

[FFmpeg-cvslog] fftools/ffmpeg: access output file chapters through a wrapper

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Sat Dec 11 16:10:41 2021 +0100| [48989efb7678a2a18392b17862ea661a4ca07758] | committer: Anton Khirnov fftools/ffmpeg: access output file chapters through a wrapper Avoid accessing the muxer context directly, as this will become forbidden in future comm

[FFmpeg-cvslog] fftools/ffmpeg: move closing the file into of_write_trailer()

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Mon Dec 13 15:13:37 2021 +0100| [cc1cc2c65e7b776433791adea932e0ea9b1cfd42] | committer: Anton Khirnov fftools/ffmpeg: move closing the file into of_write_trailer() The current code postpones closing the files until after printing the final report, whic

[FFmpeg-cvslog] fftools/ffmpeg: do not log to the muxer context

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Sat Dec 11 16:13:13 2021 +0100| [35bfcff07f3b5efc8f322d899de136040c2772a7] | committer: Anton Khirnov fftools/ffmpeg: do not log to the muxer context All other logging goes to NULL context. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3

[FFmpeg-cvslog] fftools/ffmpeg: move the mux queue into muxer private data

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Sun Dec 12 12:16:42 2021 +0100| [9c2b800203a5a8f3d83f3b8f28e8c50d28186b39] | committer: Anton Khirnov fftools/ffmpeg: move the mux queue into muxer private data The muxing queue currently lives in OutputStream, which is a very large struct storing the

[FFmpeg-cvslog] fftools/ffmpeg_mux: split queuing packets into a separate function

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Sun Dec 12 12:58:10 2021 +0100| [6999a3cb18869726ffc8a246ffa211f07efbfeb6] | committer: Anton Khirnov fftools/ffmpeg_mux: split queuing packets into a separate function > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6999a3cb18869726ffc8a24

[FFmpeg-cvslog] fftools/ffmpeg_mux: split of_write_packet()

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Sun Dec 12 13:37:37 2021 +0100| [ec00b005f9fa0942954bfc865f3b9606aa957a3c] | committer: Anton Khirnov fftools/ffmpeg_mux: split of_write_packet() It is currently called from two places: - output_packet() in ffmpeg.c, which submits the newly available o

[FFmpeg-cvslog] fftools/ffmpeg: move output file opts into private context

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Mon Dec 13 15:50:36 2021 +0100| [52fee96ae9ed34041718d238223a207e2c018dae] | committer: Anton Khirnov fftools/ffmpeg: move output file opts into private context It is private to the muxer, no reason to access it from outside. > http://git.videolan.org

[FFmpeg-cvslog] fftools/ffmpeg: move freeing 2pass input stats to a better place

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Mon May 9 12:58:08 2022 +0200| [dceccd4aebe92179f748ab71e048a927968c5b5a] | committer: Anton Khirnov fftools/ffmpeg: move freeing 2pass input stats to a better place The current placement of this free is historical - it used to be followed by avcodec_

[FFmpeg-cvslog] fftools/ffmpeg: use refcounted packets for encoded subtitles

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Mon Apr 4 12:26:18 2022 +0200| [481b27e8503def47e10d8692d3adf3ef69a34dce] | committer: Anton Khirnov fftools/ffmpeg: use refcounted packets for encoded subtitles > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=481b27e8503def47e10d8692d3adf

[FFmpeg-cvslog] fftools/ffmpeg: do not send spurious EOF for streamcopy when looping

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Fri Jun 10 15:55:51 2022 +0200| [f52d045e341919798f41ce7eee083a43f45c1e1f] | committer: Anton Khirnov fftools/ffmpeg: do not send spurious EOF for streamcopy when looping > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f52d045e341919798f41c

[FFmpeg-cvslog] fate/ffmpeg: add a test for interleaving video+subs

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Wed Jun 8 12:42:39 2022 +0200| [d55b8dbcff41cac22f593c461576a9c7f6d3f270] | committer: Anton Khirnov fate/ffmpeg: add a test for interleaving video+subs > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d55b8dbcff41cac22f593c461576a9c7f6d3f2

[FFmpeg-cvslog] fftools/ffmpeg: use last filter output pts to choose next output stream

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Fri Jun 10 14:38:32 2022 +0200| [b2b9e9ccee0647b4695edaa66ae824850260ee02] | committer: Anton Khirnov fftools/ffmpeg: use last filter output pts to choose next output stream This will be needed in following commits that will add new buffering stages af

[FFmpeg-cvslog] fftools/ffmpeg: use pre-BSF DTS for choosing next output

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Fri Jun 10 14:45:48 2022 +0200| [d02ae31fb255a151ebf0546f1a349ccf951666a2] | committer: Anton Khirnov fftools/ffmpeg: use pre-BSF DTS for choosing next output The following commits will add a new buffering stage after bitstream filters, which should no

[FFmpeg-cvslog] fftools/ffmpeg_mux: reindent

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Fri Jun 10 12:55:05 2022 +0200| [919638ff5c99e33d91974506b19d42dcee04690b] | committer: Anton Khirnov fftools/ffmpeg_mux: reindent > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=919638ff5c99e33d91974506b19d42dcee04690b --- fftools/ffmpeg

[FFmpeg-cvslog] fftools/ffmpeg: rework -shortest implementation

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Fri Jun 10 14:21:42 2022 +0200| [4740fea7ddf5f81577c9f5a0c096a8a16a54716e] | committer: Anton Khirnov fftools/ffmpeg: rework -shortest implementation The -shortest option (which finishes the output file at the time the shortest stream ends) is currentl

[FFmpeg-cvslog] fftools: add an object pool

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Thu Jun 16 10:25:00 2022 +0200| [9ac78fb347e26270ebaf5ed41e55d34065853583] | committer: Anton Khirnov fftools: add an object pool Allows to avoid constantly allocating and freeing objects like AVFrame or AVPacket. > http://git.videolan.org/gitweb.cgi/

[FFmpeg-cvslog] fftools/ffmpeg: use the sync queues to handle -frames

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Tue Mar 29 11:04:41 2022 +0200| [587081a1794a1f95c80c9967df135d3eb08fd17f] | committer: Anton Khirnov fftools/ffmpeg: use the sync queues to handle -frames Same issues apply to it as to -shortest. Changes the results of the following tests: - matroska

[FFmpeg-cvslog] fftools/ffmpeg: stop using OutputStream.frame_number in print_report()

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Thu Mar 31 13:58:28 2022 +0200| [4cd19eaffa1fba01a7e8622a0f47f210ca4e8bcf] | committer: Anton Khirnov fftools/ffmpeg: stop using OutputStream.frame_number in print_report() This field means different things when the video is encoded (number of frames e

[FFmpeg-cvslog] fftools/ffmpeg: only set OutputStream.frame_number for video encoding

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Thu Mar 31 17:10:55 2022 +0200| [4403851ca92d2eedb098a27cf91744e7e234c136] | committer: Anton Khirnov fftools/ffmpeg: only set OutputStream.frame_number for video encoding It is unused otherwise. Rename the field to vsync_frame_number to better reflec

[FFmpeg-cvslog] fftools/ffmpeg: make the muxer AVFormatContext private to ffmpeg_mux.c

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Wed Mar 30 10:50:37 2022 +0200| [ff593c6c882791451199e3accd80304bcb8f0413] | committer: Anton Khirnov fftools/ffmpeg: make the muxer AVFormatContext private to ffmpeg_mux.c Since the muxer will operate in a separate thread in the future, the muxer cont

[FFmpeg-cvslog] fftools/ffmpeg_mux: return errors from of_submit_packet()

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Fri Apr 1 10:03:46 2022 +0200| [52bc8a842e037214e1644f61962982c73a175eca] | committer: Anton Khirnov fftools/ffmpeg_mux: return errors from of_submit_packet() Do not call exit_program(), as that would conflict with moving this code into a separate thr

[FFmpeg-cvslog] fftools/ffmpeg_mux: return errors from submit_packet()

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Fri Apr 1 10:03:46 2022 +0200| [279214dd517f6c58e43a4d6e8beb09accbaf3d4b] | committer: Anton Khirnov fftools/ffmpeg_mux: return errors from submit_packet() Do not call exit_program(), as that would conflict with moving this code into a separate thread

[FFmpeg-cvslog] fftools/ffmpeg_mux: return errors from write_packet()

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Fri Apr 1 10:03:46 2022 +0200| [9fc64574e1c1fb9618ef89fa0148238d6482b8c6] | committer: Anton Khirnov fftools/ffmpeg_mux: return errors from write_packet() Do not call exit_program(), as that would conflict with moving this code into a separate thread.

[FFmpeg-cvslog] fftools/ffmpeg_mux: do not call exit_program() in print_sdp()

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Fri Apr 1 10:29:23 2022 +0200| [33f5cacb1d776028ab7dfb3e19969f8fe2439f4f] | committer: Anton Khirnov fftools/ffmpeg_mux: do not call exit_program() in print_sdp() Return an error instead, as is already done in other places in this function. > http://

[FFmpeg-cvslog] fftools/ffmpeg: stop using av_stream_get_end_pts()

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Fri Apr 1 12:04:35 2022 +0200| [8e854cdd2e954be42d907671a7bf2826a3141f59] | committer: Anton Khirnov fftools/ffmpeg: stop using av_stream_get_end_pts() It retrieves the muxer's internal timestamp with under-defined semantics. Continuing to use this va

[FFmpeg-cvslog] fftools/ffmpeg: depend on threads

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Mon Mar 21 15:39:29 2022 +0100| [760ce4bc0bd11f74f0851c0a662dd5cae888df83] | committer: Anton Khirnov fftools/ffmpeg: depend on threads ffmpeg will be switched to a fully threaded architecture, starting with muxers. > http://git.videolan.org/gitweb.cg

[FFmpeg-cvslog] fftools: add a multistream thread-safe queue

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Sun Apr 3 13:59:14 2022 +0200| [37c764df6730e8299c468dd7636c45da6e158ef3] | committer: Anton Khirnov fftools: add a multistream thread-safe queue It is similar to AVThreadMessageQueue, but supports multiple streams, each with its own EOF state. > htt

[FFmpeg-cvslog] fftools/ffmpeg: move each muxer to a separate thread

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Thu Mar 31 17:33:48 2022 +0200| [2d924b3a630869c65fe0c76568910500f54ed057] | committer: Anton Khirnov fftools/ffmpeg: move each muxer to a separate thread > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2d924b3a630869c65fe0c76568910500f54ed

[FFmpeg-cvslog] [ffmpeg-web] branch master updated. 9725681 web/index: add news entry for 5.1

2022-07-23 Thread ffmpeg-git
The branch, master has been updated via 972568162d75dd6d1093bd5afb403b79821d3b96 (commit) from 42a0288d963853aa3c7043946feb4ac3f5242fd4 (commit) - Log - commit 972568162d75dd6d1093bd5afb403b79821d3b96 Author: James

[FFmpeg-cvslog] Tag n5.2-dev : Main development, master branch after release/5.1 branched off

2022-07-23 Thread git
[ffmpeg] [branch: refs/tags/n5.2-dev] Tag:3b657e2d6dfa6006fea3c221ef1ffc2be704c042 > http://git.videolan.org/gitweb.cgi/ffmpeg.git?a=tag;h=3b657e2d6dfa6006fea3c221ef1ffc2be704c042 Tagger: James Almer Date: Sat Jul 23 11:51:00 2022 -0300 Main development, master branch after release/5.1 bra

[FFmpeg-cvslog] fftools/objpool: Don't use return with expression when returning void

2022-07-23 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Jul 23 18:16:21 2022 +0200| [8136ab8e768b3341929f98412071d492fa729a06] | committer: Andreas Rheinhardt fftools/objpool: Don't use return with expression when returning void Using tail calls with functions returning void is forbidden (C99/C11 6

[FFmpeg-cvslog] fftools/ffmpeg: Zero subtitle packet padding

2022-07-23 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Jul 23 18:33:08 2022 +0200| [b0ae5d02f3664545e54c8ce0101037619c4fa7e6] | committer: Andreas Rheinhardt fftools/ffmpeg: Zero subtitle packet padding Fixes uninitialized reads in the sub-lrc-remux test. Signed-off-by: Andreas Rheinhardt > htt

[FFmpeg-cvslog] avformat/lrcenc: Avoid reading packet padding

2022-07-23 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Jul 23 18:55:08 2022 +0200| [30c7cff399334b8924c7461a5c128e23d0cc3680] | committer: Andreas Rheinhardt avformat/lrcenc: Avoid reading packet padding (Everything would be fine if the packet was properly padded.) Signed-off-by: Andreas Rheinhar

[FFmpeg-cvslog] avformat/asfcrypt: Fix wrong array length in function declaration

2022-07-23 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Jul 10 20:04:05 2022 +0200| [c807ee6975d9dc6f783f2071bf5cb30d663b53ae] | committer: Andreas Rheinhardt avformat/asfcrypt: Fix wrong array length in function declaration multiswap_step() and multiswap_inv_step() both only require six keys; in a

[FFmpeg-cvslog] avcodec/snowenc: Don't pass int[2] as parameter declared as int[3]

2022-07-23 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Jul 10 20:36:51 2022 +0200| [708890e78f3e8ef0497d37ae6851d4b432854568] | committer: Andreas Rheinhardt avcodec/snowenc: Don't pass int[2] as parameter declared as int[3] check_block_inter() currently does this when calling check_block(). This

[FFmpeg-cvslog] avcodec/h264_loopfilter: Fix incorrect function parameter array size

2022-07-23 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Jul 10 21:25:38 2022 +0200| [890efee2b80d5b3b5eb087d1f2a472854f66afe3] | committer: Andreas Rheinhardt avcodec/h264_loopfilter: Fix incorrect function parameter array size filter_mb_mbaff_edgev() and filter_mb_mbaff_edgecv() have a function pa

[FFmpeg-cvslog] avcodec/svq1enc: Use unsigned for parameter >= 0 to workaround GCC bug

2022-07-23 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Jul 11 00:46:16 2022 +0200| [1cb7fd317c84117bbb13b14851d62f77f57bb9ce] | committer: Andreas Rheinhardt avcodec/svq1enc: Use unsigned for parameter >= 0 to workaround GCC bug encode_block() in svq1enc.c looks like the following: static int enc

[FFmpeg-cvslog] lavf/dnn: dump OpenVINO model input/output names to OVMdel struct.

2022-07-23 Thread Ting Fu
ffmpeg | branch: master | Ting Fu | Thu Jul 21 17:41:03 2022 +0800| [23953b9eb79bb52eb9a6dfc81a5998f90c9b56fb] | committer: Guo Yejun lavf/dnn: dump OpenVINO model input/output names to OVMdel struct. Dump all input/output names to OVModel struct. In case other funcs use them for reporting err

[FFmpeg-cvslog] fftools/ffmpeg: replace AVFrame.pkt_duration with duration

2022-07-23 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Sat Jul 23 12:52:02 2022 +0200| [34cbda3ee193a793dea396314d7d11f8c4108fc3] | committer: Anton Khirnov fftools/ffmpeg: replace AVFrame.pkt_duration with duration Mistakenly reintroduced in 4740fea7ddf. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a