wiki:

TracQuery

Trac Ticket Queries

In addition to reports, Trac provides support for custom ticket queries, used to display lists of tickets meeting a specified set of criteria.

To configure and execute a custom query, switch to the View Tickets module from the navigation bar, and select the Custom Query link.

Filters

When you first go to the query page the default filter will display tickets relevant to you:

  • If logged in then all open tickets it will display open tickets assigned to you.
  • If not logged in but you have specified a name or email address in the preferences then it will display all open tickets where your email (or name if email not defined) is in the CC list.
  • If not logged and no name/email defined in the preferences then all open issues are displayed.

Current filters can be removed by clicking the button to the left with the minus sign on the label. New filters are added from the pulldown lists at the bottom corners of the filters box ('And' conditions on the left, 'Or' conditions on the right). Filters with either a text box or a pulldown menu of options can be added multiple times to perform an or of the criteria.

You can use the fields just below the filters box to group the results based on a field, or display the full description for each ticket.

Once you've edited your filters click the Update button to refresh your results.

Clicking on one of the query results will take you to that ticket. You can navigate through the results by clicking the Next Ticket or Previous Ticket links just below the main menu bar, or click the Back to Query link to return to the query page.

You can safely edit any of the tickets and continue to navigate through the results using the Next/Previous/Back to Query links after saving your results. When you return to the query any tickets which were edited will be displayed with italicized text. If one of the tickets was edited such that it no longer matches the query criteria the text will also be greyed. Lastly, if a new ticket matching the query criteria has been created, it will be shown in bold.

The query results can be refreshed and cleared of these status indicators by clicking the Update button again.

Saving Queries

Trac allows you to save the query as a named query accessible from the reports module. To save a query ensure that you have Updated the view and then click the Save query button displayed beneath the results. You can also save references to queries in Wiki content, as described below.

Note: one way to easily build queries like the ones below, you can build and test the queries in the Custom report module and when ready - click Save query. This will build the query string for you. All you need to do is remove the extra line breaks.

Note: you must have the REPORT_CREATE permission in order to save queries to the list of default reports. The Save query button will only appear if you are logged in as a user that has been granted this permission. If your account does not have permission to create reports, you can still use the methods below to save a query.

You may want to save some queries so that you can come back to them later. You can do this by making a link to the query from any Wiki page.

[query:status=new|assigned|reopened&version=1.0 Active tickets against 1.0]

Which is displayed as:

Active tickets against 1.0

This uses a very simple query language to specify the criteria (see Query Language).

Alternatively, you can copy the query string of a query and paste that into the Wiki link, including the leading ? character:

[query:?status=new&status=assigned&status=reopened&group=owner Assigned tickets by owner]

Which is displayed as:

Assigned tickets by owner

Using the [[TicketQuery]] Macro

The TicketQuery macro lets you display lists of tickets matching certain criteria anywhere you can use WikiFormatting.

Example:

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

This is displayed as:

No results

Just like the query: wiki links, the parameter of this macro expects a query string formatted according to the rules of the simple ticket query language. This also allows displaying the link and description of a single ticket:

[[TicketQuery(id=123)]]

This is displayed as:

#123
Fuzzed sample crashes ffplay

A more compact representation without the ticket summaries is also available:

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

This is displayed as:

No results

Finally, if you wish to receive only the number of defects that match the query, use the count parameter.

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

This is displayed as:

0

Customizing the table format

You can also customize the columns displayed in the table format (format=table) by using col=<field> - you can specify multiple fields and what order they are displayed by placing pipes (|) between the columns like below:

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

This is displayed as:

Results (1 - 3 of 4816)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#6355 invalid Unexpected values for psnr_avg aitkenap
#6353 fixed Encryption Key deleted when append an HLS M3u8 Playlist stevenliu JohnPi
#6350 duplicate n3.3 corrupts when remuxing mp4->mp4 or mp4->mkv carstenmattner
1 2 3 4 5 6 7 8 9 10 11

Full rows

In table format you can also have full rows by using rows=<field> like below:

