wiki:TicketQuery

TicketQuery Wiki Macro

The TicketQuery macro lets you display ticket information anywhere that accepts WikiFormatting. The query language used by the [[TicketQuery]] macro is described in the TracQuery page.

Usage

[[TicketQuery]]

Wiki macro listing tickets that match certain criteria.

This macro accepts a comma-separated list of keyed parameters, in the form "key=value".

If the key is the name of a field, the value must use the syntax of a filter specifier as defined in TracQuery#QueryLanguage. Note that this is not the same as the simplified URL syntax used for query: links starting with a ? character. Commas (,) can be included in field values by escaping them with a backslash (\).

Groups of field constraints to be OR-ed together can be separated by a literal or argument.

In addition to filters, several other named parameters can be used to control how the results are presented. All of them are optional.

The format parameter determines how the list of tickets is presented:

  • list -- the default presentation is to list the ticket ID next to the summary, with each ticket on a separate line.
  • compact -- the tickets are presented as a comma-separated list of ticket IDs.
  • count -- only the count of matching tickets is displayed
  • rawcount -- only the count of matching tickets is displayed, not even with a link to the corresponding query (since 1.1.1)
  • table -- a view similar to the custom query view (but without the controls)
  • progress -- a view similar to the milestone progress bars

The max parameter can be used to limit the number of tickets shown (defaults to 0, i.e. no maximum).

The order parameter sets the field used for ordering tickets (defaults to id).

The desc parameter indicates whether the order of the tickets should be reversed (defaults to false).

The group parameter sets the field used for grouping tickets (defaults to not being set).

The groupdesc parameter indicates whether the natural display order of the groups should be reversed (defaults to false).

The verbose parameter can be set to a true value in order to get the description for the listed tickets. For table format only. deprecated in favor of the rows parameter

The rows parameter can be used to specify which field(s) should be viewed as a row, e.g. rows=description|summary

The col parameter can be used to specify which fields should be viewed as columns. For table format only.

For compatibility with Trac 0.10, if there's a last positional parameter given to the macro, it will be used to specify the format. Also, using "&" as a field separator still works (except for order) but is deprecated.

Examples

Example Result Macro
Number of Triage tickets: 1614 [[TicketQuery(status=new&milestone=,count)]]
Number of new tickets: 1614 [[TicketQuery(status=new,count)]]
Number of reopened tickets: 153 [[TicketQuery(status=reopened,count)]]
Number of assigned tickets: 0 [[TicketQuery(status=assigned,count)]]
Number of invalid tickets: 1544 [[TicketQuery(status=closed,resolution=invalid,count)]]
Number of worksforme tickets: 240 [[TicketQuery(status=closed,resolution=worksforme,count)]]
Number of duplicate tickets: 511 [[TicketQuery(status=closed,resolution=duplicate,count)]]
Number of wontfix tickets: 244 [[TicketQuery(status=closed,resolution=wontfix,count)]]
Number of fixed tickets: 4511 [[TicketQuery(status=closed,resolution=fixed,count)]]
Number of untriaged tickets (milestone unset): 2436 [[TicketQuery(status!=closed,milestone=,count)]]
Total number of tickets: 10066 [[TicketQuery(count)]]
Number of tickets reported or owned by current user: 0 [[TicketQuery(reporter=$USER,or,owner=$USER,count)]]
Number of tickets created this month: 85 [[TicketQuery(created=thismonth..,count)]]
Number of closed Firefox tickets: 0 [[TicketQuery(status=closed,keywords~=firefox,count)]]
Number of closed Opera tickets: 0 [[TicketQuery(status=closed,keywords~=opera,count)]]
Number of closed tickets affecting Firefox and Opera: 0 [[TicketQuery(status=closed,keywords~=firefox opera,count)]]
Number of closed tickets affecting Firefox or Opera: 0 [[TicketQuery(status=closed,keywords~=firefox|opera,count)]]
Number of tickets that affect Firefox or are closed and affect Opera: 0 [[TicketQuery(status=closed,keywords~=opera,or,keywords~=firefox,count)]]
Number of closed Firefox tickets that don't affect Opera: 0 [[TicketQuery(status=closed,keywords~=firefox -opera,count)]]
Last 3 modified tickets: #10062, #10081, #10084 [[TicketQuery(max=3,order=modified,desc=1,compact)]]

