Re: [FFmpeg-user] FFMpeg question on Raspberry Pi

2022-02-25 Thread Adam Nielsen via ffmpeg-user
> We are most interested in being able to group videos by a certain time 
> period, e.g., the motion tripped within a particular time period.  The 
> ideal setup would be looking at the concatenating video with two sliders 
> - one for the beginning and one for the ending and downloading to the 
> phone.  While moving the sliders to see images/time stamps of the video 
> where to start and stop.  The time stamps could be on the original 
> videos.   Is the a video player that might be able to do that?

None that I am aware of but personally I would find this kind of method
difficult to use.  Trail cameras, Zoneminder and other programs tend to
save each motion "event" into a separate file with the time and date in
the filename.  The idea is when you sort your list of video files
alphabetically, the oldest video will be at the top and the newest at
the end.  Each video only contains a recording of the motion - if there
is no motion, nothing is recorded.

At this point you can play each video one by one by double-clicking on
it, or add them all into a playlist in your preferred video player.
By skipping to the next video file (usually one button press), you will
jump directly to the next time the motion sensor triggered.  It makes
it very quick to skip through each video, and if you hit one you are
interested in you can let it play through to watch it in full.  The
following video file will be the next event that happened afterwards, so
it will be very similar to playing one long concatenated video, except
each event is already in a separate file in case you need to send it to
someone else or make a copy of it for future reference.

> Or, even having one slider and being able to look at a time period after 
> that.  For example, the 20 minutes of video following a certain 
> identified point of the concatenating video . . .

Normally these programs will only record video for a short time after
the motion sensor has been triggered.  So if you example you have a
person enter the camera frame, have a sleep, then get up and leave two
hours later, you'll only end up with two events lasting a minute or two
each - first when the person enters the frame and again when they exit.
Possibly another short video file or two if they roll over in their
sleep.  But the point is the cameras don't record continuously so you
can't get 20 minutes after an event that only lasts for a few seconds.

There are other ways to do this (recording continuously and flagging
times when events happen) but this is a different problem and solution,
and at that point there is nothing to concatenate because you have a
continuous recording.

Cheers,
Adam.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] FFMpeg question on Raspberry Pi

2022-02-24 Thread Fred Kemp

I will look into Zoneminder, Thanks Anatoly!


On 2/23/2022 3:49 AM, Anatoly wrote:

On Tue, 22 Feb 2022 14:14:29 -0600
Fred Kemp  wrote:


      I need help in trying to develop a security camera for a remote
area of a farm.  There is no internet in some places there and some
of the motion videos may be long, e.g., 20 to 30 minutes.

      So, I would like to be able to record these longer motion videos
on a Raspberry Pi locally, concatenate them and then be able to
somehow quickly review the compilation/concatenated video on a video
player and then download the snippet(s) of video to a smart phone.

      I'm looking for direction as far as software goes.  I am not
tech savvy but I know enough to see this project possibly going down
a number of dead ends as I learn about the limitations of various
software packages.  Any help would be GREATLY appreciated!

      I was thinking of possibly:

  1.     Recording motion using Motion or MotionEyes to a particular
 directory for the day,
  2.     Then using FFMpeg to possibly automatically concatenate the
 videos in that directory into one bigger file, and
  3.     Then using a video player to scroll through the video and
 download a particular segment to my iPhone.

      Is this possible?

     Thank you in advance for your time!

what's about Zoneminder?
I'm not using it, but as far as I know it has functionality that is
close to what you asking for. But I may be wrong.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] FFMpeg question on Raspberry Pi

2022-02-24 Thread Fred Kemp
Thanks again for the information!  Sorry for the late reply . . . for 
some reason, I only just got this . . .


I would guess that there is a way to automate that concatenating via 
FFMpeg and I have a nephew that codes in Linux for a full-time job.  I 
wanted to ask about the Raspberry Pi group what might be the best 
method(s) and then talk with him . . .


