我有一个mp4文件,我想以HTML格式显示。问题在于,不仅在HTML中,而且在我的播放器中,它都不会。在VLC中,我可以观看视频,但没有声音。也许文件已损坏?
这是我运行ffmpeg -i my_file.mp4
时的输出:
[h264 @ 000001b4afc61880] decode_slice_header error
[h264 @ 000001b4afc61880] no frame!
[h264 @ 000001b4afc61880] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 000001b4afc61880] decode_slice_header error
[h264 @ 000001b4afc61880] no frame!
Input #0, mpeg, from '150_2.mp4':
Duration: 00:50:51.75, start: 13182.386222, bitrate: 983 kb/s
Stream #0:0[0x1e0]: Video: h264 (High), yuv420p(progressive), 1280x720, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x1c0]: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s
At least one output file must be specified.
我可以使用ffmpeg将其转换为高质量的视频和音频吗?