Skip to content

Commit

Permalink
raw-rgba to jpeg because in JP60 hardware jpeg is ok + 704 (#712)
Browse files Browse the repository at this point in the history
* changed raw-rgba to jpeg because in JP60 hardware jpeg encoder/decoder work great

* Closes #704
  • Loading branch information
bwsw authored Mar 27, 2024
1 parent 9f88b28 commit 47f0466
Show file tree
Hide file tree
Showing 19 changed files with 18 additions and 19 deletions.
1 change: 0 additions & 1 deletion docs/source/savant_101/10_adapters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,6 @@ The video file sink adapter extends the JSON metadata adapter by writing video f

- ``DIR_LOCATION``: a location to write files to; can be a regular path or a path template; supported substitution parameters are ``%source_id`` and ``%src_filename``;
- ``CHUNK_SIZE``: a chunk size in a number of frames; the stream is split into chunks and is written to separate folders with consecutive numbering; default is ``10000``; A value of ``0`` disables limit for number of frames in a chunk: the stream will be split into chunks only by EOS messages;
- ``SKIP_FRAMES_WITHOUT_OBJECTS``: a flag indicating whether frames without objects are ignored in output; the default value is ``False``;
- ``SOURCE_ID``: an optional filter to filter out frames with a specific ``source_id`` only;
- ``SOURCE_ID_PREFIX`` an optional filter to filter out frames with a matching ``source_id`` prefix only.

Expand Down
2 changes: 1 addition & 1 deletion samples/age_gender_recognition/docker-compose.l4t.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
- ZMQ_SRC_ENDPOINT=sub+bind:ipc:///tmp/zmq-sockets/input-video.ipc
- ZMQ_SINK_ENDPOINT=pub+bind:ipc:///tmp/zmq-sockets/output-video.ipc
- METRICS_FRAME_PERIOD=1000
- CODEC=raw-rgba
- CODEC=jpeg
runtime: nvidia

always-on-sink:
Expand Down
2 changes: 1 addition & 1 deletion samples/area_object_counting/docker-compose.l4t.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
- ZMQ_SINK_ENDPOINT=pub+bind:ipc:///tmp/zmq-sockets/output-video.ipc
- METRICS_FRAME_PERIOD=1000
- MODULE_NAME=area_object_counting
- CODEC=raw-rgba
- CODEC=jpeg
runtime: nvidia

always-on-sink:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
- ZMQ_SRC_ENDPOINT=sub+bind:ipc:///tmp/zmq-sockets/input-video.ipc
- ZMQ_SINK_ENDPOINT=pub+bind:ipc:///tmp/zmq-sockets/output-video.ipc
- METRICS_FRAME_PERIOD=1000
- CODEC=raw-rgba
- CODEC=jpeg
depends_on:
etcd:
condition: service_healthy
Expand Down
2 changes: 1 addition & 1 deletion samples/face_reid/docker-compose.l4t.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ services:
- ZMQ_SRC_ENDPOINT=sub+bind:ipc:///tmp/zmq-sockets/input-video.ipc
- ZMQ_SINK_ENDPOINT=pub+bind:ipc:///tmp/zmq-sockets/output-video.ipc
- METRICS_FRAME_PERIOD=1000
- CODEC=raw-rgba
- CODEC=jpeg
runtime: nvidia
profiles:
- demo
Expand Down
2 changes: 1 addition & 1 deletion samples/intersection_traffic_meter/docker-compose.l4t.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ services:
- ZMQ_SRC_ENDPOINT=router+bind:ipc:///tmp/zmq-sockets/input-video.ipc
- ZMQ_SINK_ENDPOINT=pub+bind:ipc:///tmp/zmq-sockets/output-video.ipc
- METRICS_FRAME_PERIOD=1000
- CODEC=raw-rgba
- CODEC=jpeg
runtime: nvidia

always-on-sink:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ services:
- ZMQ_SRC_ENDPOINT=sub+bind:ipc:///tmp/zmq-sockets/input-video.ipc
- ZMQ_SINK_ENDPOINT=pub+bind:ipc:///tmp/zmq-sockets/output-video.ipc
- METRICS_FRAME_PERIOD=1000
- CODEC=raw-rgba
- CODEC=jpeg
runtime: nvidia

always-on-sink:
Expand Down
2 changes: 1 addition & 1 deletion samples/kafka_redis_adapter/docker-compose.l4t.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ services:
- ZMQ_SRC_ENDPOINT=sub+bind:ipc:///tmp/zmq-sockets/input-video.ipc
- ZMQ_SINK_ENDPOINT=pub+bind:ipc:///tmp/zmq-sockets/output-video.ipc
- METRICS_FRAME_PERIOD=1000
- CODEC=raw-rgba
- CODEC=jpeg
runtime: nvidia

always-on-sink:
Expand Down
2 changes: 1 addition & 1 deletion samples/keypoint_detection/docker-compose.l4t.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
- ZMQ_SRC_ENDPOINT=router+bind:ipc:///tmp/zmq-sockets/input-video.ipc
- ZMQ_SINK_ENDPOINT=pub+bind:ipc:///tmp/zmq-sockets/output-video.ipc
- METRICS_FRAME_PERIOD=1000
- CODEC=raw-rgba
- CODEC=jpeg
runtime: nvidia

always-on-sink:
Expand Down
2 changes: 1 addition & 1 deletion samples/license_plate_recognition/docker-compose.l4t.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
- ZMQ_SRC_ENDPOINT=router+bind:ipc:///tmp/zmq-sockets/input-video.ipc
- ZMQ_SINK_ENDPOINT=pub+bind:ipc:///tmp/zmq-sockets/output-video.ipc
- METRICS_FRAME_PERIOD=1000
- CODEC=raw-rgba
- CODEC=jpeg
runtime: nvidia

always-on-sink:
Expand Down
2 changes: 1 addition & 1 deletion samples/multiple_rtsp/docker-compose.l4t.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ services:
- ZMQ_SRC_ENDPOINT=sub+bind:ipc:///tmp/zmq-sockets/input-video.ipc
- ZMQ_SINK_ENDPOINT=pub+bind:ipc:///tmp/zmq-sockets/output-video.ipc
- METRICS_FRAME_PERIOD=1000
- CODEC=raw-rgba
- CODEC=jpeg
runtime: nvidia

always-on-sink:
Expand Down
2 changes: 1 addition & 1 deletion samples/nvidia_car_classification/docker-compose.l4t.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
- ZMQ_SRC_ENDPOINT=sub+bind:ipc:///tmp/zmq-sockets/input-video.ipc
- ZMQ_SINK_ENDPOINT=pub+bind:ipc:///tmp/zmq-sockets/output-video.ipc
- METRICS_FRAME_PERIOD=1000
- CODEC=raw-rgba
- CODEC=jpeg
runtime: nvidia

always-on-sink:
Expand Down
2 changes: 1 addition & 1 deletion samples/opencv_cuda_bg_remover_mog2/docker-compose.l4t.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ services:
- ZMQ_SRC_ENDPOINT=sub+bind:ipc:///tmp/zmq-sockets/input-video.ipc
- ZMQ_SINK_ENDPOINT=pub+bind:ipc:///tmp/zmq-sockets/output-video.ipc
- METRICS_FRAME_PERIOD=1000
- CODEC=raw-rgba
- CODEC=jpeg
runtime: nvidia

always-on-sink:
Expand Down
2 changes: 1 addition & 1 deletion samples/panoptic_driving_perception/docker-compose.l4t.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ services:
- DOWNLOAD_PATH=/cache/downloads/panoptic_driving_perception
- ZMQ_SRC_ENDPOINT=router+bind:ipc:///tmp/zmq-sockets/input-video.ipc
- ZMQ_SINK_ENDPOINT=pub+bind:ipc:///tmp/zmq-sockets/output-video.ipc
- CODEC=raw-rgba
- CODEC=jpeg
runtime: nvidia

always-on-sink:
Expand Down
2 changes: 1 addition & 1 deletion samples/pass_through_processing/docker-compose.l4t.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ services:
- METRICS_PROVIDER_PARAMS={"port":8000, "labels":{"module_stage":"draw-func"}}
# Use default draw_func (savant.deepstream.drawfunc.NvDsDrawFunc)
- DRAW_FUNC={}
- CODEC=raw-rgba
- CODEC=jpeg
- MODEL_PATH=/cache/models/peoplenet_detector
- DOWNLOAD_PATH=/cache/downloads/peoplenet_detector
- ZMQ_SRC_ENDPOINT=sub+connect:ipc:///tmp/zmq-sockets/tracker-output.ipc
Expand Down
2 changes: 1 addition & 1 deletion samples/peoplenet_detector/docker-compose.l4t.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
- ZMQ_SRC_ENDPOINT=sub+bind:ipc:///tmp/zmq-sockets/input-video.ipc
- ZMQ_SINK_ENDPOINT=pub+bind:ipc:///tmp/zmq-sockets/output-video.ipc
- METRICS_FRAME_PERIOD=1000
- CODEC=raw-rgba
- CODEC=jpeg
runtime: nvidia

always-on-sink:
Expand Down
2 changes: 1 addition & 1 deletion samples/telemetry/docker-compose.l4t.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ services:
- ZMQ_SRC_ENDPOINT=sub+bind:ipc:///tmp/zmq-sockets/input-video.ipc
- ZMQ_SINK_ENDPOINT=pub+bind:ipc:///tmp/zmq-sockets/output-video.ipc
- METRICS_FRAME_PERIOD=1000
- CODEC=raw-rgba
- CODEC=jpeg
runtime: nvidia

always-on-sink:
Expand Down
2 changes: 1 addition & 1 deletion samples/traffic_meter/docker-compose.l4t.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ services:
- METRICS_FRAME_PERIOD=1000
- DETECTOR=${DETECTOR}
- MODULE_NAME=traffic_meter-${DETECTOR}
- CODEC=raw-rgba
- CODEC=jpeg
runtime: nvidia

always-on-sink:
Expand Down
2 changes: 1 addition & 1 deletion samples/yolov8_seg/docker-compose.l4t.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
- ZMQ_SRC_ENDPOINT=sub+bind:ipc:///tmp/zmq-sockets/input-video.ipc
- ZMQ_SINK_ENDPOINT=pub+bind:ipc:///tmp/zmq-sockets/output-video.ipc
- METRICS_FRAME_PERIOD=1000
- CODEC=raw-rgba
- CODEC=jpeg
runtime: nvidia

always-on-sink:
Expand Down

0 comments on commit 47f0466

Please sign in to comment.