task_id
can be used to monitor the progress of the task.
EncordClient
. Any videos that do not belong to the Dataset used for initialization are ignored.task_id
in the sample below with the task ID of the re-encoding task you’d like to check the status of.
ffmpeg
command, replacing video.mp4
with the name of the file you want to re-encode, and re-encoded-video.mp4
with the name you want the re-encoded file to have:
ffprobe
& bc
-err_detect aggressive
: Improves error detection during decoding.-fflags discardcorrupt
: Discards corrupted packets to maintain integrity.-r 30
: This sets the frame rate to a constant 30 frames per second (FPS). Feel free to adjust 30
to your desired frame rate.-c:v libx264
: Specifies the H.264
codec for video re-encoding.-movflags faststart
: Optimizes for web playback by moving moov metadata to the beginning of the file.-tune zerolatency
: Configures for low-latency encoding scenarios.