Details of ticket #1:

[[TicketQuery(id=1,col=id|owner|reporter,rows=summary,table)]]

Ticket Owner Reporter
#1 Michael Niedermayer Michael Niedermayer
Summary Test

Format: list

[[TicketQuery(version=0.6|0.7&resolution=duplicate)]]

This is displayed as:

No results

[[TicketQuery(id=123)]]

This is displayed as:

#123
Fuzzed sample crashes ffplay

Format: compact

[[TicketQuery(version=0.6|0.7&resolution=duplicate, compact)]]

This is displayed as:

No results

Format: count

[[TicketQuery(version=0.6|0.7&resolution=duplicate, count)]]

This is displayed as:

0

Format: progress

[[TicketQuery(milestone=0.12.8&group=type,format=progress)]]

This is displayed as:

defect

6626 / 8363

enhancement

943 / 1570

task

37 / 48

license violation

9 / 67

art

13 / 13

sponsoring request

2 / 5

Format: table

You can choose the columns displayed in the table format (format=table) using col=<field>. You can specify multiple fields and the order they are displayed by placing pipes (|) between the columns:

[[TicketQuery(max=3,status=closed,order=id,desc=1,format=table,col=resolution|summary|owner|reporter)]]

This is displayed as:

Results (1 - 3 of 7630)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#10082 invalid fftdnoiz memory problem with block=256 option castilma
#10081 fixed Youtube webm audio has problem merging Ramanan V
#10075 duplicate jpeg2000 console spam ami_stuff
1 2 3 4 5 6 7 8 9 10 11

Full rows

In table format you can specify full rows using rows=<field>:

[[TicketQuery(max=3,status=closed,order=id,desc=1,format=table,col=resolution|summary|owner|reporter,rows=description)]]

This is displayed as:

Results (1 - 3 of 7630)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#10082 invalid fftdnoiz memory problem with block=256 option castilma
Description

Summary of the bug: ffplay aborts when fftdnoiz=block=256 is used. How to reproduce:

$ ffplay -f v4l2 -framerate 30 -video_size 640x480 -i /dev/video0 -vf fftdnoiz=sigma=15:block=256
ffplay version n5.1.2 Copyright (c) 2003-2022 the FFmpeg developers
  built with gcc 12.2.0 (GCC)
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-opencl --enable-opengl --enable-shared --enable-version3 --enable-vulkan
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
Input #0, video4linux2,v4l2, from '/dev/video0':B sq=    0B f=0/0   
  Duration: N/A, start: 246036.396858, bitrate: 147456 kb/s
  Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480, 147456 kb/s, 30 fps, 30 tbr, 1000k tbn
malloc_consolidate(): invalid chunk sizeq=  600KB sq=    0B f=0/0   
Abgebrochen

using ffmpeg instead and saving to a file works, but the file has pink horizontal line fragments. This sounds like memory corruption.

#10081 fixed Youtube webm audio has problem merging Ramanan V
Description

Here's the command and console output of BtBN build of 24-Nov on Windows 10 21H2 on Powershell.