[[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 4816)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#6355 invalid Unexpected values for psnr_avg aitkenap
Description

Summary of the bug: I am getting unexpected results when calculating PSNR averaged over y/u/v channels.

Here is an example command and output:

%$ ffmpeg -i file1.mp4 -i file2.mp4  -lavfi  [0][1]psnr=- -f null -
ffmpeg version 3.0 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.9.2 (GCC) 20150212 (Red Hat 4.9.2-6)
  configuration: --prefix=/home/magicpony/conda/envs/devenv --pkg-config-flags=--static --extra-cflags=-I/home/magicpony/conda/envs/devenv/include --extra-ldflags=-L/home/magicpony/conda/envs/devenv/lib --bindir=/home/magicpony/conda/envs/devenv/bin --enable-shared --enable-gpl --enable-libx264 --enable-nonfree --disable-outdev=sdl
  libavutil      55. 17.103 / 55. 17.103
  libavcodec     57. 24.102 / 57. 24.102
  libavformat    57. 25.100 / 57. 25.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 31.100 /  6. 31.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file1.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.25.100
  Duration: 00:00:01.08, start: 0.000000, bitrate: 58 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 72x40, 47 kb/s, 60 fps, 60 tbr, 15360 tbn, 120 tbc (default)
    Metadata:
      handler_name    : VideoHandler
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'file2.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.25.100
  Duration: 00:00:01.08, start: 0.000000, bitrate: 29 kb/s
    Stream #1:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 72x40, 18 kb/s, 60 fps, 60 tbr, 15360 tbn, 120 tbc (default)
    Metadata:
      handler_name    : VideoHandler
Output #0, null, to 'pipe:':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.25.100
    Stream #0:0: Video: wrapped_avframe, yuv420p, 72x40, q=2-31, 200 kb/s, 60 fps, 60 tbn, 60 tbc (default)
    Metadata:
      encoder         : Lavc57.24.102 wrapped_avframe
Stream mapping:
  Stream #0:0 (h264) -> psnr:main
  Stream #1:0 (h264) -> psnr:reference
  psnr -> Stream #0:0 (wrapped_avframe)
Press [q] to stop, [?] for help
n:1 mse_avg:38.32 mse_y:48.93 mse_u:17.59 mse_v:16.61 psnr_avg:32.26 psnr_y:31.24 psnr_u:35.68 psnr_v:35.93
n:2 mse_avg:38.96 mse_y:49.93 mse_u:17.37 mse_v:16.69 psnr_avg:32.19 psnr_y:31.15 psnr_u:35.73 psnr_v:35.91
n:3 mse_avg:39.60 mse_y:50.70 mse_u:18.25 mse_v:16.57 psnr_avg:32.12 psnr_y:31.08 psnr_u:35.52 psnr_v:35.94
n:4 mse_avg:42.54 mse_y:54.43 mse_u:21.36 mse_v:16.20 psnr_avg:31.81 psnr_y:30.77 psnr_u:34.83 psnr_v:36.04
n:5 mse_avg:42.39 mse_y:53.49 mse_u:23.95 mse_v:16.43 psnr_avg:31.82 psnr_y:30.85 psnr_u:34.34 psnr_v:35.97
n:6 mse_avg:41.52 mse_y:52.04 mse_u:23.47 mse_v:17.51 psnr_avg:31.91 psnr_y:30.97 psnr_u:34.43 psnr_v:35.70
n:7 mse_avg:41.34 mse_y:51.78 mse_u:23.24 mse_v:17.68 psnr_avg:31.93 psnr_y:30.99 psnr_u:34.47 psnr_v:35.66
n:8 mse_avg:41.47 mse_y:51.05 mse_u:22.21 mse_v:22.44 psnr_avg:31.92 psnr_y:31.05 psnr_u:34.67 psnr_v:34.62
n:9 mse_avg:41.57 mse_y:52.33 mse_u:20.64 mse_v:19.44 psnr_avg:31.91 psnr_y:30.94 psnr_u:34.98 psnr_v:35.24
n:10 mse_avg:41.85 mse_y:52.68 mse_u:20.77 mse_v:19.57 psnr_avg:31.88 psnr_y:30.91 psnr_u:34.96 psnr_v:35.22
n:11 mse_avg:46.06 mse_y:57.39 mse_u:22.14 mse_v:24.69 psnr_avg:31.46 psnr_y:30.54 psnr_u:34.68 psnr_v:34.21
n:12 mse_avg:46.54 mse_y:58.07 mse_u:21.37 mse_v:25.60 psnr_avg:31.42 psnr_y:30.49 psnr_u:34.83 psnr_v:34.05
n:13 mse_avg:45.89 mse_y:57.19 mse_u:20.76 mse_v:25.83 psnr_avg:31.48 psnr_y:30.56 psnr_u:34.96 psnr_v:34.01
n:14 mse_avg:46.45 mse_y:58.36 mse_u:20.89 mse_v:24.35 psnr_avg:31.43 psnr_y:30.47 psnr_u:34.93 psnr_v:34.27
n:15 mse_avg:48.32 mse_y:61.12 mse_u:21.01 mse_v:24.44 psnr_avg:31.26 psnr_y:30.27 psnr_u:34.91 psnr_v:34.25
n:16 mse_avg:56.38 mse_y:72.63 mse_u:22.19 mse_v:25.56 psnr_avg:30.59 psnr_y:29.52 psnr_u:34.67 psnr_v:34.06
n:17 mse_avg:49.70 mse_y:62.66 mse_u:22.74 mse_v:24.85 psnr_avg:31.13 psnr_y:30.16 psnr_u:34.56 psnr_v:34.18
n:18 mse_avg:50.21 mse_y:63.30 mse_u:23.00 mse_v:25.05 psnr_avg:31.09 psnr_y:30.12 psnr_u:34.51 psnr_v:34.14
n:19 mse_avg:49.64 mse_y:62.56 mse_u:22.62 mse_v:24.98 psnr_avg:31.14 psnr_y:30.17 psnr_u:34.59 psnr_v:34.15
n:20 mse_avg:63.29 mse_y:84.05 mse_u:18.86 mse_v:24.66 psnr_avg:30.08 psnr_y:28.89 psnr_u:35.38 psnr_v:34.21
n:21 mse_avg:64.54 mse_y:86.10 mse_u:18.43 mse_v:24.42 psnr_avg:30.00 psnr_y:28.78 psnr_u:35.48 psnr_v:34.25
n:22 mse_avg:51.93 mse_y:67.39 mse_u:18.00 mse_v:24.04 psnr_avg:30.94 psnr_y:29.84 psnr_u:35.58 psnr_v:34.32
n:23 mse_avg:49.89 mse_y:64.10 mse_u:18.12 mse_v:24.86 psnr_avg:31.12 psnr_y:30.06 psnr_u:35.55 psnr_v:34.18
n:24 mse_avg:50.07 mse_y:64.33 mse_u:18.06 mse_v:25.02 psnr_avg:31.10 psnr_y:30.05 psnr_u:35.56 psnr_v:34.15
n:25 mse_avg:46.23 mse_y:57.80 mse_u:20.46 mse_v:25.74 psnr_avg:31.45 psnr_y:30.51 psnr_u:35.02 psnr_v:34.02
n:26 mse_avg:46.36 mse_y:57.88 mse_u:20.58 mse_v:26.06 psnr_avg:31.44 psnr_y:30.51 psnr_u:35.00 psnr_v:33.97
n:27 mse_avg:44.16 mse_y:54.84 mse_u:20.09 mse_v:25.53 psnr_avg:31.65 psnr_y:30.74 psnr_u:35.10 psnr_v:34.06
n:28 mse_avg:45.24 mse_y:56.58 mse_u:19.87 mse_v:25.22 psnr_avg:31.54 psnr_y:30.60 psnr_u:35.15 psnr_v:34.11
n:29 mse_avg:44.93 mse_y:56.11 mse_u:19.82 mse_v:25.28 psnr_avg:31.57 psnr_y:30.64 psnr_u:35.16 psnr_v:34.10
n:30 mse_avg:43.50 mse_y:54.04 mse_u:19.80 mse_v:25.04 psnr_avg:31.71 psnr_y:30.80 psnr_u:35.16 psnr_v:34.14
n:31 mse_avg:46.52 mse_y:58.66 mse_u:19.71 mse_v:24.77 psnr_avg:31.42 psnr_y:30.45 psnr_u:35.18 psnr_v:34.19
n:32 mse_avg:45.07 mse_y:56.47 mse_u:19.74 mse_v:24.82 psnr_avg:31.56 psnr_y:30.61 psnr_u:35.18 psnr_v:34.18
n:33 mse_avg:46.37 mse_y:58.40 mse_u:19.74 mse_v:24.89 psnr_avg:31.43 psnr_y:30.47 psnr_u:35.18 psnr_v:34.17
n:34 mse_avg:47.50 mse_y:60.11 mse_u:19.80 mse_v:24.76 psnr_avg:31.33 psnr_y:30.34 psnr_u:35.17 psnr_v:34.19
n:35 mse_avg:48.00 mse_y:60.38 mse_u:19.57 mse_v:26.89 psnr_avg:31.28 psnr_y:30.32 psnr_u:35.22 psnr_v:33.84
n:36 mse_avg:47.84 mse_y:60.30 mse_u:19.42 mse_v:26.41 psnr_avg:31.30 psnr_y:30.33 psnr_u:35.25 psnr_v:33.91
n:37 mse_avg:48.59 mse_y:61.27 mse_u:20.07 mse_v:26.41 psnr_avg:31.23 psnr_y:30.26 psnr_u:35.10 psnr_v:33.91
n:38 mse_avg:45.37 mse_y:56.44 mse_u:20.23 mse_v:26.28 psnr_avg:31.53 psnr_y:30.62 psnr_u:35.07 psnr_v:33.93
n:39 mse_avg:45.88 mse_y:57.21 mse_u:20.52 mse_v:25.92 psnr_avg:31.48 psnr_y:30.56 psnr_u:35.01 psnr_v:33.99
n:40 mse_avg:46.42 mse_y:57.79 mse_u:20.59 mse_v:26.78 psnr_avg:31.43 psnr_y:30.51 psnr_u:34.99 psnr_v:33.85
n:41 mse_avg:47.47 mse_y:59.26 mse_u:20.78 mse_v:26.97 psnr_avg:31.33 psnr_y:30.40 psnr_u:34.95 psnr_v:33.82
n:42 mse_avg:47.39 mse_y:59.66 mse_u:20.56 mse_v:25.13 psnr_avg:31.34 psnr_y:30.37 psnr_u:35.00 psnr_v:34.13
n:43 mse_avg:46.33 mse_y:58.17 mse_u:20.25 mse_v:25.04 psnr_avg:31.44 psnr_y:30.48 psnr_u:35.07 psnr_v:34.15
n:44 mse_avg:47.26 mse_y:59.92 mse_u:19.28 mse_v:24.61 psnr_avg:31.35 psnr_y:30.35 psnr_u:35.28 psnr_v:34.22
n:45 mse_avg:48.36 mse_y:61.61 mse_u:19.21 mse_v:24.52 psnr_avg:31.25 psnr_y:30.23 psnr_u:35.30 psnr_v:34.23
n:46 mse_avg:46.64 mse_y:59.00 mse_u:19.27 mse_v:24.55 psnr_avg:31.41 psnr_y:30.42 psnr_u:35.28 psnr_v:34.23
n:47 mse_avg:48.19 mse_y:61.28 mse_u:19.64 mse_v:24.41 psnr_avg:31.27 psnr_y:30.26 psnr_u:35.20 psnr_v:34.25
n:48 mse_avg:47.85 mse_y:60.78 mse_u:19.69 mse_v:24.29 psnr_avg:31.30 psnr_y:30.29 psnr_u:35.19 psnr_v:34.28
n:49 mse_avg:49.75 mse_y:63.24 mse_u:20.13 mse_v:25.41 psnr_avg:31.13 psnr_y:30.12 psnr_u:35.09 psnr_v:34.08
n:50 mse_avg:47.73 mse_y:60.78 mse_u:19.82 mse_v:23.45 psnr_avg:31.31 psnr_y:30.29 psnr_u:35.16 psnr_v:34.43
n:51 mse_avg:48.13 mse_y:61.52 mse_u:19.66 mse_v:23.05 psnr_avg:31.27 psnr_y:30.24 psnr_u:35.20 psnr_v:34.50
n:52 mse_avg:49.32 mse_y:63.32 mse_u:19.69 mse_v:22.94 psnr_avg:31.17 psnr_y:30.12 psnr_u:35.19 psnr_v:34.52
n:53 mse_avg:48.80 mse_y:62.54 mse_u:19.55 mse_v:23.12 psnr_avg:31.21 psnr_y:30.17 psnr_u:35.22 psnr_v:34.49
n:54 mse_avg:49.02 mse_y:62.86 mse_u:19.47 mse_v:23.20 psnr_avg:31.19 psnr_y:30.15 psnr_u:35.24 psnr_v:34.48
n:55 mse_avg:50.93 mse_y:65.70 mse_u:19.58 mse_v:23.20 psnr_avg:31.03 psnr_y:29.96 psnr_u:35.21 psnr_v:34.48
n:56 mse_avg:51.58 mse_y:66.72 mse_u:19.55 mse_v:23.04 psnr_avg:30.97 psnr_y:29.89 psnr_u:35.22 psnr_v:34.51
n:57 mse_avg:51.76 mse_y:66.72 mse_u:19.58 mse_v:24.08 psnr_avg:30.96 psnr_y:29.89 psnr_u:35.21 psnr_v:34.31
n:58 mse_avg:49.88 mse_y:64.00 mse_u:19.39 mse_v:23.91 psnr_avg:31.12 psnr_y:30.07 psnr_u:35.25 psnr_v:34.35
n:59 mse_avg:50.61 mse_y:65.24 mse_u:19.12 mse_v:23.58 psnr_avg:31.05 psnr_y:29.99 psnr_u:35.32 psnr_v:34.41
n:60 mse_avg:52.26 mse_y:67.67 mse_u:19.11 mse_v:23.76 psnr_avg:30.92 psnr_y:29.83 psnr_u:35.32 psnr_v:34.37
n:61 mse_avg:54.16 mse_y:70.39 mse_u:19.00 mse_v:24.42 psnr_avg:30.76 psnr_y:29.66 psnr_u:35.34 psnr_v:34.25
n:62 mse_avg:54.16 mse_y:70.39 mse_u:19.00 mse_v:24.42 psnr_avg:30.76 psnr_y:29.66 psnr_u:35.34 psnr_v:34.25
n:63 mse_avg:54.16 mse_y:70.39 mse_u:19.00 mse_v:24.42 psnr_avg:30.76 psnr_y:29.66 psnr_u:35.34 psnr_v:34.25
n:64 mse_avg:55.99 mse_y:73.26 mse_u:18.67 mse_v:24.21 psnr_avg:30.62 psnr_y:29.48 psnr_u:35.42 psnr_v:34.29
n:65 mse_avg:56.02 mse_y:73.30 mse_u:18.73 mse_v:24.20 psnr_avg:30.61 psnr_y:29.48 psnr_u:35.40 psnr_v:34.29
frame=   65 fps=0.0 q=-0.0 Lsize=N/A time=00:00:01.08 bitrate=N/A speed=22.2x
video:30kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[Parsed_psnr_0 @ 0x1233900] PSNR y:30.273564 u:35.104567 v:34.378487 average:31.283939 min:29.998335 max:32.262509

Taking the first frame as an example, I would expect psnr_avg to be:

10 * log10(average_max^2 / mse_avg) = 10 * log10 * (255^2 / 38.32) = 32.30

However, this is reported as 32.26 by ffmpeg. If I instead use average_max = 254 in the above calculation, I get 32.26.

I believe 255 is the correct value for average_max, but it looks like it may be calculated incorrectly for some pixel formats due to rounding errors - it is calculated here. For yuv420p pixel format, I would expect the values of planeweight to be [4/6, 1/6, 1/6] and max to be [255, 255, 255]. I would therefore expect average_max to be given by:

average_max = (4/6 * 255) + (1/6 * 255) + (1/6 * 255) = 170.0 + 42.5 + 42.5 = 255.0

However, since average_max is of type int (defined here), this looks as though it would actually become:

average_max = (4/6 * 255) + (1/6 * 255) + (1/6 * 255) = 170 + 42 + 42 = 254

I believe this would explain the discrepancy and changing the type of average_max to double should fix it.

#6353 fixed Encryption Key deleted when append an HLS M3u8 Playlist stevenliu JohnPi
Description

Hi,

When i append (with "-hls_flags append_list" parameter) a m3u8 playlist which is encrypted with AES-128 , the original key is deleted :

With the command : "ffmpeg -y -loglevel debug -re -i "udp://239.192.0.2:1234?fifo_size=5000000&overrun_nonfatal=1" -c:v libx264 -profile:v main -level 3.1 -preset ultrafast -s 960x540 -b:v 1500k -crf:v 25 -b:a 96k -hls_time 2 -hls_list_size 5 -hls_wrap 5 -hls_flags append_list -hls_allow_cache 0 -hls_key_info_file /var/www/HLSKEY/file2.keyinfo "/var/www/HLS/B.m3u8" "

(Before Appending the list) #EXT-X-KEY:METHOD=AES-128,URI="http://10.11.0.101/HLSKEY/file2.key"

(After appending the list) #EXT-X-KEY:METHOD=AES-128,URI=""

Copy of the list :

#EXTM3U #EXT-X-VERSION:3 #EXT-X-TARGETDURATION:11 #EXT-X-MEDIA-SEQUENCE:1 #EXT-X-KEY:METHOD=AES-128,URI="" #EXTINF:10.021333, B1.ts #EXTINF:10.000000, B2.ts #EXTINF:10.000000, B3.ts #EXTINF:10.000000, B4.ts #EXT-X-KEY:METHOD=AES-128,URI="http://10.11.0.101/HLSKEY/file2.key" #EXT-X-DISCONTINUITY #EXTINF:10.000000, C8.ts #EXTINF:10.000000, C9.ts #EXTINF:10.000000, C0.ts #EXTINF:10.000000,

i think its a bug in /libavformat/hlsenc.c .

thank you :)

