Code Monkey home page Code Monkey logo

Comments (32)

SvenVD avatar SvenVD commented on August 17, 2024

how many streams?

from rpisurv.

stefs22 avatar stefs22 commented on August 17, 2024

My desire is 3, but it not work so i just wanted to 1 and when i make it to work i will go up for 3.
But even one rtsp or rtmp link dont work. I try rtsp, rtmp, sub, and main, just dont work.
Every stream i check on VLC, it works great.
Advices?
I try to get fix on forum but still dont find it:

https://www.tapatalk.com/groups/rpisurv/viewtopic.php?p=1058#p1058

from rpisurv.

SvenVD avatar SvenVD commented on August 17, 2024

did you set gpu_mem to 512? What is the resolution of the streams you are trying?

from rpisurv.

stefs22 avatar stefs22 commented on August 17, 2024

off course, the first think i do is make cpu mem 512, main stream is 1080p, sub is 640p.
Temperatuje is not more than 60c, cpu is usually lower than 5%, i try cpu mem on 256 but its the same.
The problem is even sub dont want to work property.
Yesterday i try my rtsp stream to vlc for 24h, and i worked all the time, so streams are good there is no question about that.
Right now i try only sub stream (640), and it show image every 5 seconds, example, 04:50.00. 04:50.05, 04:50.10 etc etc.
IMG_20230209_165521_201

from rpisurv.

stefs22 avatar stefs22 commented on August 17, 2024

i will reinstall all and try again, what is option for sound?
I want to enable on one cam, i read somewhere that something -p option, advice?

from rpisurv.

SvenVD avatar SvenVD commented on August 17, 2024

Right now i try only sub stream (640), and it show image every 5 seconds, example, 04:50.00. 04:50.05, 04:50.10 etc etc. Could you make a short movie? What is the resolution of your monitor set too? Maybe debug logs will be handy too.

Audio see

# enableaudio: False

But I suggest to first make your streams stable.

from rpisurv.

SvenVD avatar SvenVD commented on August 17, 2024

Right now i try only sub stream (640), and it show image every 5 seconds, example, 04:50.00. 04:50.05, 04:50.10 etc etc. Could you make a short movie? What is the resolution of your monitor set too? Maybe debug logs will be handy too.
The vlc which you use to test is that running the pi also? How is the pi connected, WIFI?

Audio see

# enableaudio: False

But I suggest to first make your streams stable.

from rpisurv.

stefs22 avatar stefs22 commented on August 17, 2024

its strange, now spisurv dont want to open stream, it just go black for a second and back to desktop and do this every a couple of seconds.
Its wired, screen is 1080p.
I also try displaycameras, on displaycameras every stream works, but after some time start to losing performanse and start to stutter.
I check every stream on vlc on pi, every stream works good.
IMG_20230212_204327_678

from rpisurv.

SvenVD avatar SvenVD commented on August 17, 2024

The only I can think of now is a problem with probing,

Could you disable probing and try again?

# disable_probing_for_all_streams: False

If that is not the issue then we should see what the debug logs say

from rpisurv.

stefs22 avatar stefs22 commented on August 17, 2024

how to see debug log?
probing is already to false:
IMG_20230212_221321_333

from rpisurv.

SvenVD avatar SvenVD commented on August 17, 2024

how to see debug log? probing is already to false: IMG_20230212_221321_333

you should set disabling probing to true for the test, and restart

from rpisurv.

stefs22 avatar stefs22 commented on August 17, 2024
i do this but its the same, i copy whole display file:

#THIS IS A YAML FILE, INDENTATION IS IMPORTANT. ALSO DO NOT USE TABS FOR INDENTATION, BUT USE SPACES

essentials:
  #Rpisurv will rotate over the following screens in the order they are configured here, if you only define one screen no rotation will happen

  #If you enable this option no auto rotation will happen, but you will still be able to select a screen by pressing and holding a Function Key (F1-F12) or numpad keys
  #Defaults to False
  #disable_autorotation: False

  screens:
