wiki:

TracQuery


Version 1 (modified by trac, 7 years ago) (diff)

--

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.

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.

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 5281)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#7038 fixed Use of uninitialized values in libavformat's hvcc code jamrial
#7036 fixed ffmpeg-all.1 does not explain -dn sgerwk
#7035 duplicate HLS does not demux entire clip if start_time > 0 ronag
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 5281)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#7038 fixed Use of uninitialized values in libavformat's hvcc code jamrial
Description
[jamrial@ArchVM build]$ valgrind --track-origins=yes --leak-check=full ./ffmpeg -i /var/tmp/samples/hevc-conformance/WPP_A_ericsson_MAIN10_2.bit -c:v copy out.mov
==27390== Memcheck, a memory error detector
==27390== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==27390== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==27390== Command: ./ffmpeg -i /var/tmp/samples/hevc-conformance/WPP_A_ericsson_MAIN10_2.bit -c:v copy out.mov
==27390== 
ffmpeg version N-90141-gaedbb3c72c Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.3.0 (GCC)
  configuration: --enable-gpl --valgrind=valgrind --disable-optimizations --disable-stripping --prefix=/usr
  libavutil      56.  7.101 / 56.  7.101
  libavcodec     58. 12.102 / 58. 12.102
  libavformat    58.  9.100 / 58.  9.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 12.100 /  7. 12.100
  libswscale      5.  0.101 /  5.  0.101
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[hevc @ 0x6c01c00] missing picture in access unit
==27390==    at 0x1569AAE: VALGRIND_PRINTF_BACKTRACE (valgrind.h:6303)
==27390==    by 0x156A697: av_log_default_callback (log.c:351)
==27390==    by 0x156A861: av_vlog (log.c:377)
==27390==    by 0x156A809: av_log (log.c:369)
==27390==    by 0x1212F8E: parse_nal_units (hevc_parser.c:242)
==27390==    by 0x1213211: hevc_parse (hevc_parser.c:316)
==27390==    by 0xA5A7A2: av_parser_parse2 (parser.c:250)
==27390==    by 0x68CB76: parse_packet (utils.c:1451)
==27390==    by 0x68D20A: read_frame_internal (utils.c:1562)
==27390==    by 0x694E76: avformat_find_stream_info (utils.c:3733)
==27390==    by 0x1E9691: open_input_file (ffmpeg_opt.c:1091)
==27390==    by 0x1F31AA: open_files (ffmpeg_opt.c:3202)
Input #0, hevc, from '/var/tmp/samples/hevc-conformance/WPP_A_ericsson_MAIN10_2.bit':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv), 416x240, 25 fps, 25 tbr, 1200k tbn, 25 tbc
[mov @ 0x6d26f80] WARNING codec timebase is very high. If duration is too long,
file may not be playable by quicktime. Specify a shorter timebase
or choose different container.
Output #0, mov, to 'out.mov':
  Metadata:
    encoder         : Lavf58.9.100
    Stream #0:0: Video: hevc (Main 10) (hev1 / 0x31766568), yuv420p10le(tv), 416x240, q=2-31, 25 fps, 25 tbr, 1200k tbn, 1200k tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[mov @ 0x6d26f80] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[mov @ 0x6d26f80] pts has no value
    Last message repeated 47 times
