Comments (21)
@Vendo232 what are you using to measure the bitrate?
from wz_mini_hacks.
Can you try to ffmpeg -i <file>
to compare between RTSP fw and wz_mini?
this is what i show from wz_mini:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
title : LIVE555 Streaming Media v2022.04.15
encoder : Lavf58.76.100
comment : LIVE555 Streaming Media v2022.04.15
Duration: 00:00:34.06, start: 0.000000, bitrate: 982 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 980 kb/s, 19.99 fps, 20 tbr, 90k tbn, 40 tbc (default)
Metadata:
handler_name : VideoHandler
vendor_id : [0][0][0][0]
you can use the command ffmpeg -i rtsp://user:pass@ip:8554/unicast -acodec copy -vcodec copy test.mp4
to record
from wz_mini_hacks.
there may be a bug in the v4l2rtspserver when audio is enabled the bitrate is much lower and lots of stream errors, at least for me.
i will try to recompile, and also test a different version of the rtspserver.
from wz_mini_hacks.
this is fixed now
from wz_mini_hacks.
Can you try to
ffmpeg -i <file>
to compare between RTSP fw and wz_mini?this is what i show from wz_mini:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 title : LIVE555 Streaming Media v2022.04.15 encoder : Lavf58.76.100 comment : LIVE555 Streaming Media v2022.04.15 Duration: 00:00:34.06, start: 0.000000, bitrate: 982 kb/s Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 980 kb/s, 19.99 fps, 20 tbr, 90k tbn, 40 tbc (default) Metadata: handler_name : VideoHandler vendor_id : [0][0][0][0]
you can use the command
ffmpeg -i rtsp://user:pass@ip:8554/unicast -acodec copy -vcodec copy test.mp4
to record
here is the RTSP WZ HACK file
' ffmpeg version 2022-05-12-git-30e2bb0f64-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 11.3.0 (Rev1, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil 57. 24.101 / 57. 24.101
libavcodec 59. 28.100 / 59. 28.100
libavformat 59. 23.100 / 59. 23.100
libavdevice 59. 6.100 / 59. 6.100
libavfilter 8. 38.100 / 8. 38.100
libswscale 6. 6.100 / 6. 6.100
libswresample 4. 6.100 / 4. 6.100
libpostproc 56. 5.100 / 56. 5.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'b.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.45.100
Duration: 00:02:26.03, start: 0.000000, bitrate: 287 kb/s
Stream #0:00x1: Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080, 285 kb/s, 20 fps, 20 tbr, 10240 tbn (default)
Metadata:
handler_name : VideoHandler
vendor_id : [0][0][0][0] '
and here is from wyze rtsp fw
' ffmpeg version 2022-05-12-git-30e2bb0f64-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 11.3.0 (Rev1, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil 57. 24.101 / 57. 24.101
libavcodec 59. 28.100 / 59. 28.100
libavformat 59. 23.100 / 59. 23.100
libavdevice 59. 6.100 / 59. 6.100
libavfilter 8. 38.100 / 8. 38.100
libswscale 6. 6.100 / 6. 6.100
libswresample 4. 6.100 / 4. 6.100
libpostproc 56. 5.100 / 56. 5.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'b.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.45.100
Duration: 00:02:26.03, start: 0.000000, bitrate: 287 kb/s
Stream #0:00x1: Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080, 285 kb/s, 20 fps, 20 tbr, 10240 tbn (default)
Metadata:
handler_name : VideoHandler
vendor_id : [0][0][0][0] '
from wz_mini_hacks.
you can achieve the same in VLC player
from wz_mini_hacks.
I`m going to test the new version today
from wz_mini_hacks.
@Vendo232 can you test something for me on your existing install?
from wz_mini_hacks.
If course
from wz_mini_hacks.
open up vlc and start watching the stream, then connect with ssh, and run the following commands on the camera:
/system/bin/impdbg --enc_rc_s 0:48:4:2048
/system/bin/impdbg --enc_rc_s 0:52:4:2048
then monitor the quality
from wz_mini_hacks.
should I look for bitrate?
from wz_mini_hacks.
look at the general image quality and see if it is ok for you compared to stock rtsp and anything else
from wz_mini_hacks.
you can raise the 2048 number up to 8096 if you want
from wz_mini_hacks.
what is the difference between command with 48 and 52? should they be executed toghether everytime?
from wz_mini_hacks.
first one is average and second is max bitrate, you typically do want to set them together if you are changing them
from wz_mini_hacks.
I`m running the RTSP FW + mini RTSP and the cam is very slow.
from wz_mini_hacks.
Oh, i see, yes you are running 2 servers it will slow down since the quality goes up significantly. try stopping one, and run the commands and see if your quality goes up
from wz_mini_hacks.
(the image quality should be identical between the two servers anyway)
from wz_mini_hacks.
from wz_mini_hacks.
trying 8096 on both, it is looking really good
from wz_mini_hacks.
nice. i will issue a new release soon
from wz_mini_hacks.
Related Issues (20)
- Wyze v2 uses wrong device nodes in Go2RTC HOT 4
- Firmware notes HOT 1
- ENABLE_MP4_WRITE HOT 4
- Any chance to include the OG cams in the future? HOT 1
- Video settings not working on go2rtc HOT 1
- jzmmc_v1.2 jzmmc_v1.2.0: timeout HOT 2
- How do I set the time zone for crontab to work as expected? Defaults to UTC HOT 2
- Audio out of sync (delayed) with video using go2rtc
- ntpd not updating system time HOT 4
- Wyze Cam V3 stops working after one to two minutes, becomes unresponsive HOT 7
- Wyze Cam V4 Support HOT 3
- File '/opt/wz_mini/wz_mini.conf' is unwritable HOT 2
- Go2RTC on Scrypted Breaks HOT 1
- WIKI Information for Config File Contains an error HOT 3
- Bash Script Loading Problem on reboot HOT 2
- Wyze V4 HL_CAM4 HOT 2
- Random crashes using Frigate
- Ability to set a static IP address on device (not DHCP reservation) HOT 18
- Unable to Remove Current Settings HOT 5
- Network storage configuration HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wz_mini_hacks.