Help Center/ Video On Demand/ FAQs/ Media Processing/ How Do I Resolve Source Media Anomalies?
Updated on 2026-02-09 GMT+08:00

How Do I Resolve Source Media Anomalies?

If artifacts or frame freezing occurs during video playback, you can check the causes of the source exceptions.

The open-source FFmpeg tool is recommended. For details about the commands, see Table 1.

Table 1 Checking source media exceptions

Method

Command

Parsing video metadata

You can identify source anomalies by analyzing the execution logs.

ffprobe -i your_input.mp4

Parsing video package data

ffprobe -i your_input -show_packets -select_streams v

Parsing video frame data

ffprobe -i your_input -show_frames -select_streams v

Re-transcoding (or formatting) using FFmpeg

You can identify source anomalies by analyzing the execution logs.

ffmpeg -i your_input.mp4 your_output.mp4

Re-packaging using FFmpeg

You can identify source anomalies by analyzing the execution logs.

ffmpeg -i your_input -c copy your_output.mp4

Re-transcoding and audio resampling

The following commands can be used to rectify most of the common source anomalies.

ffmpeg -i your_input -c:v libx264 -b:v your_bitrate -af "aresample=async=1" your_output.mp4

Repairing source anomalies caused by excessive timebase values

ffmpeg -i your_input -c copy -video_track_timescale 1000 your_output.mp4