==27390==    at 0x1569AAE: VALGRIND_PRINTF_BACKTRACE (valgrind.h:6303)
==27390==    by 0x156A697: av_log_default_callback (log.c:351)
==27390==    by 0x156A861: av_vlog (log.c:377)
==27390==    by 0x156A809: av_log (log.c:369)
==27390==    by 0x20060D: term_exit (ffmpeg.c:323)
==27390==    by 0x2122EA: transcode (ffmpeg.c:4662)
==27390==    by 0x212AC0: main (ffmpeg.c:4843)
==27390== Conditional jump or move depends on uninitialised value(s)
==27390==    at 0x6CA7B1: av_clip_c (common.h:132)
==27390==    by 0x6CA7B1: skip_bits_long (get_bits.h:209)
==27390==    by 0x6CAD66: get_ue_golomb_long (golomb.h:91)
==27390==    by 0x6CB358: hvcc_parse_vui (hevc.c:315)
==27390==    by 0x6CBBFC: hvcc_parse_sps (hevc.c:583)
==27390==    by 0x6CC22A: hvcc_add_nal_unit (hevc.c:784)
==27390==    by 0x6CD0E7: ff_isom_write_hvcc (hevc.c:1136)
==27390==    by 0x5BB313: mov_write_hvcc_tag (movenc.c:1174)
==27390==    by 0x5BEACF: mov_write_video_tag (movenc.c:1972)
==27390==    by 0x5BF902: mov_write_stsd_tag (movenc.c:2165)
==27390==    by 0x5C0744: mov_write_stbl_tag (movenc.c:2382)
==27390==    by 0x5C1ABD: mov_write_minf_tag (movenc.c:2643)
==27390==    by 0x5C1E55: mov_write_mdia_tag (movenc.c:2697)
==27390==  Uninitialised value was created by a heap allocation
==27390==    at 0x4C2F246: memalign (vg_replace_malloc.c:857)
==27390==    by 0x4C2F361: posix_memalign (vg_replace_malloc.c:1020)
==27390==    by 0x156D1A1: av_malloc (mem.c:87)
==27390==    by 0x6CBD50: nal_unit_extract_rbsp (hevc.c:652)
==27390==    by 0x6CC156: hvcc_add_nal_unit (hevc.c:754)
==27390==    by 0x6CD0E7: ff_isom_write_hvcc (hevc.c:1136)
==27390==    by 0x5BB313: mov_write_hvcc_tag (movenc.c:1174)
==27390==    by 0x5BEACF: mov_write_video_tag (movenc.c:1972)
==27390==    by 0x5BF902: mov_write_stsd_tag (movenc.c:2165)
==27390==    by 0x5C0744: mov_write_stbl_tag (movenc.c:2382)
==27390==    by 0x5C1ABD: mov_write_minf_tag (movenc.c:2643)
==27390==    by 0x5C1E55: mov_write_mdia_tag (movenc.c:2697)
==27390== 
==27390== Conditional jump or move depends on uninitialised value(s)
==27390==    at 0x6CA7BE: av_clip_c (common.h:133)
==27390==    by 0x6CA7BE: skip_bits_long (get_bits.h:209)
==27390==    by 0x6CAD66: get_ue_golomb_long (golomb.h:91)
==27390==    by 0x6CB358: hvcc_parse_vui (hevc.c:315)
==27390==    by 0x6CBBFC: hvcc_parse_sps (hevc.c:583)
==27390==    by 0x6CC22A: hvcc_add_nal_unit (hevc.c:784)
==27390==    by 0x6CD0E7: ff_isom_write_hvcc (hevc.c:1136)
==27390==    by 0x5BB313: mov_write_hvcc_tag (movenc.c:1174)
==27390==    by 0x5BEACF: mov_write_video_tag (movenc.c:1972)
==27390==    by 0x5BF902: mov_write_stsd_tag (movenc.c:2165)
==27390==    by 0x5C0744: mov_write_stbl_tag (movenc.c:2382)
==27390==    by 0x5C1ABD: mov_write_minf_tag (movenc.c:2643)
==27390==    by 0x5C1E55: mov_write_mdia_tag (movenc.c:2697)
==27390==  Uninitialised value was created by a heap allocation
==27390==    at 0x4C2F246: memalign (vg_replace_malloc.c:857)
==27390==    by 0x4C2F361: posix_memalign (vg_replace_malloc.c:1020)
==27390==    by 0x156D1A1: av_malloc (mem.c:87)
==27390==    by 0x6CBD50: nal_unit_extract_rbsp (hevc.c:652)
==27390==    by 0x6CC156: hvcc_add_nal_unit (hevc.c:754)
==27390==    by 0x6CD0E7: ff_isom_write_hvcc (hevc.c:1136)
==27390==    by 0x5BB313: mov_write_hvcc_tag (movenc.c:1174)
==27390==    by 0x5BEACF: mov_write_video_tag (movenc.c:1972)
==27390==    by 0x5BF902: mov_write_stsd_tag (movenc.c:2165)
==27390==    by 0x5C0744: mov_write_stbl_tag (movenc.c:2382)
==27390==    by 0x5C1ABD: mov_write_minf_tag (movenc.c:2643)
==27390==    by 0x5C1E55: mov_write_mdia_tag (movenc.c:2697)
==27390== 
==27390== Conditional jump or move depends on uninitialised value(s)
==27390==    at 0x6CA9EE: get_bits_long (get_bits.h:349)
==27390==    by 0x6CAD7C: get_ue_golomb_long (golomb.h:93)
==27390==    by 0x6CB358: hvcc_parse_vui (hevc.c:315)
==27390==    by 0x6CBBFC: hvcc_parse_sps (hevc.c:583)
==27390==    by 0x6CC22A: hvcc_add_nal_unit (hevc.c:784)
==27390==    by 0x6CD0E7: ff_isom_write_hvcc (hevc.c:1136)
==27390==    by 0x5BB313: mov_write_hvcc_tag (movenc.c:1174)
==27390==    by 0x5BEACF: mov_write_video_tag (movenc.c:1972)
==27390==    by 0x5BF902: mov_write_stsd_tag (movenc.c:2165)
==27390==    by 0x5C0744: mov_write_stbl_tag (movenc.c:2382)
==27390==    by 0x5C1ABD: mov_write_minf_tag (movenc.c:2643)
==27390==    by 0x5C1E55: mov_write_mdia_tag (movenc.c:2697)
==27390==  Uninitialised value was created by a heap allocation
==27390==    at 0x4C2F246: memalign (vg_replace_malloc.c:857)
==27390==    by 0x4C2F361: posix_memalign (vg_replace_malloc.c:1020)
==27390==    by 0x156D1A1: av_malloc (mem.c:87)
==27390==    by 0x6CBD50: nal_unit_extract_rbsp (hevc.c:652)
==27390==    by 0x6CC156: hvcc_add_nal_unit (hevc.c:754)
==27390==    by 0x6CD0E7: ff_isom_write_hvcc (hevc.c:1136)
==27390==    by 0x5BB313: mov_write_hvcc_tag (movenc.c:1174)
==27390==    by 0x5BEACF: mov_write_video_tag (movenc.c:1972)
==27390==    by 0x5BF902: mov_write_stsd_tag (movenc.c:2165)
==27390==    by 0x5C0744: mov_write_stbl_tag (movenc.c:2382)
==27390==    by 0x5C1ABD: mov_write_minf_tag (movenc.c:2643)
==27390==    by 0x5C1E55: mov_write_mdia_tag (movenc.c:2697)
==27390== 
==27390== Conditional jump or move depends on uninitialised value(s)
==27390==    at 0x6CA9FB: get_bits_long (get_bits.h:351)
==27390==    by 0x6CAD7C: get_ue_golomb_long (golomb.h:93)
==27390==    by 0x6CB358: hvcc_parse_vui (hevc.c:315)
==27390==    by 0x6CBBFC: hvcc_parse_sps (hevc.c:583)
==27390==    by 0x6CC22A: hvcc_add_nal_unit (hevc.c:784)
==27390==    by 0x6CD0E7: ff_isom_write_hvcc (hevc.c:1136)
==27390==    by 0x5BB313: mov_write_hvcc_tag (movenc.c:1174)
==27390==    by 0x5BEACF: mov_write_video_tag (movenc.c:1972)
==27390==    by 0x5BF902: mov_write_stsd_tag (movenc.c:2165)
==27390==    by 0x5C0744: mov_write_stbl_tag (movenc.c:2382)
==27390==    by 0x5C1ABD: mov_write_minf_tag (movenc.c:2643)
==27390==    by 0x5C1E55: mov_write_mdia_tag (movenc.c:2697)
==27390==  Uninitialised value was created by a heap allocation
==27390==    at 0x4C2F246: memalign (vg_replace_malloc.c:857)
==27390==    by 0x4C2F361: posix_memalign (vg_replace_malloc.c:1020)
==27390==    by 0x156D1A1: av_malloc (mem.c:87)
==27390==    by 0x6CBD50: nal_unit_extract_rbsp (hevc.c:652)
==27390==    by 0x6CC156: hvcc_add_nal_unit (hevc.c:754)
==27390==    by 0x6CD0E7: ff_isom_write_hvcc (hevc.c:1136)
==27390==    by 0x5BB313: mov_write_hvcc_tag (movenc.c:1174)
==27390==    by 0x5BEACF: mov_write_video_tag (movenc.c:1972)
==27390==    by 0x5BF902: mov_write_stsd_tag (movenc.c:2165)
==27390==    by 0x5C0744: mov_write_stbl_tag (movenc.c:2382)
==27390==    by 0x5C1ABD: mov_write_minf_tag (movenc.c:2643)
==27390==    by 0x5C1E55: mov_write_mdia_tag (movenc.c:2697)
==27390== 
==27390== Use of uninitialised value of size 8
==27390==    at 0x6CA80A: get_bits (get_bits.h:266)
==27390==    by 0x6CAA0D: get_bits_long (get_bits.h:352)
==27390==    by 0x6CAD7C: get_ue_golomb_long (golomb.h:93)
==27390==    by 0x6CB358: hvcc_parse_vui (hevc.c:315)
==27390==    by 0x6CBBFC: hvcc_parse_sps (hevc.c:583)
==27390==    by 0x6CC22A: hvcc_add_nal_unit (hevc.c:784)
==27390==    by 0x6CD0E7: ff_isom_write_hvcc (hevc.c:1136)
==27390==    by 0x5BB313: mov_write_hvcc_tag (movenc.c:1174)
==27390==    by 0x5BEACF: mov_write_video_tag (movenc.c:1972)
==27390==    by 0x5BF902: mov_write_stsd_tag (movenc.c:2165)
==27390==    by 0x5C0744: mov_write_stbl_tag (movenc.c:2382)
==27390==    by 0x5C1ABD: mov_write_minf_tag (movenc.c:2643)
==27390==  Uninitialised value was created by a heap allocation
==27390==    at 0x4C2F246: memalign (vg_replace_malloc.c:857)
==27390==    by 0x4C2F361: posix_memalign (vg_replace_malloc.c:1020)
==27390==    by 0x156D1A1: av_malloc (mem.c:87)
==27390==    by 0x6CBD50: nal_unit_extract_rbsp (hevc.c:652)
==27390==    by 0x6CC156: hvcc_add_nal_unit (hevc.c:754)
==27390==    by 0x6CD0E7: ff_isom_write_hvcc (hevc.c:1136)
==27390==    by 0x5BB313: mov_write_hvcc_tag (movenc.c:1174)
==27390==    by 0x5BEACF: mov_write_video_tag (movenc.c:1972)
==27390==    by 0x5BF902: mov_write_stsd_tag (movenc.c:2165)
==27390==    by 0x5C0744: mov_write_stbl_tag (movenc.c:2382)
==27390==    by 0x5C1ABD: mov_write_minf_tag (movenc.c:2643)
==27390==    by 0x5C1E55: mov_write_mdia_tag (movenc.c:2697)
==27390== 
==27390== Use of uninitialised value of size 8
==27390==    at 0x6CA80A: get_bits (get_bits.h:266)
==27390==    by 0x6CAA20: get_bits_long (get_bits.h:358)
==27390==    by 0x6CAB16: show_bits_long (get_bits.h:403)
==27390==    by 0x6CAD43: get_ue_golomb_long (golomb.h:89)
==27390==    by 0x6CB364: hvcc_parse_vui (hevc.c:316)
==27390==    by 0x6CBBFC: hvcc_parse_sps (hevc.c:583)
==27390==    by 0x6CC22A: hvcc_add_nal_unit (hevc.c:784)
==27390==    by 0x6CD0E7: ff_isom_write_hvcc (hevc.c:1136)
==27390==    by 0x5BB313: mov_write_hvcc_tag (movenc.c:1174)
==27390==    by 0x5BEACF: mov_write_video_tag (movenc.c:1972)
==27390==    by 0x5BF902: mov_write_stsd_tag (movenc.c:2165)
==27390==    by 0x5C0744: mov_write_stbl_tag (movenc.c:2382)
==27390==  Uninitialised value was created by a heap allocation
==27390==    at 0x4C2F246: memalign (vg_replace_malloc.c:857)
==27390==    by 0x4C2F361: posix_memalign (vg_replace_malloc.c:1020)
==27390==    by 0x156D1A1: av_malloc (mem.c:87)
==27390==    by 0x6CBD50: nal_unit_extract_rbsp (hevc.c:652)
==27390==    by 0x6CC156: hvcc_add_nal_unit (hevc.c:754)
==27390==    by 0x6CD0E7: ff_isom_write_hvcc (hevc.c:1136)
==27390==    by 0x5BB313: mov_write_hvcc_tag (movenc.c:1174)
==27390==    by 0x5BEACF: mov_write_video_tag (movenc.c:1972)
==27390==    by 0x5BF902: mov_write_stsd_tag (movenc.c:2165)
==27390==    by 0x5C0744: mov_write_stbl_tag (movenc.c:2382)
==27390==    by 0x5C1ABD: mov_write_minf_tag (movenc.c:2643)
==27390==    by 0x5C1E55: mov_write_mdia_tag (movenc.c:2697)
#7036 fixed ffmpeg-all.1 does not explain -dn sgerwk
Description

