Rumah > Soal Jawab > teks badan
做了一个H5的广告,结果在iOS上的微信中偶尔会出现有声音没视频的问题,而且横竖屏已转换就好了,尝试了各种办法,比方说隐藏再显示、暂停再播放都不成功。
链接地址在这里,有iphone的各位可以试试
http://lryh5_1.io.zpage.me/index.html
video标签:
<video id="video1" class="video" width="100%" preload="auto" x-webkit-airplay="true" webkit-playsinline="true" src="http://s3.zpage.me/lry/lry11.mp4"></video>
视频编码信息:
General
Complete name : C:\Users\Nanwang\Desktop\lry12.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/avc1)
File size : 1.81 MiB
Duration : 9s 543ms
Overall bit rate mode : Variable
Overall bit rate : 1 587 Kbps
Encoded date : UTC 2015-12-17 07:04:49
Tagged date : UTC 2015-12-17 07:04:49
Writing application : FormatFactory : www.pcfreetime.com
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3
Format settings, CABAC : No
Format settings, ReFrames : 1 frame
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 9s 500ms
Bit rate : 1 536 Kbps
Maximum bit rate : 1 816 Kbps
Width : 608 pixels
Height : 1 080 pixels
Display aspect ratio : 0.563
Frame rate mode : Constant
Frame rate : 24.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.097
Stream size : 1.66 MiB (92%)
Writing library : x264 core 116 r2019 9cc407d
Encoding settings : cabac=0 / ref=1 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=2 / keyint=250 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=abr / mbtree=1 / bitrate=1536 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Encoded date : UTC 2015-12-17 07:04:49
Tagged date : UTC 2015-12-17 07:04:49
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 9s 543ms
Bit rate mode : Variable
Bit rate : 126 Kbps
Maximum bit rate : 133 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 KHz
Frame rate : 43.066 fps (1024 spf)
Compression mode : Lossy
Stream size : 146 KiB (8%)
Encoded date : UTC 2015-12-17 07:04:49
Tagged date : UTC 2015-12-17 07:04:49
巴扎黑2017-04-10 16:37:33
通常是视频编码的问题,安卓OK,iPhone有声黑屏无图,以前遇到过同样问题,在premiere中选用Android配置的MP4就没问题了,直接使用H.264配置导出就会出现上述情况,具体是什么原因等其他高手来回答下。