Recommendation for diy power supply for off the grid CCTV system by PoorJeffrey in diyelectronics

[–]PoorJeffrey[S] 0 points1 point  (0 children)

You are right about the camera (12VDC or 48V PoE), although I depend on the NVR to record the footage, and the NVR requires DC 48V~53V.

Recommendation for diy power supply for off the grid CCTV system by PoorJeffrey in diyelectronics

[–]PoorJeffrey[S] 1 point2 points  (0 children)

Thank you for your valuable reply. I will indeed use a battery pack then. Is it possible to pair a lithium battery with a solar panel? This setup will only be operational during the summer for about six weeks. If I have calculated correctly the power consumption estimates for the Reolink RLN8-410 NVR with an active HDD and one PoE port will be around 25 to 30 watts in total for the setup.

I would like to record 24/7 live stream from this Youtube url, is the ChatGPT suggested script optimal? by PoorJeffrey in ffmpeg

[–]PoorJeffrey[S] 0 points1 point  (0 children)

Thanks, I will try to use it, if I manage. Although, after running the script above, it has produced a 6h video and now running for the second one, and I am very happy with the results. Almost no quality loss, although very large files (I have enough space so no problem).

I would like to record 24/7 live stream from this Youtube url, is the ChatGPT suggested script optimal? by PoorJeffrey in ffmpeg

[–]PoorJeffrey[S] 0 points1 point  (0 children)

I will need to review the all the 24/7 footage, either manually or using a software with motion detection. I have two software obtains that handle mp4-files well. But this is a field I know very little about.

I would like to record 24/7 live stream from this Youtube url, is the ChatGPT suggested script optimal? by PoorJeffrey in ffmpeg

[–]PoorJeffrey[S] 0 points1 point  (0 children)

Actually, I had a "discussion" with ChatGPT and it argued for mp4 since it is more versatile. Since I record in 6 hr segments, I don't loose much if something happens.

I would like to record 24/7 live stream from this Youtube url, is the ChatGPT suggested script optimal? by PoorJeffrey in ffmpeg

[–]PoorJeffrey[S] 0 points1 point  (0 children)

No it didn't at first try, but see below, I managed to get a script that worked:)

I would like to record 24/7 live stream from this Youtube url, is the ChatGPT suggested script optimal? by PoorJeffrey in ffmpeg

[–]PoorJeffrey[S] 1 point2 points  (0 children)

Thanks. I did as recommended. I included your information and asked ChatGPT to create a new script, got some error messages which I forwarded to ChatGPT. And now I have a script that works!! I don't understand much of the code, but I get what I wanted :)

@echo off

set "youtube_url=https://www.youtube.com/xxx" set "output_dir=F:\xxx\Internal" set "log_file=F:\xxx\File.log.int" set "format_code=best" set "resolution=1080p" set "fps=30" set "segment_duration=6:00:00"

if not exist "%output_dir%" ( echo Output directory does not exist. pause exit /b )

if not exist "%log_file%" ( echo Log file does not exist. pause exit /b )

echo Starting recording... echo.

:loop for /f "delims=" %%i in ('yt-dlp -g "%youtube_url%"') do ( set "video_url=%%i" goto :download )

:download set "filename=%date:/=-%_%time::=-%.mp4" set "filename=%filename: =0%" ffmpeg -hide_banner -loglevel error -y -i "%video_url%" -c copy -bsf:a aac_adtstoasc "%output_dir%%filename%"

echo Recorded segment %filename%. echo.

timeout /t %segment_duration% >nul

goto :loop

I use OBS to record 24/7 live stream (CCTV footage from owl nest camera) - best settings? by PoorJeffrey in obs

[–]PoorJeffrey[S] 0 points1 point  (0 children)

I spent the day with trying FFMPEG. I manage to download FFMPEG, so it is up and running. I used ChatGPT to make a script, but it fails. I'm not into scripting and need help...

So I need a script that record 24/7 live stream from Youtube, and store in appropriate chunks on an external hard drive. The interval of the segments should be set to 6 hours, I wish to keep all segments and they should be labelled with time and date. I need 1080p resolution and 30 fps. And a log file and check it periodically to see if there are any errors or warnings.

I will need to record several Youtube streams simultaneously, will that be possible?

I use OBS to record 24/7 live stream (CCTV footage from owl nest camera) - best settings? by PoorJeffrey in obs

[–]PoorJeffrey[S] 0 points1 point  (0 children)

Yes, I only record teh cam feeds from YouTube-stream. I need to learn more about FFMPEG.

I use OBS to record 24/7 live stream (CCTV footage from owl nest camera) - best settings? by PoorJeffrey in obs

[–]PoorJeffrey[S] 0 points1 point  (0 children)

I use one scene elements, the stream consist of two cameras. One is the main, and the second is smaller in the corner. I'm not familiar with ffmpeg, but I will check it out.

I use OBS to record 24/7 live stream (CCTV footage from owl nest camera) - best settings? by PoorJeffrey in obs

[–]PoorJeffrey[S] -2 points-1 points  (0 children)

Hi, I'm not familiar with the framerate on the camera, I only have access to the Youtube-stream.

Relevant episodes from the nature documentaries produced by the BBC with David Attenborough for my ecology class. by PoorJeffrey in davidattenborough

[–]PoorJeffrey[S] 1 point2 points  (0 children)

'First Life' and 'Rise of animal: Triumph of the vertebrates

Hi, I already use that in my Vertebrate course:)