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.
| 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 |
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot