ZFPlayer视频播放PC 安卓都可以正常 播放,iOS端只有声音没有画面

article/2025/8/28 3:05:51

 

1.添加视频,选择MP4格式


2.设置输出配置,并选择输出文件夹,视频编码为AVC(H264),屏幕大小调整为720*480


3,点击开始
视频会出现在指定文件夹。可配置自定义文件夹

 

 

 

用格式工厂帮忙转个格式可以得出能播放和不能播放的区别

General   有问题的上面的
Complete name                            : C:\Users\liwuhao.DFWSGROUP\Desktop\wKgy6VxU6XuAAkO0HbAhXIn7p5g769.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (mp42/mp41)
File size                                : 475 MiB
Duration                                 : 20 min 45 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 3 199 kb/s
Encoded date                             : UTC 2019-02-01 00:01:22
Tagged date                              : UTC 2019-02-01 00:14:24
©TIM                                      : 00:00:00:00
©TSC                                      : 25
©TSZ                                      : 1

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 20 min 45 s
Bit rate                                 : 2 999 kb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 25.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Interlaced
Scan type, store method                  : Separated fields
Scan order                               : Top Field First
Bits/(Pixel*Frame)                       : 0.058
Stream size                              : 445 MiB (94%)
Language                                 : English
Encoded date                             : UTC 2019-02-01 00:01:22
Tagged date                              : UTC 2019-02-01 00:01:22
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : mp4a-40-2
Duration                                 : 20 min 45 s
Source duration                          : 20 min 45 s
Bit rate mode                            : Variable
Nominal bit rate                         : 192 kb/s
Maximum bit rate                         : 257 kb/s
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Source stream size                       : 28.1 MiB (6%)
Language                                 : English
Encoded date                             : UTC 2019-02-01 00:01:23
Tagged date                              : UTC 2019-02-01 00:01:23


General
Complete name                            : E:\FFOutput\wKgy6VxU6XuAAkO0HbAhXIn7p5g769.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom (isom/iso2/avc1/mp41)
File size                                : 134 MiB
Duration                                 : 20 min 45 s
Overall bit rate                         : 902 kb/s
Writing application                      : Lavf58.12.100

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L3
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 20 min 45 s
Bit rate                                 : 768 kb/s
Width                                    : 720 pixels
Height                                   : 480 pixels
Display aspect ratio                     : 3:2
Frame rate mode                          : Constant
Frame rate                               : 25.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.089
Stream size                              : 114 MiB (85%)
Writing library                          : x264 core 148
Encoding settings                        : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=abr / mbtree=1 / bitrate=768 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language                                 : English

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : mp4a-40-2
Duration                                 : 20 min 45 s
Duration_LastFrame                       : -18 ms
Bit rate mode                            : Constant
Bit rate                                 : 128 kb/s
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                              : 19.0 MiB (14%)
Language                                 : English
Default                                  : Yes
Alternate group                          : 1


http://chatgpt.dhexx.cn/article/wtKBkWyV.shtml

相关文章

ZFPlayer 源码解读

源码下载地址:https://github.com/renzifeng/ZFPlayer 之前自己实现过一个模仿百思不得姐的demo https://github.com/agelessman/FFmpegAndKxmovieDemo 由于有朋友推荐,看了下ZFPlayer,觉得功能和封装都写的很好,就把源码看了一遍…

iOS开发-ZFPlayer的简单使用 播放单个网络视频

iOS开发-ZFPlayer的简单使用 播放单个网络视频 前言开发准备代码注意 前言 关于ZFPlayer播放单个网络视频案例,它的网络列表视频案例在gitHub上面很多。 开发准备 podfile导入 pod ZFPlayer, ~> 3.3.3 #, ~> 3.2.17 # 视频播放 pod ZFPlayer/ControlView p…

关于ZFPlayer集成播放 rtmp 视频流的总结

最近公司项目需要能够播放 rtmp 格式的直播流地址的播放器,安卓那边是买了人家的三方库,EasyPlayer,但是不想再买一个 ios 的了所以需要自己去找免费的合适的播放器去集成,终于在 github 上找到一个合适的了,那就是 强大的IJKPlayer 播放器;但在集成的时候出现了一些问题,朋友推…

ZFPlayer 播放器调用addPlayerViewToSmallFloatView开小窗播放样式错误以及无法关闭处理

ZFPLayer 是一款强大开源的视频播放器,在结合列表播放滑动超出当前视频范围调用 addPlayerViewToSmallFloatView开启小窗播放(类似画中画,但没有其强大和友好的交互)布局错误并且右上角的关闭按钮也没法关闭,错乱参考图如下: 1、样…

ios html zfplayer,【iOS】ZFPlayer源码解读中

前言 本篇继ZFPlayer源码解读基础之上,主要解析说明控制层与播放器,因为在上篇文章至现在并未提及丝毫关于这两个类业务的实现。 首先说下这两个类各自的职责。 控制层:主要负责响应与用户之间的交互,如手势控制的播放&#xff0c…

ZFPlayer iOS16 系统横屏全屏问题处理

