需要从思科DMP播放一些视频文件,需要使用mpeg2video视频和MP2音频。
即时通讯使用的ffmpeg -i来验证视频格式。
该视频正常播放:
Input #0, mpeg, from 'ATT_Telepresence_Scheduling.mpg':
Duration: 00:07:14.08, start: 0.522456, bitrate: 474 kb/s
Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 600x340 [SAR 1:1 DAR 30:17], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0:1[0x1c0]: Audio: mp2, 44100 Hz, stereo, s16p, 128 kb/s
此视频不能播放(黑屏):
Input #0, mpegts, from 'Telepresence_part2.ts':
Duration: 00:02:32.83, start: 1.000000, bitrate: 8783 kb/s
Program 1
Stream #0:0[0x45]: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 163 kb/s
Stream #0:1[0x44]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 29.92 fps, 29.92 tbr, 90k tbn, 59.82 tbc
如何执行到MPEG转换和视频mpeg2video和音频MP2和保持高清画质?