#      #######################################################################################################
#      # Below config is included for demo and test purposes
#      # After installation you can start Rpisurv and the demo should be started
#      #######################################################################################################


     - camera_streams:
         - url: "rtsp://admin:[email protected]:554/h264Preview_01_sub"

      -rtsp_transport tcp

#      #######################################################################################################
#      #What follows is documentation about every option that is available and where and how it can be used
#      #Below config are examples, the urls specified will not work, you need to configure your own urls.
#      #######################################################################################################
#
#      #Documentation example SCREEN 1
#      #This will show a 2x2 if all streams are connectable,
#      #Force this screen to be shown by pressing and holding F1 or keypad 0
#    - camera_streams:
#        - url: "https://images.rpisurv.net/example.png"
#          #To specify this url is not a camera stream but an image stream please set imageurl to true for this url
#          imageurl: true
#        - url: "rtsp://<user>:<password>@<ip or dnsname>:<port>/videoMain"
#          #You can also configure http or https streams like for example mjpeg streams
#        - url: "http://<ip or dnsname>:<port>/suffix"
#        - url: "rtsp://<user>:<password>@<ip or dnsname>:<port>/play1.sdp"
#
#
#      #Documentation example SCREEN 2
#      #Force this screen to be shown by pressing and holding F2 or keypad 1
#    - camera_streams:
#          #Dlink dcs-5222l example
#        - url: "rtsp://<user>:<password>@<ip or dnsname>:<port>/play1.sdp"
#
#          #OPTIONAL AND ADVANCED PER CAMERASTREAM/URL OPTIONS:
#
#          #Increase probe_timeout if you have streams that are slow to connect to. If they longer then probe_timeout seconds then rpisurv will consider them unconnectable
#          #Default to 3 seconds
#          probe_timeout: 3
#
#          #Enable this option if you want the rtsp stream to stream over tcp instead of udp, this may solve a "smearing" effect on some setups.
#          #Defaults to false
#          rtsp_over_tcp:  False
#
#          #Use the network_caching_ms option to finetune smooth playback versus stream delay
#          network_caching_ms: 500
#
#
#          #fOptional: reeform_advanced_vlc_options, most vlc options can be passed directly here.
#          #This is for advanced usage only, not all combinations have been tested
#          freeform_advanced_vlc_options: "--no-keyboard-events"
#
#          #Optional: enableaudio:
#          #To enable audio for this stream try setting this to True, the default is False
#          enableaudio: False
#
#          #Optional and advanced option: force_coordinates:
#          #If you are not happy with the pre-calculated position on the screen of a particular stream then you can override it with this option
#          #Remember that rpisurv autocalculation can also be influenced by nr_of_columns option, which is a much easier option then using force_coordinates if all you want to do is using more or less columns
#          #Note: Once you start using force_coordinates, the layout of this particular screen becomes the responsibility of the user
#          #Note2: rpisurv will continue to draw other streams with the pre-calculated values if they do not have force_coordinates set.
#          #This can cause overlap with other streams but the user can correct this by manually calculating and setting the position of the other camera streams with force_coordinates
#          #Note3: This works transparently with rotation of screens, every screen can have a different layout
#          #force_coordinates: [upperleft corner x position, upperleft corner y position, downright corner x position, downright corner y position]
#          #Example see here: https://gist.github.com/SvenVD/5c82acbb96dfb697e5e2d2420ab73ad9
#          force_coordinates: [0, 800, 600, 1080]
#          #You can use then showontop in combination with force_coordinates to create a picture in picture view (one video overlaying the other ) see demo config for example
#          showontop: False
#
#          #Foscam-fi9821w example
#        - url: "rtsp://<user>:<password>@<ip or dnsname>:<port>/videoMain"
#          #Dahua IPC-HDW4200S example or IPC-HDW4300S
#        - url: "rtsp://<user>:<password>@<ip or dnsname>:<port>/cam/realmonitor?channel=1&subtype=1"
#
#      #OPTIONAL AND ADVANCED PER SCREEN OPTIONS, YOU CAN CONFIGURE THIS PER SCREEN, IF NOT CONFIGURED A DEFAULT VALUE WILL BE USED
#
#      #NOT recommendeded to enable disable_probing_for_all_streams, it disables the removal of dead feeds which also disables auto-rearranging the screen layout.
#      #Also if using multiple screens, enabling this will slow down rotation of one screen to the next if there are unconnectable streams
#      #Defaults to False
#      disable_probing_for_all_streams: true
#
#      #How many columns you want the program to use, it will autocalculate the amount of row needed based on the resolution of your screen
#      #Default = 2
#      nr_of_columns: 2
#
#      #This is how long this screen will be shown each rotation.
#      #If this is set to a very low value then it can happen that building up the active and/or the cached screen takes longer then this duration,
#      #in that case the building and caching needs to finish first before timer will be expired and next screen is shown
#      #Defaults to 30
#      duration: 30
#
#      #Documentation example SCREEN 3
#      #This will show a 1x3 on first row + 1 stream on second row if all streams are connectable
#      #Force this screen to be shown by pressing and holding F3 or keypad 2
#    - camera_streams:
#        - url: "rtsp://<user>:<password>@<ip or dnsname>:<port>/cam/realmonitor?channel=1&subtype=1"
#        - url: "rtsp://<user>:<password>@<ip or dnsname>:<port>/videoMain"
#        - url: "http://<ip or dnsname>:<port>/suffix"
#        - url: "rtsp://<user>:<password>@<ip or dnsname>:<port>/play1.sdp"
#      nr_of_columns: 3
#
#
#      #DEFINE AS MANY SCREENS AS YOU WANT
#      #When reaching last defined screen, rotate will start at the beginning again
#      #You can have as many screens as you want, this is not limited on hardware as only the next screen will be cached ( see enable_opportunistic_caching_next_screen option in general )