iOS16 以后 通过原始横屏的方法已经不好使了,需要在此基础上添加 setNeedsUpdateOfSupportedInterfaceOrientations 方法的调用,具体API 描述如下: 回到主题,在使用ZFPlayer 视频库全屏播放时iOS16系统下的处理参考如下&#xff…

iOS使用ZFPlayer 实现视频播放

文章目录 ZFPlayer 视频播放使用1 创建 ZFAVPlayerManager 对象2创建containerView, 也就是视频视图的父视图3 创建 controllView4 创建 ZFPlayerController播放视频判断视频的横竖 ZFPlayer 视频播放使用 1 创建 ZFAVPlayerManager 对象 ZFAVPlayerManager *manager [[ZFAVP…

配置分离式LANP源代码编译实例

一、php编译 配置apache-2.4.9以fpm方式的php-5.4.26(php服务器IP为172.16.3.30) 1、编译php #tar xf php-5.4.26.tar.bz2 #cd php-5.4.26 # ./configure --prefix/usr/local/php --with-mysql/usr/l…

Centos使用Docker搭建Lanp环境

前言 LAMP 指的Linux(操作系统)、ApacheHTTP服务器,MySQL(有时也指MariaDB,数据库软件) 和 PHP(有时也是指Perl或Python)的第一个字母,集成环境方便,一般用来建立web应用平台 Docker 是一个开源的应用容器引擎,在doc…

LANP+KEEPALIVED集群(一)

lanpkeepalived集群 1、nginx模块与工作原理 (1)结构上分 基础模块:HTTP Access模块、HTTP FastCGI模块、HTTP Proxy模块和HTTP Rewrite 核心模块:HTTP模块、EVENT模块和MAIL模块 第三方模块:HTTP Upstream Request Hase模块、Notice模块和HT…

LANP+KEEPALIVED集群(二)

LANPKEEPALIVED集群(二) #基于不同域名 server { listen 80; server_name nginx.postfix.local; charset utf-8; access_log logs/domain.log main; location / { root html/domain; index domain.html; } error_page 500 502 503 504 /5…

LWIP网络协议基础

1、LWIP有3种编程接口:RAW(裸机跑,不带操作系统)、NETCONN和SOCKET(要带操作系统) 例程使用的是ucos小型操作系统,ucosii任务数限制了最大只能有255个任务(其中0—空闲任务和254、255—系统任务不能用&…

LAN IP,WAN IP和Global IP

LAN IP,WAN IP和Global IP是与网络通信相关的三种IP地址,下面是它们的解释: LAN IP 局域网IP地址(LAN IP),又称私有IP地址,是指对于一个私有网络环境内的主机所使用的IP地址。这些IP地址属于私…

一文读懂ssh,tomcat,LANP,LNMP,ftp,dns等常见的环境配置(运维工程师必看)

文章目录 一.网络服务的概述1.网络服务是什么2.网络服务有哪些(进行简单的梳理)3.网络服务学习建议 二.网络服务基础1.CentOS6与7的区别2.常见网络端口以及/etc/service文件3.网关和路由,主机名(路由选择,网关,NAT解释…

ubuntu 上搭建lanp环境

2019独角兽企业重金招聘Python工程师标准>>> 1.安装tasksel sudo apt-get install tasksel 使用tasksel 时只需 sudo tasksel 2.安装lamp sudo tasksel instal lamp-server 打开浏览器输入127.0.0.1 可以看到apache首页 切换到/var/www/html(默认目录) 目录下新…

LANP环境编译设置

1.下载nginx-1.10.2 wget -O nginx-1.10.2.tar.gz http://nginx.org/download/nginx-1.10.2.tar.gz 2.安装nginx-1.10.2.tar.gz [rootxuegod64 ~]# yum in stall -y gcc gcc-c autoconf automake zlib zlib-devel openssl openssl-devel pcre-devel //zlib:给Ngin…

LANP平台搭建

【需要理解--lamp调用过程】 apache(libphp5.so) -> index.php(mysql.so)-> mysql ####################################################### 【配置yum】 mount /dev/cdrom /media vim /etc/yum.repos.d/yum.repo [base] namebase baseurlfile:///media/Server gpgch…

CentOS 7.4 YUM 搭建LANP环境+WordPress

CentOS YUM 搭建LANP环境Wordpress LAMP是什么呢? 其实就是一系列服务的简称 LAMP:LLinux,AApache,MMariadb/MySQL,PPHP LNMP:LLinux,NNginx,MMariadb/MySQL,PPHP LA…

lanp+nginx实现动静分离

因为apache处理动态页面能力比较高,nginx处理静态页面能力比较高,所以做动静分离来提高页面的访问速度。 系统环境: CentOS Linux release 7.9.2009 (Core) 脚本编译安装httpd-2.4.53 测试httpd服务 执行脚本安装mysql 验证mysql 执行脚本…

LANP架构搭建

安装Apache 解压apache安装包(httpd-2.4.17.tar.gz)到 /usr/src/目录下面 tar -zxvf /root/httpd-2.4.17.tar.gz -C /usr/src/ 安装httpd所需要的依赖包 yum -y install zlib* openssl* apr* pcre-devel openssl* 进入httpd目录,安装httpd所需…