Closed asemev closed 3 years ago
Do you know how to build your own docker image? If so - It sounds like it might be similar to this: https://github.com/blakeblackshear/frigate/issues/312... Maybe...
I was having the same problem on certain types of RTSP feeds until I increased the timeout. If you're not too sure on building docker images, it my be worth trying the latest beta (0.8.0) which I believe has support for this already in the configuration.
If building your own image - Change frigate/video.py line 196 to increase the 5 seconds to something like 15/20.
Thank you Scott. HA did itself the docker installation....
The width and height from the ffprobe output say 640x360.
Try this:
web_port: 5000
detectors:
coral:
type: edgetpu
device: usb
save_clips:
clips_dir: /media/frigate
mqtt:
host: core-mosquitto.local.hass.io
port: 1883
topic_prefix: frigate
client_id: frigate
user: **XXXXXXX**
password: **XXXXXXXX**
ffmpeg:
global_args:
- -hide_banner
- -loglevel
- fatal
input_args:
- -avoid_negative_ts
- make_zero
- -fflags
- +genpts+discardcorrupt
- -rtsp_transport
- tcp
- -stimeout
- '5000000'
- -use_wallclock_as_timestamps
- '1'
cameras:
Garage:
ffmpeg:
input: 'rtsp://192.168.178.234/profile1/media.smp'
height: 360
width: 640
fps: 5
best_image_timeout: 60
mqtt:
crop_to_region: true
snapshot_height: 300
save_clips:
enabled: false
pre_capture: 30
objects:
- person
snapshots:
show_timestamp: true
draw_zones: false
draw_bounding_boxes: true
objects:
track:
- person
- car
filters:
person:
min_area: 5000
max_area: 100000
min_score: 0.5
threshold: 0.85
Hi Blake,
Thank you so much for your help. I didnt try your config proposal yet because i installed the 0.8 Beta as Scott adviced (as it provides much better CPU performance I am super interested to make this work).
So here is the new config i tried:
detectors:
coral:
type: edgetpu
device: usb
mqtt:
host: core-mosquitto.local.hass.io
port: 1883
topic_prefix: frigate
client_id: frigate
user: mqtt
password: emre1972
ffmpeg:
global_args: '-hide_banner -loglevel fatal'
hwaccel_args: []
input_args: >-
-avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport
tcp -stimeout 5000000 -use_wallclock_as_timestamps 1
output_args:
detect: '-f rawvideo -pix_fmt yuv420p'
record: >-
-f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1
-strftime 1 -c copy -an
clips: >-
-f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1
-strftime 1 -c copy -an
rtmp: '-c copy -f flv'
cameras:
Garage:
ffmpeg:
inputs:
- path: 'rtsp://admin:KDROSK@192.168.178.209:554/h.264'
roles:
- detect
- rtmp
global_args: null
hwaccel_args: null
input_args: null
global_args: null
hwaccel_args: null
input_args: null
output_args: null
width: 1920
height: 1080
fps: 5
mask: 'poly,935,2,1910,9,1912,528,932,50'
best_image_timeout: 60
zones:
Front:
coordinates: '935,2,1910,9,1912,528,932,50'
filters:
person:
min_area: 5000
max_area: 100000
threshold: 0.8
save_clips:
enabled: false
pre_capture: 30
objects:
- person
retain:
default: 10
objects:
person: 15
record:
enabled: false
retain_days: 30
rtmp:
enabled: false
snapshots:
show_timestamp: true
draw_zones: true
draw_bounding_boxes: true
crop_to_region: true
height: 175
objects:
track:
- person
- car
filters:
person:
min_area: 5000
max_area: 100000
min_score: 0.5
threshold: 0.85
logger:
default: info
logs:
frigate.mqtt: error
model:
height: 320
width: 320
save_clips:
max_seconds: 300
retain:
default: 10
objects:
person: 15
objects:
track:
- person
filters:
person:
min_area: 5000
max_area: 100000
min_score: 0.5
threshold: 0.85
But the Log is showing an error:
Any idea what could be causing this? Many thanks again!!! :)
Best, Emre
You can't use null
for your args values.
Try this config:
detectors:
coral:
type: edgetpu
device: usb
mqtt:
host: core-mosquitto.local.hass.io
port: 1883
topic_prefix: frigate
client_id: frigate
user: mqtt
password: emre1972
cameras:
Garage:
ffmpeg:
inputs:
- path: 'rtsp://admin:KDROSK@192.168.178.209:554/h.264'
roles:
- detect
- rtmp
width: 1920
height: 1080
fps: 5
mask: 'poly,935,2,1910,9,1912,528,932,50'
best_image_timeout: 60
zones:
Front:
coordinates: '935,2,1910,9,1912,528,932,50'
filters:
person:
min_area: 5000
max_area: 100000
threshold: 0.8
save_clips:
enabled: false
pre_capture: 30
objects:
- person
retain:
default: 10
objects:
person: 15
record:
enabled: false
retain_days: 30
rtmp:
enabled: false
snapshots:
show_timestamp: true
draw_zones: true
draw_bounding_boxes: true
crop_to_region: true
height: 175
objects:
track:
- person
- car
filters:
person:
min_area: 5000
max_area: 100000
min_score: 0.5
threshold: 0.85
logger:
default: info
logs:
frigate.mqtt: error
save_clips:
max_seconds: 300
retain:
default: 10
objects:
person: 15
objects:
track:
- person
filters:
person:
min_area: 5000
max_area: 100000
min_score: 0.5
threshold: 0.85
Its working now!!! Thank you!
So i cannot use any ffmpeg accelerator then right? I wonder why?
You have to disable protection mode for the addon: https://github.com/blakeblackshear/frigate/issues/340#issue-759790120
Once that is done, try updating your config with:
detectors:
coral:
type: edgetpu
device: usb
ffmpeg:
hwaccel_args: -c:v h264_v4l2m2m
mqtt:
host: core-mosquitto.local.hass.io
port: 1883
topic_prefix: frigate
client_id: frigate
user: mqtt
password: emre1972
cameras:
Garage:
ffmpeg:
inputs:
- path: 'rtsp://admin:KDROSK@192.168.178.209:554/h.264'
roles:
- detect
- rtmp
width: 1920
height: 1080
fps: 5
mask: 'poly,935,2,1910,9,1912,528,932,50'
best_image_timeout: 60
zones:
Front:
coordinates: '935,2,1910,9,1912,528,932,50'
filters:
person:
min_area: 5000
max_area: 100000
threshold: 0.8
save_clips:
enabled: false
pre_capture: 30
objects:
- person
retain:
default: 10
objects:
person: 15
record:
enabled: false
retain_days: 30
rtmp:
enabled: false
snapshots:
show_timestamp: true
draw_zones: true
draw_bounding_boxes: true
crop_to_region: true
height: 175
objects:
track:
- person
- car
filters:
person:
min_area: 5000
max_area: 100000
min_score: 0.5
threshold: 0.85
logger:
default: info
logs:
frigate.mqtt: error
save_clips:
max_seconds: 300
retain:
default: 10
objects:
person: 15
objects:
track:
- person
filters:
person:
min_area: 5000
max_area: 100000
min_score: 0.5
threshold: 0.85
CPU Performance went down to 30%max on each core. It used to be 90% on each core. This is amazing. Thank you for everything Blake! You're a genius :)
Hi Blake, i also added my Garden cam now to the config and the CPU has gone up a lot. Is it normal?
Thanks.
The CPU load depends on the resolution, frame rates, and the amount of motion from your cameras. Using masks to block off areas with unwanted motion will reduce CPU usage.
Thank you. I will tweak the settings.
Much better already :)
Made the mask area bigger and lowered the 2nd camera resolution to 720p. And now its really good.
Hi Blake, just FYI. I noticed a certain behavior. When frigate starts the cpu load is quite low in the first 1 hour but then later it goes up a lot. I tried this several times. So after applying a bigger mask and lowering the camera res to 720p and lowering the frame rates I reported above that cpu was down to around 30% (with 2 cameras). But pls have a look at the current cpu load now (i havent changed any settings):
The data at /debug/stats will tell you more about what is happening.
Hi Blake, thank you. I cannot get the stats working. Could you please help? :)
i get this error when i go to http://192.168.178.84:5000/debug/stats:
This is what i entered in my "configuration.yaml" (I have other sensors so i skipped entering "sensor:" at the top, and config test doesnt report any errors):
Make sure your are using the beta documentation. The new stats ending is /stats
. Also, no need to setup these rest sensors. The new integration does that for you. https://github.com/blakeblackshear/frigate-hass-integration
Thank you Blake. Indeed i was not looking at the beta documentation. my bad.
btw searched HACS but i cannot find your integration. Searched frigate and blakeblackshear...
oh and i started sponsoring you as you have been so kind in helping me out! :)
I appreciate that. You have to add it as a custom repository. It isn't available in the official repo yet: https://hacs.xyz/docs/faq/custom_repositories
Thanks again i installed it now π
so just to be sure: I dont need any of the configuration.yaml entries that are mentioned in the original setup instructions right? I mean these:
Correct. Once you add the integration, it will setup all of that for you.
awesome, thank you. cleaned up the configuration.yaml now.
sorry to disturb you again. Now after i removed all those old entries from the configuration.yaml (as HACS is doing it now), i cannot find the Frigate camera entities (Garage and Garden). Frigate is working so i guess they are hidden? I wanted to add the motion snapshot to my HA main homescreen as a picture entity card..
btw, the stats are working :) Dont know how to interpret those numbers though...
{"Garage":{"camera_fps":5.0,"capture_pid":38,"detection_fps":20.5,"pid":36,"process_fps":4.1,"skipped_fps":0.0},"Garden":{"camera_fps":5.0,"capture_pid":40,"detection_fps":0.0,"pid":37,"process_fps":5.0,"skipped_fps":0.0},"detection_fps":20.5,"detectors":{"coral":{"detection_start":0.0,"inference_speed":20.02,"pid":33}}}
Just to confirm, you did setup the integration after installing with HACS right? Do you see Frigate listed when you go to Configuration > Integrations?
No I dont see Frigate in Configuration > Integrations. I guess i did the setup wrong? I installed HACS integration. It seems to be installed well. And i restarted the HA and also the Frigate addon in Supervisor.
Click the add integration button and search for frigate from the integrations page. HACS just makes it show up in that list, but doesn't enable it.
i think i did that already:
That is the HACS page. I'm referring to Configuration > Integrations
Oooooooh i see now! Such a rookie i am :) Thanks again!
ok fixed (entered the IP address of my HA)
HI Blake,
Since moving to the HACS custom component, and removing all the config.yaml entries, my setup has been very stable now, the CPU load is not going over 30%, so overall super happy! :) Thanks a million for helping me out. This is seriously my dream come true.
The only thing i'm now struggling with is the automations to send me notifications with the snapshots outside my LAN network. I tried many thing but cant get the pictures coming with the notification. also most of the time the notification dosnt come at all.
alias: Notify Person Detection description: '' trigger:
NOTE: I inserted my duckdns URL in here. And maybe thats the problem?
I see the following errors in the HA logs:
Logger: homeassistant.components.automation.garden_person_detection Source: helpers/service.py:190 Integration: Automation (documentation, issues) First occurred: December 15, 2020, 11:00:49 PM (6 occurrences) Last logged: December 15, 2020, 11:05:36 PM
Notify Person Detection: Error executing script. Unexpected error for call_service at pos 1: Error rendering data template: UndefinedError: 'trigger' is undefined While executing automation automation.garden_person_detection Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 353, in async_render render_result = compiled.render(kwargs) File "/usr/local/lib/python3.8/site-packages/jinja2/environment.py", line 1090, in render self.environment.handle_exception() File "/usr/local/lib/python3.8/site-packages/jinja2/environment.py", line 832, in handle_exception reraise(*rewrite_traceback_stack(source=source)) File "/usr/local/lib/python3.8/site-packages/jinja2/_compat.py", line 28, in reraise raise value.with_traceback(tb) File "", line 1, in top-level template code File "/usr/local/lib/python3.8/site-packages/jinja2/sandbox.py", line 407, in getattr value = getattr(obj, attribute) jinja2.exceptions.UndefinedError: 'trigger' is undefined
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 188, in async_prepare_call_from_config
service_data.update(template.render_complex(config[conf], variables))
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 93, in render_complex
return {
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 94, in
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 250, in _async_step await getattr( File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 429, in _async_call_service_step domain, service_name, service_data = service.async_prepare_call_from_config( File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 190, in async_prepare_call_from_config raise HomeAssistantError(f"Error rendering data template: {ex}") from ex homeassistant.exceptions.HomeAssistantError: Error rendering data template: UndefinedError: 'trigger' is undefined
NGINX LOG also shows a lot of errors:
2020/12/15 19:40:27 [error] 223#223: 13857 upstream timed out (110: Operation timed out) while reading upstream, client: 109.40.128.64, server: asemev.duckdns.org, request: "GET /api/camera_proxy_stream/camera.garage_person?token=502ba2066996875f6912ff98c83ea546f498709301f29cb5c2fd402b61fa0a79 HTTP/2.0", upstream: "http://172.30.32.1:8123/api/camera_proxy_stream/camera.garage_person?token=502ba2066996875f6912ff98c83ea546f498709301f29cb5c2fd402b61fa0a79", host: "asemev.duckdns.org", referrer: "https://asemev.duckdns.org/lovelace/default_view" 2020/12/15 19:41:02 [error] 223#223: 13963 upstream timed out (110: Operation timed out) while reading upstream, client: 109.40.128.64, server: asemev.duckdns.org, request: "GET /api/camera_proxy_stream/camera.garage_person?token=502ba2066996875f6912ff98c83ea546f498709301f29cb5c2fd402b61fa0a79 HTTP/2.0", upstream: "http://172.30.32.1:8123/api/camera_proxy_stream/camera.garage_person?token=502ba2066996875f6912ff98c83ea546f498709301f29cb5c2fd402b61fa0a79", host: "asemev.duckdns.org", referrer: "https://asemev.duckdns.org/lovelace/default_view" 2020/12/15 19:41:02 [error] 223#223: 13963 upstream timed out (110: Operation timed out) while reading upstream, client: 109.40.128.64, server: asemev.duckdns.org, request: "GET /api/camera_proxy_stream/camera.garden_person?token=8096be986efc5b200709e196bda446d99d99aef4343ea0134c1ab684af0ebad1 HTTP/2.0", upstream: "http://172.30.32.1:8123/api/camera_proxy_stream/camera.garden_person?token=8096be986efc5b200709e196bda446d99d99aef4343ea0134c1ab684af0ebad1", host: "asemev.duckdns.org", referrer: "https://asemev.duckdns.org/lovelace/default_view" 2020/12/16 09:58:42 [error] 223#223: 15739 connect() failed (111: Connection refused) while connecting to upstream, client: 109.40.128.183, server: asemev.duckdns.org, request: "POST /api/webhook/29e14406411dbdffe13f1657b314d169b972fa7525d1edbfca2c2d662cc9c7a9 HTTP/2.0", upstream: "http://172.30.32.1:8123/api/webhook/29e14406411dbdffe13f1657b314d169b972fa7525d1edbfca2c2d662cc9c7a9", host: "asemev.duckdns.org"
Any help would be awesome. Thanks again.
Hi Blake, i know you will update your documentation so appreciate that very much. I will wait patiently :)
I'm just wondering if i can access the snapshot image files manually. This way i can manually push the best.jpg via an automation temporarily.
I can see the image at this URL: http://192.168.178.84:5000/Garage/person/best.jpg But i cannot find the best.jpg file in my filesystem :) Is it perhaps inside the db?
Those are never written to disk. They are retrieved directly from memory.
Do you know how to build your own docker image? If so - It sounds like it might be similar to this: #312... Maybe...
I was having the same problem on certain types of RTSP feeds until I increased the timeout. If you're not too sure on building docker images, it my be worth trying the latest beta (0.8.0) which I believe has support for this already in the configuration.
If building your own image - Change frigate/video.py line 196 to increase the 5 seconds to something like 15/20.
Hi Scott, didn't properly thank you for your support earlier. Your suggestion totally fixed the green video issue. So thanks a lot again.
Hi Blake, any chance you can help me out with the latest thing remaining which is the picture attachment in the noifications? I really need this to work. Thanks a lot.
What version of homeassistant are you using? The key error message I see is jinja2.exceptions.UndefinedError: 'trigger' is undefined
.
This looks correct to me:
alias: Notify Person Detection
description: ''
trigger:
- platform: mqtt
topic: frigate/events
action:
- service: notify.notify
data_template:
message: 'A {{trigger.payload_json["after"]["label"]}} was detected.'
data:
image: 'https://asemev.duckdns.org/api/frigate/notifications/{{trigger.payload_json["after"]["id"]}}.jpg?format=android'
tag: '{{trigger.payload_json["after"]["id"]}}'
mode: single
2020.12.1 -- Hope it helps?
FYI i get all notifications. just no pictures attached to it.
I don't see any reason why that would be the case. Are you still getting trigger is undefined
error messages?
Hmm No i dont seem to be getting that error message. but i see many other errors in the frigate logs, nginx logs and general configuration logs. I updated to beta 3 today.
just wondering.. cant i use the snapshots that are shown in the lovelace? Somehow push those out?
You have to call the camera snapshot service to save a file in a public directory. That's they way people used to have the notifications setup, but it will likely have the same issue. Your image notifications should be working based on that config. You can grab an existing id from the /events
endpoint and hit the url in your config to get the snapshot to make sure it is working. I can hit this url and see that everything is routing to frigate correctly.
Yes indeed that works. Try it yourself: https://asemev.duckdns.org/api/frigate/notifications/1608673852.07047-3adgfi.jpg
So its really weird. I can see the picture in that url but the picture is not attached to the message i get on the Home Assistant app. Doesn't make any sense.
Oh i can see that in beta4 you added the feature to save the snapshots to disk! :) this should fix my issue right? :)
It shouldn't have any impact. That snapshot will only be available after the event has ended, so it wouldn't work well for notifications.
First of all, big thank you for making this! I have been dreaming of such a solution for 2 years now and finally you did it! π I would be eternally grateful if you can help me out. Thank you Blake!
Describe the bug I have experienced several issues:
When i use my Samsung Hanwha Techwin camera, the video feed is green. So when i check the URL http://192.168.178.84:5000/Garage, i just see green screen. Ps see attached screenshot below. With my ezviz camera it works very well. So it must be some camera codec issue with the HANWHA camera perhaps?
In general, the ffmepg HW acceleration or any of the global parameters always cause errors. so i removed them all. Also the frigate logs showed error with your default config version because perhaps the ffmpeg arguments have double entries (one in the upper part in the ffmpeg's own config section and then again in the camera section). Removing all these made the frigate work. I just cannot get the ffmpeg HW acceleration working. Tried it with the Raspi3/4 64bit version.
I made frigate detection work with another camera (EZVIZ CTQ3W) but i constantly get over 100% CPU even though i'm using the Coral accelerator. Is this normal?
The logs always show the following error everytime it starts. "Fontconfig error: Cannot load default config file". Is this normal?
I also continuously get "On connect called" but i dont see the docker container running multiple times.
Version of frigate 1.3
Config file Include your full config file wrapped in triple back ticks.
Logs Fontconfig error: Cannot load default config file Starting detection process: 16 Attempting to load TPU as usb Camera capture process started for Garage: 17 Camera process started for Garage: 19 Creating ffmpeg process... ffmpeg -hide_banner -loglevel panic -avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -rtsp_transport tcp -stimeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://192.168.178.234/profile1/media.smp -r 5 -f rawvideo -pix_fmt yuv420p pipe:
FFprobe from your camera This camera has 3 profiles. Did ffprobe for all 3 profiles below.
ubuntu@ubuntu:~$ ffprobe rtsp://192.168.178.234/profile1/media.smp ffprobe version 4.2.4-1ubuntu0.1 Copyright (c) 2007-2020 the FFmpeg developers built with gcc 9 (Ubuntu 9.3.0-10ubuntu2) configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/aarch64-linux-gnu --incdir=/usr/include/aarch64-linux-gnu --arch=arm64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared libavutil 56. 31.100 / 56. 31.100 libavcodec 58. 54.100 / 58. 54.100 libavformat 58. 29.100 / 58. 29.100 libavdevice 58. 8.100 / 58. 8.100 libavfilter 7. 57.100 / 7. 57.100 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 5.100 / 5. 5.100 libswresample 3. 5.100 / 3. 5.100 libpostproc 55. 5.100 / 55. 5.100 Input #0, rtsp, from 'rtsp://192.168.178.234/profile1/media.smp': Metadata: title : Media Presentation comment : samsung Duration: N/A, start: 0.052144, bitrate: N/A Stream #0:0: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 640x360 [SAR 1:1 DAR 16:9], 5 tbr, 90k tbn, 90k tbc Stream #0:1: Data: none Unsupported codec with id 0 for input stream 1
ubuntu@ubuntu:~$ ffprobe rtsp://192.168.178.234/profile2/media.smp ffprobe version 4.2.4-1ubuntu0.1 Copyright (c) 2007-2020 the FFmpeg developers built with gcc 9 (Ubuntu 9.3.0-10ubuntu2) configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/aarch64-linux-gnu --incdir=/usr/include/aarch64-linux-gnu --arch=arm64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared libavutil 56. 31.100 / 56. 31.100 libavcodec 58. 54.100 / 58. 54.100 libavformat 58. 29.100 / 58. 29.100 libavdevice 58. 8.100 / 58. 8.100 libavfilter 7. 57.100 / 7. 57.100 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 5.100 / 5. 5.100 libswresample 3. 5.100 / 3. 5.100 libpostproc 55. 5.100 / 55. 5.100 Input #0, rtsp, from 'rtsp://192.168.178.234/profile2/media.smp': Metadata: title : Media Presentation comment : samsung Duration: N/A, start: 0.013000, bitrate: N/A Stream #0:0: Video: h264 (High), yuvj420p(pc, bt709, progressive), 1280x720, 20 tbr, 90k tbn, 180k tbc Stream #0:1: Data: none Unsupported codec with id 0 for input stream 1
ubuntu@ubuntu:~$ ffprobe rtsp://192.168.178.234/profile3/media.smp ffprobe version 4.2.4-1ubuntu0.1 Copyright (c) 2007-2020 the FFmpeg developers built with gcc 9 (Ubuntu 9.3.0-10ubuntu2) configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/aarch64-linux-gnu --incdir=/usr/include/aarch64-linux-gnu --arch=arm64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared libavutil 56. 31.100 / 56. 31.100 libavcodec 58. 54.100 / 58. 54.100 libavformat 58. 29.100 / 58. 29.100 libavdevice 58. 8.100 / 58. 8.100 libavfilter 7. 57.100 / 7. 57.100 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 5.100 / 5. 5.100 libswresample 3. 5.100 / 3. 5.100 libpostproc 55. 5.100 / 55. 5.100 Input #0, rtsp, from 'rtsp://192.168.178.234/profile3/media.smp': Metadata: title : Media Presentation comment : samsung Duration: N/A, start: 0.025000, bitrate: N/A Stream #0:0: Video: hevc (Main), yuv420p(tv), 2592x1520, 20 fps, 20 tbr, 90k tbn, 90k tbc Stream #0:1: Data: none Unsupported codec with id 0 for input stream 1
Screenshots
Computer Hardware
Camera Info:
Thank you very much in advance! :) EMRE