#6350 duplicate n3.3 corrupts when remuxing mp4->mp4 or mp4->mkv carstenmattner
Description

Steps to reproduce:

  1. copy ffmpeg n3.3 version to ./ffmpeg33
  2. remux mp4 -> mkv or mp4 -> mp4 while recoding the audio track
  3. play back and notice visible corruption and error messages like:

[ffmpeg/video] h264: co located POCs unavailable or WARNING: Invalid RefPicListX[] entry!!! It is not included in DPB

If we assume there's ./ffmpeg33 and system-wide ffmpeg is n2.8.11, then this repros the regression:

youtube-dl -f 18 --restrict-filenames https://www.youtube.com/watch?v=jNQXAC9IVRw
ffmpeg -i Me_at_the_zoo-jNQXAC9IVRw.mp4 -c:a libopus -c:v copy Me_at_the_zoo-jNQXAC9IVRw.ffmpeg28.mkv
./ffmpeg33 -i Me_at_the_zoo-jNQXAC9IVRw.mp4 -c:a libopus -c:v copy Me_at_the_zoo-jNQXAC9IVRw.ffmpeg33.mkv
ffmpeg -i Me_at_the_zoo-jNQXAC9IVRw.mp4 -strict -2 -c:a aac -c:v copy Me_at_the_zoo-jNQXAC9IVRw.ffmpeg28.mp4
./ffmpeg33 -i Me_at_the_zoo-jNQXAC9IVRw.mp4 -strict -2 -c:a aac -c:v copy Me_at_the_zoo-jNQXAC9IVRw.ffmpeg33.mp4