We are most interested in being able to group videos by a certain time 
period, e.g., the motion tripped within a particular time period.  The 
ideal setup would be looking at the concatenating video with two sliders 
- one for the beginning and one for the ending and downloading to the 
phone.  While moving the sliders to see images/time stamps of the video 
where to start and stop.  The time stamps could be on the original 
videos.   Is the a video player that might be able to do that?


Or, even having one slider and being able to look at a time period after 
that.  For example, the 20 minutes of video following a certain 
identified point of the concatenating video . . .


Thanks again for your help, Adam!!  Greatly appreciated!!


On 2/22/2022 11:03 PM, Adam Nielsen via ffmpeg-user wrote:

Thanks about the USB tip.  I’m trying to  concatenate automatically,
however.   We have many Arlo cameras where we CAN connect to the
internet.  Otherwise, you’re right, we could just use a trail cam but
the time someone would need to be spending going through assembling
videos would not be worth it.

Concatenating the videos into one would be fairly straightforward, if
somewhat inconvenient (if the video is of leaves blowing you'd have to
sit through it in full instead of just skipping to the next video).
But if you wanted to do this you could just copy the files off the trail
camera and run a short ffmpeg command to join them all together into
one video.

The hard part of what you ask is using the video player to scroll
through the videos and downloading a segment to your phone.

Also, how remote is this camera?  If you already have
Internet-connected cameras that do what you want, have you considered a
long range wireless link?  Mikrotik is one of the lower priced vendors,
with some of their longer range devices apparently being able to
maintain a line-of-sight link for 40 km (25 mi) on 2.4 GHz:

   https://mikrotik.com/products/group/wireless-systems

I haven't used any of these products so they are just examples of
what's available, not a recommendation.

Cheers,
Adam.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] FFMpeg question on Raspberry Pi

2022-02-24 Thread Asbóth Bence
Hi!
Another tip, to use a USB mobile internet stick, and you can upload your
video files to a Google drive cloud.



Fred Kemp  ezt írta (időpont: 2022. febr. 22., K,
21:14):

>  I need help in trying to develop a security camera for a remote
> area of a farm.  There is no internet in some places there and some of
> the motion videos may be long, e.g., 20 to 30 minutes.
>
>  So, I would like to be able to record these longer motion videos on
> a Raspberry Pi locally, concatenate them and then be able to somehow
> quickly review the compilation/concatenated video on a video player and
> then download the snippet(s) of video to a smart phone.
>
>  I'm looking for direction as far as software goes.  I am not tech
> savvy but I know enough to see this project possibly going down a number
> of dead ends as I learn about the limitations of various software
> packages.  Any help would be GREATLY appreciated!
>
>  I was thinking of possibly:
>
>  1. Recording motion using Motion or MotionEyes to a particular
> directory for the day,
>  2. Then using FFMpeg to possibly automatically concatenate the
> videos in that directory into one bigger file, and
>  3. Then using a video player to scroll through the video and
> download a particular segment to my iPhone.
>
>  Is this possible?
>
> Thank you in advance for your time!
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>


-- 
üdv.B
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] FFMpeg question on Raspberry Pi

2022-02-23 Thread Anatoly
On Tue, 22 Feb 2022 14:14:29 -0600
Fred Kemp  wrote:

>      I need help in trying to develop a security camera for a remote 
> area of a farm.  There is no internet in some places there and some
> of the motion videos may be long, e.g., 20 to 30 minutes.
> 
>      So, I would like to be able to record these longer motion videos
> on a Raspberry Pi locally, concatenate them and then be able to
> somehow quickly review the compilation/concatenated video on a video
> player and then download the snippet(s) of video to a smart phone.
> 
>      I'm looking for direction as far as software goes.  I am not
> tech savvy but I know enough to see this project possibly going down
> a number of dead ends as I learn about the limitations of various
> software packages.  Any help would be GREATLY appreciated!
> 
>      I was thinking of possibly:
> 
>  1.     Recording motion using Motion or MotionEyes to a particular
> directory for the day,
>  2.     Then using FFMpeg to possibly automatically concatenate the
> videos in that directory into one bigger file, and
>  3.     Then using a video player to scroll through the video and
> download a particular segment to my iPhone.
> 
>      Is this possible?
> 
>     Thank you in advance for your time!

