Send Motion-user mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/motion-user
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."
Today's Topics:
1. Re: Is there a way to get duration of a recording? (David Powell)
----------------------------------------------------------------------
Message: 1
Date: Sat, 9 Feb 2019 09:36:24 -0500
From: David Powell <[email protected]>
To: Motion discussion list <[email protected]>
Subject: Re: [Motion-user] Is there a way to get duration of a
recording?
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
I do something similar on mine, except I use ffmpeg? with the -i
option.? Motion runs a java program when it closes the movie, which
parses the ffmpeg output and updates the row in the database.
David
On 2/8/19 6:19 AM, Dougie Nisbet wrote:
> On 08/02/2019 07:58, tosiara wrote:
>> mediainfo 20190208-0750-207.mp4 | grep Duration | head -n 1 | awk '{
>> print $3 $4 }'
>
> What a fiendishly useful command! I've been using du to get file size
> and ffprobe to check for file corruption but mediainfo may do that too
> I guess.
>
> Dougie
>
>
>
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
------------------------------
Subject: Digest Footer
_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user
------------------------------
End of Motion-user Digest, Vol 152, Issue 6
*******************************************