mirror of
https://github.com/wader/fq.git
synced 2024-12-28 08:02:28 +03:00
051a70bd4b
All other ranges and slicing uses exclusive end so i think it make sense to make it consistent. Update docs and add additional example for non-byte-aligned field. Also fixes issue showing zero bit ranges as start-NA. |
||
---|---|---|
.. | ||
client_stream | ||
client_stream.fqtest | ||
ffmpeg_client_stream | ||
ffmpeg_client_stream.fqtest | ||
ffmpeg_server_stream | ||
ffmpeg_server_stream.fqtest | ||
help_rtmp.fqtest | ||
README.md | ||
rtmp_sample.cap | ||
rtmp_sample.cap.fqtest | ||
server_stream | ||
server_stream.fqtest |
Some files based on pcap:s from https://wiki.wireshark.org/SampleCaptures
ffmpeg_*_stream files were generated using:
ffmpeg -hide_banner -f lavfi -i sine=frequency=500:sample_rate=44100 -acodec aac -ac 2 -f flv -t 200ms -metadata streamName="test stream" -listen 1 rtmp://0.0.0.0:1935/test_stream
ffmpeg -i rtmp://localhost:1935/test_stream -f null -
tcpdump -w rtmp.pcap -i lo0
fq '.tcp_connections[1].client_stream | tobytes' rtmp.pcap > ffmpeg_client_stream
fq '.tcp_connections[1].server_stream | tobytes' rtmp.pcap > ffmpeg_server_stream