PS C:\Users\Ramanan\Downloads> .\yt-dlp.exe -f 248+251 https://www.youtube.com/watch?v=qr_jvu9jFZU
[debug] Command-line config: ['-f', '248+251', 'https://www.youtube.com/watch?v=qr_jvu9jFZU']
[debug] User config "C:\Users\Ramanan\AppData\Roaming\yt-dlp\config": ['--embed-chapters', '--embed-subs', '--no-cache-dir', '--no-mtime', '--postprocessor-args', "EmbedSubtitle+ffmpeg: -metadata:s:s:0 language=eng -metadata:s:s:0 title='' -metadata:s:s:0 handler_name='' -disposition:s:0 default", '--sub-langs', 'en.*', '--verbose']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.11.11 [8b64402] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg N-109192-gc8e9cc8d20-20221124 (setts), ffprobe N-109192-gc8e9cc8d20-20221124
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.09.24, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1723 extractors
[debug] [youtube] Extracting URL: https://www.youtube.com/watch?v=qr_jvu9jFZU
[youtube] qr_jvu9jFZU: Downloading webpage
[youtube] qr_jvu9jFZU: Downloading android player API JSON
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[info] qr_jvu9jFZU: Downloading 1 format(s): 248+251
[debug] Invoking http downloader on "https://rr1---sn-i5uif5t-2o9s.googlevideo.com/videoplayback?expire=1669745209&ei=2fWFY6ScOuDW3LUP2K-QsAk&ip=116.75.44.200&id=o-AP89VMhIiqu4DvGMgRXtRQTFsSywg7OPv_zEFMLyM8VL&itag=248&source=youtube&requiressl=yes&mh=Oj&mm=31%2C29&mn=sn-i5uif5t-2o9s%2Csn-gwpa-cvhe7&ms=au%2Crdu&mv=m&mvi=1&pl=21&gcr=in&initcwndbps=1268750&spc=SFxXNkx1wVHoGrjYWNvlAXmWinVn3Gk&vprv=1&svpuc=1&mime=video%2Fwebm&gir=yes&clen=25205903&dur=640.680&lmt=1654005490993402&mt=1669723297&fvip=6&keepalive=yes&fexp=24001373%2C24007246&c=ANDROID&txp=2319224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cgcr%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRAIgDV-VsrbB8vjvZ8_m-TSJFv9UGh_Z6rYCkTFfWn5YXAcCIBfD-3XGGmwun3Y3eaabcnD9OUsGV999MlZe8wsy_qQ4&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAMNL2YINYu_jxxHkh_vwfJPujmIsJrs_rX-8ACqQO7uUAiEA7DqAYTu35H7uzQGYVmNvli2xAZNAFdax6AMGn9CVSFI%3D"
[debug] File locking is not supported. Proceeding without locking
[download] Destination: Voice of the Moon (feat. Manu Delago) (Live) [qr_jvu9jFZU].f248.webm
[download] 100% of   24.04MiB in 00:00:03 at 7.42MiB/s
[debug] Invoking http downloader on "https://rr1---sn-i5uif5t-2o9s.googlevideo.com/videoplayback?expire=1669745209&ei=2fWFY6ScOuDW3LUP2K-QsAk&ip=116.75.44.200&id=o-AP89VMhIiqu4DvGMgRXtRQTFsSywg7OPv_zEFMLyM8VL&itag=251&source=youtube&requiressl=yes&mh=Oj&mm=31%2C29&mn=sn-i5uif5t-2o9s%2Csn-gwpa-cvhe7&ms=au%2Crdu&mv=m&mvi=1&pl=21&gcr=in&initcwndbps=1268750&spc=SFxXNkx1wVHoGrjYWNvlAXmWinVn3Gk&vprv=1&svpuc=1&mime=audio%2Fwebm&gir=yes&clen=11225312&dur=640.721&lmt=1654005543553146&mt=1669723297&fvip=6&keepalive=yes&fexp=24001373%2C24007246&c=ANDROID&txp=2318224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cgcr%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIhALJemZw7ZAtlEB_gW5sOxb5iGuRwS-DZ7c8X6FlifPobAiA0lN4NDtmroIRH_gtUSR93Bfe3dLP4yxv1AyQI0RAF9w%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAMNL2YINYu_jxxHkh_vwfJPujmIsJrs_rX-8ACqQO7uUAiEA7DqAYTu35H7uzQGYVmNvli2xAZNAFdax6AMGn9CVSFI%3D"
[download] Destination: Voice of the Moon (feat. Manu Delago) (Live) [qr_jvu9jFZU].f251.webm
[download] 100% of   10.71MiB in 00:00:01 at 7.47MiB/s
[Merger] Merging formats into "Voice of the Moon (feat. Manu Delago) (Live) [qr_jvu9jFZU].webm"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:Voice of the Moon (feat. Manu Delago) (Live) [qr_jvu9jFZU].f248.webm" -i "file:Voice of the Moon (feat. Manu Delago) (Live) [qr_jvu9jFZU].f251.webm" -c copy -map "0:v:0" -map "1:a:0" -movflags "+faststart" "file:Voice of the Moon (feat. Manu Delago) (Live) [qr_jvu9jFZU].temp.webm"
Deleting original file Voice of the Moon (feat. Manu Delago) (Live) [qr_jvu9jFZU].f248.webm (pass -k to keep)
Deleting original file Voice of the Moon (feat. Manu Delago) (Live) [qr_jvu9jFZU].f251.webm (pass -k to keep)
[EmbedSubtitle] There aren't any subtitles to embed
[Metadata] There isn't any metadata to add