from rpisurv.

SvenVD avatar SvenVD commented on August 17, 2024

you need to remove the comment # on that line

from rpisurv.

stefs22 avatar stefs22 commented on August 17, 2024

Edit, i remove line -rtsp_transport tcp, and i worked, but its now image every 5 seconds, i record video:
https://streamable.com/7ioebu

from rpisurv.

SvenVD avatar SvenVD commented on August 17, 2024

There is a delay in the output. How many streams are streaming at the same time from the camera?

from rpisurv.

stefs22 avatar stefs22 commented on August 17, 2024

at this moment 0.
I only try on pi and i only have rtsp links.
Vlc play all good.

from rpisurv.

SvenVD avatar SvenVD commented on August 17, 2024

rtsp_transport

i do this but its the same, i copy whole display file:

#THIS IS A YAML FILE, INDENTATION IS IMPORTANT. ALSO DO NOT USE TABS FOR INDENTATION, BUT USE SPACES

essentials:
  #Rpisurv will rotate over the following screens in the order they are configured here, if you only define one screen no rotation will happen

  #If you enable this option no auto rotation will happen, but you will still be able to select a screen by pressing and holding a Function Key (F1-F12) or numpad keys
  #Defaults to False
  #disable_autorotation: False

  screens:
#      #######################################################################################################
#      # Below config is included for demo and test purposes
#      # After installation you can start Rpisurv and the demo should be started
#      #######################################################################################################


     - camera_streams:
         - url: "rtsp://admin:[email protected]:554/h264Preview_01_sub"

      -rtsp_transport tcp

