大家好,我现在的网页采用jwplayer播放mp4文件,一个可以播放,一个不可以播放。
求解决思路!谢谢!
1)两个文件在本地采用播放软件,如系统自带WMP的都可以正常播放。
2)两个文件的编码格式是一样的,详情如下:(右侧,who.mp4为正常播放的文件)
完整信息如下:
General
Complete name : possi.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42
File size : 69.4 MiB
Duration : 5mn 36s
Overall bit rate : 1 727 Kbps
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Baseline@L3.1
Format settings, CABAC : No
Format settings, ReFrames : 1 frame
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 5mn 36s
Bit rate mode : Variable
Bit rate : 1 566 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 30.300 fps
Minimum frame rate : 15.150 fps
Maximum frame rate : 30.300 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.056
Stream size : 62.9 MiB (91%)
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 5mn 36s
Bit rate mode : Constant
Bit rate : 158 Kbps
Nominal bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 KHz
Compression mode : Lossy
Stream size : 6.35 MiB (9%)
可以播放的视频格式:
General
Complete name : who.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42
File size : 96.2 MiB
Duration : 2mn 41s
Overall bit rate : 4 981 Kbps
Encoded date : UTC 2015-03-19 14:48:59
Tagged date : UTC 2015-03-19 14:49:01
Video
ID : 2
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L4.0
Format settings, CABAC : No
Format settings, ReFrames : 2 frames
Format settings, GOP : M=2, N=48
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 2mn 41s
Duration_LastFrame : 5mn 4s
Bit rate mode : Variable
Bit rate : 4 869 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.098
Stream size : 94.0 MiB (98%)
Title : Apple 视频媒体处理程序
Language : English
Encoded date : UTC 2015-03-19 14:41:04
Tagged date : UTC 2015-03-19 14:49:01
Color primaries : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
Transfer characteristics : BT.709-5, BT.1361
Matrix coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177
Audio
ID : 1
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 2mn 41s
Bit rate mode : Constant
Bit rate : 107 Kbps
Nominal bit rate : 128 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 KHz
Compression mode : Lossy
Stream size : 2.07 MiB (2%)
Title : Apple 声音媒体处理程序
Language : English
Encoded date : UTC 2015-03-19 14:41:04
Tagged date : UTC 2015-03-19 14:49:01
采用对比软件比较,仅有细小的差别,格式是一致的