Here's the output of 28-Nov:

PS C:\Users\Ramanan\Downloads> .\yt-dlp.exe -f 248+251 https://www.youtube.com/watch?v=qr_jvu9jFZU
[debug] Command-line config: ['-f', '248+251', 'https://www.youtube.com/watch?v=qr_jvu9jFZU']
[debug] User config "C:\Users\Ramanan\AppData\Roaming\yt-dlp\config": ['--embed-chapters', '--embed-subs', '--no-cache-dir', '--no-mtime', '--postprocessor-args', "EmbedSubtitle+ffmpeg: -metadata:s:s:0 language=eng -metadata:s:s:0 title='' -metadata:s:s:0 handler_name='' -disposition:s:0 default", '--sub-langs', 'en.*', '--verbose']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.11.11 [8b64402] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg N-109250-gbecbb22eb0-20221128 (setts), ffprobe N-109250-gbecbb22eb0-20221128
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.09.24, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1723 extractors
[debug] [youtube] Extracting URL: https://www.youtube.com/watch?v=qr_jvu9jFZU
[youtube] qr_jvu9jFZU: Downloading webpage
[youtube] qr_jvu9jFZU: Downloading android player API JSON
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[info] qr_jvu9jFZU: Downloading 1 format(s): 248+251
[debug] Invoking http downloader on "https://rr1---sn-i5uif5t-2o9s.googlevideo.com/videoplayback?expire=1669745507&ei=A_eFY4z6I-a1z7sPpLqDIA&ip=116.75.44.200&id=o-AF-F4k6EZHYK03IjQCycMr9LusmidMXeXM07MxGgartU&itag=248&source=youtube&requiressl=yes&mh=Oj&mm=31%2C29&mn=sn-i5uif5t-2o9s%2Csn-gwpa-cvhe7&ms=au%2Crdu&mv=m&mvi=1&pcm2cms=yes&pl=21&gcr=in&initcwndbps=1281250&spc=SFxXNgqpXXmtLEOwE7YdVfF4UgtOiY4&vprv=1&svpuc=1&mime=video%2Fwebm&gir=yes&clen=25205903&dur=640.680&lmt=1654005490993402&mt=1669723542&fvip=6&keepalive=yes&fexp=24001373%2C24007246&c=ANDROID&txp=2319224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cgcr%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRgIhAJKAH2_dJQl99FgMNnNQmEHo0hpT3GcXK8m2HXASfDEbAiEA96GpWZgWAjjZ-K24I1G58eiHM8VVMdP-3FhKVfbu1-Q%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpcm2cms%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgH4bfADl2Xjj1zdCY-lDaFemj1YNLoUDT_w8v-xi2rCQCIFfkG-CAQXfAqrT5bXhtccu0-Z1a1aO-r9OCDNoL8eCM"
[debug] File locking is not supported. Proceeding without locking
[download] Destination: Voice of the Moon (feat. Manu Delago) (Live) [qr_jvu9jFZU].f248.webm
[download] 100% of   24.04MiB in 00:00:02 at 9.39MiB/s
[debug] Invoking http downloader on "https://rr1---sn-i5uif5t-2o9s.googlevideo.com/videoplayback?expire=1669745507&ei=A_eFY4z6I-a1z7sPpLqDIA&ip=116.75.44.200&id=o-AF-F4k6EZHYK03IjQCycMr9LusmidMXeXM07MxGgartU&itag=251&source=youtube&requiressl=yes&mh=Oj&mm=31%2C29&mn=sn-i5uif5t-2o9s%2Csn-gwpa-cvhe7&ms=au%2Crdu&mv=m&mvi=1&pcm2cms=yes&pl=21&gcr=in&initcwndbps=1281250&spc=SFxXNgqpXXmtLEOwE7YdVfF4UgtOiY4&vprv=1&svpuc=1&mime=audio%2Fwebm&gir=yes&clen=11225312&dur=640.721&lmt=1654005543553146&mt=1669723542&fvip=6&keepalive=yes&fexp=24001373%2C24007246&c=ANDROID&txp=2318224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cgcr%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIgevv9mf86bTR5ouIBpd7ZOjEONv0hBrTpNmidi5Eb7aICIQC-FMaoM0w66eUFr4w6H1AmerP80-j-G4PXVP75BlslYA%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpcm2cms%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgH4bfADl2Xjj1zdCY-lDaFemj1YNLoUDT_w8v-xi2rCQCIFfkG-CAQXfAqrT5bXhtccu0-Z1a1aO-r9OCDNoL8eCM"
[download] Destination: Voice of the Moon (feat. Manu Delago) (Live) [qr_jvu9jFZU].f251.webm
[download] 100% of   10.71MiB in 00:00:01 at 8.89MiB/s
[Merger] Merging formats into "Voice of the Moon (feat. Manu Delago) (Live) [qr_jvu9jFZU].webm"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:Voice of the Moon (feat. Manu Delago) (Live) [qr_jvu9jFZU].f248.webm" -i "file:Voice of the Moon (feat. Manu Delago) (Live) [qr_jvu9jFZU].f251.webm" -c copy -map "0:v:0" -map "1:a:0" -movflags "+faststart" "file:Voice of the Moon (feat. Manu Delago) (Live) [qr_jvu9jFZU].temp.webm"
[debug] ffmpeg version N-109250-gbecbb22eb0-20221128 Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 12.2.0 (crosstool-NG 1.25.0.90_cf9beb1)
  configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --disable-w32threads --enable-pthreads --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl --disable-libpulse --enable-libvmaf --disable-libxcb --disable-xlib --enable-amf --enable-libaom --enable-libaribb24 --enable-avisynth --enable-chromaprint --enable-libdav1d --enable-libdavs2 --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libkvazaar --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librist --enable-libssh --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --disable-libmfx --enable-libvpl --enable-openal --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --disable-libdrm --disable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags= --extra-libs=-lgomp --extra-version=20221128
  libavutil      57. 43.100 / 57. 43.100
  libavcodec     59. 54.100 / 59. 54.100
  libavformat    59. 34.102 / 59. 34.102
  libavdevice    59.  8.101 / 59.  8.101
  libavfilter     8. 50.101 /  8. 50.101
  libswscale      6.  8.112 /  6.  8.112
  libswresample   4.  9.100 /  4.  9.100
  libpostproc    56.  7.100 / 56.  7.100
