佳能M50相机录了几段MP4视频后,由于误操作视频删除了,而且删除之后有录制过了其它视频内容。由于丢失的视频比较珍贵,想尽了各种方法来进行恢复,但是都未能成功,要么找不到视频,要么找出来的视频格式转变(本来是MP4格式,软件恢复出来是MOV格式),而且损坏无法打开了,再用其它办法把损坏的视频修复播放,修复效果也是非常的差,严重的卡顿,声音也不正常。
对损坏的视频和相机SD卡进行分析,发现丢失的视频碎片已经有少量的覆盖破坏,这是导致视频无法播放的根本原因。而剩下的其它碎片必须要经过专业的方法去修复处理,才可以使视频正常播放,修复出来的MP4视频流畅无卡顿,声音同步。
以下为佳能M50相机MP4视频的编码参数,供代码级视频修复参考。
General | |
Format | MPEG-4 |
Format profile | Base Media / Version 2 |
Codec ID | mp42 (mp42/avc1/CAEP) |
File size | 198 MiB |
Duration | 27 s 840 ms |
Overall bit rate | 59.6 Mb/s |
Video | |
ID | 1 |
Format | AVC |
Format/Info | Advanced Video Codec |
Format profile | High@L5.1 |
Format settings | CABAC / 2 Ref Frames |
Format settings, CABAC | Yes |
Format settings, Reference frames | 2 frames |
Format settings, GOP | M=3, N=24 |
Codec ID | avc1 |
Codec ID/Info | Advanced Video Coding |
Duration | 27 s 840 ms |
Bit rate | 59.3 Mb/s |
Width | 1 920 pixels |
Height | 1 080 pixels |
Display aspect ratio | 16 |
Frame rate mode | Constant |
Frame rate | 50.000 FPS |
Color space | YUV |
Chroma subsampling | 4 |
Bit depth | 8 bits |
Scan type | Progressive |
Bits/(Pixel*Frame) | 0.572 |
Stream size | 197 MiB (99%) |
Language | English |
Color range | Full |
Color primaries | BT.709 |
Transfer characteristics | BT.709 |
Matrix coefficients | BT.709 |
Codec configuration box | avcC |
Audio | |
ID | 2 |
Format | AAC LC |
Format/Info | Advanced Audio Codec Low Complexity |
Codec ID | mp4a-40-2 |
Duration | 27 s 840 ms |
Bit rate mode | Constant |
Bit rate | 256 kb/s |
Channel(s) | 2 channels |
Channel layout | L R |
Sampling rate | 48.0 kHz |
Frame rate | 46.875 FPS (1024 SPF) |
Compression mode | Lossy |
Stream size | 861 KiB (0%) |
Language | English |