ffmpeg: split video at marks.

This commit is contained in:
giomba 2024-09-08 21:07:31 +02:00
parent 75fba735a4
commit 1460d05c92

View File

@ -1,6 +1,11 @@
# ffmpeg # ffmpeg
- Hardware accelerated MP4 video conversion ## Split video at marks
```
ffmpeg -ss 00:00:00 -to 99:99:99 -i input.mp4 -c copy output.mp4
```
## Hardware accelerated MP4 video conversion
``` ```
ffmpeg -i input_video.webm -vaapi_device /dev/dri/renderD128 -vcodec h264_vaapi -vf format='nv12|vaapi,hwupload' output_video.mp4 ffmpeg -i input_video.webm -vaapi_device /dev/dri/renderD128 -vcodec h264_vaapi -vf format='nv12|vaapi,hwupload' output_video.mp4
``` ```