Input #0, matroska,webm, from 'file:Voice of the Moon (feat. Manu Delago) (Live) [qr_jvu9jFZU].f248.webm':
  Metadata:
    encoder         : google/video-file
  Duration: 00:10:40.68, start: 0.000000, bitrate: 314 kb/s
  Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv, bt709), 1080x1080, SAR 1:1 DAR 1:1, 25 fps, 25 tbr, 1k tbn (default)

ERROR: Postprocessing:   Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv, bt709), 1080x1080, SAR 1:1 DAR 1:1, 25 fps, 25 tbr, 1k tbn (default)
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 3276, in process_info
  File "yt_dlp\YoutubeDL.py", line 3453, in post_process
  File "yt_dlp\YoutubeDL.py", line 3435, in run_all_pps
  File "yt_dlp\YoutubeDL.py", line 3414, in run_pp
  File "yt_dlp\postprocessor\common.py", line 24, in run
  File "yt_dlp\postprocessor\common.py", line 129, in wrapper
  File "yt_dlp\postprocessor\ffmpeg.py", line 828, in run
  File "yt_dlp\postprocessor\ffmpeg.py", line 323, in run_ffmpeg_multiple_files
  File "yt_dlp\postprocessor\ffmpeg.py", line 361, in real_run_ffmpeg