Summary of the bug: ffmpeg-all mentions -dn regarding stream selection together with -vn -an -sn, but while these are then explained, -dn is not (presumably, it disables data recording) How to reproduce:

man ffmpeg-all

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

#7035 duplicate HLS does not demux entire clip if start_time > 0 ronag
Description

Summary of the bug:

The hls demuxer doesn't seem to play the entire file. From what i can see it seems to play "duration - start_time" time of the file. I've reproduced this on multiple different files.

If I simply play the .ts file everything works fine. However, if I play the m3u8 file I seem to be missing "start_time" time in the end, i.e. the file is ~5.4s but it stops at ~4s.

It seems to me that the demuxer seems to do "frame->pts += start_time" and then stop outputting packets once "frame->ts + start_time >= duration". However, "frame->pts" already includes start_time so somehow start_time gets added into "frame->pts" twice.

How to reproduce:

cd ffmpeg
npm i -g http-server
http-server .
ffplay -i http://localhost:8080/file/M6nmzk2FDeesWy.m3u8
C:\Users\Boffins\Desktop\CasparCG 2.2.0>ffplay.exe -i http://localhost:8080/file/M6nmzk2FDeesWy.m3u8
ffplay version N-90061-gfb580731c1 Copyright (c) 2003-2018 the FFmpeg developers
  built with gcc 7.2.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libmfx --enable-amf --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth
  libavutil      56.  7.101 / 56.  7.101
  libavcodec     58. 11.101 / 58. 11.101
  libavformat    58.  9.100 / 58.  9.100
  libavdevice    58.  1.100 / 58.  1.100
  libavfilter     7. 12.100 /  7. 12.100
  libswscale      5.  0.101 /  5.  0.101
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[hls,applehttp @ 000002343b33dd80] Opening 'http://localhost:8080/file/M6nmzk2FDeesWy.ts' for reading
[hls,applehttp @ 000002343b33dd80] Opening 'http://localhost:8080/file/M6nmzk2FDeesWy.ts' for reading
Input #0, hls,applehttp, from 'http://localhost:8080/file/M6nmzk2FDeesWy.m3u8':
  Duration: 00:00:05.40, start: 1.458667, bitrate: 0 kb/s
  Program 0
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 0
   5.39 A-V: -5.723 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0
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