Horje
Get total duration of video files in a directory Code Example
Get total duration of video files in a directory
find . -maxdepth 1 -iname '*.mp4' -exec ffprobe -v quiet -of csv=p=0 -show_entries format=duration {} \;
149.233333
130.146667
275.690000

find . -maxdepth 1 -iname '*.mp4' -exec ffprobe -v quiet -of csv=p=0 -show_entries format=duration {} \; | paste -sd+ -| bc
555.070000




Shell

Related
laravel add to path ubuntu Code Example laravel add to path ubuntu Code Example
vim strip trailing whitespace from the end of every line Code Example vim strip trailing whitespace from the end of every line Code Example
ubuntu photo viewer zoom in shortcut Code Example ubuntu photo viewer zoom in shortcut Code Example
vmware workstation merge vmdk files Code Example vmware workstation merge vmdk files Code Example
git blame before specific commit Code Example git blame before specific commit Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
12