#      #######################################################################################################
#      #What follows is documentation about every option that is available and where and how it can be used
#      #Below config are examples, the urls specified will not work, you need to configure your own urls.
#      #######################################################################################################
#
#      #Documentation example SCREEN 1
#      #This will show a 2x2 if all streams are connectable,
#      #Force this screen to be shown by pressing and holding F1 or keypad 0
#    - camera_streams:
#        - url: "https://images.rpisurv.net/example.png"
#          #To specify this url is not a camera stream but an image stream please set imageurl to true for this url
#          imageurl: true
#        - url: "rtsp://<user>:<password>@<ip or dnsname>:<port>/videoMain"
#          #You can also configure http or https streams like for example mjpeg streams
#        - url: "http://<ip or dnsname>:<port>/suffix"
#        - url: "rtsp://<user>:<password>@<ip or dnsname>:<port>/play1.sdp"
#
#
#      #Documentation example SCREEN 2
#      #Force this screen to be shown by pressing and holding F2 or keypad 1
#    - camera_streams:
#          #Dlink dcs-5222l example
#        - url: "rtsp://<user>:<password>@<ip or dnsname>:<port>/play1.sdp"
#
#          #OPTIONAL AND ADVANCED PER CAMERASTREAM/URL OPTIONS:
#
#          #Increase probe_timeout if you have streams that are slow to connect to. If they longer then probe_timeout seconds then rpisurv will consider them unconnectable
#          #Default to 3 seconds
#          probe_timeout: 3
#
#          #Enable this option if you want the rtsp stream to stream over tcp instead of udp, this may solve a "smearing" effect on some setups.
#          #Defaults to false
#          rtsp_over_tcp:  False
#
#          #Use the network_caching_ms option to finetune smooth playback versus stream delay
#          network_caching_ms: 500
#
#
#          #fOptional: reeform_advanced_vlc_options, most vlc options can be passed directly here.
#          #This is for advanced usage only, not all combinations have been tested
#          freeform_advanced_vlc_options: "--no-keyboard-events"
#
#          #Optional: enableaudio:
#          #To enable audio for this stream try setting this to True, the default is False
#          enableaudio: False
#
#          #Optional and advanced option: force_coordinates:
#          #If you are not happy with the pre-calculated position on the screen of a particular stream then you can override it with this option
#          #Remember that rpisurv autocalculation can also be influenced by nr_of_columns option, which is a much easier option then using force_coordinates if all you want to do is using more or less columns
#          #Note: Once you start using force_coordinates, the layout of this particular screen becomes the responsibility of the user
#          #Note2: rpisurv will continue to draw other streams with the pre-calculated values if they do not have force_coordinates set.
#          #This can cause overlap with other streams but the user can correct this by manually calculating and setting the position of the other camera streams with force_coordinates
#          #Note3: This works transparently with rotation of screens, every screen can have a different layout
#          #force_coordinates: [upperleft corner x position, upperleft corner y position, downright corner x position, downright corner y position]
#          #Example see here: https://gist.github.com/SvenVD/5c82acbb96dfb697e5e2d2420ab73ad9
#          force_coordinates: [0, 800, 600, 1080]
#          #You can use then showontop in combination with force_coordinates to create a picture in picture view (one video overlaying the other ) see demo config for example
#          showontop: False
#
#          #Foscam-fi9821w example
#        - url: "rtsp://<user>:<password>@<ip or dnsname>:<port>/videoMain"
#          #Dahua IPC-HDW4200S example or IPC-HDW4300S
#        - url: "rtsp://<user>:<password>@<ip or dnsname>:<port>/cam/realmonitor?channel=1&subtype=1"
#
#      #OPTIONAL AND ADVANCED PER SCREEN OPTIONS, YOU CAN CONFIGURE THIS PER SCREEN, IF NOT CONFIGURED A DEFAULT VALUE WILL BE USED
#
#      #NOT recommendeded to enable disable_probing_for_all_streams, it disables the removal of dead feeds which also disables auto-rearranging the screen layout.
#      #Also if using multiple screens, enabling this will slow down rotation of one screen to the next if there are unconnectable streams
#      #Defaults to False
#      disable_probing_for_all_streams: true
#
#      #How many columns you want the program to use, it will autocalculate the amount of row needed based on the resolution of your screen
#      #Default = 2
#      nr_of_columns: 2
#
#      #This is how long this screen will be shown each rotation.
#      #If this is set to a very low value then it can happen that building up the active and/or the cached screen takes longer then this duration,
#      #in that case the building and caching needs to finish first before timer will be expired and next screen is shown
#      #Defaults to 30
#      duration: 30
#
#      #Documentation example SCREEN 3
#      #This will show a 1x3 on first row + 1 stream on second row if all streams are connectable
#      #Force this screen to be shown by pressing and holding F3 or keypad 2
#    - camera_streams:
#        - url: "rtsp://<user>:<password>@<ip or dnsname>:<port>/cam/realmonitor?channel=1&subtype=1"
#        - url: "rtsp://<user>:<password>@<ip or dnsname>:<port>/videoMain"
#        - url: "http://<ip or dnsname>:<port>/suffix"
#        - url: "rtsp://<user>:<password>@<ip or dnsname>:<port>/play1.sdp"
#      nr_of_columns: 3
#
#
#      #DEFINE AS MANY SCREENS AS YOU WANT
#      #When reaching last defined screen, rotate will start at the beginning again
#      #You can have as many screens as you want, this is not limited on hardware as only the next screen will be cached ( see enable_opportunistic_caching_next_screen option in general )