what's about Zoneminder?
I'm not using it, but as far as I know it has functionality that is
close to what you asking for. But I may be wrong.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] FFMpeg question on Raspberry Pi

2022-02-22 Thread Adam Nielsen via ffmpeg-user
> Thanks about the USB tip.  I’m trying to  concatenate automatically,
> however.   We have many Arlo cameras where we CAN connect to the
> internet.  Otherwise, you’re right, we could just use a trail cam but
> the time someone would need to be spending going through assembling
> videos would not be worth it.

Concatenating the videos into one would be fairly straightforward, if
somewhat inconvenient (if the video is of leaves blowing you'd have to
sit through it in full instead of just skipping to the next video).
But if you wanted to do this you could just copy the files off the trail
camera and run a short ffmpeg command to join them all together into
one video.

The hard part of what you ask is using the video player to scroll
through the videos and downloading a segment to your phone.

Also, how remote is this camera?  If you already have
Internet-connected cameras that do what you want, have you considered a
long range wireless link?  Mikrotik is one of the lower priced vendors,
with some of their longer range devices apparently being able to
maintain a line-of-sight link for 40 km (25 mi) on 2.4 GHz:

  https://mikrotik.com/products/group/wireless-systems

I haven't used any of these products so they are just examples of
what's available, not a recommendation.

Cheers,
Adam.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] FFMpeg question on Raspberry Pi

2022-02-22 Thread Fred Kemp
Thanks about the USB tip.  I’m trying to  concatenate automatically, however.   
We have many Arlo cameras where we CAN connect to the internet.  Otherwise, 
you’re right, we could just use a trail cam but the time someone would need to 
be spending going through assembling videos would not be worth it.  

Any programmers I can contact?

Sent from my iPhone

> On Feb 22, 2022, at 7:46 PM, Adam Nielsen via ffmpeg-user 
>  wrote:
> 
> 
>> 
>> I need help in trying to develop a security camera for a remote 
>> area of a farm.  There is no internet in some places there and some of 
>> the motion videos may be long, e.g., 20 to 30 minutes.
>> 
>> So, I would like to be able to record these longer motion videos on 
>> a Raspberry Pi locally, concatenate them and then be able to somehow 
>> quickly review the compilation/concatenated video on a video player and 
>> then download the snippet(s) of video to a smart phone.
> 
> You're going to have to do a fair bit of programming/scripting to get
> this I suspect, as I don't think there's anything around that can do
> this out of the box on a Pi.
> 
> However, since you won't want to use an SD card for this (as writing
> all the video will kill the SD card very quickly) you'll probably need
> to use a USB external hard drive.  In this case you could just buy two,
> and swap them over when you visit the camera.  Then back on another
> computer you can flick through the video on the USB hard drive.
> 
>> 1. Recording motion using Motion or MotionEyes to a particular
>>directory for the day,
>> 2. Then using FFMpeg to possibly automatically concatenate the
>>videos in that directory into one bigger file, and
>> 3. Then using a video player to scroll through the video and
>>download a particular segment to my iPhone.
> 
> Have you considered using a game camera instead of a Raspberry Pi?  They
> have motion sensors built in, they'll capture video of the motion, and
> save each event as a different video file.  Then you can visit it, swap
> over the memory card, and watch all the videos on any device you can
> plug the card into (even a smartphone if you have a card reader for
> it).  They run off batteries and include infrared lights to capture
> video at night, so they are well suited for remote areas where you
> don't need a live video feed.
> 
> The only real benefit of using the Pi would be that you get
> Ethernet/WiFi on it for remote access/live video, but if you won't be
> using that because it's too far away from a WiFi network and you don't
> want to use WiFi extenders or dig a cable, using a game camera will
> probably save you a huge amount of effort.
> 
> Cheers,
> Adam.
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] FFMpeg question on Raspberry Pi