yt_dlp.postprocessor.ffmpeg.FFmpegPostProcessorError:   Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv, bt709), 1080x1080, SAR 1:1 DAR 1:1, 25 fps, 25 tbr, 1k tbn (default)

This a way to reproduce the bug. The bug is unlikely in yt-dlp and can be confirmed by ffmpeg being unable to merge the video and audio files downloaded. The downloaded files are: Voice of the Moon (feat. Manu Delago) (Live) [qr_jvu9jFZU].f248.webm and Voice of the Moon (feat. Manu Delago) (Live) [qr_jvu9jFZU].f251.webm

#10075 duplicate jpeg2000 console spam ami_stuff
Description

https://trac.ffmpeg.org/raw-attachment/ticket/10068/gold2.avi

./ffmpeg -i gold2.avi -vcodec jpeg2000 -y out.avi
ffmpeg version N-109101-g822da7a317 Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
  configuration: --enable-libopenjpeg
  libavutil      57. 42.100 / 57. 42.100
  libavcodec     59. 52.102 / 59. 52.102
  libavformat    59. 34.101 / 59. 34.101
  libavdevice    59.  8.101 / 59.  8.101
  libavfilter     8. 50.100 /  8. 50.100
  libswscale      6.  8.112 /  6.  8.112
  libswresample   4.  9.100 /  4.  9.100
Input #0, avi, from 'gold2.avi':
  Duration: 00:00:12.00, start: 0.000000, bitrate: 153 kb/s
  Stream #0:0: Video: srgc (srgc / 0x63677273), bgra, 299x171, 149 kb/s, 15 fps, 15 tbr, 15 tbn
Stream mapping:
  Stream #0:0 -> #0:0 (srgc (native) -> jpeg2000 (native))
Press [q] to stop, [?] for help
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf59.34.101
  Stream #0:0: Video: jpeg2000 (mjp2 / 0x32706A6D), rgb24(pc, gbr/unknown/unknown, progressive), 299x171, q=2-31, 200 kb/s, 15 fps, 15 tbn
    Metadata:
      encoder         : Lavc59.52.102 jpeg2000
frame=    0 fps=0.0 q=-0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=N/frame=   30 fps=0.0 q=-0.0 size=    1024kB time=00:00:02.00 bitrate=4194.3kbits/frame=   62 fps= 61 q=-0.0 size=    2560kB time=00:00:04.13 bitrate=5073.8kbits/frame=   93 fps= 61 q=-0.0 size=    3840kB time=00:00:06.20 bitrate=5073.8kbits/frame=  123 fps= 61 q=-0.0 size=    5120kB time=00:00:08.20 bitrate=5115.0kbits/frame=  153 fps= 60 q=-0.0 size=    6656kB time=00:00:10.20 bitrate=5345.7kbits/frame=  180 fps= 60 q=-0.0 Lsize=    7927kB time=00:00:11.93 bitrate=5441.7kbits/s speed=3.99x    
video:7917kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.124532%
./ffmpeg -i out.avi -y out2.avi
ffmpeg version N-109101-g822da7a317 Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
  configuration: --enable-libopenjpeg
  libavutil      57. 42.100 / 57. 42.100
  libavcodec     59. 52.102 / 59. 52.102
  libavformat    59. 34.101 / 59. 34.101
  libavdevice    59.  8.101 / 59.  8.101
  libavfilter     8. 50.100 /  8. 50.100
  libswscale      6.  8.112 /  6.  8.112
  libswresample   4.  9.100 /  4.  9.100
Input #0, avi, from 'out.avi':
  Metadata:
    software        : Lavf59.34.101
  Duration: 00:00:12.00, start: 0.000000, bitrate: 5411 kb/s
  Stream #0:0: Video: jpeg2000 (mjp2 / 0x32706A6D), rgb24, 299x171, 5434 kb/s, 15 fps, 15 tbr, 15 tbn