You should use

# rtsp_over_tcp: False

to true to enable tcp
-rtsp_transport tcp is not a valid option

from rpisurv.

stefs22 avatar stefs22 commented on August 17, 2024

i know, i just try this to see if something will change.
Do u have any other solution?

from rpisurv.

stefs22 avatar stefs22 commented on August 17, 2024

you need to remove the comment # on that line

Where exactly i need to remove?

from rpisurv.

SvenVD avatar SvenVD commented on August 17, 2024

you need to remove the comment # on that line

Where exactly i need to remove?

the first # of the line

from rpisurv.

stefs22 avatar stefs22 commented on August 17, 2024

Also, are this software support M3U playlists?
https://github.com/naveenland4/YouTube_to_m3u
I was think about this, and to put some youtube link next to my cams.

from rpisurv.

SvenVD avatar SvenVD commented on August 17, 2024

Also, are this software support M3U playlists? https://github.com/naveenland4/YouTube_to_m3u I was think about this, and to put some youtube link next to my cams.

currently not

from rpisurv.

stefs22 avatar stefs22 commented on August 17, 2024

Ok, do you have any advice to fix this?

from rpisurv.

stefs22 avatar stefs22 commented on August 17, 2024

Also, i found online some streams of roads in my city that i will want to have to watch.
But, its images that update every 10 or 15 seconds, when i try this to vlc, its play to 10sec and turn off, can this be set?

from rpisurv.

stefs22 avatar stefs22 commented on August 17, 2024

This is interesting, when i try links on VLC, when i do :network-caching=2000, streams a lot smoother and open faster.
Can we somehow increase this on RPISURV?

from rpisurv.

stefs22 avatar stefs22 commented on August 17, 2024

I was think to make 3x3 and put sub streams on 3 up just to see if still stutter if on lower size.
So i just put sizes for 3x3:
1
But its shows with artefacts, its like one big stream is behind all:
IMG_20230216_145434_430
What i need to do?

IMG_20230216_150431_748

from rpisurv.

SvenVD avatar SvenVD commented on August 17, 2024

I was think to make 3x3 and put sub streams on 3 up just to see if still stutter if on lower size. So i just put sizes for 3x3: 1 But its shows with artefacts, its like one big stream is behind all: IMG_20230216_145434_430 What i need to do?

IMG_20230216_150431_748

9 streams are probably just too much for your pi to handle

from rpisurv.

stefs22 avatar stefs22 commented on August 17, 2024

even with only demos?

from rpisurv.

stefs22 avatar stefs22 commented on August 17, 2024

i reinstall all and just put 2 sub streams, and it show one image per every 2 or 3 sec.
Very dissapointing.

from rpisurv.

stefs22 avatar stefs22 commented on August 17, 2024

I found tutorial on yt, person use regular lite rom, not legacy, why?
[]https://www.tapatalk.com/groups/rpisurv/installation-video-version-2-t148.html(url)

from rpisurv.

SvenVD avatar SvenVD commented on August 17, 2024

I found tutorial on yt, person use regular lite rom, not legacy, why? []https://www.tapatalk.com/groups/rpisurv/installation-video-version-2-t148.html(url)

because at the time of that video buster was probably the regular rom

from rpisurv.

SvenVD avatar SvenVD commented on August 17, 2024

stale issue

from rpisurv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.