I initially noticed this with -c:a libfdk_aac -vbr 3, but the corruption happens with opus and built-in aac too.

The files ending in .ffmpeg28.m?? will play fine and provoke zero errors, while the other two ending in .ffmpeg33.m?? will print at least the RefPicListX error and also show visible corruption in the form of either green blocks with mpv vaapi hw-accel or grey/transparent corruption blocks in mpv software decoding mode.

1 2 3 4 5 6 7 8 9 10 11

Query Language

query: TracLinks and the [[TicketQuery]] macro both use a mini “query language” for specifying query filters. Basically, the filters are separated by ampersands (&). Each filter then consists of the ticket field name, an operator, and one or more values. More than one value are separated by a pipe (|), meaning that the filter matches any of the values. To include a literal & or | in a value, escape the character with a backslash (\).

The available operators are:

= the field content exactly matches one of the values
~= the field content contains one or more of the values
^= the field content starts with one of the values
$= the field content ends with one of the values

All of these operators can also be negated:

!= the field content matches none of the values
!~= the field content does not contain any of the values
!^= the field content does not start with any of the values
!$= the field content does not end with any of the values

The date fields created and modified can be constrained by using the = operator and specifying a value containing two dates separated by two dots (..). Either end of the date range can be left empty, meaning that the corresponding end of the range is open. The date parser understands a few natural date specifications like "3 weeks ago", "last month" and "now", as well as Bugzilla-style date specifications like "1d", "2w", "3m" or "4y" for 1 day, 2 weeks, 3 months and 4 years, respectively. Spaces in date specifications can be left out to avoid having to quote the query string.

created=2007-01-01..2008-01-01 query tickets created in 2007
created=lastmonth..thismonth query tickets created during the previous month
modified=1weekago.. query tickets that have been modified in the last week
modified=..30daysago query tickets that have been inactive for the last 30 days

See also: TracTickets, TracReports, TracGuide

Last modified 22 months ago Last modified on Jul 6, 2015, 10:44:56 PM