Stream mapping:
  Stream #0:0 -> #0:0 (jpeg2000 (native) -> mpeg4 (native))
Press [q] to stop, [?] for help
[jpeg2000 @ 0x55b213f94540] bpno became invalid
    Last message repeated 184 times
[jpeg2000 @ 0x55b213f97140] bpno became invalid
[jpeg2000 @ 0x55b213f987c0] bpno became invalid
[jpeg2000 @ 0x55b213f99e40] bpno became invalid
[jpeg2000 @ 0x55b213f95ac0] bpno became invalid
[jpeg2000 @ 0x55b213f94540] bpno became invalid
    Last message repeated 4 times
[jpeg2000 @ 0x55b213f97140] bpno became invalid
[jpeg2000 @ 0x55b213f94540] bpno became invalid
    Last message repeated 5 times
[jpeg2000 @ 0x55b213f99e40] bpno became invalid
[jpeg2000 @ 0x55b213f94540] bpno became invalid
    Last message repeated 4 times
[jpeg2000 @ 0x55b213f9cb40] bpno became invalid
[jpeg2000 @ 0x55b213f97140] bpno became invalid
    Last message repeated 1 times
[jpeg2000 @ 0x55b213f987c0] bpno became invalid
[jpeg2000 @ 0x55b213f99e40] bpno became invalid
    Last message repeated 1 times
[jpeg2000 @ 0x55b213f9cb40] bpno became invalid
[jpeg2000 @ 0x55b213f95ac0] bpno became invalid
[jpeg2000 @ 0x55b213f9cb40] bpno became invalid
    Last message repeated 1 times
[jpeg2000 @ 0x55b213f95ac0] bpno became invalid
    Last message repeated 1 times
[jpeg2000 @ 0x55b213f97140] bpno became invalid
    Last message repeated 1 times
[jpeg2000 @ 0x55b213f99e40] bpno became invalid
    Last message repeated 1 times
[jpeg2000 @ 0x55b213f97140] bpno became invalid
    Last message repeated 1 times
[jpeg2000 @ 0x55b213f99e40] bpno became invalid
    Last message repeated 1 times
[jpeg2000 @ 0x55b213f9cb40] bpno became invalid
    Last message repeated 1 times
[jpeg2000 @ 0x55b213f95ac0] bpno became invalid
    Last message repeated 1 times
[jpeg2000 @ 0x55b213f9cb40] bpno became invalid
    Last message repeated 1 times
[jpeg2000 @ 0x55b213f95ac0] bpno became invalid
    Last message repeated 1 times
[jpeg2000 @ 0x55b213f97140] bpno became invalid
    Last message repeated 1 times
[jpeg2000 @ 0x55b213f94540] bpno became invalid
    Last message repeated 1 times
[jpeg2000 @ 0x55b213f99e40] bpno became invalid
[jpeg2000 @ 0x55b213f97140] bpno became invalid
[jpeg2000 @ 0x55b213f94540] bpno became invalid
    Last message repeated 1 times
[jpeg2000 @ 0x55b213f99e40] bpno became invalid
[jpeg2000 @ 0x55b213f97140] bpno became invalid
[jpeg2000 @ 0x55b213f94540] bpno became invalid
    Last message repeated 1 times
[jpeg2000 @ 0x55b213f9cb40] bpno became invalid
    Last message repeated 1 times
[jpeg2000 @ 0x55b213f95ac0] bpno became invalid
    Last message repeated 1 times
[jpeg2000 @ 0x55b213f99e40] bpno became invalid
    Last message repeated 1 times
[jpeg2000 @ 0x55b213f9cb40] bpno became invalid
    Last message repeated 1 times
[jpeg2000 @ 0x55b213f95ac0] bpno became invalid
    Last message repeated 1 times
[jpeg2000 @ 0x55b213f94540] bpno became invalid
    Last message repeated 2 times
[jpeg2000 @ 0x55b213f9e1c0] bpno became invalid
[jpeg2000 @ 0x55b213f94540] bpno became invalid
    Last message repeated 4 times