2022-02-22 Thread Adam Nielsen via ffmpeg-user
>      I need help in trying to develop a security camera for a remote 
> area of a farm.  There is no internet in some places there and some of 
> the motion videos may be long, e.g., 20 to 30 minutes.
> 
>      So, I would like to be able to record these longer motion videos on 
> a Raspberry Pi locally, concatenate them and then be able to somehow 
> quickly review the compilation/concatenated video on a video player and 
> then download the snippet(s) of video to a smart phone.

You're going to have to do a fair bit of programming/scripting to get
this I suspect, as I don't think there's anything around that can do
this out of the box on a Pi.

However, since you won't want to use an SD card for this (as writing
all the video will kill the SD card very quickly) you'll probably need
to use a USB external hard drive.  In this case you could just buy two,
and swap them over when you visit the camera.  Then back on another
computer you can flick through the video on the USB hard drive.

>  1.     Recording motion using Motion or MotionEyes to a particular
> directory for the day,
>  2.     Then using FFMpeg to possibly automatically concatenate the
> videos in that directory into one bigger file, and
>  3.     Then using a video player to scroll through the video and
> download a particular segment to my iPhone.

Have you considered using a game camera instead of a Raspberry Pi?  They
have motion sensors built in, they'll capture video of the motion, and
save each event as a different video file.  Then you can visit it, swap
over the memory card, and watch all the videos on any device you can
plug the card into (even a smartphone if you have a card reader for
it).  They run off batteries and include infrared lights to capture
video at night, so they are well suited for remote areas where you
don't need a live video feed.

The only real benefit of using the Pi would be that you get
Ethernet/WiFi on it for remote access/live video, but if you won't be
using that because it's too far away from a WiFi network and you don't
want to use WiFi extenders or dig a cable, using a game camera will
probably save you a huge amount of effort.

Cheers,
Adam.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] FFMpeg question on Raspberry Pi

2022-02-22 Thread Matt C
Sounds like you want something more like a Ring camera or hunting camera with a 
bunch of wifi extenders if the farm does have internet.  Best of luck.

From: ffmpeg-user  on behalf of Fred Kemp 

Sent: Tuesday, February 22, 2022 8:14 PM
To: ffmpeg-user@ffmpeg.org 
Subject: [FFmpeg-user] FFMpeg question on Raspberry Pi

I need help in trying to develop a security camera for a remote
area of a farm.  There is no internet in some places there and some of
the motion videos may be long, e.g., 20 to 30 minutes.

 So, I would like to be able to record these longer motion videos on
a Raspberry Pi locally, concatenate them and then be able to somehow
quickly review the compilation/concatenated video on a video player and
then download the snippet(s) of video to a smart phone.

 I'm looking for direction as far as software goes.  I am not tech
savvy but I know enough to see this project possibly going down a number
of dead ends as I learn about the limitations of various software
packages.  Any help would be GREATLY appreciated!

 I was thinking of possibly:

 1. Recording motion using Motion or MotionEyes to a particular
directory for the day,
 2. Then using FFMpeg to possibly automatically concatenate the
videos in that directory into one bigger file, and
 3. Then using a video player to scroll through the video and
download a particular segment to my iPhone.

 Is this possible?

Thank you in advance for your time!
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


[FFmpeg-user] FFMpeg question on Raspberry Pi

2022-02-22 Thread Fred Kemp
    I need help in trying to develop a security camera for a remote 
area of a farm.  There is no internet in some places there and some of 
the motion videos may be long, e.g., 20 to 30 minutes.


    So, I would like to be able to record these longer motion videos on 
a Raspberry Pi locally, concatenate them and then be able to somehow 
quickly review the compilation/concatenated video on a video player and 
then download the snippet(s) of video to a smart phone.


    I'm looking for direction as far as software goes.  I am not tech 
savvy but I know enough to see this project possibly going down a number 
of dead ends as I learn about the limitations of various software 
packages.  Any help would be GREATLY appreciated!


    I was thinking of possibly:

1.     Recording motion using Motion or MotionEyes to a particular
   directory for the day,
2.     Then using FFMpeg to possibly automatically concatenate the
   videos in that directory into one bigger file, and
3.     Then using a video player to scroll through the video and
   download a particular segment to my iPhone.

    Is this possible?

   Thank you in advance for your time!
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".