Skip to content

Commit bdcf9c7

Browse files
author
0xfab1
committed
Refactor FFmpeg documentation to improve clarity by removing redundant headings and enhancing the organization of examples.
1 parent 23c90bd commit bdcf9c7

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/tech/tools/cli/ffmpeg.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,12 @@ Links:
2222

2323
## File Information
2424

25-
**Get codec details**
26-
2725
Get codec details of a given video file e.g. "video.mp4":
2826

2927
``` sh
3028
ffprobe -v error -select_streams v:0 -show_entries stream=codec_name -of default=noprint_wrappers=1:nokey=1 video.mp4
3129
```
3230

33-
**Overwrite the video title**
34-
3531
Change the title of input.mp4 to "My Title"
3632

3733
``` sh
@@ -62,6 +58,12 @@ Analyze video frames, timecode and metadata
6258
ffmpeg -i input.mp4 -vf showinfo -f null -
6359
```
6460

61+
Check if all mp4s in a folder are fine
62+
63+
``` ps1
64+
Get-ChildItem -Filter "*.mp4" | ForEach-Object { Write-Host "Checking: $($_.Name)"; ffmpeg -v error -i $_.FullName -f null - 2>&1 | Where-Object { $_ -ne '' } | ForEach-Object { Write-Host $_ } }
65+
```
66+
6567
## Download video streams
6668

6769
Locate the playlist file, e.g. using Chrome > F12 > Network > Filter: m3u8

0 commit comments

Comments
 (0)