[jpeg2000 @ 0x55b213f9e1c0] bpno became invalid
[jpeg2000 @ 0x55b213f9f840] bpno became invalid
[jpeg2000 @ 0x55b213f99e40] bpno became invalid
    Last message repeated 1 times
[jpeg2000 @ 0x55b213f9cb40] bpno became invalid
    Last message repeated 1 times
[jpeg2000 @ 0x55b213f94540] bpno became invalid
    Last message repeated 6 times
[jpeg2000 @ 0x55b213f987c0] bpno became invalid
    Last message repeated 1 times
[jpeg2000 @ 0x55b213f97140] bpno became invalid
[jpeg2000 @ 0x55b213f9e1c0] bpno became invalid
    Last message repeated 1 times
[jpeg2000 @ 0x55b213f9f840] bpno became invalid
[jpeg2000 @ 0x55b213f97140] bpno became invalid
[jpeg2000 @ 0x55b213f94540] bpno became invalid
[jpeg2000 @ 0x55b213f99e40] bpno became invalid
    Last message repeated 4 times
[jpeg2000 @ 0x55b213f9f840] bpno became invalid
    Last message repeated 1 times
[jpeg2000 @ 0x55b213f97140] bpno became invalid
    Last message repeated 4 times
[jpeg2000 @ 0x55b213f94540] bpno became invalid
    Last message repeated 7 times
[jpeg2000 @ 0x55b213f99e40] bpno became invalid
[jpeg2000 @ 0x55b213f95ac0] bpno became invalid
[jpeg2000 @ 0x55b213f9e1c0] bpno became invalid
    Last message repeated 1 times
[jpeg2000 @ 0x55b213f9cb40] bpno became invalid
    Last message repeated 4 times
[jpeg2000 @ 0x55b213f987c0] bpno became invalid
[jpeg2000 @ 0x55b213f99e40] bpno became invalid
    Last message repeated 2 times
[jpeg2000 @ 0x55b213f95ac0] bpno became invalid
[jpeg2000 @ 0x55b213f9f840] bpno became invalid
    Last message repeated 1 times
[jpeg2000 @ 0x55b213f97140] bpno became invalid
    Last message repeated 1 times
[jpeg2000 @ 0x55b213f9e1c0] bpno became invalid
    Last message repeated 1 times
[jpeg2000 @ 0x55b213f97140] bpno became invalid
    Last message repeated 1 times
[jpeg2000 @ 0x55b213f95ac0] bpno became invalid
    Last message repeated 4 times
[jpeg2000 @ 0x55b213f9f840] bpno became invalid
[jpeg2000 @ 0x55b213f9cb40] bpno became invalid
    Last message repeated 3 times
[...]
[jpeg2000 @ 0x55b213f9f840] bpno became invalid
    Last message repeated 27 times
[jpeg2000 @ 0x55b213f9e1c0] bpno became invalid
[jpeg2000 @ 0x55b213f9f840] bpno became invalid
    Last message repeated 13 times
[jpeg2000 @ 0x55b213f9e1c0] bpno became invalid
    Last message repeated 3 times
[jpeg2000 @ 0x55b213f9f840] bpno became invalid
    Last message repeated 23 times
[jpeg2000 @ 0x55b213f9e1c0] bpno became invalid
    Last message repeated 2 times
[jpeg2000 @ 0x55b213f9f840] bpno became invalid
    Last message repeated 28 times
[jpeg2000 @ 0x55b213f9e1c0] bpno became invalid
[jpeg2000 @ 0x55b213f9f840] bpno became invalid
    Last message repeated 8 times
[jpeg2000 @ 0x55b213f9e1c0] bpno became invalid
    Last message repeated 125 times
frame=  180 fps=0.0 q=2.0 Lsize=     463kB time=00:00:11.93 bitrate= 317.7kbits/s speed=13.2x    
video:453kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.179500%
1 2 3 4 5 6 7 8 9 10 11


See also: TracQuery, TracTickets, TracReports

Last modified 20 months ago Last modified on Apr 17, 2021, 4:33:53 PM
Note: See TracWiki for help on using the wiki.